[go: up one dir, main page]

CN106158040B - Read voltage level estimation method, memory storage device and control circuit unit - Google Patents

Read voltage level estimation method, memory storage device and control circuit unit Download PDF

Info

Publication number
CN106158040B
CN106158040B CN201510189551.1A CN201510189551A CN106158040B CN 106158040 B CN106158040 B CN 106158040B CN 201510189551 A CN201510189551 A CN 201510189551A CN 106158040 B CN106158040 B CN 106158040B
Authority
CN
China
Prior art keywords
decoding
voltage level
read
memory
unit
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
CN201510189551.1A
Other languages
Chinese (zh)
Other versions
CN106158040A (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 CN201510189551.1A priority Critical patent/CN106158040B/en
Publication of CN106158040A publication Critical patent/CN106158040A/en
Application granted granted Critical
Publication of CN106158040B publication Critical patent/CN106158040B/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 present invention provides a read voltage level estimation method, a memory storage device, and a control circuit unit. The method includes: reading a first area in a rewritable non-volatile memory module according to a first read voltage level to obtain a first coding unit, wherein the first coding unit belongs to a block code; performing a first decoding procedure on the first coding unit and recording first decoding information; reading the first area according to a second read voltage level to obtain a second coding unit, wherein the second coding unit belongs to the block code; performing a second decoding procedure on the second coding unit and recording second decoding information; and estimating and obtaining a third read voltage level according to the first decoding information and the second decoding information. In this way, the management capability of the rewritable non-volatile memory module using the block code can be improved.

Description

读取电压准位估测方法、存储器存储装置及控制电路单元Read voltage level estimation method, memory storage device and control circuit unit

技术领域technical field

本发明是有关于一种存储器管理方法,且特别是有关于一种读取电压准位估测方法、存储器存储装置及控制电路单元。The present invention relates to a memory management method, and in particular to a read voltage level estimation method, a memory storage device and a control circuit unit.

背景技术Background technique

数码相机、移动电话与MP3播放器在这几年来的成长十分迅速,使得消费者对存储媒体的需求也急速增加。由于可复写式非易失性存储器模块(例如,快闪存储器)具有数据非易失性、省电、体积小,以及无机械结构等特性,所以非常适合内建于上述所举例的各种可携式多媒体装置中。Digital cameras, mobile phones, and MP3 players have grown rapidly in recent years, making consumers' demand for storage media also increase rapidly. Since the rewritable non-volatile memory module (for example, flash memory) has the characteristics of data non-volatility, power saving, small size, and no mechanical structure, it is very suitable for being built in the various memory modules listed above. in portable multimedia devices.

一般来说,为了确保数据的正确性,在将某一笔数据写入至可复写式非易失性存储器模块之前,此数据会被编码。而编码后的数据会被写入至可复写式非易失性存储器模块中。当欲读取此笔数据时,编码后的数据会被读取出来并且被解码。若数据可以成功地解码,表示其中的错误比特的数目不多且此些错误比特可以被更正。然而,若数据无法成功地解码(即,解码失败),则不同的读取电压可能会被用来重新读取数据。但是,在某些情况下,即使可用的多个读取电压都已经被使用过了,读取出的数据仍然无法被成功地解码,导致数据读取失败。特别是,对于使用区块码进行编码的数据来说,这样的情形更为严重。Generally speaking, in order to ensure the correctness of the data, before writing a piece of data into the rewritable non-volatile memory module, the data will be encoded. The encoded data will be written into the rewritable non-volatile memory module. When the data is to be read, the encoded data will be read and decoded. If the data can be successfully decoded, it means that the number of erroneous bits in it is small and these erroneous bits can be corrected. However, if the data cannot be successfully decoded (ie, the decoding fails), a different read voltage may be used to re-read the data. However, in some cases, even if multiple available read voltages have been used, the read data cannot be successfully decoded, resulting in data read failure. In particular, this situation is more severe for data encoded using block codes.

发明内容Contents of the invention

本发明提供一种读取电压准位估测方法、存储器存储装置及控制电路单元,可提升对于使用区块码的可复写式非易失性存储器模块的管理能力。The invention provides a reading voltage level estimation method, a memory storage device and a control circuit unit, which can improve the management ability of a rewritable non-volatile memory module using a block code.

本发明的一范例实施例提供一种读取电压准位估测方法,其用于可复写式非易失性存储器模块,所述读取电压准位估测方法包括:根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码;对所述第一编码单元执行第一解码程序并且记录第一解码信息;根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码;对所述第二编码单元执行第二解码程序并且记录第二解码信息;以及根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位。An exemplary embodiment of the present invention provides a method for estimating a read voltage level, which is used in a rewritable non-volatile memory module. The method for estimating the read voltage level includes: according to the first read voltage read the first area in the rewritable non-volatile memory module to obtain a first encoding unit, wherein the first encoding unit belongs to a block code; perform the second encoding unit on the first encoding unit A decoding program and recording the first decoding information; reading the first area according to the second reading voltage level to obtain a second coding unit, wherein the second coding unit belongs to the block code; The second encoding unit executes a second decoding procedure and records second decoding information; and estimates and obtains a third read voltage level according to the first decoding information and the second decoding information.

在本发明的一范例实施例中,所述区块码由多个子编码单元组成,所述子编码单元中的第一比特是由多个编码程序决定。In an exemplary embodiment of the present invention, the block code is composed of a plurality of sub-coding units, and the first bit in the sub-coding units is determined by a plurality of encoding procedures.

在本发明的一范例实施例中,所述编码程序具有不同的编码方向。In an exemplary embodiment of the present invention, the encoding procedures have different encoding directions.

在本发明的一范例实施例中,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,其中根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的步骤包括:比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。In an exemplary embodiment of the present invention, the first decoded information includes a first value, and the second decoded information includes a second value, wherein it is estimated according to the first decoded information and the second decoded information And the step of obtaining the third read voltage level includes: comparing the first value with the second value and determining the third read voltage level according to the comparison result.

在本发明的一范例实施例中,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。In an exemplary embodiment of the present invention, the first value is related to a first decoding result of the first decoding procedure, and the second value is related to a second decoding result of the second decoding procedure.

在本发明的一范例实施例中,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。In an exemplary embodiment of the present invention, the first value is positively related to the number of first decoded successful units of the first decoding program, and the second value is directly related to the second decoded unit number of the second decoding program. Number of successful units.

在本发明的一范例实施例中,所述读取电压准位估测方法还包括:根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数;根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值;根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数;以及根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。In an exemplary embodiment of the present invention, the method for estimating the read voltage level further includes: obtaining the number of successfully decoded units in the first row and the number of successfully decoded units in the first column according to the first decoding result; The number of successfully decoded units in the first row and the number of successfully decoded units in the first column determine the first value; obtain the number of successfully decoded units in the second row and the number of successfully decoded units in the second column according to the second decoding result; and The second value is determined according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column.

在本发明的一范例实施例中,根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的步骤包括:将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。In an exemplary embodiment of the present invention, the step of estimating and obtaining the third read voltage level according to the first decoded information and the second decoded information includes: converting the first read voltage One of the level and the second read voltage level is determined as the third read voltage level.

在本发明的一范例实施例中,所述读取电压准位估测方法还包括:判断所述第一解码程序是否失败,其中根据所述第二读取电压准位来读取所述第一区域的步骤是在判定所述第一解码程序失败之后执行。In an exemplary embodiment of the present invention, the method for estimating the read voltage level further includes: judging whether the first decoding process fails, wherein the first decoding process is read according to the second read voltage level. A region of steps is performed after determining that the first decoding procedure has failed.

在本发明的一范例实施例中,所述读取电压准位估测方法还包括:根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,其中所述预设操作包括以下操作的至少其中之一:读取所述第一区域以获得对应于第三解码单元的多个软比特并根据所述软比特来对所述第三解码单元执行迭代解码;决定所述第一区域中的多个存储单元的损耗程度或所述存储单元的电压分布状态;以及决定对应于所述第一区域的预设程序化电压。In an exemplary embodiment of the present invention, the read voltage level estimating method further includes: performing prediction related to the rewritable non-volatile memory module according to the third read voltage level. Set operation, wherein the preset operation includes at least one of the following operations: read the first area to obtain a plurality of soft bits corresponding to the third decoding unit and perform the operation of the third decoding unit according to the soft bits The decoding unit performs iterative decoding; determines wear levels of a plurality of memory cells in the first area or voltage distribution states of the memory cells; and determines a preset programming voltage corresponding to the first area.

在本发明的一范例实施例中,所述读取电压准位估测方法还包括:根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元;以及对所述第三编码单元执行第三解码程序。In an exemplary embodiment of the present invention, the read voltage level estimating method further includes: reading the first region according to the third read voltage level to obtain a third coding unit; and Execute a third decoding procedure on the third encoding unit.

在本发明的一范例实施例中,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。In an exemplary embodiment of the present invention, both the first decoding process and the second decoding process are hard bit mode decoding.

本发明的另一范例实施例提供一种存储器存储装置,其包括连接接口单元、可复写式非易失性存储器模块及存储器控制电路单元。所述连接接口单元用以电性连接至主机系统。所述存储器控制电路单元电性连接至所述连接接口单元与所述可复写式非易失性存储器模块。其中所述存储器控制电路单元用以发送第一读取指令序列,其中所述第一读取指令序列用以指示根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码,其中所述存储器控制电路单元还用以对所述第一编码单元执行第一解码程序并且记录第一解码信息,其中所述存储器控制电路单元还用以发送第二读取指令序列,其中所述第二读取指令序列用以指示根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码,其中所述存储器控制电路单元还用以对所述第二编码单元执行第二解码程序并且记录第二解码信息,其中所述存储器控制电路单元还用以根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位。Another exemplary embodiment of the present invention provides a memory storage device, which includes a connection interface unit, a rewritable non-volatile memory module, and a memory control circuit unit. The connection interface unit is used to electrically connect to the host system. The memory control circuit unit is electrically connected to the connection interface unit and the rewritable non-volatile memory module. Wherein the memory control circuit unit is used to send a first read instruction sequence, wherein the first read instruction sequence is used to instruct to read the rewritable non-volatile memory according to a first read voltage level The first area in the module to obtain the first encoding unit, wherein the first encoding unit belongs to the block code, wherein the memory control circuit unit is also used to execute the first decoding program on the first encoding unit and record The first decoding information, wherein the memory control circuit unit is also used to send a second read command sequence, wherein the second read command sequence is used to indicate to read the first region, to obtain a second coding unit, wherein the second coding unit belongs to the block code, wherein the memory control circuit unit is also used to execute a second decoding procedure on the second coding unit and record a second decoding information, wherein the memory control circuit unit is further configured to estimate and obtain a third read voltage level according to the first decoded information and the second decoded information.

在本发明的一范例实施例中,所述区块码由多个子编码单元组成,所述子编码单元中的第一比特是由多个编码程序决定。In an exemplary embodiment of the present invention, the block code is composed of a plurality of sub-coding units, and the first bit in the sub-coding units is determined by a plurality of encoding procedures.

在本发明的一范例实施例中,所述编码程序具有不同的编码方向。In an exemplary embodiment of the present invention, the encoding procedures have different encoding directions.

在本发明的一范例实施例中,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,其中所述存储器控制电路单元根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。In an exemplary embodiment of the present invention, the first decoded information includes a first value, and the second decoded information includes a second value, wherein the memory control circuit unit The operation of decoding information to estimate and obtain the third read voltage level includes: comparing the first value with the second value and determining the third read voltage level according to the comparison result.

在本发明的一范例实施例中,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。In an exemplary embodiment of the present invention, the first value is related to a first decoding result of the first decoding procedure, and the second value is related to a second decoding result of the second decoding procedure.

在本发明的一范例实施例中,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。In an exemplary embodiment of the present invention, the first value is positively related to the number of first decoded successful units of the first decoding program, and the second value is directly related to the second decoded unit number of the second decoding program. Number of successful units.

在本发明的一范例实施例中,所述存储器控制电路单元还用以根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数,其中所述存储器控制电路单元还用以根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值,其中所述存储器控制电路单元还用以根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数,其中所述存储器控制电路单元还用以根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to obtain the number of successfully decoded cells in the first row and the number of successfully decoded cells in the first column according to the first decoding result, wherein the memory control circuit unit It is also used to determine the first value according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column, wherein the memory control circuit unit is also used to obtain the first value according to the second decoding result The number of successfully decoded units in the second row and the number of successfully decoded units in the second column, wherein the memory control circuit unit is also used to determine the second row according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column. binary value.

在本发明的一范例实施例中,所述存储器控制电路单元根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。In an exemplary embodiment of the present invention, the operation of the memory control circuit unit estimating and obtaining the third read voltage level according to the first decoded information and the second decoded information includes: One of the first read voltage level and the second read voltage level is determined as the third read voltage level.

在本发明的一范例实施例中,所述存储器控制电路单元还用以判断所述第一解码程序是否失败,其中所述存储器控制电路单元发送所述第二读取指令序列的操作是在判定所述第一解码程序失败之后执行。In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to determine whether the first decoding procedure fails, wherein the operation of the memory control circuit unit sending the second read command sequence is to determine Executed after the first decoding procedure fails.

在本发明的一范例实施例中,所述存储器控制电路单元还用以根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,其中所述预设操作包括以下操作的至少其中之一:指示读取所述第一区域以获得对应于第三解码单元的多个软比特并根据所述软比特来对所述第三解码单元执行迭代解码;决定所述第一区域中的多个存储单元的损耗程度或所述存储单元的电压分布状态;以及决定对应于所述第一区域的预设程序化电压。In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to perform a preset operation related to the rewritable non-volatile memory module according to the third read voltage level, wherein The preset operation includes at least one of the following operations: instructing to read the first area to obtain a plurality of soft bits corresponding to the third decoding unit and perform the operation on the third decoding unit according to the soft bits Iterative decoding; determining the degree of wear of a plurality of memory cells in the first area or the voltage distribution state of the memory cells; and determining a preset programming voltage corresponding to the first area.

在本发明的一范例实施例中,所述存储器控制电路单元还用以指示根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元,其中所述存储器控制电路单元还用以对所述第三编码单元执行第三解码程序。In an exemplary embodiment of the present invention, the memory control circuit unit is further configured to instruct to read the first area according to the third read voltage level to obtain a third encoding unit, wherein the memory The control circuit unit is also used for executing a third decoding program on the third encoding unit.

在本发明的一范例实施例中,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。In an exemplary embodiment of the present invention, both the first decoding process and the second decoding process are hard bit mode decoding.

本发明的另一范例实施例提供一种存储器控制电路单元,其用于控制可复写式非易失性存储器模块,所述存储器控制电路单元包括主机接口、存储器接口、错误检查与校正电路及存储器管理电路。所述主机接口用以电性连接至主机系统。所述存储器接口用以电性连接至所述可复写式非易失性存储器模块。所述存储器管理电路电性连接至所述主机接口、所述存储器接口及所述错误检查与校正电路,其中所述存储器管理电路用以发送第一读取指令序列,其中所述第一读取指令序列用以指示根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码,其中所述错误检查与校正电路用以对所述第一编码单元执行第一解码程序,并且所述存储器管理电路还用以记录第一解码信息,其中所述存储器管理电路还用以发送第二读取指令序列,其中所述第二读取指令序列用以指示根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码,其中所述错误检查与校正电路还用以对所述第二编码单元执行第二解码程序,并且所述存储器管理电路还用以记录第二解码信息,其中所述存储器管理电路还用以根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位。Another exemplary embodiment of the present invention provides a memory control circuit unit for controlling a rewritable non-volatile memory module, the memory control circuit unit includes a host interface, a memory interface, an error checking and correction circuit, and a memory management circuit. The host interface is used to electrically connect to the host system. The memory interface is used to electrically connect to the rewritable non-volatile memory module. The memory management circuit is electrically connected to the host interface, the memory interface, and the error checking and correction circuit, wherein the memory management circuit is used to send a first read instruction sequence, wherein the first read The instruction sequence is used to instruct to read the first area in the rewritable non-volatile memory module according to the first read voltage level to obtain a first coding unit, wherein the first coding unit belongs to a block code, wherein the error checking and correction circuit is used to execute the first decoding program on the first coding unit, and the memory management circuit is also used to record the first decoding information, wherein the memory management circuit is also used to send A second read command sequence, wherein the second read command sequence is used to instruct to read the first region according to a second read voltage level to obtain a second encoding unit, wherein the second encoding unit Belonging to the block code, wherein the error checking and correction circuit is also used to execute a second decoding procedure on the second encoding unit, and the memory management circuit is also used to record the second decoding information, wherein the memory The management circuit is also used for estimating and obtaining a third reading voltage level according to the first decoding information and the second decoding information.

在本发明的一范例实施例中,所述区块码由多个子编码单元组成,所述子编码单元中的第一比特是由多个编码程序决定。In an exemplary embodiment of the present invention, the block code is composed of a plurality of sub-coding units, and the first bit in the sub-coding units is determined by a plurality of encoding procedures.

在本发明的一范例实施例中,所述编码程序具有不同的编码方向。In an exemplary embodiment of the present invention, the encoding procedures have different encoding directions.

在本发明的一范例实施例中,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,其中所述存储器管理电路根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。In an exemplary embodiment of the present invention, the first decoding information includes a first value, and the second decoding information includes a second value, wherein the memory management circuit according to the first decoding information and the second The operation of decoding information to estimate and obtain the third read voltage level includes: comparing the first value with the second value and determining the third read voltage level according to the comparison result.

在本发明的一范例实施例中,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。In an exemplary embodiment of the present invention, the first value is related to a first decoding result of the first decoding procedure, and the second value is related to a second decoding result of the second decoding procedure.

在本发明的一范例实施例中,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。In an exemplary embodiment of the present invention, the first value is positively related to the number of first decoded successful units of the first decoding program, and the second value is directly related to the second decoded unit number of the second decoding program. Number of successful units.

在本发明的一范例实施例中,所述存储器管理电路还用以根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数,其中所述存储器管理电路还用以根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值,其中所述存储器管理电路还用以根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数,其中所述存储器管理电路还用以根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。In an exemplary embodiment of the present invention, the memory management circuit is further used to obtain the number of successfully decoded units in the first row and the number of successfully decoded units in the first column according to the first decoding result, wherein the memory management circuit is also used The first value is determined according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column, wherein the memory management circuit is also used to obtain the decoded value of the second row according to the second decoding result The number of successful units and the number of successfully decoded units in the second column, wherein the memory management circuit is further configured to determine the second value according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column.

在本发明的一范例实施例中,所述存储器管理电路根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。In an exemplary embodiment of the present invention, the operation of the memory management circuit to estimate and obtain the third read voltage level according to the first decoding information and the second decoding information includes: One of the first read voltage level and the second read voltage level is determined as the third read voltage level.

在本发明的一范例实施例中,所述存储器管理电路还用以判断所述第一解码程序是否失败,其中所述存储器管理电路发送所述第二读取指令序列的操作是在判定所述第一解码程序失败之后执行。In an exemplary embodiment of the present invention, the memory management circuit is further used to determine whether the first decoding procedure fails, wherein the operation of the memory management circuit sending the second read instruction sequence is to determine whether the Executed after the first decoding procedure fails.

在本发明的一范例实施例中,所述存储器管理电路还用以根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,其中所述预设操作包括以下操作的至少其中之一:指示读取所述第一区域以获得对应于第三解码单元的多个软比特并且所述错误检查与校正电路还用以根据所述软比特来对所述第三解码单元执行迭代解码;决定所述第一区域中的多个存储单元的损耗程度或所述存储单元的电压分布状态;以及决定对应于所述第一区域的预设程序化电压。In an exemplary embodiment of the present invention, the memory management circuit is further configured to perform a preset operation related to the rewritable non-volatile memory module according to the third read voltage level, wherein the The preset operation includes at least one of the following operations: instructing to read the first area to obtain a plurality of soft bits corresponding to the third decoding unit, and the error checking and correction circuit is also used to to perform iterative decoding on the third decoding unit; determine the degree of wear of a plurality of storage units in the first area or the voltage distribution state of the storage units; and determine a preset program corresponding to the first area cation voltage.

在本发明的一范例实施例中,所述存储器管理电路还用以指示根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元,其中所述错误检查与校正电路还用以对所述第三编码单元执行第三解码程序。In an exemplary embodiment of the present invention, the memory management circuit is further configured to instruct to read the first area according to the third read voltage level to obtain a third encoding unit, wherein the error checking The AND correction circuit is also used for performing a third decoding procedure on the third encoding unit.

在本发明的一范例实施例中,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。In an exemplary embodiment of the present invention, both the first decoding process and the second decoding process are hard bit mode decoding.

基于上述,本发明实施例提供的读取电压准位估测方法、存储器存储装置及控制电路单元,在利用不同的读取电压准位来读取存储器并且尝试对所获得的数据进行解码之后,对应于不同解码程序的解码信息会被记录下来。尔后,此些解码信息即可用来作为估测一个适当的读取电压准位的依据。藉此,对于使用区块码的可复写式非易失性存储器模块的管理能力可被提升。Based on the above, the read voltage level estimation method, the memory storage device and the control circuit unit provided by the embodiments of the present invention, after using different read voltage levels to read the memory and trying to decode the obtained data, Decoding information corresponding to different decoding procedures will be recorded. The decoded information can then be used as a basis for estimating an appropriate read voltage level. Thereby, the management capability of the rewritable non-volatile memory module using the block code can be improved.

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。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

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

图2是根据本发明的一范例实施例所示出的电脑、输入/输出装置与存储器存储装置的示意图;FIG. 2 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;

图3是根据本发明的一范例实施例所示出的主机系统与存储器存储装置的示意图;3 is a schematic diagram of a host system and a memory storage device according to an exemplary embodiment of the present invention;

图4是图1所示的存储器存储装置的概要方块图;FIG. 4 is a schematic block diagram of the memory storage device shown in FIG. 1;

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

图6是根据本发明的一范例实施例所示出的存储单元阵列的示意图;FIG. 6 is a schematic diagram of a memory cell array according to an exemplary embodiment of the present invention;

图7是根据本发明的一范例实施例所示出的存储器控制电路单元的概要方块图;FIG. 7 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment of the present 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 a schematic diagram showing threshold voltage distributions of a plurality of memory cells according to an exemplary embodiment of the present invention;

图10是根据本发明的一范例实施例所示出的编码单元的示意图;Fig. 10 is a schematic diagram of a coding unit shown according to an exemplary embodiment of the present invention;

图11是根据本发明的一范例实施例所示出的读取多个软比特的示意图;FIG. 11 is a schematic diagram of reading multiple soft bits according to an exemplary embodiment of the present invention;

图12是根据本发明的一范例实施例所示出的读取电压准位估测方法的流程图。FIG. 12 is a flowchart of a method for estimating a read voltage level according to an exemplary embodiment of the present invention.

附图标记说明:Explanation of reference signs:

10: 存储器存储装置;10: memory storage device;

11: 主机系统;11: host system;

12: 电脑;12: computer;

122: 微处理器;122: microprocessor;

124: 随机存取存储器;124: random access memory;

126: 系统总线;126: system bus;

128: 数据传输接口;128: data transmission interface;

13: 输入/输出装置;13: input/output device;

21: 鼠标;21: mouse;

22: 键盘;22: keyboard;

23: 显示器;23: Display;

24: 打印机;24: printer;

25: 随身盘;25: Pen drive;

26: 存储卡;26: memory card;

27: 固态硬盘;27: SSD;

31: 数码相机;31: digital camera;

32: SD卡;32: SD card;

33: MMC卡;33: MMC card;

34: 记忆棒;34: memory stick;

35: CF卡;35: CF card;

36: 嵌入式存储装置;36: embedded storage device;

402: 连接接口单元;402: connect the interface unit;

404: 存储器控制电路单元;404: memory control circuit unit;

406: 可复写式非易失性存储器模块;406: Rewritable non-volatile memory module;

502: 存储单元阵列;502: memory cell array;

504: 字元线控制电路;504: word line control circuit;

506: 比特线控制电路;506: bit line control circuit;

508: 行解码器;508: row decoder;

510: 数据输入/输出缓冲器;510: data input/output buffer;

512: 控制电路;512: control circuit;

602: 存储单元;602: storage unit;

604: 比特线;604: bit line;

606: 字元线;606: character line;

608: 共用源极线;608: shared source line;

612、614: 晶体管;612, 614: transistors;

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

704: 主机接口;704: host interface;

706: 存储器接口;706: memory interface;

708: 错误检查与校正电路;708: Error checking and correction circuit;

710: 缓冲存储器;710: buffer memory;

712: 电源管理电路;712: power management circuit;

800(0)~800(R): 实体抹除单元;800(0)~800(R): Entity erasing unit;

810(0)~810(D): 逻辑单元;810(0)~810(D): logic unit;

802: 存储区;802: storage area;

806: 系统区;806: system area;

901、902、911、912、1110、1120: 分布;901, 902, 911, 912, 1110, 1120: distribution;

913: 重叠区域;913: overlapping area;

Vread-0~Vread-3、V1~V5: 读取电压准位;V read-0 ~V read-3 、 V 1 ~V 5 : read the voltage level;

1010: 编码单元;1010: encoding unit;

1011~101n: 子编码单元;1011~101n: sub coding unit;

b11~bnm: 比特;b 11 ~b nm : bits;

1101~1106: 电压区间;1101~1106: voltage range;

b1~b5: 软比特;b 1 ~ b 5 : soft bits;

S1201~S1206: 步骤。S1201-S1206: steps.

具体实施方式Detailed ways

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

图1是根据本发明的一范例实施例所示出的主机系统与存储器存储装置的示意图。图2是根据本发明的一范例实施例所示出的电脑、输入/输出装置与存储器存储装置的示意图。FIG. 1 is a schematic diagram of a host system and a memory storage device according to an exemplary embodiment of the present invention. FIG. 2 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.

请参照图1,主机系统11一般包括电脑12与输入/输出(input/output,简称I/O)装置13。电脑12包括微处理器122、随机存取存储器(random access memory,简称RAM)124、系统总线126与数据传输接口128。输入/输出装置13包括如图2的鼠标21、键盘22、显示器23与打印机24。必须了解的是,图2所示的装置非限制输入/输出装置13,输入/输出装置13可还包括其他装置。Referring to FIG. 1 , the host system 11 generally includes a computer 12 and an input/output (input/output, I/O for short) device 13 . The computer 12 includes a microprocessor 122 , a random access memory (random access memory, RAM for short) 124 , a system bus 126 and a data transmission interface 128 . The input/output device 13 includes a mouse 21 , a keyboard 22 , a monitor 23 and a printer 24 as shown in FIG. 2 . It must be understood that the device shown in FIG. 2 is not limited to the input/output device 13, and the input/output device 13 may also include other devices.

在一范例实施例中,存储器存储装置10是通过数据传输接口128与主机系统11的其他元件电性连接。通过微处理器122、随机存取存储器124与输入/输出装置13的运作可将数据写入至存储器存储装置10或从存储器存储装置10中读取数据。例如,存储器存储装置10可以是如图2所示的随身盘25、存储卡26或固态硬盘(Solid State Drive,简称SSD)27等的可复写式非易失性存储器存储装置。In an exemplary embodiment, the memory storage device 10 is electrically connected to other components of the host system 11 through the data transmission interface 128 . Data can be written into the memory storage device 10 or read from the memory storage device 10 through the operation of the microprocessor 122 , the random access memory 124 and the input/output device 13 . For example, the memory storage device 10 may be a rewritable non-volatile memory storage device such as a flash drive 25, a memory card 26, or a solid state drive (Solid State Drive, SSD for short) 27 as shown in FIG. 2 .

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

一般而言,主机系统11为可实质地与存储器存储装置10配合以存储数据的任意系统。虽然在本范例实施例中,主机系统11是以电脑系统来作说明,然而,另一范例实施例中,主机系统11可以是数码相机、摄影机、通信装置、音频播放器或视频播放器等系统。例如,在主机系统为数码相机(摄影机)31时,可复写式非易失性存储器存储装置则为其所使用的SD卡32、MMC卡33、记忆棒(memory stick)34、CF卡35或嵌入式存储装置36(如图3所示)。嵌入式存储装置36包括嵌入式多媒体卡(Embedded MMC,简称eMMC)。值得一提的是,嵌入式多媒体卡是直接电性连接于主机系统的基板上。In general, host system 11 is any system that can cooperate substantially with memory storage device 10 to store data. Although in this exemplary embodiment, the host system 11 is described as a computer system, however, in another exemplary embodiment, the host system 11 may be a system such as a digital camera, a video camera, a communication device, an audio player, or a video player. . For example, when the host system is a digital camera (video camera) 31, the rewritable non-volatile memory storage device is an SD card 32, an MMC card 33, a memory stick (memory stick) 34, a CF card 35 or An embedded storage device 36 (as shown in FIG. 3 ). The embedded storage device 36 includes an embedded multimedia card (Embedded MMC, eMMC for short). It is worth mentioning that the embedded multimedia card is directly electrically connected to the substrate of the host system.

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

请参照图4,存储器存储装置10包括连接接口单元402、存储器控制电路单元404与可复写式非易失性存储器模块406。Referring to FIG. 4 , the memory storage device 10 includes a connection interface unit 402 , a memory control circuit unit 404 and a rewritable non-volatile memory module 406 .

在本范例实施例中,连接接口单元402是相容于串行高级技术附件(SerialAdvanced Technology Attachment,简称SATA)标准。然而,必须了解的是,本发明不限于此,连接接口单元402也可以是符合并行高级技术附件(Parallel Advanced TechnologyAttachment,简称PATA)标准、电气和电子工程师协会(Institute of Electrical andElectronic Engineers,简称IEEE)1394标准、外设部件互连(Peripheral ComponentInterconnect Express,简称PCI Express)标准、通用串行总线(Universal Serial Bus,简称USB)标准、安全数位(Secure Digital,简称SD)接口标准、超高速一代(Ultra HighSpeed-I,简称UHS-I)接口标准、超高速二代(Ultra High Speed-II,简称UHS-II)接口标准、记忆棒(Memory Stick,简称MS)接口标准、多媒体存储卡(Multi Media Card,简称MMC)接口标准、嵌入式多媒体存储卡(Embedded Multimedia Card,简称eMMC)接口标准、通用快闪存储器(Universal Flash Storage,简称UFS)接口标准、小型快闪(Compact Flash,简称CF)接口标准、集成设备电路(Integrated Device Electronics,简称IDE)标准或其他适合的标准。连接接口单元402可与存储器控制电路单元404封装在一个芯片中,或者连接接口单元402是布设于一包含存储器控制电路单元404的芯片外。In this exemplary embodiment, the connection interface unit 402 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 connection interface unit 402 may also be in accordance with the Parallel Advanced Technology Attachment (Parallel Advanced Technology Attachment, referred to as PATA) standard, Institute of Electrical and Electronic Engineers (Institute of Electrical and Electronic Engineers, referred to as IEEE) 1394 standard, Peripheral Component Interconnect Express (PCI Express for short) standard, Universal Serial Bus (Universal Serial Bus, USB for short) standard, Secure Digital (SD for short) interface standard, Ultra High Speed Generation (Ultra HighSpeed-I (UHS-I for short) interface standard, Ultra High Speed-II (UHS-II for short) interface standard, Memory Stick (Memory Stick, MS for short) interface standard, Multi Media Card (Multi Media Card) , MMC for short) interface standard, Embedded Multimedia Card (eMMC for short) interface standard, Universal Flash Storage (UFS for short) interface standard, Compact Flash (CF for short) interface standard , Integrated Device Electronics (IDE for short) standard or other suitable standards. The connection interface unit 402 can be packaged with the memory control circuit unit 404 in one chip, or the connection interface unit 402 can be arranged outside a chip including the memory control circuit unit 404 .

存储器控制电路单元404用以执行以硬件形式或固件形式实作的多个逻辑栅或控制指令并且根据主机系统11的指令在可复写式非易失性存储器模块406中进行数据的写入、读取与抹除等运作。The memory control circuit unit 404 is used to execute a plurality of logic gates or control instructions implemented in the form of hardware or firmware, and write and read data in the rewritable non-volatile memory module 406 according to the instructions of the host system 11. Fetch and erase operations.

可复写式非易失性存储器模块406是电性连接至存储器控制电路单元404并且用以存储主机系统11所写入的数据。可复写式非易失性存储器模块406可以是单层单元(Single Level Cell,简称SLC)NAND型快闪存储器模块(即,一个存储单元中可存储1个比特数据的快闪存储器模块)、多层单元(Multi Level Cell,简称MLC)NAND型快闪存储器模块(即,一个存储单元中可存储2个比特数据的快闪存储器模块)、三层单元(Triple LevelCell,简称TLC)NAND型快闪存储器模块(即,一个存储单元中可存储3个比特数据的快闪存储器模块)、其他快闪存储器模块或其他具有相同特性的存储器模块。The rewritable non-volatile memory module 406 is electrically connected to the memory control circuit unit 404 and used for storing data written by the host system 11 . The rewritable non-volatile memory module 406 can be a single-level cell (Single Level Cell, SLC for short) NAND flash memory module (that is, a flash memory module that can store 1 bit of data in a storage unit), multiple Layer unit (Multi Level Cell, referred to as MLC) NAND flash memory module (that is, a flash memory module that can store 2 bits of data in a storage unit), triple level cell (Triple Level Cell, referred to as TLC) NAND flash memory module A memory module (that is, a flash memory module that can store 3 bits of data in one storage unit), other flash memory modules, or other memory modules with the same characteristics.

图5是根据本发明的一范例实施例所示出的可复写式非易失性存储器模块的概要方块图。图6是根据本发明的一范例实施例所示出的存储单元阵列的示意图。FIG. 5 is a schematic block diagram of a rewritable non-volatile memory module according to an exemplary embodiment of the present invention. FIG. 6 is a schematic diagram of a memory cell array according to an exemplary embodiment of the present invention.

请参照图5,可复写式非易失性存储器模块406包括存储单元阵列502、字元线控制电路504、比特线控制电路506、行解码器(column decoder)508、数据输入/输出缓冲器510与控制电路512。Please refer to FIG. 5, the rewritable non-volatile memory module 406 includes a memory cell array 502, a word line control circuit 504, a bit line control circuit 506, a row decoder (column decoder) 508, and a data input/output buffer 510 and control circuit 512 .

在本范例实施例中,存储单元阵列502可包括用以存储数据的多个存储单元602、多个选择栅漏极(select gate drain,简称SGD)晶体管612与多个选择栅源极(selectgate source,简称SGS)晶体管614、以及连接此些存储单元的多条比特线604、多条字元线606、与共用源极线608(如图6所示)。存储单元602是以阵列方式(或立体堆叠的方式)配置在比特线604与字元线606的交叉点上。当从存储器控制电路单元404接收到写入指令或读取指令时,控制电路512会控制字元线控制电路504、比特线控制电路506、行解码器508、数据输入/输出缓冲器510来写入数据至存储单元阵列502或从存储单元阵列502中读取数据,其中字元线控制电路504用以控制施予至字元线606的电压,比特线控制电路506用以控制施予至比特线604的电压,行解码器508依据指令中的列地址以选择对应的比特线,并且数据输入/输出缓冲器510用以暂存数据。In this exemplary embodiment, the memory cell array 502 may include a plurality of memory cells 602 for storing data, a plurality of select gate drain (SGD for short) transistors 612 and a plurality of select gate source (selectgate source) , SGS for short) transistor 614, and a plurality of bit lines 604, a plurality of word lines 606, and a common source line 608 connected to these memory cells (as shown in FIG. 6 ). The memory cells 602 are arranged in an array (or three-dimensionally stacked) at intersections of the bit lines 604 and the word lines 606 . When receiving a write instruction or a read instruction from the memory control circuit unit 404, the control circuit 512 will control the word line control circuit 504, the bit line control circuit 506, the row decoder 508, and the data input/output buffer 510 to write Entering data into the memory cell array 502 or reading data from the memory cell array 502, wherein the word line control circuit 504 is used to control the voltage applied to the word line 606, and the bit line control circuit 506 is used to control the voltage applied to the bit line The voltage of the line 604, the row decoder 508 selects the corresponding bit line according to the column address in the command, and the data input/output buffer 510 is used for temporarily storing data.

