Reading voltage determination method and device

The optimal read voltage value is determined through the WL classification module and intelligent optimization algorithm, which solves the problem in the existing technology that the read voltage cannot cover all word lines, and improves the reliability and performance of the storage device.

CN118588137APending Publication Date: 2024-09-03BEIJING ZETTASTONE TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410811674.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

In the existing technology, the read voltage cannot completely cover all word lines, causing the reliability of the storage device to be affected.

Method used

The WL classification module and read voltage determination module are used to classify and optimize by reading the characteristic values ​​in the flash memory block group, and use intelligent optimization algorithms to find the optimal read voltage value within the given constraints and voltage value range.

Benefits of technology

It reduces read errors caused by differences between word lines, improves the reliability and performance of storage devices, and ensures appropriate read voltage values ​​in each state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588137A
    Figure CN118588137A
Patent Text Reader

Abstract

The invention discloses a read voltage determination method and device, and relates to the technical field of data storage, the device comprises a WL classification module and a read voltage determination module, and the method comprises the following steps: S01, the WL classification module reads values of corresponding characteristic quantities of all WLs in a flash memory block group and divides the WLs according to a corresponding classification method, the flash memory block group can be a flash memory block, and the WL classification module is used for classifying the values of the characteristic quantities of all the WLs in the flash memory block group according to a corresponding classification method; the flash memory blocks can also be flash memory blocks in the same state; s02, a read voltage determination module finds an optimal voltage value for each type of WL by giving related constraint conditions, voltage value ranges and given read voltages, so that the group of voltage values are optimal in the corresponding WL type, the constraint conditions are given according to values of characteristic quantities, the given read voltages can select any WL in the type of WL through one of given default values and empirical values, and the given read voltages can select any one WL in the type of WL through one of the given default values and empirical values; the method is obtained by searching the voltage with the characteristic quantity meeting the condition under different voltages, the read voltage determined through the read voltage optimization method is suitable for the WL category of the corresponding state, and the reliability of the storage device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and in particular to a method and device for determining a read voltage. Background Art

[0002] Read voltage plays a vital role in the reading process of flash memory (NAND). It is the voltage value applied to the control gate, which directly determines the success rate of the read operation. When reading data from flash memory, the voltage level of the control gate needs to be precisely adjusted to ensure that the charge state in the storage cell can be accurately identified, so as to read the correct data.

[0003] The choice of read voltage has a significant impact on the probability of read errors. If the read voltage is set too high or too low, it may cause read errors, making the originally stored data unable to be correctly identified. This error will not only increase the number of times the error handling process is entered and reduce the performance of the storage device, but may also cause data loss or damage, seriously affecting the reliability of the storage device.

[0004] With the continuous advancement of flash memory technology, the number of flash memory layers has gradually increased, which makes the selection of read voltage more complicated. Since flash memories of different numbers of layers have different physical characteristics and electrical properties, it is necessary to perform independent read voltage search and optimization for each layer of flash memory. However, due to differences in technology and manufacturing processes, even in the same layer of flash memory, the read voltages of different word lines (WL) may be different.

[0005] To solve this problem, several representative word lines are usually selected for read voltage search. However, a set of read voltages obtained in this way often cannot cover all word lines in the corresponding state. This means that in actual use, the read voltages of some word lines may not be completely appropriate, thereby affecting the reliability of the storage device. Summary of the invention

[0006] The purpose of the present invention is to propose a solution to solve the problem that a set of read voltages obtained in the prior art often cannot cover all word lines in the corresponding state, which means that in actual use, the read voltages of some word lines may not be completely appropriate, thereby affecting the reliability of the storage device.

[0007] In order to achieve the above object, the present invention adopts the following technical solution: a read voltage determination method: comprising: a WL classification module and a read voltage determination module, the steps are as follows:

[0008] S01: a WL classification module, which reads the values ​​of corresponding feature quantities for all WLs in a flash block group and divides the WLs according to a corresponding classification method. A flash block group may be a flash block or multiple flash blocks in the same state.