可复写式非易失性存储器模块406中的每一个存储单元是以电压(以下也称为临界电压)的改变来存储一或多个比特。具体来说,每一个存储单元的控制栅极(controlgate)与通道之间有一个电荷捕捉层。通过施予一写入电压至控制栅极,可以改变电荷捕捉层的电子量,因而改变了存储单元的临界电压。此改变临界电压的程序也称为“把数据写入至存储单元”或“程序化存储单元”。随着临界电压的改变,存储单元阵列502的每一个存储单元具有多个存储状态。并且通过施予读取电压可以判断存储单元是属于哪一个存储状态,藉此取得存储单元所存储的一或多个比特。Each memory cell in the rewritable non-volatile memory module 406 stores one or more bits by changing a voltage (also referred to as threshold voltage hereinafter). Specifically, there is a charge trapping layer between the control gate and the channel of each memory cell. By applying a write voltage to the control gate, the amount of electrons in the charge trapping layer can be changed, thereby changing the threshold voltage of the memory cell. This process of changing the threshold voltage is also called "writing data into the memory cell" or "programming the memory cell". Each memory cell of the memory cell array 502 has multiple storage states as the threshold voltage changes. And by applying a read voltage, it can be determined which storage state the memory cell belongs to, thereby obtaining one or more bits stored in the memory cell.

图7是根据本发明的一范例实施例所示出的存储器控制电路单元的概要方块图。FIG. 7 is a schematic block diagram of a memory control circuit unit according to an exemplary embodiment of the present invention.

请参照图7,存储器控制电路单元404包括存储器管理电路702、主机接口704、存储器接口706及错误检查与校正电路708。Referring to FIG. 7 , the memory control circuit unit 404 includes a memory management circuit 702 , a host interface 704 , a memory interface 706 and an error checking and correction circuit 708 .

存储器管理电路702用以控制存储器控制电路单元404的整体运作。具体来说,存储器管理电路702具有多个控制指令,并且在存储器存储装置10运作时,此些控制指令会被执行以进行数据的写入、读取与抹除等运作。以下说明存储器管理电路702的操作时,等同于说明存储器控制电路单元404的操作。The memory management circuit 702 is used to control the overall operation of the memory control circuit unit 404 . Specifically, the memory management circuit 702 has a plurality of control instructions, and when the memory storage device 10 is operating, these control instructions are executed to perform operations such as writing, reading, and erasing data. When describing the operation of the memory management circuit 702 below, it is equivalent to describing the operation of the memory control circuit unit 404 .

在本范例实施例中,存储器管理电路702的控制指令是以固件形式来实作。例如,存储器管理电路702具有微处理器单元(未示出)与只读存储器(未示出),并且此些控制指令是被烧录至此只读存储器中。当存储器存储装置10运作时,此些控制指令会由微处理器单元来执行以进行数据的写入、读取与抹除等运作。In this exemplary embodiment, the control instructions 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 read-only memory (not shown), and these control instructions are burned into the read-only memory. When the memory storage device 10 is in operation, these control instructions are executed by the microprocessor unit to perform operations such as writing, reading, and erasing data.

在另一范例实施例中,存储器管理电路702的控制指令也可以程序码形式存储于可复写式非易失性存储器模块406的特定区域(例如,存储器模块中专用于存放系统数据的系统区)中。此外,存储器管理电路702具有微处理器单元(未示出)、只读存储器(未示出)及随机存取存储器(未示出)。特别是,此只读存储器具有开机码(boot code),并且当存储器控制电路单元404被致能时,微处理器单元会先执行此开机码来将存储于可复写式非易失性存储器模块406中的控制指令载入至存储器管理电路702的随机存取存储器中。之后,微处理器单元会运转此些控制指令以进行数据的写入、读取与抹除等运作。In another exemplary embodiment, the control instructions of the memory management circuit 702 can also be stored in a specific area of the rewritable non-volatile memory module 406 in the form of program code (for example, a system area in the memory module dedicated to storing system data) middle. 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 boot code (boot code), and when the memory control circuit unit 404 is enabled, the microprocessor unit will first execute the boot code to store in the rewritable non-volatile memory module The control instructions in 406 are loaded into the random access memory of the memory management circuit 702 . Afterwards, the microprocessor unit will execute these control instructions to perform operations such as writing, reading and erasing data.

此外,在另一范例实施例中,存储器管理电路702的控制指令也可以一硬件形式来实作。例如,存储器管理电路702包括微控制器、实体单元管理电路、存储器写入电路、存储器读取电路、存储器抹除电路与数据处理电路。实体单元管理电路、存储器写入电路、存储器读取电路、存储器抹除电路与数据处理电路是电性连接至微控制器。其中,实体单元管理电路用以管理可复写式非易失性存储器模块406的实体抹除单元;存储器写入电路用以对可复写式非易失性存储器模块406下达写入指令序列以将数据写入至可复写式非易失性存储器模块406中;存储器读取电路用以对可复写式非易失性存储器模块406下达读取指令序列以从可复写式非易失性存储器模块406中读取数据;存储器抹除电路用以对可复写式非易失性存储器模块406下达抹除指令序列以将数据从可复写式非易失性存储器模块406中抹除;而数据处理电路用以处理欲写入至可复写式非易失性存储器模块406的数据以及从可复写式非易失性存储器模块406中读取的数据。写入指令序列、读取指令序列及抹除指令序列可各别包括一或多个程序码或指令码并且用以指示可复写式非易失性存储器模块406执行相对应的写入、读取及抹除等操作。In addition, in another exemplary embodiment, the control instructions of the memory management circuit 702 may also be implemented in a hardware form. For example, the memory management circuit 702 includes a microcontroller, a physical unit management circuit, a memory writing circuit, a memory reading circuit, a memory erasing circuit and a data processing circuit. The physical unit management circuit, the memory writing circuit, the memory reading circuit, the memory erasing circuit and the data processing circuit are electrically connected to the microcontroller. Wherein, the physical unit management circuit is used to manage the physical erasing unit of the rewritable non-volatile memory module 406; the memory write circuit is used to issue a write command sequence to the rewritable non-volatile memory module 406 to write data Write in the rewritable non-volatile memory module 406; the memory read circuit is used to issue a read instruction sequence to the rewritable non-volatile memory module 406 to read from the rewritable non-volatile memory module 406 Read data; the memory erasing circuit is used to issue an erase command sequence to the rewritable non-volatile memory module 406 to erase data from the rewritable non-volatile memory module 406; and the data processing circuit is used to Data to be written into the rewritable non-volatile memory module 406 and data read from the rewritable non-volatile memory module 406 are processed. The write command sequence, the read command sequence and the erase command sequence may respectively include one or more program codes or command codes and are used to instruct the rewritable non-volatile memory module 406 to perform corresponding write, read and erase operations.

主机接口704是电性连接至存储器管理电路702并且用以接收与识别主机系统11所传送的指令与数据。也就是说,主机系统11所传送的指令与数据会通过主机接口704来传送至存储器管理电路702。在本范例实施例中,主机接口704是相容于SATA标准。然而,必须了解的是本发明不限于此,主机接口704也可以是相容于PATA标准、IEEE 1394标准、PCIExpress标准、USB标准、SD标准、UHS-I标准、UHS-II标准、MS标准、MMC标准、eMMC标准、UFS标准、CF标准、IDE标准或其他适合的数据传输标准。The host interface 704 is electrically connected to the memory management circuit 702 and used for receiving and identifying commands and data transmitted by the host system 11 . That is to say, the commands and data sent by the host system 11 are sent 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 may also be compatible with PATA standard, IEEE 1394 standard, PCIExpress standard, USB standard, SD standard, UHS-I standard, UHS-II standard, MS standard, MMC standard, eMMC standard, UFS standard, CF standard, IDE standard or other suitable data transmission standards.

存储器接口706是电性连接至存储器管理电路702并且用以存取可复写式非易失性存储器模块406。也就是说,欲写入至可复写式非易失性存储器模块406的数据会经由存储器接口706转换为可复写式非易失性存储器模块406所能接受的格式。具体来说,若存储器管理电路702要存取可复写式非易失性存储器模块406,存储器接口706会传送对应的指令序列。这些指令序列可包括一或多个信号,或是在总线上的数据。例如,在读取指令序列中,会包括读取的辨识码、存储器地址等信息。The memory interface 706 is electrically connected to the memory management circuit 702 and used for accessing the rewritable non-volatile memory module 406 . That is to say, the data to be written into the rewritable nonvolatile memory module 406 will be converted into a format acceptable to the rewritable nonvolatile memory module 406 via the memory interface 706 . Specifically, if the memory management circuit 702 wants to access the rewritable non-volatile memory module 406, the memory interface 706 will transmit the corresponding instruction sequence. These command sequences may include one or more signals, or data on a bus. For example, in the read instruction sequence, the read identification code, memory address and other information will be included.

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

在一范例实施例中,存储器控制电路单元404还包括缓冲存储器710与电源管理电路712。缓冲存储器710是电性连接至存储器管理电路702并且用以暂存来自于主机系统11的数据与指令或来自于可复写式非易失性存储器模块406的数据。电源管理电路712是电性连接至存储器管理电路702并且用以控制存储器存储装置10的电源。In an exemplary embodiment, the memory control circuit unit 404 further includes a buffer memory 710 and a power management circuit 712 . The buffer memory 710 is electrically connected to the memory management circuit 702 and used for temporarily storing data and instructions from the host system 11 or data from the rewritable non-volatile memory module 406 . The power management circuit 712 is electrically connected to the memory management circuit 702 and used for controlling the power of the memory storage device 10 .

图8是根据本发明的一范例实施例所示出的管理可复写式非易失性存储器模块的示意图。必须了解的是,在此描述可复写式非易失性存储器模块406的实体抹除单元的运作时,以“选择”、“分组”、“划分”、“关联”等词来操作实体抹除单元是逻辑上的概念。也就是说,可复写式非易失性存储器模块的实体抹除单元的实际位置并未更动,而是逻辑上对可复写式非易失性存储器模块的实体抹除单元进行操作。FIG. 8 is a schematic diagram of managing a rewritable non-volatile memory module according to an exemplary embodiment of the present invention. It must be understood that when describing the operation of the physical erasing unit of the rewritable non-volatile memory module 406, words such as "selection", "grouping", "dividing", and "association" are used to operate physical erasing. A unit is a logical concept. That is to say, the actual position of the physical erasing unit of the rewritable non-volatile memory module is not changed, but the physical erasing unit of the rewritable non-volatile memory module is logically operated.

可复写式非易失性存储器模块406的存储单元会构成多个实体程序化单元,并且此些实体程序化单元会构成多个实体抹除单元。具体来说,同一条字元线上的存储单元会组成一或多个实体程序化单元。若每一个存储单元可存储2个以上的比特,则同一条字元线上的实体程序化单元至少可被分类为下实体程序化单元与上实体程序化单元。例如,一存储单元的最低有效比特(Least Significant Bit,简称LSB)是属于下实体程序化单元,并且一存储单元的最高有效比特(Most Significant Bit,简称MSB)是属于上实体程序化单元。一般来说,在MLC NAND型快闪存储器中,下实体程序化单元的写入速度会大于上实体程序化单元的写入速度,或下实体程序化单元的可靠度是高于上实体程序化单元的可靠度。在此范例实施例中,实体程序化单元为程序化的最小单元。即,实体程序化单元为写入数据的最小单元。例如,实体程序化单元为实体页面或是实体扇(sector)。若实体程序化单元为实体页面,则每一个实体程序化单元通常包括数据比特区与冗余比特区。数据比特区包含多个实体扇,用以存储使用者的数据,而冗余比特区用以存储系统的数据(例如,错误更正码)。在本范例实施例中,数据比特区包含32个实体扇,且一个实体扇的大小为512比特组(byte,简称B)。然而,在其他范例实施例中,数据比特区中也可包含8个、16个或数目更多或更少的实体扇,本发明并不限制实体扇的大小以及个数。另一方面,实体抹除单元为抹除的最小单位。亦即,每一实体抹除单元含有最小数目之一并被抹除的存储单元。例如,实体抹除单元为实体区块。The storage units of the rewritable non-volatile memory module 406 constitute a plurality of physical programming units, and these physical programming units constitute a plurality of physical erasing units. Specifically, the storage units on the same word line form one or more physical programming units. If each storage unit can store more than 2 bits, the physical programming units on the same word line can be classified into at least lower physical programming units and upper physical programming units. For example, the Least Significant Bit (LSB) of a storage unit belongs to the lower physical programming unit, and the Most Significant Bit (MSB) of a storage unit belongs to the upper physical programming unit. Generally speaking, in MLC NAND flash memory, the writing speed of the lower physical programming unit is greater than that of the upper physical programming unit, or the reliability of the lower physical programming unit is higher than that of the upper physical programming unit. unit reliability. In this exemplary embodiment, the entity programming unit is the smallest unit of programming. That is, the entity programming unit is the smallest unit for writing data. For example, the entity programming unit is an entity page or an entity sector. If the physical programming unit is a physical page, each physical programming unit usually includes a data bit area and a redundant bit area. The data bit area includes a plurality of physical sectors for storing user data, and the redundant bit area is used for storing system data (eg, error correction code). In this exemplary embodiment, the data bit area includes 32 physical sectors, and the size of one physical sector is 512 bytes (byte, B for short). However, in other exemplary embodiments, the data bit area may also include 8, 16 or more or less physical sectors, and the present invention does not limit the size and number of physical sectors. On the other hand, the entity erasing unit is the smallest unit of erasing. That is, each physical erase unit contains a minimum number of memory cells that are erased. For example, the physical erasing unit is a physical block.

请参照图8,存储器管理电路702可将可复写式非易失性存储器模块406的实体抹除单元800(0)~800(R)逻辑地划分为多个区域,例如为存储区802与系统区806。Please refer to FIG. 8, the memory management circuit 702 can logically divide the physical erasing units 800(0)-800(R) of the rewritable non-volatile memory module 406 into multiple areas, for example, the storage area 802 and the system District 806.

存储区802的实体抹除单元是用以存储来自主机系统11的数据。存储区802中会存储有效数据与无效数据。例如,当主机系统要删除一份有效数据时,被删除的数据可能还是存储在存储区802中,但会被标记为无效数据。没有存储有效数据的实体抹除单元也被称为闲置(spare)实体抹除单元。例如,被抹除以后的实体抹除单元便会成为闲置实体抹除单元。若存储区802或系统区806中有实体抹除单元损坏时,存储区802中的实体抹除单元也可以用来替换损坏的实体抹除单元。倘若存储区802中没有可用的实体抹除单元来替换损坏的实体抹除单元时,则存储器管理电路702可能会将整个存储器存储装置10宣告为写入保护(write protect)状态,而无法再写入数据。此外,有存储有效数据的实体抹除单元也被称为非闲置(non-spare)实体抹除单元。The physical erase unit of the storage area 802 is used to store data from the host system 11 . Valid data and invalid data are stored in the storage area 802 . For example, when the host system wants to delete a piece of valid data, the deleted data may still be stored in the storage area 802, but it will be marked as invalid data. A physical erasing unit that does not store valid data is also called a spare physical erasing unit. For example, the erased physical erasing unit becomes an idle physical erasing unit. If a physical erasing unit in the storage area 802 or the system area 806 is damaged, the physical erasing unit in the storage area 802 can also be used to replace the damaged physical erasing unit. If there is no available physical erasing unit in the storage area 802 to replace the damaged physical erasing unit, the memory management circuit 702 may declare the entire memory storage device 10 as a write-protected (write protect) state, and cannot write input data. In addition, the physical erasing unit that stores valid data is also referred to as a non-spare physical erasing unit.