[0009] S02: Read voltage determination module, for each type of WL, given relevant constraints, voltage value range and given read voltage, find the optimal voltage value so that the group of voltage values ​​performs best in the corresponding WL category. The constraints are given according to the value of the characteristic quantity. The given read voltage can be selected by giving a default value or one of the empirical values ​​to select any WL in the type of WL, and is obtained by searching for voltages whose characteristic quantities meet the conditions under different voltages.

[0010] The main purpose of the WL classification module is to accurately classify all word lines (WL) in the flash memory block group according to the read characteristic quantities of the WL under the read voltage, so as to provide basic data for subsequent read voltage optimization.

[0011] Under a given read voltage, the module will read the data of all WLs in the flash block group and extract the corresponding characteristic value. The given read voltage is a default initial voltage value, a reference voltage value set according to actual test results. By performing a read voltage search on any WL in the flash block group, a read voltage whose characteristic value meets specific conditions is found as the given read voltage.

[0012] After obtaining the characteristic values ​​of all WLs, the module will further determine whether the obtained characteristic values ​​meet the preset setting conditions. This setting condition is usually used to avoid unnecessary classification when the WL difference is small, thereby reducing the number of invalid read voltages. A common setting condition is to check whether the difference between the maximum number of error bits and the minimum number of error bits of all WLs exceeds a preset threshold. When the difference exceeds the threshold, it means that there are large differences between the WLs, and the WL classification algorithm is triggered.

[0013] The WL classification algorithm is the core part of the module. It uses the corresponding algorithm to divide WL into N categories, where N is a positive integer. The algorithms include: box plot method, maximum and minimum distance clustering algorithm, k-means clustering algorithm. The algorithm first calculates the median, upper quartile and lower quartile of all WL feature quantities, and then determines the upper and lower limits based on these statistics. According to whether the WL feature value is outside the upper and lower limits or between the two, the module can classify WL into different categories.

[0014] The read voltage determination module aims to determine the optimal read voltage value for each category of WL to improve the performance and reliability of the storage device. The design of this module is based on an intelligent optimization algorithm and combines specific constraints and voltage value ranges for search and optimization.

[0015] The read voltage determination module first performs a read voltage determination process for each type of WL. This process uses an intelligent optimization algorithm. The intelligent optimization algorithm searches for the optimal read voltage value within a given constraint condition and voltage value range through an iterative search. The constraint condition is usually set according to the characteristic quantity.

[0016] The voltage value range refers to the maximum range of left and right offsets based on a given read voltage. The maximum ranges of left and right offsets can be the same or different. Under different NAND types, the number of read voltages in each group is different. The maximum range of left and right offsets of each read voltage can be different from other read voltages. It is given based on the read voltage offset range data under different states collected in the previous statistics.

[0017] There are two ways to obtain the given read voltage. One is to obtain it by giving default values ​​and empirical values. These values ​​are based on the results of previous tests and experiments. The other way is to obtain it by selecting any WL in the WL category and then searching for voltages whose characteristic quantities meet the conditions under different voltages. This way can more accurately determine the given read voltage, thereby improving the accuracy of the determination of the read voltage. In the process of obtaining the characteristic quantity for each type of WL, all WLs in the category can be selected to obtain the characteristic quantity, or some WLs in the category can be selected to obtain the characteristic quantity. Selecting some WLs to obtain the characteristic quantity can reduce the amount of calculation and improve the processing speed.

[0018] Through the processing of the read voltage determination module, each flash memory block group can determine N groups of read voltages, and each state corresponds to a flash memory block group. In the error handling embodiment, when one of the units enters the error handling process, the corresponding read voltage can be found according to the state of the flash memory block where the unit is located, and the read voltage can be used for the read operation.

[0019] The present invention adopts the following technical solution: a read voltage determination device, comprising:

[0020] Memory, used to store computer programs;

[0021] The processor is used to execute the program stored in the memory.

[0022] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0023] 1. When determining the read voltage, WL is classified. The corresponding WL category in each state has a set of read voltage values ​​to reduce read errors caused by differences between WLs.