系统区806的实体抹除单元是用以记录系统数据,其中此系统数据包括关于存储器芯片的制造商与型号、存储器芯片的实体抹除单元数、每一实体抹除单元的实体程序化单元数等。The physical erasing unit of the system area 806 is used to record system data, wherein the system data includes the manufacturer and model of the memory chip, the number of physical erasing units of the memory chip, and the number of physical programming units of each physical erasing unit Wait.

存储区802与系统区806的实体抹除单元的数量会依据不同的存储器规格而有所不同。此外,必须了解的是,在存储器存储装置10的运作中,实体抹除单元关联至存储区802与系统区806的分组关系会动态地变动。例如,当系统区806中的实体抹除单元损坏而被存储区802的实体抹除单元取代时,则原本在存储区802的实体抹除单元会被关联至系统区806。The number of physical erasing units in the storage area 802 and the system area 806 varies according to different memory specifications. In addition, it must be understood that during the operation of the memory storage device 10 , the grouping relationship of the physical erasing unit associated with the storage area 802 and the system area 806 will change dynamically. For example, when the physical erasing unit in the system area 806 is damaged and replaced by the physical erasing unit in the storage area 802 , the original physical erasing unit in the storage area 802 will be associated with the system area 806 .

存储器管理电路702会配置逻辑单元810(0)~810(D)以映射至存储区802中的实体抹除单元800(0)~800(A)。例如,在本范例实施例中,主机系统11是通过逻辑地址来存取存储区802中的数据,因此,每一个逻辑单元810(0)~810(D)是指一个逻辑地址。此外,在一范例实施例中,每一个逻辑单元810(0)~810(D)也可以是指一个逻辑扇、一个逻辑程序化单元、一个逻辑抹除单元或者由多个连续的逻辑地址组成。每一个逻辑单元810(0)~810(D)是映射至一或多个实体单元。在本范例实施例中,一个实体单元是指一个实体抹除单元。然而,在另一范例实施例中,一个实体单元也可以是一个实体地址、一个实体扇、一个实体程序化单元或者是由多个连续的实体地址组成,本发明不加以限制。存储器管理电路702会将逻辑单元与实体单元之间的映射关系记录于一或多个逻辑-实体映射表。当主机系统11欲从存储器存储装置10读取数据或写入数据至存储器存储装置10时,存储器管理电路702可根据此一或多个逻辑-实体映射表来执行对于存储器存储装置10的数据存取。The memory management circuit 702 configures the logic units 810 ( 0 )˜ 810 (D) to map to the physical erase units 800 ( 0 )˜ 800 (A) in the storage area 802 . For example, in this exemplary embodiment, the host system 11 accesses the data in the storage area 802 through logical addresses, therefore, each logical unit 810(0)˜810(D) refers to a logical address. In addition, in an exemplary embodiment, each logical unit 810(0)-810(D) may also refer to a logical sector, a logical programming unit, a logical erasing unit, or consist of multiple consecutive logical addresses . Each logical unit 810(0)-810(D) is mapped to one or more physical units. In this exemplary embodiment, a physical unit refers to a physical erasing unit. However, in another exemplary embodiment, a physical unit may also be a physical address, a physical sector, a physical programming unit, or consist of multiple consecutive physical addresses, which are not limited by the present invention. The memory management circuit 702 records the mapping relationship between the logical unit and the physical unit in one or more logical-physical mapping tables. When the host system 11 intends to read data from the memory storage device 10 or write data to the memory storage device 10, the memory management circuit 702 can perform data storage for the memory storage device 10 according to the one or more logical-physical mapping tables. Pick.

图9是根据本发明的一范例实施例所示出的多个存储单元的临界电压分布的示意图。FIG. 9 is a schematic diagram showing threshold voltage distributions of a plurality of memory cells according to an exemplary embodiment of the present invention.

请参照图9,横轴代表存储单元的临界电压,而纵轴代表存储单元个数。例如,图9是表示一个实体单元中各个存储单元的临界电压。在此假设当某一个存储单元的临界电压是落在分布901时,此存储单元所存储的是比特“1”;相反地,若某一个存储单元的临界电压是落在分布902时,此存储单元所存储的是比特“0”。值得一提的是,在本范例实施例中,每一个存储单元是用以存储一个比特,故临界电压的分布有两种可能。然而,在其他范例实施例中,若一个存储单元是用以存储多个比特,则对应的临界电压的分布则可能有四种、八种或其他任意个可能。此外,本发明也不限制每一个分布所代表的比特。Referring to FIG. 9 , the horizontal axis represents the threshold voltage of the memory cells, and the vertical axis represents the number of memory cells. For example, FIG. 9 shows the threshold voltages of each memory cell in a physical cell. It is assumed here that when the critical voltage of a certain memory cell falls within the distribution 901, the memory cell stores a bit "1"; conversely, if the critical voltage of a certain memory cell falls within the distribution 902, the stored bit The cell stores a bit "0". It is worth mentioning that, in this exemplary embodiment, each memory cell is used to store one bit, so there are two possible distributions of the threshold voltage. However, in other exemplary embodiments, if a memory cell is used to store multiple bits, there may be four, eight or any other possible distributions of the corresponding threshold voltages. In addition, the present invention does not limit the bits represented by each distribution.

当要从可复写式非易失性存储器模块406读取数据时,存储器管理电路702会发送一读取指令序列至可复写式非易失性存储器模块406。此读取指令序列包括一或多个指令或程序码。此读取指令序列用以指示读取某一实体单元中的多个存储单元以取得多个比特。例如,根据此读取指令序列,可复写式非易失性存储器模块406会使用读取电压Vread-0来读取此些存储单元并且将对应的比特数据传送给存储器管理电路702。例如,若某一个存储单元的临界电压小于读取电压Vread-0(例如,属于分布901的存储单元),则存储器管理电路702会读到比特“1”;若某一个存储单元的临界电压大于读取电压Vread-0(例如,属于分布902的存储单元),则存储器管理电路702会读到比特“0”。When data is to be read from the rewritable nonvolatile memory module 406 , the memory management circuit 702 sends a read command sequence to the rewritable nonvolatile memory module 406 . The read instruction sequence includes one or more instructions or program codes. The read command sequence is used to instruct to read multiple storage units in a certain physical unit to obtain multiple bits. For example, according to the read command sequence, the rewritable non-volatile memory module 406 will use the read voltage V read-0 to read these memory cells and transmit the corresponding bit data to the memory management circuit 702 . For example, if the threshold voltage of a certain memory cell is less than the read voltage V read-0 (for example, the memory cell belonging to the distribution 901), the memory management circuit 702 will read bit "1"; if the threshold voltage of a certain memory cell Greater than the read voltage V read-0 (eg, memory cells belonging to the distribution 902 ), the memory management circuit 702 will read a bit "0".

然而,随着可复写式非易失性存储器模块406的使用时间增加及/或操作环境改变,分布901与902会发生性能衰退(degradation)。发生性能衰退后,分布901与902可能会逐渐相互靠近甚至相互重叠。例如,分布911与分布912分别用来表示性能衰退后的分布901与902。分布911与分布912包含一个重叠区域913。重叠区域913表示有一些存储单元中所存储的应该是比特“1”,但其临界电压大于读取电压Vread-0;或者,有一些存储单元中所存储的应该是比特“0”,但其临界电压小于读取电压Vread-0。发生性能衰退后,若持续使用读取电压Vread-0来读取属于分布911或分布912的存储单元,则读取到的比特可能会包含较多错误。例如,将属于分布911的存储单元误判为属于分布912,或者将属于分布912的存储单元误判为属于分布911。因此,在本范例实施例中,错误检查与校正电路708会对读取到的比特进行解码,从而更正其中的错误。在以下的范例实施例中,读取电压也被称为读取电压准位(readvoltage level)。每一个读取电压准位具有至少一个电压值。However, as the usage time of the rewritable non-volatile memory module 406 increases and/or the operating environment changes, performance degradation of the distributions 901 and 902 may occur. After performance degradation occurs, the distributions 901 and 902 may gradually approach each other or even overlap each other. For example, distribution 911 and distribution 912 are used to represent distributions 901 and 902 after performance degradation, respectively. Distribution 911 and distribution 912 contain an overlapping region 913 . The overlapping area 913 indicates that some memory cells should store a bit "1", but their threshold voltage is greater than the read voltage V read-0 ; or, some memory cells should store a bit "0", but Its threshold voltage is lower than the read voltage V read-0 . After performance degradation occurs, if the read voltage V read-0 is continuously used to read the memory cells belonging to the distribution 911 or the distribution 912 , the read bits may contain more errors. For example, a storage unit belonging to distribution 911 is misjudged as belonging to distribution 912 , or a storage unit belonging to distribution 912 is misjudged as belonging to distribution 911 . Therefore, in this exemplary embodiment, the error checking and correcting circuit 708 decodes the read bits to correct errors therein. In the following exemplary embodiments, the read voltage is also referred to as a read voltage level. Each read voltage level has at least one voltage value.

在本范例实施例中,错误检查与校正电路708会编码欲存储至可复写式非易失性存储器模块406的数据并产生一个编码单元。此编码单元是属于区块码。存储器管理电路702会发送一个写入指令序列至可复写式非易失性存储器模块406。此写入指令序列包含至少一指令或程序码。此写入指令序列用以指示将此编码单元写入至可复写式非易失性存储器模块406中的一个适当区域(以下也称为第一区域)。例如,第一区域可以是至少一个实体单元。根据此写入指令序列,可复写式非易失性存储器模块406会将此编码单元会存储至此第一区域。尔后,当存储器管理电路702指示读取第一区域的数据时,可复写式非易失性存储器模块406会从第一区域中读取此编码单元,并且错误检查与校正电路708会执行一解码程序以解码此编码单元。In this exemplary embodiment, the ECC circuit 708 encodes the data to be stored in the rewritable non-volatile memory module 406 and generates an encoding unit. This coding unit is a block code. The memory management circuit 702 sends a write command sequence to the rewritable non-volatile memory module 406 . The write command sequence includes at least one command or program code. The write command sequence is used to instruct to write the encoding unit into an appropriate area (hereinafter referred to as the first area) in the rewritable non-volatile memory module 406 . For example, the first area may be at least one solid unit. According to the write command sequence, the rewritable non-volatile memory module 406 will store the coding unit in the first area. Then, when the memory management circuit 702 instructs to read the data in the first area, the rewritable non-volatile memory module 406 will read the coding unit from the first area, and the error checking and correction circuit 708 will perform a decoding program to decode this code unit.

图10是根据本发明的一范例实施例所示出的编码单元的示意图。Fig. 10 is a schematic diagram of a coding unit according to an exemplary embodiment of the present invention.

请参照图10,编码单元1010包括比特b11~bnm。若将比特b11~bnm分组为子编码单元1011~101n,则每一个子编码单元1011~101n具有m个比特。n与m皆可以是大于1的任意正整数。在本范例实施例中,部分的比特是由多个编码程序所决定。例如,可将编码方向为行(row)方向(例如,由左至右)的编码程序视为第一类编码程序,并将编码方向为列方向(例如,由上至下)的编码程序视为第二类编码程序。在一范例实施例中,第一类编码程序也称为行(row)编码程序,而第二类编码程序也称为列(column)编码程序。Please refer to FIG. 10 , the coding unit 1010 includes bits b 11 ˜b nm . If bits b 11 -b nm are grouped into sub-coding units 1011-101n, each sub-coding unit 1011-101n has m bits. Both n and m can be any positive integer greater than 1. In this exemplary embodiment, some bits are determined by multiple encoding procedures. For example, the encoding procedure whose encoding direction is the row direction (for example, from left to right) can be regarded as the first type of encoding procedure, and the encoding procedure whose encoding direction is the column direction (for example, from top to bottom) can be regarded as For the second type of coding procedure. In an exemplary embodiment, the first type of encoding procedure is also referred to as a row encoding procedure, and the second type of encoding procedure is also referred to as a column encoding procedure.

在本范例实施例中,第一类编码程序会先被执行,而根据第一类编码程序的编码结果,第二类编码程序会接续被执行。例如,假设欲存储的使用者数据包含比特b11~b1p、b21~b2p、…、br1~brp,则在第一类编码程序中,比特b11~b1p、b21~b2p、…、br1~brp会分别被编码以获得比特b11~b1m(即,子编码单元1011)、b21~b2m(即,子编码单元1012)、…、br1~brm(即,子编码单元101r)。比特b1q~b1m为对应于比特b11~b1p的错误更正码,比特b2q~b2m为对应于比特b21~b2p的错误更正码,以此类推,其中q等于p+1。在获得子编码单元1011~101r之后,第二类编码程序会被执行。例如,在第二类编码程序中,比特b11~br1(即,每一个子编码单元1011~101r中的第一个比特)、比特b12~br2(即,每一个子编码单元1011~101r中的第二个比特)、…、比特b1m~brm(即,每一个子编码单元1011~101r中的第m个比特)会分别被编码以获得比特b11~bn1、b12~bn2、…、b1m~bnm。比特bs1~bn1为对应于比特b11~br1的错误更正码,比特bs2~bn2为对应于比特b12~br2的错误更正码,以此类推,其中s等于r+1。In this exemplary embodiment, the first type of encoding procedure is executed first, and according to the encoding result of the first type of encoding procedure, the second type of encoding procedure is subsequently executed. For example, assuming that the user data to be stored includes bits b 11 ~b 1p , b 21 ~b 2p , ..., b r1 ~b rp , then in the first type of encoding procedure, bits b 11 ~b 1p , b 21 ~ b 2p , ..., b r1 ~b rp will be coded to obtain bits b 11 ~b 1m (ie, sub-coding unit 1011 ), b 21 ~b 2m (ie, sub-coding unit 1012 ), ..., b r1 ~ b rm (ie, the sub-coding unit 101r). Bits b 1q ~ b 1m are error correction codes corresponding to bits b 11 ~ b 1p , bits b 2q ~ b 2m are error correction codes corresponding to bits b 21 ~ b 2p , and so on, where q is equal to p+1 . After the sub-encoding units 1011-101r are obtained, the second type of encoding procedure will be executed. For example, in the second type of encoding procedure, bits b 11 ~ b r1 (that is, the first bit in each sub-coding unit 1011 ~ 101r), bits b 12 ~ b r2 (that is, the first bit in each sub-coding unit 1011 the second bit in ~101r), ..., bits b 1m ~b rm (that is, the mth bit in each sub-coding unit 1011 ~ 101r) will be respectively encoded to obtain bits b 11 ~b n1 , b 12 ˜b n2 , . . . , b 1m ˜b nm . Bits b s1 ~b n1 are error correction codes corresponding to bits b 11 ~b r1 , bits b s2 ~b n2 are error correction codes corresponding to bits b 12 ~b r2 , and so on, where s is equal to r+1 .

在将编码单元1010读取出来之后,对应于所采用的编码顺序,编码单元1010会被解码。例如,在本范例实施例中,解码方向为列方向的解码程序(也称为第二类解码程序)会先被执行,而根据第二类解码程序的解码结果,解码方向为行方向的解码程序(也称为第一类解码程序)会接续被执行。例如,在第二类解码程序中,比特bs1~bn1、bs2~bn2、…、bsm~bnm会被分别用来对比特b11~br1、b12~br2、…、b1m~brm进行解码。在获得解码后的比特b11~br1、b12~br2、…、b1m~brm之后,第一类解码程序会被执行。例如,在第一类解码程序中,由第二类解码程序解码后的比特b1q~b1m、b2q~b2m、…、brq~brm会分别被用来对由第二类解码程序解码后的比特b11~b1p、b21~b2p、…、br1~brp进行解码以获得解码后的使用者数据。After the encoding unit 1010 is read out, the encoding unit 1010 will be decoded corresponding to the encoding sequence adopted. For example, in this exemplary embodiment, the decoding program whose decoding direction is the column direction (also referred to as the second type of decoding program) will be executed first, and according to the decoding result of the second type of decoding program, the decoding direction is the row direction The program (also referred to as the first type of decoding program) will be executed in succession. For example, in the second type of decoding procedure, bits b s1 ~ b n1 , b s2 ~ b n2 , ..., b sm ~ b nm will be used to decode bits b 11 ~ b r1 , b 12 ~ b r2 , ... , b 1m ~b rm to decode. After obtaining the decoded bits b 11 ˜b r1 , b 12 ˜b r2 , . . . , b 1m ˜b rm , the first type of decoding procedure will be executed. For example, in the first type of decoding program, the bits b 1q ~ b 1m , b 2q ~ b 2m , ..., b rq ~ b rm decoded by the second type of decoding program will be used respectively for the bits decoded by the second type of decoding program The program decoded bits b 11 ˜b 1p , b 21 ˜b 2p , . . . , b r1 ˜b rp are decoded to obtain decoded user data.

值得一提的是,上述范例实施例中提及的编码单元的组成以及编/解码顺序只是一个范例而非用以限制本发明。例如,在另一范例实施例中,所产生的错误更正码也可以是排列在对应的使用者数据之前或者穿插在对应的使用者数据中。或者,在一范例实施例中,在编码使用者数据时,也可以是先执行第二类编码程序,然后再依照第二类编码程序的编码结果执行第一类编码程序;相对应的,在解码编码单元时,也可以是先执行第一类解码程序,然后再根据第一类解码程序的解码结果来执行第二类解码程序。此外,第一类编码程序(或第一类解码程序)与第二类编码程序(或第二类解码程序)的编码方向不同,但是第一类编码程序(或第一类解码程序)与第二类编码程序(或第二类解码程序)可采用相同或不同的编/解码演算法。例如,第一类编码程序与对应的第一类解码程序可以是包含低密度奇偶检查校正码(low density parity code,简称LDPC)、BCH码及里德-所罗门码(Reed-solomon code,简称RS code)、方块涡轮码(block turbo code,简称BTC)等各式编/解码演算法的至少其中之一;而第二类编码程序与对应的第二类解码程序也可以是包含上述编/解码演算法的至少其中之一或者其他类型的编/解码演算法。It is worth mentioning that the composition of the coding unit and the encoding/decoding order mentioned in the above exemplary embodiments are just an example and not intended to limit the present invention. For example, in another exemplary embodiment, the generated error correction code may also be arranged before or interspersed in the corresponding user data. Or, in an exemplary embodiment, when encoding user data, it is also possible to execute the second type of encoding program first, and then execute the first type of encoding program according to the encoding result of the second type of encoding program; correspondingly, in When decoding the coding unit, the first type of decoding program may be executed first, and then the second type of decoding program is executed according to the decoding result of the first type of decoding program. In addition, the encoding directions of the first type of encoding program (or the first type of decoding program) and the second type of encoding program (or the second type of decoding program) are different, but the first type of encoding program (or the first type of decoding program) and the second type The second type of encoding procedure (or the second type of decoding procedure) can use the same or different encoding/decoding algorithms. For example, the first type of encoding program and the corresponding first type of decoding program may include low density parity correction code (low density parity code, LDPC for short), BCH code and Reed-Solomon code (Reed-Solomon code, RS for short). code), block turbo code (block turbo code, referred to as BTC) and other encoding/decoding algorithms; and the second type of encoding program and the corresponding second type of decoding program can also include the above encoding/decoding at least one of the algorithms or other types of encoding/decoding algorithms.

在本范例实施例中,存储器管理电路702会发送一读取指令序列(以下也称为第一读取指令序列)至可复写式非易失性存储器模块406。此第一读取指令序列用以指示从上述第一区域读取数据。在接收到此第一读取指令序列之后,可复写式非易失性存储器模块406会根据一读取电压准位(以下也称为第一读取电压准位)来读取此第一区域中的多个存储单元以获得一编码单元(以下也称为第一编码单元)。此第一编码单元属于区块码。关于编码单元的介绍已详述于上,故在此便不赘述。然后,错误检查与校正电路708会对第一编码单元执行一解码程序(以下也称为第一解码程序)并且记录对应的解码信息(以下也称为第一解码信息)。In this exemplary embodiment, the memory management circuit 702 sends a read command sequence (hereinafter referred to as the first read command sequence) to the rewritable non-volatile memory module 406 . The first read command sequence is used to instruct to read data from the above-mentioned first area. After receiving the first read command sequence, the rewritable non-volatile memory module 406 will read the first area according to a read voltage level (hereinafter also referred to as the first read voltage level). A plurality of storage units in to obtain a coding unit (hereinafter also referred to as a first coding unit). The first coding unit belongs to a block code. The introduction of the coding unit has been described in detail above, so it will not be repeated here. Then, the ECC circuit 708 executes a decoding procedure (hereinafter also referred to as the first decoding procedure) on the first encoding unit and records corresponding decoding information (hereinafter also referred to as the first decoding information).

在本范例实施例中,第一解码程序是属于迭代解码程序。例如,在第一解码程序中,错误检查与校正电路708会执行至少一次的迭代解码运算,以通过迭代地更新第一编码单元的可靠度信息(例如,解码初始值)来提高第一编码单元的解码成功率。每一次的迭代解码运算可包含相同或相似于图10的范例实施例所介绍的解码操作。一般来说,根据编码单元中错误(也称为错误比特)的数目,第一解码程序可能成功或失败。例如,经过至少一次的迭代解码运算之后,若解码成功,例如,错误检查与校正电路708判定第一编码单元中的错误皆已被更正,则错误检查与校正电路708会输出解码后的(或更正后的)第一编码单元。反之,若因为第一编码单元中错误比特的数目过多及/或此些错误比特的分布刚好处于无法被更正的位置等因素,导致错误检查与校正电路708所执行的迭代解码运算的次数已经达到一预设次数,则错误检查与校正电路708会判定解码失败。In this exemplary embodiment, the first decoding procedure is an iterative decoding procedure. For example, in the first decoding process, the error checking and correction circuit 708 will perform at least one iterative decoding operation, so as to improve the reliability information of the first coding unit by iteratively updating the reliability information (for example, decoding initial value) of the first coding unit. decoding success rate. Each iterative decoding operation may include the same or similar decoding operations as described in the exemplary embodiment of FIG. 10 . In general, depending on the number of errors (also called erroneous bits) in the coding unit, the first decoding procedure may succeed or fail. For example, after at least one iterative decoding operation, if the decoding is successful, for example, the error checking and correction circuit 708 determines that all errors in the first coding unit have been corrected, the error checking and correction circuit 708 will output the decoded (or Corrected) first coding unit. On the contrary, if the number of erroneous bits in the first coding unit is too large and/or the distribution of these erroneous bits is just in a position where it cannot be corrected, etc., the number of iterative decoding operations performed by the error checking and correction circuit 708 has already been exceeded. When a preset number of times is reached, the error checking and correction circuit 708 will determine that the decoding fails.

值得一提的是,从图10的范例实施例可知,对应于某一行的第一类解码程序或对应于某一列的第二类解码程序皆可能成功或失败。每一次执行的第一类解码程序是各自独立的,并且每一次执行的第二类解码程序也是各自独立的。例如,对于子编码单元1011的第一类解码程序可能成功或失败,并且对于子编码单元1012的第二类解码程序也可能成功或失败,两者可能无关。因此,即使第一编码单元解码失败,但其中仍然可能存在成功解码的行、列或者比特。It is worth mentioning that, from the exemplary embodiment shown in FIG. 10 , either the first type of decoding process corresponding to a certain row or the second type of decoding process corresponding to a certain column may succeed or fail. Each execution of the first type of decoding program is independent, and each execution of the second type of decoding program is also independent. For example, the first type of decoding procedure for the sub-coding unit 1011 may succeed or fail, and the second type of decoding procedure for the sub-coding unit 1012 may also succeed or fail, and the two may be irrelevant. Therefore, even if the decoding of the first coding unit fails, there may still be successfully decoded rows, columns or bits therein.

存储器管理电路702会将这些成功解码的信息记录下来作为第一解码信息。例如,此第一解码信息可以包括一个数值(以下也称为第一数值)。第一数值与第一编码单元的解码结果(以下也称为第一解码结果)有关。例如,第一数值是根据第一解码结果来决定。例如,第一数值是正相关于(positively correlated)第一解码程序的解码成功单元数(以下也称为第一解码成功单元数)。在本范例实施例中,第一解码成功单元数是指第一编码单元中被成功解码的单元的数目。例如,一个被成功解码的单元可以是指一个被成功解码的行、一个被成功解码的列、或者一个被成功解码的比特。存储器管理电路702可直接将此第一解码成功单元数作为此第一数值。例如,存储器管理电路702可以直接将第一编码单元中被成功解码的行的数目(以下也称为第一行解码成功单元数)、第一编码单元中被成功解码的列的数目(以下也称为第一列解码成功单元数)、或者第一编码单元中被成功解码的比特的数目作为此第一数值。或者,存储器管理电路702也可以根据第一行解码成功单元数与第一列解码成功单元数来执行一逻辑运算以决定此第一数值。例如,存储器管理电路702可以将第一行解码成功单元数乘上一个权重(以下也称为第一权重)得到一个参数(以下也称为第一参数)并且将第一列解码成功单元数乘上另一个权重(以下也称为第二权重)得到另一个参数(以下也称为第二参数);存储器管理电路702可以将第一参数与第二参数相加以决定此第一数值。以图10的范例实施例为例,第一权重可以是n/(n+m),并且第二权重可以是m/(n+m)。然而,第一权重与第二权重也可以各别根据实务上的需求来设定,本发明不加以限制。此外,在另一范例实施例中,存储器管理电路702也可以将第一解码成功单元数输入至一查找表并且将此查找表的输出作为第一数值。The memory management circuit 702 will record the successfully decoded information as the first decoded information. For example, the first decoding information may include a value (hereinafter also referred to as the first value). The first value is related to the decoding result of the first coding unit (hereinafter also referred to as the first decoding result). For example, the first value is determined according to the first decoding result. For example, the first value is the number of successfully decoded units that is positively correlated with the first decoding procedure (hereinafter also referred to as the first number of successfully decoded units). In this exemplary embodiment, the first number of successfully decoded units refers to the number of successfully decoded units in the first coding unit. For example, a successfully decoded unit may refer to a successfully decoded row, a successfully decoded column, or a successfully decoded bit. The memory management circuit 702 may directly use the first number of successfully decoded units as the first value. For example, the memory management circuit 702 may directly calculate the number of successfully decoded rows in the first coding unit (hereinafter also referred to as the number of successfully decoded first row units), the number of successfully decoded columns in the first coding unit (hereinafter also referred to as is called the number of successfully decoded units in the first column), or the number of successfully decoded bits in the first coding unit is used as the first value. Alternatively, the memory management circuit 702 may also perform a logical operation according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column to determine the first value. For example, the memory management circuit 702 may multiply the number of successfully decoded units in the first row by a weight (hereinafter also referred to as the first weight) to obtain a parameter (hereinafter also referred to as the first parameter) and multiply the number of successfully decoded units in the first column by Adding another weight (hereinafter also referred to as the second weight) to obtain another parameter (hereinafter also referred to as the second parameter); the memory management circuit 702 can add the first parameter and the second parameter to determine the first value. Taking the exemplary embodiment of FIG. 10 as an example, the first weight may be n/(n+m), and the second weight may be m/(n+m). However, the first weight and the second weight can also be set according to practical requirements, which is not limited by the present invention. In addition, in another exemplary embodiment, the memory management circuit 702 may also input the first number of successfully decoded units into a lookup table and use the output of the lookup table as the first value.

在判定对于第一编码单元解码失败之后,存储器管理电路702会指示可复写式非易失性存储器模块406调整读取电压。例如,将用以读取第一区域的读取电压从第一读取电压准位调整到另一读取电压准位(以下也称为第二读取电压准位)。存储器管理电路702会发送另一读取指令序列(以下也称为第二读取指令序列)至可复写式非易失性存储器模块406。第二读取指令序列用以指示根据第二读取电压准位来读取上述第一区域。在接收到第二读取指令序列之后,可复写式非易失性存储器模块406会根据第二读取电压准位来再次读取此第一区域中的存储单元以获得另一编码单元(以下也称为第二编码单元)。第二编码单元同样是属于区块码。由于用来读取数据的读取电压准位改变,故第二编码单元中部份的比特可能会与第一编码单元中位于相同位置的比特不同。例如,第二编码单元中的比特b11可能会与第一编码单元中的比特b11不同。After determining that the decoding of the first encoding unit fails, the memory management circuit 702 instructs the rewritable non-volatile memory module 406 to adjust the read voltage. For example, the read voltage used to read the first region is adjusted from a first read voltage level to another read voltage level (hereinafter also referred to as a second read voltage level). The memory management circuit 702 sends another read command sequence (hereinafter referred to as the second read command sequence) to the rewritable non-volatile memory module 406 . The second read command sequence is used to instruct to read the above-mentioned first area according to the second read voltage level. After receiving the second read instruction sequence, the rewritable non-volatile memory module 406 will read the storage unit in the first area again according to the second read voltage level to obtain another encoding unit (hereinafter Also known as the second coding unit). The second coding unit also belongs to the block code. Since the reading voltage level for reading data changes, some bits in the second encoding unit may be different from bits at the same position in the first encoding unit. For example, bit b 11 in the second CU may be different from bit b 11 in the first CU.

错误检查与校正电路708会对第二编码单元执行另一解码程序(以下也称为第二解码程序)并且记录对应的解码信息(以下也称为第二解码信息)。关于如何执行对于编码单元的解码程序已详述于上,故在此便不赘述。The ECC circuit 708 executes another decoding procedure (hereinafter also referred to as the second decoding procedure) on the second encoding unit and records corresponding decoding information (hereinafter also referred to as the second decoding information). How to execute the decoding process for the coding unit has been described in detail above, so it will not be repeated here.

值得一提的是,即使第二编码单元解码失败,但其中仍然可能存在成功解码的行、列或者比特。存储器管理电路702会将这些成功解码的信息记录下来作为第二解码信息。例如,此第二解码信息可以包括一个数值(以下也称为第二数值)。第二数值与第二编码单元的解码结果(以下也称为第二解码结果)有关。例如,第二数值是根据第二解码结果来决定。例如,第二数值是正相关于第二解码程序的解码成功单元数(以下也称为第二解码成功单元数)。在本范例实施例中,第二解码成功单元数是指第二编码单元中被成功解码的单元之数目。例如,存储器管理电路702可以直接将第二编码单元中被成功解码的行的数目(以下也称为第二行解码成功单元数)、第二编码单元中被成功解码的列的数目(以下也称为第二列解码成功单元数)、或者第二编码单元中被成功解码的比特的数目作为此第二数值。或者,存储器管理电路702也可以根据第二行解码成功单元数与第二列解码成功单元数来执行一逻辑运算以决定此第二数值。此外,存储器管理电路702也可以将第二解码成功单元数输入至一查找表并且将此查找表的输出作为第二数值。关于如何决定第二数值可参考上述关于第一数值的说明,故在此便不赘述。It is worth mentioning that even if the decoding of the second coding unit fails, there may still be rows, columns or bits that are successfully decoded. The memory management circuit 702 will record the successfully decoded information as the second decoded information. For example, the second decoding information may include a value (hereinafter also referred to as a second value). The second value is related to the decoding result of the second coding unit (hereinafter also referred to as the second decoding result). For example, the second value is determined according to the second decoding result. For example, the second value is the number of successfully decoded units positively related to the second decoding program (hereinafter also referred to as the second number of successfully decoded units). In this exemplary embodiment, the second number of successfully decoded units refers to the number of successfully decoded units in the second coding unit. For example, the memory management circuit 702 may directly calculate the number of successfully decoded rows in the second coding unit (hereinafter also referred to as the number of successfully decoded second row units), the number of successfully decoded columns in the second coding unit (hereinafter also referred to as is called the number of successfully decoded units in the second column), or the number of successfully decoded bits in the second coding unit is used as the second value. Alternatively, the memory management circuit 702 may also perform a logical operation according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column to determine the second value. In addition, the memory management circuit 702 may also input the second number of successfully decoded units into a lookup table and use the output of the lookup table as the second value. For how to determine the second value, reference can be made to the above description about the first value, so details will not be repeated here.

在获得第一解码信息与第二解码信息之后,存储器管理电路702会根据此第一解码信息与此第二解码信息来估测另一读取电压准位(以下也称为第三读取电压准位)。在本范例实施例中,第三读取电压准位可以视为是对于第一区域所估测出来的一个最佳读取电压准位。例如,此最佳读取电压准位可以是指根据过去的历史记录所评估出来,可以用来读取出解码成功率最高的编码单元的读取电压准位。例如,存储器管理电路702可以比较第一数值与第二数值并且根据比较结果来决定第三读取电压准位。例如,若第一数值大于第二数值,存储器管理电路702可以根据第一读取电压准位来决定第三读取电压准位。例如,在本范例实施例中,若第一数值大于第二数值,存储器管理电路702可以直接将第一读取电压准位设定为第三读取电压准位。或者,在另一范例实施例中,若第一数值大于第二数值,存储器管理电路702也可以根据第一读取电压准位来执行一逻辑运算而决定第三读取电压准位,本发明不加以限制。此外,若第一数值小于第二数值,存储器管理电路702可以根据第二读取电压准位来决定第三读取电压准位。例如,在本范例实施例中,若第一数值小于第二数值,存储器管理电路702可以直接将第二读取电压准位设定为第三读取电压准位。或者,在另一范例实施例中,若第一数值小于第二数值,存储器管理电路702也可以根据第二读取电压准位来执行一逻辑运算而决定第三读取电压准位,本发明不加以限制。After obtaining the first decoded information and the second decoded information, the memory management circuit 702 estimates another read voltage level (hereinafter referred to as the third read voltage) according to the first decoded information and the second decoded information. level). In this exemplary embodiment, the third read voltage level can be regarded as an optimal read voltage level estimated for the first region. For example, the optimal reading voltage level may refer to the reading voltage level estimated based on past historical records and used to read out the coding unit with the highest decoding success rate. For example, the memory management circuit 702 can compare the first value with the second value and determine the third read voltage level according to the comparison result. For example, if the first value is greater than the second value, the memory management circuit 702 can determine the third read voltage level according to the first read voltage level. For example, in this exemplary embodiment, if the first value is greater than the second value, the memory management circuit 702 may directly set the first read voltage level to the third read voltage level. Or, in another exemplary embodiment, if the first value is greater than the second value, the memory management circuit 702 may also perform a logical operation according to the first read voltage level to determine the third read voltage level. Not limited. In addition, if the first value is smaller than the second value, the memory management circuit 702 can determine the third read voltage level according to the second read voltage level. For example, in this exemplary embodiment, if the first value is smaller than the second value, the memory management circuit 702 can directly set the second read voltage level to the third read voltage level. Or, in another exemplary embodiment, if the first value is smaller than the second value, the memory management circuit 702 may also perform a logical operation according to the second read voltage level to determine the third read voltage level. Not limited.