[0024] 2. The read voltage determined by the read voltage optimization method is suitable for the WL category of the corresponding state, thereby improving the reliability of the storage device. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Shows an overall block diagram of the technical solution according to the present invention;

[0026] Figure 2 A step diagram of a WL classification module according to the present invention is shown;

[0027] Figure 3 An embodiment diagram of a WL classification algorithm according to the present invention is shown;

[0028] Figure 4 A read voltage determination module according to the present invention is shown;

[0029] Figure 5 An embodiment of a method for determining a read voltage according to the present invention is shown;

[0030] Figure 6 A structural schematic diagram of an electronic device for implementing a method for determining a read voltage according to the present invention is shown. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] This technical solution can be used in processes such as voltage calibration, data inspection and error handling.

[0033] Different types of NAND have different numbers of read voltages. For SLC, each read voltage has 1 value, for MLC, each read voltage has 3 values, for TLC, each read voltage has 7 values, and for QLC, each read voltage has 15 values. This technical solution is applicable to different types of NAND.

[0034] like Figure 1-Figure 6 As shown, the present invention provides a method and device for determining a read voltage: the steps are as follows:

[0035] S01: A WL classification module reads the values ​​of corresponding feature quantities for all WLs in a flash block group and divides the WLs according to a corresponding classification method. A flash block group is a flash block or multiple flash blocks in the same state.

[0036] S02: Read voltage determination module, for each type of WL, given relevant constraints, voltage value range and given read voltage, find the optimal voltage value so that the group of voltage values ​​performs best in the corresponding WL category. The constraints are given according to the value of the characteristic quantity. The given read voltage can be selected by giving a default value or one of the empirical values ​​to select any WL in the type of WL, and is obtained by searching for voltages whose characteristic quantities meet the conditions under different voltages.

[0037] The WL classification module is a key link in the flash memory reading process. Its steps are as follows: Figure 2As shown, the main purpose of this module is to accurately classify the word lines (WL) in the flash memory block group according to the read characteristic quantities of the WL under the read voltage, so as to provide basic data for the subsequent read voltage optimization.

[0038] First, under a given read voltage, the module reads the data of all WLs in the flash block group and extracts the corresponding characteristic value. The given read voltage here can be a default initial voltage value or a reference voltage set according to experience or actual test results. In some cases, a read voltage search can be performed on any WL in the flash block group to find a read voltage whose characteristic quantity meets specific conditions as the given read voltage. For example, when the number of error bits is used as the characteristic quantity, the module will find a read voltage that minimizes the number of error bits as the given read voltage.

[0039] After obtaining the characteristic values ​​of all WLs, the module will further determine whether these characteristic values ​​meet the preset setting conditions. This setting condition is usually used to avoid unnecessary classification when the WL difference is small, thereby reducing the number of invalid read voltages. A common setting condition is to check whether the difference between the maximum number of error bits and the minimum number of error bits of all WLs exceeds a preset threshold. If the difference exceeds the threshold, it means that there are large differences between WLs, and the WL classification algorithm is triggered at this time;

[0040] The WL classification algorithm is the core part of the module. It uses the corresponding algorithm to divide WL into N categories, where N is a positive integer. These algorithms can be box plot method, maximum and minimum distance clustering algorithm, k-means clustering algorithm, etc. Taking the box plot method as an example, the method is as follows Figure 3 As shown in the figure, the algorithm first calculates the median, upper quartile and lower quartile of all WL feature quantities, and then determines the upper and lower limits based on these statistics. According to whether the WL feature value is outside the upper and lower limits or between the two, the module can classify WL into different categories. The advantage of the box plot method is that it can intuitively display the distribution of data and can classify WL into a maximum of 3 categories or a minimum of 1 category. The specific number of categories depends on the distribution of the data.

[0041] Through the processing of the WL classification module, we can obtain read voltage optimization schemes for different WL categories. These schemes can help us select appropriate read voltages in subsequent reading processes, thereby improving the performance and reliability of storage devices. At the same time, since the module can automatically adapt to the differences between different flash block groups and different WLs, it has broad application prospects and practical value.