值得一提的是,虽然上述范例实施例是以两次连续的读取操作与解码操作来作为范例进行说明,然而,在另一范例实施例中,上述范例实施例中提及的两次读取操作与解码操作也可以是不连续的。更多的读取操作与解码操作可以被用来针对同一个区域所存储的数据进行处理。例如,在图9的一范例实施例中,多个可以被使用的读取电压准位Vread-0~Vread-3可能会被记录在一个查找表中。根据此查找表,读取电压准位Vread-0可以先被用来读取上述第一区域的数据。尔后,若对于读取出来的编码单元解码失败,则根据此查找表,读取电压准位Vread-1可以被接续用来读取上述第一区域的数据。尔后,若对于读取出来的编码单元还是解码失败,则读取电压准位Vread-2可以被接续用来读取上述第一区域的数据并且对应的解码操作会被执行。尔后,若对于读取出来的编码单元还是解码失败,则读取电压准位Vread-3可以接续被用来读取上述第一区域的数据并且对应的解码操作会被执行。上述范例实施例中提及的第一读取电压准位可以是图9中示出的读取电压准位Vread-0~Vread-2中的任一者,而上述范例实施例中提及的第二读取电压准位则可以是在第一读取电压准位之后施予的任一读取电压准位。例如,若第一读取电压准位是读取电压准位Vread-0,则第二读取电压准位可以是读取电压准位Vread-1~Vread-3中的任一者,以此类推。此外,读取电压准位Vread-0~Vread-3被使用的顺序也可以被调整,本发明不加以限制。例如,在另一范例实施例中,读取电压准位Vread-0~Vread-3也可以是依照电压值由小至大依序被使用。It is worth mentioning that although the above exemplary embodiment is described with two consecutive read operations and decoding operations as an example, in another exemplary embodiment, the two read operations mentioned in the above exemplary embodiment Fetching and decoding operations can also be discontinuous. More read operations and decode operations can be used to process data stored in the same area. For example, in an exemplary embodiment of FIG. 9 , a plurality of available read voltage levels V read-0 ˜V read-3 may be recorded in a look-up table. According to the look-up table, the read voltage level V read-0 can be used to read the data of the above-mentioned first area first. Afterwards, if the decoding of the read coding unit fails, according to the look-up table, the read voltage level V read-1 can be continuously used to read the data in the first area. Afterwards, if the decoding of the read coding units still fails, the read voltage level V read-2 can be continuously used to read the data in the first area and the corresponding decoding operation will be performed. Afterwards, if the decoding of the read coding units still fails, the read voltage level V read-3 can be used to read the data in the first area and the corresponding decoding operation will be performed. The first read voltage level mentioned in the above exemplary embodiments may be any one of the read voltage levels V read- 0˜V read-2 shown in FIG. The second read voltage level can be any read voltage level applied after the first read voltage level. For example, if the first read voltage level is the read voltage level V read-0 , the second read voltage level can be any one of the read voltage levels V read - 1˜V read-3 , and so on. In addition, the order in which the read voltage levels V read-0 ˜V read-3 are used can also be adjusted, which is not limited by the present invention. For example, in another exemplary embodiment, the read voltage levels V read-0 ˜ V read-3 may also be used sequentially according to the voltage values from small to large.

在一范例实施例中,对于可复写式非易失性存储器模块406中的同一个区域,若查照表中所记载的读取电压准位都被使用过并且所读取出来的编码单元都无法被成功解码,则上述根据多个使用过的读取电压准位来决定第三读取电压准位的操作才会被执行。然而,在另一范例实施例中,也可以设定为,在尝试使用过某些读取电压准位或改变读取电压准位的次数超过一预设次数后即可执行上述根据多个使用过的读取电压准位来决定第三读取电压准位的操作,本发明不加以限制。此外,虽然上述范例实施例皆是迭代解码程序作为第一解码程序与第二解码程序的范例,然而,在另一范例实施例中,第一解码程序及/或第二解码程序也可以是属于非迭代解码程序,本发明不加以限制。In an exemplary embodiment, for the same area in the rewritable non-volatile memory module 406, if the read voltage levels recorded in the look-up table have been used and the read code units cannot is successfully decoded, the above-mentioned operation of determining the third read voltage level according to the plurality of used read voltage levels will be performed. However, in another exemplary embodiment, it can also be set that after trying to use certain reading voltage levels or changing the reading voltage levels for more than a preset number of times, the above-mentioned functions based on multiple usage The operation of determining the third read voltage level based on the passed read voltage level is not limited in the present invention. In addition, although the above exemplary embodiments are iterative decoding procedures as examples of the first decoding procedure and the second decoding procedure, however, in another exemplary embodiment, the first decoding procedure and/or the second decoding procedure may also belong to The non-iterative decoding procedure is not limited by the present invention.

在一范例实施例中,在使用某一个读取电压准位来读取编码单元并且执行对应的解码程序的过程中,部分成功被解码的位置上的比特值可以被视为是正确的并且被记录下来。例如,若某一个行或列被解码成功,则这个行或列中各个位置的比特值可以被记录下来。在下一次的解码程序中,被记录下来的比特值即可以作为额外的解码信息。例如,在一范例实施例中,假设对于某一个编码单元的解码是失败的但解码结果表示编码单元中的比特b11是正确的,则比特b11的比特值会被记录下来。在调整读取电压准位来读取同一笔数据并且对读取出的数据执行的下一次解码中,所读取出的编码单元中的比特b11会被直接更正为先前被记录的比特值。或者,在下一次的解码程序中,被记录的比特值可以被跳过,从而减少每一次获得的编码单元中需要被检查的比特的数目。藉此,在根据不同的读取电压准位执行对应的解码程序的过程中,编码单元中部分的比特可逐渐地被更正,从而增加解码成功率。此外,本发明并不限制可以传递下去的额外的解码信息之种类,任何可以传递给下一次的解码程序使用的解码信息都可以被记录下来并且在下一次的解码程序中被采用。In an exemplary embodiment, during the process of using a certain read voltage level to read the encoding unit and perform the corresponding decoding process, the bit values at the partially successfully decoded positions can be considered correct and are record it. For example, if a row or column is successfully decoded, the bit values of each position in the row or column can be recorded. In the next decoding procedure, the recorded bit value can be used as additional decoding information. For example, in an exemplary embodiment, assuming that the decoding of a coding unit fails but the decoding result indicates that the bit b 11 in the coding unit is correct, the bit value of the bit b 11 will be recorded. When adjusting the read voltage level to read the same data and perform the next decoding on the read data, the bit b 11 in the read coding unit will be directly corrected to the previously recorded bit value . Or, in the next decoding procedure, the recorded bit values may be skipped, thereby reducing the number of bits to be checked in each coding unit obtained. Thereby, during the process of executing corresponding decoding procedures according to different reading voltage levels, some bits in the coding unit can be gradually corrected, thereby increasing the success rate of decoding. In addition, the present invention does not limit the types of additional decoding information that can be passed on, and any decoding information that can be passed to the next decoding process can be recorded and used in the next decoding process.

在决定第三读取电压准位之后,存储器管理电路702可以根据此第三读取电压准位来执行与可复写式非易失性存储器模块406有关的至少一预设操作。此预设操作可以是用来优化可复写式非易失性存储器模块406对于数据的存储、读取或者对于实体单元的管理。After determining the third read voltage level, the memory management circuit 702 can perform at least one preset operation related to the rewritable non-volatile memory module 406 according to the third read voltage level. This preset operation may be used to optimize the rewritable non-volatile memory module 406 for data storage, reading or management of physical units.

在一范例实施例中,错误检查与校正电路708可以执行硬比特模式解码与软比特模式解码。以SLC型快闪存储器为例,在硬比特模式解码中,一个读取电压准位会被施予至一个存储单元。根据此存储单元是否反应于此读取电压准位而被导通,可复写式非易失性存储器模块406会回传一个比特(也称为验证比特)。尔后,错误检查与校正电路708会根据此验证比特来进行解码。在硬比特模式解码中,所获得的验证比特也称为硬比特。同样以SLC型快闪存储器为例,在软比特模式解码中,多个读取电压准位会被施予至一个存储单元。根据此存储单元反应于此些读取电压准位的导通状态,可复写式非易失性存储器模块406会回传多个验证比特。尔后,错误检查与校正电路708会根据此些验证比特来进行解码。在软比特模式解码中,所获得的验证比特也称为软比特。在硬比特模式解码的迭代解码程序中,一个存储单元的解码初始值是根据对应于此存储单元的一个验证比特而可被分为两个数值。例如,若验证比特是“1”,则对应的存储单元的解码初始值可以设为“-n”;若验证比特是“0”,则对应的存储单元的解码初始值可以设为“-n”。硬比特模式解码的迭代解码程序是基于此两种数值来执行。然而,在软比特模式解码的迭代解码程序中,一个存储单元的解码初始值则是根据对应于此存储单元的多个验证比特来决定。In an exemplary embodiment, the error checking and correction circuit 708 may perform hard bit pattern decoding and soft bit pattern decoding. Taking the SLC flash memory as an example, in hard bit mode decoding, a read voltage level is applied to a memory cell. According to whether the memory cell is turned on in response to the read voltage level, the rewritable non-volatile memory module 406 returns a bit (also called a verification bit). Afterwards, the error checking and correcting circuit 708 performs decoding according to the verification bit. In hard bit mode decoding, the obtained verification bits are also called hard bits. Also taking the SLC type flash memory as an example, in soft bit mode decoding, multiple read voltage levels will be applied to a memory cell. According to the conduction state of the memory cell in response to the read voltage levels, the rewritable non-volatile memory module 406 returns a plurality of verification bits. Then, the error checking and correcting circuit 708 performs decoding according to the verifying bits. In soft bit mode decoding, the obtained verification bits are also called soft bits. In the iterative decoding procedure of hard bit mode decoding, the decoding initial value of a storage unit can be divided into two values according to a verification bit corresponding to the storage unit. For example, if the verification bit is "1", the initial decoding value of the corresponding storage unit can be set to "-n"; if the verification bit is "0", the initial decoding value of the corresponding storage unit can be set to "-n ". The iterative decoding process of hard bit mode decoding is performed based on these two values. However, in the iterative decoding procedure of soft bit pattern decoding, the decoding initial value of a storage unit is determined according to a plurality of verification bits corresponding to the storage unit.

在一范例实施例中,在上述查找表中的多个读取电压准位都被使用完毕之前,错误检查与校正电路708所执行的解码都是属于硬比特模式解码。若上述查找表中的多个读取电压准位都被使用完毕且仍然无法对从同一个区域读取出来的数据成功解码,则错误检查与校正电路708可能会切换到使用软比特模式解码。在软比特模式解码中,存储器管理电路702会指示根据第三读取电压准位来读取上述第一区域以获得一解码单元(以下也称为第三解码单元)。此外,存储器管理电路702还会指示根据此第三读取电压准位来决定电压值位于此第三读取电压准位的电压值附近的多个读取电压准位(以下也称为第四读取电压准位)并且根据此些第四读取电压准位来读取此第一区域,以获得多个软比特。此些第四读取电压准位可以包含或不包含第三读取电压准位。每一个软比特可以提供第三解码单元中的一个比特的额外解码信息。错误检查与校正电路708可以对第三解码单元执行对应的解码程序(也称为第三解码程序)。In an exemplary embodiment, the decoding performed by the error checking and correcting circuit 708 is hard bit mode decoding until the plurality of read voltage levels in the above-mentioned look-up table are used up. If multiple read voltage levels in the above-mentioned lookup table are used up and the data read from the same area still cannot be successfully decoded, the ECC circuit 708 may switch to use soft bit mode decoding. In soft bit mode decoding, the memory management circuit 702 instructs to read the above-mentioned first area according to the third read voltage level to obtain a decoding unit (hereinafter also referred to as a third decoding unit). In addition, the memory management circuit 702 also instructs to determine a plurality of read voltage levels (hereinafter referred to as fourth read voltage levels) whose voltage values are close to the voltage value of the third read voltage level read voltage levels) and read the first region according to the fourth read voltage levels to obtain a plurality of soft bits. The fourth read voltage levels may or may not include the third read voltage levels. Each soft bit can provide one bit of additional decoding information in the third decoding unit. The ECC circuit 708 can execute a corresponding decoding procedure (also referred to as a third decoding procedure) on the third decoding unit.

图11是根据本发明的一范例实施例所示出的读取多个软比特的示意图。FIG. 11 is a schematic diagram of reading a plurality of soft bits according to an exemplary embodiment of the present invention.

请参照图11,假设所决定的第四读取电压准位包括读取电压准位V1~V5,则在软比特模式解码中,读取电压准位V1~V5会被用来读取上述第一区域中属于分布1110与1120的存储单元。反应于读取电压准位V1~V5,多个软比特b1~b5会被获得。例如,若某一个存储单元的临界电压位于电压区间1101,则所读取到的软比特b1~b5会是“11111”;若某一个存储单元的临界电压位于电压区间1102,则所读取到的软比特b1~b5会是“01111”;若某一个存储单元的临界电压位于电压区间1103,则所读取到的软比特b1~b5会是“00111”;若某一个存储单元的临界电压位于电压区间1104,则所读取到的软比特b1~b5会是“00011”;若某一个存储单元的临界电压位于电压区间1105,则所读取到的软比特b1~b5会是“00001”;若某一个存储单元的临界电压位于电压区间1106,则所读取到的软比特b1~b5会是“00000”。在软比特模式解码中,所读取到的软比特b1~b5会被用来对第三解码单元进行对应的迭代解码。例如,对应于每一个电压区间,存储单元属于分布1110的机率与属于分布1120的机率可以事先被计算出来。根据这两个机率可以计算出对数可能性比值(Log Likelihood Ratio,简称LLR)。此对数可能性比值可用来决定解码初始值的绝对值的大小。例如,各个电压区间所对应的解码初始值可以事先被计算出来并且存储在一个查找表中。所获得的软比特b1~b5可以被输入此查找表中,并且对应的解码初始值可被获得。尔后,错误检查与校正电路708可根据所获得的解码初始值来执行后续的解码。Please refer to FIG. 11 , assuming that the determined fourth read voltage level includes read voltage levels V 1 -V 5 , then in soft bit mode decoding, the read voltage levels V 1 -V 5 will be used to The memory cells belonging to distributions 1110 and 1120 in the above-mentioned first area are read. In response to the read voltage levels V 1 -V 5 , a plurality of soft bits b 1 -b 5 are obtained. For example, if the critical voltage of a memory cell is in the voltage range 1101, the read soft bits b 1 -b 5 will be "11111"; if the critical voltage of a certain memory cell is in the voltage range 1102, the read The fetched soft bits b 1 to b 5 will be "01111"; if the critical voltage of a certain memory cell is in the voltage range 1103, the read soft bits b 1 to b 5 will be "00111"; The critical voltage of a memory cell is in the voltage range 1104, then the read soft bits b 1 ~ b 5 will be "00011"; if the critical voltage of a certain memory cell is in the voltage range 1105, the read soft bits The bits b 1 -b 5 will be "00001"; if the threshold voltage of a memory cell is within the voltage range 1106, the read soft bits b 1 -b 5 will be "00000". In soft bit mode decoding, the read soft bits b 1 -b 5 are used to perform corresponding iterative decoding on the third decoding unit. For example, corresponding to each voltage interval, the probability of the memory cell belonging to the distribution 1110 and the probability of belonging to the distribution 1120 can be calculated in advance. Based on these two probabilities, the Log Likelihood Ratio (LLR) can be calculated. The logarithmic likelihood ratio can be used to determine the absolute value of the decoded initial value. For example, the decoding initial values corresponding to each voltage range may be calculated in advance and stored in a lookup table. The obtained soft bits b 1 -b 5 can be input into this lookup table, and corresponding decoding initial values can be obtained. Thereafter, the error checking and correction circuit 708 can perform subsequent decoding according to the obtained decoding initial value.

换言之,相对于硬比特模式解码,软比特模式解码所使用的解码信息(例如,验证比特)较多。基于所使用的解码信息增多,软比特模式解码的解码成功率通常会高于硬比特模式解码的解码成功率。因此,软比特模式解码有可能在硬比特模式解码失败的情况下成功地完成解码。In other words, soft bit pattern decoding uses more decoding information (eg, verification bits) than hard bit pattern decoding. Based on more decoding information used, the decoding success rate of soft bit mode decoding is usually higher than that of hard bit mode decoding. Therefore, it is possible for soft bit pattern decoding to successfully complete decoding where hard bit pattern decoding fails.

在一范例实施例中,存储器管理电路702可以根据第三读取电压准位来决定上述第一区域中的多个存储单元的损耗程度或此些存储单元的电压分布状态。例如,在图9的范例实施例中,对于属于分布911与912的存储单元来说,利用读取电压准位Vread-0来读取此些存储单元将可以读取到错误率较低的数据;而在发生性能衰退之后,对于属于分布911与912的存储单元来说,利用读取电压准位Vread-3来读取此些存储单元则可以读取到错误率较低的数据。因此,根据所决定的第三读取电压准位,存储器管理电路702可以也可以通过查表等方式来获得此些存储单元当前的损耗程度或此些存储单元当前的电压分布状态。例如,图9中的读取电压准位Vread-0~Vread-3可以分别对应至一个损耗程度或电压分布状态。值得一提的是,在一范例实施例中,所述损耗程度与存储单元的使用状况或当前操作环境有关。例如,若存储单元的读取次数、存储单元的写入次数、存储单元的抹除次数增加,则存储单元的损耗程度可能会同步增加。例如,若数据存放在存储单元中的时间区间增加,则存储单元的损耗程度可能会同步增加。例如,若当前可复写式非易失性存储器模块406的操作环境的温度或湿度太高,则存储单元的损耗程度也可能会同步增加。此外,所述损耗程度也可能会与存储在存储单元中的数据的正确性/错误率有关。例如,存储单元的损耗程度越高,则存储在存储单元中的数据的正确性越低或者存储在存储单元中的数据的错误率越高。In an exemplary embodiment, the memory management circuit 702 may determine the degree of wear of the memory cells in the first region or the voltage distribution state of the memory cells according to the third read voltage level. For example, in the exemplary embodiment of FIG. 9, for the memory cells belonging to the distributions 911 and 912, using the read voltage level V read-0 to read these memory cells can read the memory cells with a lower error rate. data; and after the performance degradation occurs, for the memory cells belonging to the distributions 911 and 912, the data with a lower error rate can be read by using the read voltage level V read-3 to read these memory cells. Therefore, according to the determined third reading voltage level, the memory management circuit 702 can also obtain the current wear level of these memory cells or the current voltage distribution state of these memory cells by means of table lookup. For example, the read voltage levels V read-0 ˜ V read-3 in FIG. 9 may respectively correspond to a loss level or a voltage distribution state. It is worth mentioning that, in an exemplary embodiment, the degree of wear is related to the usage status of the storage unit or the current operating environment. For example, if the times of reading, writing and erasing of a storage unit increase, the degree of wear of the storage unit may increase synchronously. For example, if the time interval for storing data in the storage unit increases, the degree of wear of the storage unit may increase synchronously. For example, if the temperature or humidity of the current operating environment of the rewritable non-volatile memory module 406 is too high, the degree of wear of the storage unit may also increase synchronously. In addition, the degree of wear may also be related to the correctness/error rate of the data stored in the storage unit. For example, the higher the degree of wear of the storage unit, the lower the correctness of the data stored in the storage unit or the higher the error rate of the data stored in the storage unit.

在一范例实施例中,存储器管理电路702可以根据第三读取电压准位来决定对应于上述第一区域的一预设程序化电压。例如,若可复写式非易失性存储器模块406是使用一增量阶跃脉冲抹除(Incremental Step Pulse Program,简称ISPP)模型来程序化存储单元,则存储器管理电路702可以根据第三读取电压准位来指示可复写式非易失性存储器模块406调整此增量阶跃脉冲模型中的一初始程序化电压。此初始程序化电压是此增量阶跃脉冲模型中最先被施予至上述第一区域中的存储单元的程序化电压。此外,任何与调整此初始程序化电压有关及/或可以达到类似效果的程序化参数或抹除参数也可以被调整。In an exemplary embodiment, the memory management circuit 702 can determine a default programming voltage corresponding to the above-mentioned first region according to the third read voltage level. For example, if the rewritable non-volatile memory module 406 uses an incremental step pulse erasing (Incremental Step Pulse Program, ISPP) model to program memory cells, the memory management circuit 702 can read The voltage level is used to instruct the rewritable non-volatile memory module 406 to adjust an initial programming voltage in the incremental step pulse model. The initial programming voltage is the programming voltage first applied to the memory cells in the first region in the incremental step pulse model. In addition, any programming parameters or erasing parameters that are related to adjusting the initial programming voltage and/or can achieve similar effects can also be adjusted.

值得一提的是,本发明并不将可以根据第三读取电压准位来执行的预设操作限定于上述。例如,在另一范例实施例中,任何可以根据存储单元的性能衰退、损耗程度、或电压分布状态而对应调整的参数或存储器设定都可以反应于第三读取电压准位而被适当地调整,从而改善对于可复写式非易失性存储器模块406的管理能力。例如,在一范例实施例中,根据第三读取电压准位,上述第一区域所属的实体单元也可以被标记为损坏等等。此外,在一范例实施例中,根据第三读取电压准位,可复写式非易失性存储器模块406的使用寿命等任何有利于可复写式非易失性存储器模块406的管理的信息也可以被获得。It should be noted that the present invention does not limit the preset operations that can be performed according to the third read voltage level to the above. For example, in another exemplary embodiment, any parameter or memory setting that can be adjusted correspondingly according to the performance degradation, wear degree, or voltage distribution state of the memory cell can be appropriately adjusted in response to the third read voltage level adjustment, so as to improve the management capability of the rewritable non-volatile memory module 406 . For example, in an exemplary embodiment, according to the third read voltage level, the physical unit to which the above-mentioned first region belongs may also be marked as damaged and so on. In addition, in an exemplary embodiment, according to the third read voltage level, any information beneficial to the management of the rewritable nonvolatile memory module 406 such as the service life of the rewritable nonvolatile memory module 406 is also can be obtained.

需说明的是,虽然上述范例实施例皆是以一个存储单元存储一个比特作为范例进行说明,然而,在另一范例实施例中,上述读取编码单元的操作、上述解码编码单元的操作以及估测读取电压准位的操作也可以适用于一个存储单元可以存储多个比特的使用情境。例如,所估测出的读取电压准位也可能是用以读取操作在MLC模式或TLC模式下的存储单元所存储的数据。It should be noted that although the above-mentioned exemplary embodiments are described by taking one storage unit to store one bit as an example, in another exemplary embodiment, the above-mentioned operation of reading the coding unit, the above-mentioned operation of decoding the coding unit, and estimation The operation of measuring the read voltage level can also be applied to the usage scenario where one memory cell can store multiple bits. For example, the estimated read voltage level may also be used to read data stored in memory cells operating in MLC mode or TLC mode.

图12是根据本发明的一范例实施例所示出的读取电压准位估测方法的流程图。FIG. 12 is a flowchart of a method for estimating a read voltage level according to an exemplary embodiment of the present invention.

请参照图12,在步骤S1201中,根据第一读取电压准位,所述可复写式非易失性存储器模块中的第一区域会被读取以获得第一编码单元,其中所述第一编码单元属于区块码。在步骤S1202中,对于所述第一编码单元的第一解码程序会被执行并且第一解码信息会被记录。在步骤S1203中,根据第二读取电压准位,所述第一区域会被读取以获得第二编码单元,其中所述第二编码单元属于所述区块码。在步骤S1204中,对于所述第二编码单元的第二解码程序会被执行并且第二解码信息会被记录。在步骤S1205中,根据所述第一解码信息与所述第二解码信息,第三读取电压准位会被估测并被获得。在步骤S1206中,根据所述第三读取电压准位,与所述可复写式非易失性存储器模块有关的至少一预设操作可被执行。Please refer to FIG. 12, in step S1201, according to the first read voltage level, the first area in the rewritable non-volatile memory module will be read to obtain the first encoding unit, wherein the first A coding unit belongs to the block code. In step S1202, a first decoding procedure for the first coding unit is executed and first decoding information is recorded. In step S1203, according to the second reading voltage level, the first area is read to obtain a second encoding unit, wherein the second encoding unit belongs to the block code. In step S1204, a second decoding procedure for the second coding unit is executed and second decoding information is recorded. In step S1205, according to the first decoded information and the second decoded information, a third read voltage level is estimated and obtained. In step S1206, according to the third read voltage level, at least one preset operation related to the rewritable non-volatile memory module may be performed.

然而,图12中各步骤已详细说明如上,在此便不再赘述。值得注意的是,图12中各步骤可以实作为多个程序码或是电路,本发明不加以限制。此外,图12的方法可以搭配以上范例实施例使用,也可以单独使用,本发明不加以限制。However, each step in FIG. 12 has been described in detail above, and will not be repeated here. It should be noted that each step in FIG. 12 can be implemented as a plurality of program codes or circuits, which is not limited in the present invention. In addition, the method in FIG. 12 can be used in combination with the above exemplary embodiments, or can be used alone, which is not limited by the present invention.

综上所述,在利用不同的读取电压准位来读取存储器并且尝试对所获得的数据进行解码之后,对应于不同编码单元的解码信息会被记录下来。尔后,此些解码信息即可用来作为估测一个适当的读取电压准位的依据,并且至少一个预设操作可以对应地被执行。藉此,对于使用区块码的可复写式非易失性存储器模块的管理能力可被提升。To sum up, after reading the memory with different read voltage levels and attempting to decode the obtained data, decoded information corresponding to different encoding units will be recorded. Thereafter, the decoded information can be used as a basis for estimating an appropriate read voltage level, and at least one predetermined operation can be performed accordingly. Thereby, the management capability of the rewritable non-volatile memory module using the block code can be improved.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (33)