[0042] The read voltage determination module is a key link in the flash memory reading process. Its goal is to determine the optimal read voltage value for each category of WL to improve the performance and reliability of the storage device. The design of this module is based on an intelligent optimization algorithm and combines specific constraints and voltage value ranges for search and optimization;

[0043] In actual operation, the read voltage determination module first determines the read voltage for each type of WL. This process uses intelligent optimization algorithms, such as evolutionary algorithms or swarm intelligence algorithms. These algorithms use iterative search to find the optimal read voltage value within a given constraint condition and voltage value range. The constraint condition is usually set based on a characteristic quantity, such as the number of error bits. Taking the number of error bits as an example, a common objective function is the average number of error bits for each type of WL under the corresponding read voltage. In this case, the constraint condition is to minimize the objective function.

[0044] Setting the voltage value range is also an important step in the process of determining the read voltage. The voltage value range is based on the given read voltage. The maximum range of left and right offsets can be set according to the actual situation. This range can be given based on the experience of technicians or based on the data of the read voltage offset range under different states collected in the early stage. The maximum range of left and right offsets can be the same or different, depending on the type and characteristics of the NAND flash memory.

[0045] There are multiple ways to obtain a given reading voltage. One way is to obtain it by giving a default value or an empirical value. These values ​​can be based on the results of previous tests or experiments. Another way is to obtain it by selecting any WL in the WL category and then searching for voltages whose characteristic quantities meet the conditions under different voltages. This way can determine the given reading voltage more accurately, thereby improving the accuracy of determining the reading voltage.

[0046] In the process of obtaining feature quantities for each type of WL, all WLs in the category may be selected to obtain feature quantities, or some WLs in the category may be selected to obtain feature quantities. Selecting some WLs to obtain feature quantities may reduce the amount of calculation and improve the processing speed.

[0047] The selection of intelligent optimization algorithm is crucial to the determination process of the read voltage. In this technical solution, the simulated annealing algorithm in the evolutionary algorithm is taken as an example to illustrate the determination process of the read voltage. The specific process is as follows: Figure 5 As shown in Figure 1, the simulated annealing algorithm is a heuristic search algorithm that simulates the physical annealing process to find the global optimal solution. During the search process, the algorithm can adaptively adjust the search step size and search direction, thereby effectively avoiding falling into the local optimum.

[0048] Through the processing of the read voltage determination module, each flash memory block group can determine N groups of read voltages, and each state corresponds to a flash memory block group. In the error processing embodiment, when a unit enters the error processing process, the corresponding read voltage can be found according to the state of the flash memory block where the unit is located, and the read voltage can be used to perform a read operation, which can reduce the probability of read errors and improve the reliability of the storage device;

[0049] In general, the read voltage determination module determines the optimal read voltage value through an intelligent optimization algorithm and specific constraints and voltage value range, providing an accurate and reliable voltage reference for subsequent read operations. The design and application of this module is of great significance for improving the performance and reliability of storage devices.

[0050] A read voltage determination device, comprising:

[0051] Memory, used to store computer programs;

[0052] The processor is used to execute the program stored in the memory.

[0053] In addition to the memory and the processor, the electronic device may also include a bus and a communication interface, wherein the bus is used to connect the memory, the processor and the communication interface, and the communication interface is used for communication between the above electronic device and other devices.

[0054] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for determining a read voltage, characterized in that: It includes: WL classification module and reading voltage determination module, the steps are as follows: S01: a WL classification module, which reads the values ​​of corresponding feature quantities for all WLs in a flash block group and divides the WLs according to a corresponding classification method. A flash block group may be a flash block or multiple flash blocks in the same state. S02: Read voltage determination module, for each type of WL, given relevant constraints, voltage value range and given read voltage, find the optimal voltage value so that the group of voltage values ​​performs best in the corresponding WL category. The constraints are given according to the value of the characteristic quantity. The given read voltage can be selected by giving a default value or one of the empirical values ​​to select any WL in the type of WL, and is obtained by searching for voltages whose characteristic quantities meet the conditions under different voltages.

2. A method for determining a read voltage according to claim 1, characterized in that: The main purpose of the WL classification module is to accurately classify all word lines (WL) in the flash memory block group according to the read characteristic quantities of the WL under the read voltage, so as to provide basic data for subsequent read voltage optimization.

3. A method for determining a read voltage according to claim 2, characterized in that: Under a given read voltage, the module will read the data of all WLs in the flash block group and extract the corresponding characteristic value. The given read voltage is a default initial voltage value, a reference voltage value set according to actual test results. By performing a read voltage search on any WL in the flash block group, a read voltage whose characteristic value meets specific conditions is found as the given read voltage.

4. A method for determining a read voltage according to claim 3, characterized in that: After obtaining the characteristic values ​​of all WLs, the module will further determine whether the obtained characteristic values ​​meet the preset setting conditions. This setting condition is usually used to avoid unnecessary classification when the WL difference is small, thereby reducing the number of invalid read voltages. A common setting condition is to check whether the difference between the maximum number of error bits and the minimum number of error bits of all WLs exceeds a preset threshold. When the difference exceeds the threshold, it means that there are large differences between the WLs, and the WL classification algorithm is triggered.

5. A method for determining a read voltage according to claim 4, characterized in that: The WL classification algorithm is the core part of the module. It uses the corresponding algorithm to divide WL into N categories, where N is a positive integer. The algorithms include: box plot method, maximum and minimum distance clustering algorithm, k-means clustering algorithm. The algorithm first calculates the median, upper quartile and lower quartile of all WL feature quantities, and then determines the upper and lower limits based on these statistics. According to whether the WL feature value is outside the upper and lower limits or between the two, the module can classify WL into different categories.

6. A method for determining a read voltage according to claim 1, characterized in that: The read voltage determination module aims to determine the optimal read voltage value for each category of WL to improve the performance and reliability of the storage device. The design of this module is based on an intelligent optimization algorithm and combines specific constraints and voltage value ranges for search and optimization.

7. A method for determining a read voltage according to claim 6, characterized in that: The read voltage determination module first performs a read voltage determination process for each type of WL. This process uses an intelligent optimization algorithm. The intelligent optimization algorithm searches for the optimal read voltage value within a given constraint condition and voltage value range through an iterative search. The constraint condition is usually set according to the characteristic quantity.

8. A method for determining a read voltage according to claim 7, characterized in that: The voltage value range refers to the maximum range of left and right offsets based on a given read voltage. The maximum ranges of left and right offsets can be the same or different. Under different NAND types, the number of read voltages in each group is different. The maximum range of left and right offsets of each read voltage can be different from other read voltages. It is given based on the read voltage offset range data under different states collected in the previous statistics.

9. A method for determining a read voltage according to claim 8, characterized in that: There are two ways to obtain the given read voltage. One is to obtain it by giving default values ​​and empirical values. These values ​​are based on the results of previous tests and experiments. The other way is to obtain it by selecting any WL in the WL category and then searching for voltages whose characteristic quantities meet the conditions under different voltages. This way can more accurately determine the given read voltage, thereby improving the accuracy of the determination of the read voltage. In the process of obtaining the characteristic quantity for each type of WL, all WLs in the category can be selected to obtain the characteristic quantity, or some WLs in the category can be selected to obtain the characteristic quantity. Selecting some WLs to obtain the characteristic quantity can reduce the amount of calculation and improve the processing speed. Through the processing of the read voltage determination module, each flash memory block group can determine N groups of read voltages, and each state corresponds to a flash memory block group. In the error handling embodiment, when one of the units enters the error handling process, the corresponding read voltage can be found according to the state of the flash memory block where the unit is located, and the read voltage can be used for the read operation.

10. A read voltage determination device according to any one of claims 1 to 9, characterized in that: include: Memory, used to store computer programs; The processor is used to execute the program stored in the memory.