1.一种读取电压准位估测方法,其特征在于,用于可复写式非易失性存储器模块,所述读取电压准位估测方法包括:1. A method for estimating a read voltage level, characterized in that, for a rewritable non-volatile memory module, the method for estimating a read voltage level comprises: 根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码;reading a first area in the rewritable non-volatile memory module according to a first read voltage level to obtain a first coding unit, wherein the first coding unit belongs to a block code; 对所述第一编码单元执行第一解码程序并且记录第一解码信息;performing a first decoding procedure on the first encoding unit and recording first decoding information; 根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码;reading the first area according to a second reading voltage level to obtain a second encoding unit, wherein the second encoding unit belongs to the block code; 对所述第二编码单元执行第二解码程序并且记录第二解码信息;performing a second decoding procedure on the second encoding unit and recording second decoding information; 根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位;Estimating and obtaining a third read voltage level according to the first decoded information and the second decoded information; 根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元;以及reading the first region according to the third read voltage level to obtain a third encoding unit; and 对所述第三编码单元执行第三解码程序。Execute a third decoding procedure on the third coding unit. 2.根据权利要求1所述的读取电压准位估测方法,其特征在于,所述区块码由多个子编码单元组成,该些子编码单元中的第一比特是由多个编码程序决定。2. The method for estimating the read voltage level according to claim 1, wherein the block code is composed of a plurality of sub-coding units, and the first bit in these sub-coding units is composed of a plurality of coding programs Decide. 3.根据权利要求2所述的读取电压准位估测方法,其特征在于,该些编码程序具有不同的编码方向。3. The method for estimating the read voltage level according to claim 2, wherein the encoding programs have different encoding directions. 4.根据权利要求1所述的读取电压准位估测方法,其特征在于,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,4. The method for estimating the read voltage level according to claim 1, wherein the first decoded information includes a first value, and the second decoded information includes a second value, 其中根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的步骤包括:The step of estimating and obtaining the third reading voltage level according to the first decoding information and the second decoding information includes: 比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。The first value is compared with the second value and the third read voltage level is determined according to the comparison result. 5.根据权利要求4所述的读取电压准位估测方法,其特征在于,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。5. The method for estimating the reading voltage level according to claim 4, wherein the first value is related to the first decoding result of the first decoding procedure, and the second value is related to the first decoding result. The second decoding result of the second decoding procedure is related. 6.根据权利要求5所述的读取电压准位估测方法,其特征在于,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。6. The method for estimating the reading voltage level according to claim 5, wherein the first numerical value is positively related to the number of first successfully decoded units of the first decoding procedure, and the second numerical value is positively related to the number of successful decoding units of the first decoding program. A second number of successfully decoded units related to the second decoding program. 7.根据权利要求6所述的读取电压准位估测方法,其特征在于,还包括:7. The method for estimating the reading voltage level according to claim 6, further comprising: 根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数;Obtain the number of successfully decoded units in the first row and the number of successfully decoded units in the first column according to the first decoding result; 根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值;determining the first value according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column; 根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数;以及Obtain the number of successfully decoded units in the second row and the number of successfully decoded units in the second column according to the second decoding result; and 根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。The second value is determined according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column. 8.根据权利要求1所述的读取电压准位估测方法,其特征在于,根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的步骤包括:8. The method for estimating the read voltage level according to claim 1, wherein the third read voltage level is estimated and obtained according to the first decoded information and the second decoded information The steps include: 将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。One of the first read voltage level and the second read voltage level is determined as the third read voltage level. 9.根据权利要求1所述的读取电压准位估测方法,其特征在于,还包括:9. The method for estimating the reading voltage level according to claim 1, further comprising: 判断所述第一解码程序是否失败,judging whether the first decoding procedure fails, 其中根据所述第二读取电压准位来读取所述第一区域的步骤是在判定所述第一解码程序失败之后执行。The step of reading the first area according to the second read voltage level is performed after determining that the first decoding process fails. 10.根据权利要求1所述的读取电压准位估测方法,其特征在于,还包括:10. The read voltage level estimation method according to claim 1, further comprising: 根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,performing a preset operation related to the rewritable non-volatile memory module according to the third read voltage level, 其中所述预设操作包括以下操作的至少其中之一:Wherein the preset operation includes at least one of the following operations: 读取所述第一区域以获得对应于第三解码单元的多个软比特并根据该些软比特来对所述第三解码单元执行迭代解码;reading the first area to obtain a plurality of soft bits corresponding to a third decoding unit and performing iterative decoding on the third decoding unit according to the soft bits; 决定所述第一区域中的多个存储单元的损耗程度或该些存储单元的电压分布状态;以及determining the degree of wear of a plurality of memory cells in the first region or the voltage distribution state of the memory cells; and 决定对应于所述第一区域的预设程序化电压。A preset programming voltage corresponding to the first region is determined. 11.根据权利要求1所述的读取电压准位估测方法,其特征在于,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。11. The read voltage level estimation method according to claim 1, wherein both the first decoding process and the second decoding process are hard bit mode decoding. 12.一种存储器存储装置,其特征在于,包括:12. A memory storage device, comprising: 连接接口单元,用以电性连接至主机系统;connecting the interface unit for electrically connecting to the host system; 可复写式非易失性存储器模块;以及a rewritable non-volatile memory module; and 存储器控制电路单元,电性连接至所述连接接口单元与所述可复写式非易失性存储器模块,a memory control circuit unit electrically connected to the connection interface unit and the rewritable non-volatile memory module, 其中所述存储器控制电路单元用以发送第一读取指令序列,其中所述第一读取指令序列用以指示根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码,Wherein the memory control circuit unit is used to send a first read instruction sequence, wherein the first read instruction sequence is used to instruct to read the rewritable non-volatile memory according to a first read voltage level the first area in the module to obtain the first coding unit, wherein the first coding unit belongs to the block code, 其中所述存储器控制电路单元还用以对所述第一编码单元执行第一解码程序并且记录第一解码信息,Wherein the memory control circuit unit is further configured to execute a first decoding program on the first encoding unit and record first decoding information, 其中所述存储器控制电路单元还用以发送第二读取指令序列,其中所述第二读取指令序列用以指示根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码,Wherein the memory control circuit unit is further used to send a second read instruction sequence, wherein the second read instruction sequence is used to instruct to read the first area according to the second read voltage level, so as to obtain the second read instruction sequence. two coding units, wherein the second coding unit belongs to the block code, 其中所述存储器控制电路单元还用以对所述第二编码单元执行第二解码程序并且记录第二解码信息,Wherein the memory control circuit unit is further configured to execute a second decoding program on the second encoding unit and record second decoding information, 其中所述存储器控制电路单元还用以根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位,Wherein the memory control circuit unit is further configured to estimate and obtain a third read voltage level according to the first decoded information and the second decoded information, 其中所述存储器控制电路单元还用以发送一第三读取指令序列,其中所述第三读取指令序列用以指示根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元,The memory control circuit unit is further configured to send a third read command sequence, wherein the third read command sequence is used to instruct to read the first area according to the third read voltage level, to obtain the third coding unit, 其中所述存储器控制电路单元还用以对所述第三编码单元执行第三解码程序。Wherein the memory control circuit unit is further configured to execute a third decoding program on the third encoding unit. 13.根据权利要求12所述的存储器存储装置,其特征在于,所述区块码由多个子编码单元组成,该些子编码单元中的第一比特是由多个编码程序决定。13. The memory storage device according to claim 12, wherein the block code is composed of a plurality of sub-coding units, and the first bit in the sub-coding units is determined by a plurality of coding procedures. 14.根据权利要求13所述的存储器存储装置,其特征在于,该些编码程序具有不同的编码方向。14. The memory storage device according to claim 13, wherein the encoding programs have different encoding directions. 15.根据权利要求12所述的存储器存储装置,其特征在于,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,15. The memory storage device of claim 12, wherein the first decoded information includes a first value, the second decoded information includes a second value, 其中所述存储器控制电路单元根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:The operation of the memory control circuit unit estimating and obtaining the third read voltage level according to the first decoding information and the second decoding information includes: 比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。The first value is compared with the second value and the third read voltage level is determined according to the comparison result. 16.根据权利要求15所述的存储器存储装置,其特征在于,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。16. The memory storage device according to claim 15, wherein the first numerical value is related to the first decoding result of the first decoding procedure, and the second numerical value is related to the first decoding result of the second decoding procedure. The second decoding result is related. 17.根据权利要求16所述的存储器存储装置,其特征在于,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。17. The memory storage device according to claim 16, wherein the first numerical value is positively related to the first number of successfully decoded units of the first decoding program, and the second numerical value is positively related to the first number of successfully decoded units of the first decoding program. The second decoding success unit number of the second decoding program. 18.根据权利要求17所述的存储器存储装置,其特征在于,所述存储器控制电路单元还用以根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数,18. The memory storage device according to claim 17, wherein the memory control circuit unit is further configured to obtain the number of successfully decoded units in the first row and the number of successfully decoded units in the first column according to the first decoding result, 其中所述存储器控制电路单元还用以根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值,Wherein the memory control circuit unit is further configured to determine the first value according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column, 其中所述存储器控制电路单元还用以根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数,Wherein the memory control circuit unit is also used to obtain the number of successfully decoded units in the second row and the number of successfully decoded units in the second column according to the second decoding result, 其中所述存储器控制电路单元还用以根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。The memory control circuit unit is further configured to determine the second value according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column. 19.根据权利要求12所述的存储器存储装置,其特征在于,所述存储器控制电路单元根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:19. The memory storage device according to claim 12, wherein the memory control circuit unit estimates and obtains the third read voltage level according to the first decoded information and the second decoded information Bit operations include: 将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。One of the first read voltage level and the second read voltage level is determined as the third read voltage level. 20.根据权利要求12所述的存储器存储装置,其特征在于,所述存储器控制电路单元还用以判断所述第一解码程序是否失败,20. The memory storage device according to claim 12, wherein the memory control circuit unit is further configured to determine whether the first decoding procedure fails, 其中所述存储器控制电路单元发送所述第二读取指令序列的操作是在判定所述第一解码程序失败之后执行。The operation of sending the second read instruction sequence by the memory control circuit unit is performed after determining that the first decoding procedure fails. 21.根据权利要求12所述的存储器存储装置,其特征在于,所述存储器控制电路单元还用以根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,21. The memory storage device according to claim 12, wherein the memory control circuit unit is further configured to execute the rewritable non-volatile memory module according to the third read voltage level the default action concerned, 其中所述预设操作包括以下操作的至少其中之一:Wherein the preset operation includes at least one of the following operations: 指示读取所述第一区域以获得对应于第三解码单元的多个软比特并根据该些软比特来对所述第三解码单元执行迭代解码;instructing to read the first area to obtain a plurality of soft bits corresponding to a third decoding unit and perform iterative decoding on the third decoding unit according to the soft bits; 决定所述第一区域中的多个存储单元的损耗程度或该些存储单元的电压分布状态;以及determining the degree of wear of a plurality of memory cells in the first region or the voltage distribution state of the memory cells; and 决定对应于所述第一区域的预设程序化电压。A preset programming voltage corresponding to the first region is determined. 22.根据权利要求12所述的存储器存储装置,其特征在于,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。22. The memory storage device according to claim 12, wherein both the first decoding process and the second decoding process are hard bit mode decoding. 23.一种存储器控制电路单元,其特征在于,用于控制可复写式非易失性存储器模块,所述存储器控制电路单元包括:23. A memory control circuit unit, characterized in that it is used to control a rewritable non-volatile memory module, the memory control circuit unit comprising: 主机接口,用以电性连接至主机系统;a host interface for electrically connecting to a host system; 存储器接口,用以电性连接至所述可复写式非易失性存储器模块;a memory interface for electrically connecting to the rewritable non-volatile memory module; 错误检查与校正电路;以及error checking and correction circuitry; and 存储器管理电路,电性连接至所述主机接口、所述存储器接口及所述错误检查与校正电路,a memory management circuit electrically connected to the host interface, the memory interface and the error checking and correction circuit, 其中所述存储器管理电路用以发送第一读取指令序列,其中所述第一读取指令序列用以指示根据第一读取电压准位来读取所述可复写式非易失性存储器模块中的第一区域,以获得第一编码单元,其中所述第一编码单元属于区块码,Wherein the memory management circuit is used to send a first read instruction sequence, wherein the first read instruction sequence is used to instruct to read the rewritable non-volatile memory module according to a first read voltage level in the first region to obtain the first coding unit, wherein the first coding unit belongs to the block code, 其中所述错误检查与校正电路用以对所述第一编码单元执行第一解码程序,并且所述存储器管理电路还用以记录第一解码信息,wherein the error checking and correction circuit is used to execute a first decoding procedure on the first encoding unit, and the memory management circuit is also used to record first decoding information, 其中所述存储器管理电路还用以发送第二读取指令序列,其中所述第二读取指令序列用以指示根据第二读取电压准位来读取所述第一区域,以获得第二编码单元,其中所述第二编码单元属于所述区块码,Wherein the memory management circuit is further used to send a second read instruction sequence, wherein the second read instruction sequence is used to instruct to read the first area according to the second read voltage level to obtain the second a coding unit, wherein said second coding unit belongs to said block code, 其中所述错误检查与校正电路还用以对所述第二编码单元执行第二解码程序,并且所述存储器管理电路还用以记录第二解码信息,Wherein the error checking and correction circuit is also used to execute a second decoding program on the second encoding unit, and the memory management circuit is also used to record the second decoding information, 其中所述存储器管理电路还用以根据所述第一解码信息与所述第二解码信息来估测并获得第三读取电压准位,Wherein the memory management circuit is further configured to estimate and obtain a third read voltage level according to the first decoded information and the second decoded information, 其中所述存储器管理电路还用以发送第三读取指令序列,其中所述第三读取指令序列用以指示根据所述第三读取电压准位来读取所述第一区域,以获得第三编码单元,Wherein the memory management circuit is further used to send a third read instruction sequence, wherein the third read instruction sequence is used to instruct to read the first area according to the third read voltage level to obtain third coding unit, 其中所述错误检查与校正电路还用以对所述第三编码单元执行第三解码程序。Wherein the error checking and correcting circuit is further used for executing a third decoding procedure on the third coding unit. 24.根据权利要求23所述的存储器控制电路单元,其特征在于,所述区块码由多个子编码单元组成,该些子编码单元中的第一比特是由多个编码程序决定。24. The memory control circuit unit according to claim 23, wherein the block code is composed of a plurality of sub-coding units, and the first bit in the sub-coding units is determined by a plurality of coding procedures. 25.根据权利要求24所述的存储器控制电路单元,其特征在于,该些编码程序具有不同的编码方向。25. The memory control circuit unit according to claim 24, wherein the encoding programs have different encoding directions. 26.根据权利要求23所述的存储器控制电路单元,其特征在于,所述第一解码信息包括第一数值,所述第二解码信息包括第二数值,26. The memory control circuit unit according to claim 23, wherein the first decoded information includes a first value, the second decoded information includes a second value, 其中所述存储器管理电路根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:The operation of the memory management circuit estimating and obtaining the third read voltage level according to the first decoded information and the second decoded information includes: 比较所述第一数值与所述第二数值并根据比较结果来决定所述第三读取电压准位。The first value is compared with the second value and the third read voltage level is determined according to the comparison result. 27.根据权利要求26所述的存储器控制电路单元,其特征在于,所述第一数值与所述第一解码程序的第一解码结果有关,所述第二数值与所述第二解码程序的第二解码结果有关。27. The memory control circuit unit according to claim 26, wherein the first numerical value is related to the first decoding result of the first decoding program, and the second numerical value is related to the first decoding result of the second decoding program. The second decoding result is related. 28.根据权利要求27所述的存储器控制电路单元,其特征在于,所述第一数值是正相关于所述第一解码程序的第一解码成功单元数,所述第二数值是正相关于所述第二解码程序的第二解码成功单元数。28. The memory control circuit unit according to claim 27, wherein the first value is positively related to the number of first decoding success units of the first decoding program, and the second value is positively related to the The second number of successfully decoded units of the second decoding procedure. 29.根据权利要求28所述的存储器控制电路单元,其特征在于,所述存储器管理电路还用以根据所述第一解码结果获得第一行解码成功单元数与第一列解码成功单元数,29. The memory control circuit unit according to claim 28, wherein the memory management circuit is further configured to obtain the number of successfully decoded cells in the first row and the number of successfully decoded cells in the first column according to the first decoding result, 其中所述存储器管理电路还用以根据所述第一行解码成功单元数与所述第一列解码成功单元数来决定所述第一数值,Wherein the memory management circuit is further configured to determine the first value according to the number of successfully decoded units in the first row and the number of successfully decoded units in the first column, 其中所述存储器管理电路还用以根据所述第二解码结果获得第二行解码成功单元数与第二列解码成功单元数,Wherein the memory management circuit is also used to obtain the number of successfully decoded units in the second row and the number of successfully decoded units in the second column according to the second decoding result, 其中所述存储器管理电路还用以根据所述第二行解码成功单元数与所述第二列解码成功单元数来决定所述第二数值。The memory management circuit is further configured to determine the second value according to the number of successfully decoded units in the second row and the number of successfully decoded units in the second column. 30.根据权利要求23所述的存储器控制电路单元,其特征在于,所述存储器管理电路根据所述第一解码信息与所述第二解码信息来估测并获得所述第三读取电压准位的操作包括:30. The memory control circuit unit according to claim 23, wherein the memory management circuit estimates and obtains the third read voltage standard according to the first decoded information and the second decoded information Bit operations include: 将所述第一读取电压准位与所述第二读取电压准位的其中之一决定为所述第三读取电压准位。One of the first read voltage level and the second read voltage level is determined as the third read voltage level. 31.根据权利要求23所述的存储器控制电路单元,其特征在于,所述存储器管理电路还用以判断所述第一解码程序是否失败,31. The memory control circuit unit according to claim 23, wherein the memory management circuit is further configured to determine whether the first decoding procedure fails, 其中所述存储器管理电路发送所述第二读取指令序列的操作是在判定所述第一解码程序失败之后执行。The operation of sending the second read instruction sequence by the memory management circuit is performed after determining that the first decoding procedure fails. 32.根据权利要求23所述的存储器控制电路单元,其特征在于,所述存储器管理电路还用以根据所述第三读取电压准位来执行与所述可复写式非易失性存储器模块有关的预设操作,32. The memory control circuit unit according to claim 23, wherein the memory management circuit is further configured to perform communication with the rewritable non-volatile memory module according to the third read voltage level the default action concerned, 其中所述预设操作包括以下操作的至少其中之一:Wherein the preset operation includes at least one of the following operations: 指示读取所述第一区域以获得对应于第三解码单元的多个软比特并且所述错误检查与校正电路还用以根据该些软比特来对所述第三解码单元执行迭代解码;Instructing to read the first area to obtain a plurality of soft bits corresponding to the third decoding unit and the error checking and correction circuit is further configured to perform iterative decoding on the third decoding unit according to the soft bits; 决定所述第一区域中的多个存储单元的损耗程度或该些存储单元的电压分布状态;以及determining the degree of wear of a plurality of memory cells in the first region or the voltage distribution state of the memory cells; and 决定对应于所述第一区域的预设程序化电压。A preset programming voltage corresponding to the first region is determined. 33.根据权利要求23所述的存储器控制电路单元,其特征在于,所述第一解码程序与所述第二解码程序皆为硬比特模式解码。33. The memory control circuit unit according to claim 23, wherein both the first decoding process and the second decoding process are hard bit mode decoding.
CN201510189551.1A 2015-04-21 2015-04-21 Read voltage level estimation method, memory storage device and control circuit unit Active CN106158040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510189551.1A CN106158040B (en) 2015-04-21 2015-04-21 Read voltage level estimation method, memory storage device and control circuit unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510189551.1A CN106158040B (en) 2015-04-21 2015-04-21 Read voltage level estimation method, memory storage device and control circuit unit

Publications (2)

Publication Number Publication Date
CN106158040A CN106158040A (en) 2016-11-23
CN106158040B true CN106158040B (en) 2019-08-27

Family

ID=58058886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510189551.1A Active CN106158040B (en) 2015-04-21 2015-04-21 Read voltage level estimation method, memory storage device and control circuit unit

Country Status (1)

Country Link
CN (1) CN106158040B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106843771B (en) * 2017-01-26 2019-11-19 合肥兆芯电子有限公司 Memory reads method, memorizer control circuit unit and memory storage apparatus again
CN108428464B (en) * 2017-02-13 2021-02-26 群联电子股份有限公司 Decoding method, memory storage device and memory control circuit unit
CN109710450B (en) * 2017-10-25 2022-05-31 群联电子股份有限公司 Data encoding method, memory control circuit unit, and memory storage device
KR102500618B1 (en) * 2017-12-12 2023-02-16 에스케이하이닉스 주식회사 Memory system and operating method thereof
CN110364207B (en) * 2018-04-11 2022-01-11 深圳大心电子科技有限公司 Decoding method and storage controller
CN110797069B (en) * 2018-08-01 2021-10-22 群联电子股份有限公司 Voltage adjustment method, memory control circuit unit, and memory storage device
CN111326186B (en) * 2018-12-13 2022-05-31 群联电子股份有限公司 Memory control method, memory storage device and memory control circuit unit
CN111459704B (en) * 2019-01-21 2023-05-30 群联电子股份有限公司 Memory control method, memory storage device and memory control circuit unit
CN112634972B (en) * 2019-09-24 2023-08-15 群联电子股份有限公司 Voltage identification method, memory control circuit unit, and memory storage device
CN113140253B (en) * 2021-04-29 2024-03-26 群联电子股份有限公司 Memory management method, memory storage device and memory control circuit unit
KR20250028249A (en) * 2022-05-18 2025-02-28 상하이 롱시스 디지털 테크놀로지 컴퍼니 리미티드 Data storage method, storage device and readable storage device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034547A (en) * 2009-10-05 2011-04-27 株式会社东芝 Memory system and control method for the same
CN102314949A (en) * 2010-07-05 2012-01-11 群联电子股份有限公司 Data reading method, control circuit and memory controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100043935A (en) * 2008-10-21 2010-04-29 삼성전자주식회사 Non-volatile memory device and program method thereof
US9697905B2 (en) * 2013-05-31 2017-07-04 Sandisk Technologies Llc Updating read voltages using syndrome weight comparisons

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034547A (en) * 2009-10-05 2011-04-27 株式会社东芝 Memory system and control method for the same
CN102314949A (en) * 2010-07-05 2012-01-11 群联电子股份有限公司 Data reading method, control circuit and memory controller

Also Published As

Publication number Publication date
CN106158040A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
TWI582779B (en) Read voltage level estimating method, memory storage device and memory controlling circuit unit
CN106158040B (en) Read voltage level estimation method, memory storage device and control circuit unit
US9891991B2 (en) Decoding method, memory storage device and memory control circuit unit
US9543983B2 (en) Decoding method, memory storage device and memory control circuit unit
TW201642266A (en) Decoding method, memory storage device and memory control circuit unit
TWI628660B (en) Decoding method, memory controlling circuit unit and memory storage device
TWI751620B (en) Memory control method, memory storage device and memory control circuit unit
CN106297883B (en) Decoding method, memory storage device, and memory control circuit unit
TWI725368B (en) Decoding method, memory controlling circuit unit and memory storage device
TWI529530B (en) Memory management method, memory storage device and memory controlling circuit unit
US11190217B2 (en) Data writing method, memory controlling circuit unit and memory storage device
CN109901784B (en) Data access method, memory control circuit unit and memory storage device
CN107146638A (en) Decoding method, memory storage device and memory control circuit unit
US10447314B2 (en) Decoding method, memory storage device and memory control circuit unit
TWI691962B (en) Decoding method, memory controlling circuit unit and memory storage device
CN109559774B (en) Decoding method, memory control circuit unit, and memory storage device
CN110400593A (en) Memory management method, memory storage device and memory control circuit unit
CN112799874B (en) Memory control method, memory storage device and memory control circuit unit
CN111863099B (en) Memory control method, memory storage device and memory control circuit unit
TWI705449B (en) Voltage identifying method, memory controlling circuit unit and memory storage device
CN111258791B (en) Memory control method, memory storage device and memory control circuit unit
CN111508546B (en) Decoding method, memory control circuit unit and memory storage device
CN114708898A (en) Table management method, memory storage device, and memory control circuit unit
CN107301873B (en) Decoding method, memory storage device and memory control circuit unit
CN105426113B (en) Memory management method, memory storage device and memory control circuit unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant