Method and apparatus for reading a flash memory device

By using reliability state CNN and RNN models to predict the reliability state of flash memory devices and generate TVS-RE curves to identify TVSO values, the complex storage and maintenance problems in the existing technology are solved, and low UBER maintenance and efficient reading are achieved. .

CN116830200BActive Publication Date: 2024-09-27MICROCHIP TECHNOLOGY INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202180092032.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-04-20
Filing Date
2021-04-30
Publication Date
2024-09-27
Estimated Expiration
2041-04-30

AI Technical Summary

Technical Problem

When existing solid-state drives read flash memory devices, they require the storage and maintenance of a large number of physical characteristics and threshold voltage offset compensation values, resulting in large storage space and complex maintenance, making it difficult to maintain a low level of uncorrectable bit error rate ( UBER).

Method used

Multiple reliability state classification neural network (CNN) models and regression neural network (RNN) models are used to predict the reliability state and generate threshold voltage offset read errors (TVS- RE) curve that identifies the minimum threshold voltage offset compensation (TVSO) value used to perform a read operation.

Benefits of technology

It reduces the amount of physical property storage and maintenance, improves the accuracy and efficiency of the reading process, maintains a low level of UBER, and reduces storage and maintenance complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116830200B_ABST
    Figure CN116830200B_ABST
Patent Text Reader

Abstract

A method for reading a flash memory device includes storing a profile of a reliability state classification neural network (CNN) model and a profile of a recurrent neural network (RNN) inference model, and storing a reliability state label corresponding to a reliability state. A current P / E cycle number is identified, and a reliability state CNN model corresponding to the current P / E cycle number is selected. A neural network operation of the selected reliability state CNN model is performed to identify a predicted reliability state. A corresponding reliability state label is identified, and a corresponding RNN inference model is selected. Using the reliability state label as an input, a neural network operation of the selected RNN inference model is performed to generate an output indicating the shape of a threshold voltage offset read error (TVS-RE) curve. A threshold voltage offset compensation (TVSO) value corresponding to a minimum value of the TVS-RE curve is identified, and a read is performed using a threshold voltage offset read at the identified TVSO value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application Serial No. 63 / 153,906 filed on February 25, 2021 and U.S. Non-Provisional Patent Application Serial No. 17 / 234,993 filed on April 20, 2021, the contents of each of which are incorporated herein by reference in their entirety. Background Art

[0003] Some solid-state drives (SSDs) include a flash controller that uses a threshold voltage offset read to read flash memory devices to obtain the low levels of uncorrectable bit error rate (UBER) required by client and enterprise SSDs. The threshold voltage offset read is performed by sending a threshold voltage offset read instruction to the flash memory device to be read. One or more threshold voltage offset compensation (TVSO) values ​​are sent with the threshold voltage offset read instruction. The TVSO value indicates the amount of compensation of each threshold voltage used to perform the read from the corresponding default threshold voltage specified by the manufacturer of the flash memory device. A multi-level cell (MLC) flash memory device stores two information bits in each cell and requires three TVSO values ​​for each read; a triple-level cell (TLC) flash memory device stores three information bits in each cell and requires seven TVSO values ​​for each read; a quad-level cell (QLC) flash memory device stores four information bits in each cell and requires 15 TVSO values ​​for each read; and a five-level cell (PLC) flash memory device stores five information bits in each cell and requires 31 TVSO values ​​for each read.

[0004] A flash characterization test process is performed to identify the optimal TVSO value for performing reads of a particular flash memory device, typically referred to as a threshold voltage offset compensation minimum (TVSOmin) value. The TVSOmin value is typically the set of TVSO values ​​that produces the fewest errors when the flash memory device is read under test conditions corresponding to a particular reliability state. A reliability state is a set of conditions that indicates the age and usage of individual flash memory devices. There are many different processes for determining TVSOmin values, and in many cases, the set of TVSOmin values ​​identified during flash characterization testing is not the actual TVSO value that produces the fewest errors, but rather a set of TVSO values ​​that meets one or more performance metrics, such as, for example, a particular raw bit error rate (RBER).

[0005] A flash memory controller that uses a threshold voltage shift read instruction to perform reads typically includes firmware for monitoring the physical characteristics of the flash memory devices, and uses the monitored physical characteristics to determine a TVSO value for performing a read of each flash memory device. The TVSO value to be used to perform a read (hereinafter referred to as a "TVSO read-current" value or TVSO-RC value) is typically determined by the flash memory controller prior to each read based on the physical location to be read (e.g., block / page) and the current physical characteristics of the flash memory device to be read as measured by the flash memory controller by performing a lookup operation in a lookup table using the physical location to be read and the current physical characteristics of the flash memory device (e.g., number of program / erase cycles, retention time, number of read disturbances, and temperature). The TVSO-RC value is typically one of a set of TVSOmin values ​​identified in a flash memory characterization test.

[0006] Even during a power-off state, the current physical characteristics must be maintained to ensure that the correct TVSO value is being used to read each flash memory device. In addition, a complex table is required to indicate the various physical characteristics and corresponding TVSO-RC values ​​used to perform the read. These complex tables also take up a lot of storage space.

[0007] Therefore, there is a need to identify a TVSO value to be used in each read of a flash memory device in order to maintain the UBER within acceptable levels during the life of the SSD, thereby reducing the amount of storage and maintenance required for physical properties. Summary of the invention

[0008] A method for reading a flash memory device includes storing a configuration file of a plurality of reliability state classification neural network (CNN) models, a configuration file of a plurality of recurrent neural network (RNN) inference models, and a plurality of reliability state label sets. Each reliability state label set is associated with one of a plurality of reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a program / erase (P / E) cycle range. The operation of the flash memory device is monitored to identify a current program / erase (P / E) cycle number of the flash memory device. One of the reliability state CNN models associated with the P / E cycle range corresponding to the current P / E cycle number is selected, and a neural network operation of the selected reliability state CNN model is performed to identify a predicted reliability state. A reliability state label set associated with the predicted reliability state is identified. One of the plurality of RNN inference models corresponding to the predicted reliability state is selected, and a neural network operation of the selected RNN inference model is performed, the neural network operation using the identified reliability state label as input to generate an output value indicating the shape of a threshold voltage offset read error (TVS-RE) curve. A threshold voltage offset compensation (TVSO) value is identified that is close to a minimum of the generated TVS-RE curve, and a read of the flash memory device is performed using a threshold voltage offset read at the identified TVSO value.

[0009] The present invention discloses a flash memory controller, which includes a data storage module, which is configured to store configuration files of multiple reliability state CNN models, a configuration file of at least one RNN inference model, and multiple reliability state label sets, each reliability state label set is associated with a reliability state in multiple reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a program / erase (P / E) cycle range. The state module is configured to identify the current number of program / erase cycles. A neural processing module is coupled to the data storage module and to a control module. The neural processing module is configured to execute a neural network operation of a reliability state CNN model in the stored reliability state CNN model associated with the P / E cycle range corresponding to the current P / E cycle number to identify a predicted reliability state, and to execute a neural network operation of the RNN inference model corresponding to the predicted reliability state, each neural network operation uses the reliability state label set associated with the predicted reliability state as input to generate an output indicating the shape of the TVS-RE curve of all threshold voltage regions required to read the flash memory device. The minimum function module is configured to identify TVSO values ​​of all threshold voltage regions required to read the flash memory device, each of the identified TVSO values ​​being close to a minimum value of one of the TVS-RE curves. The read module is configured to perform reading of the flash memory device by sending a threshold voltage shift read instruction including the identified TVSO value to the flash memory device.

[0010] The present invention discloses a solid-state drive (SSD), which includes a flash memory device and a flash memory controller coupled to the flash memory device. The flash memory controller includes a data storage module, which is configured to store a plurality of reliability state classification neural network (CNN) model configuration files, a plurality of recurrent neural network (RNN) inference model configuration files and a plurality of reliability state label sets, each reliability state label set is associated with a reliability state in a plurality of reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a programming / erase (P / E) cycle range. A neural processing module is coupled to the data storage module and to a control module. The neural processing module is configured to execute a neural network operation of a stored reliability state CNN model associated with a P / E cycle range corresponding to a current P / E cycle number to identify a predicted reliability state, and to execute a neural network operation of an RNN inference model corresponding to the predicted reliability state, each neural network operation using a reliability state label set associated with the predicted reliability state as an input to generate an output indicating the shape of a TVS-RE curve of all threshold voltage regions required to read the flash memory device. The flash memory controller includes a status module configured to identify a current program / erase (P / E) cycle number. The flash memory controller includes a neural processing module coupled to the data storage module and coupled to the control module. The flash memory controller includes a minimum function module and a read module, the minimum function module configured to identify TVSO values ​​of all threshold voltage regions required to read the flash memory device, each of the identified TVSO values ​​being close to a minimum value of a TVS-RE curve in the TVS-RE curve, and the read module configured to perform reading of the flash memory device by sending a threshold voltage offset read instruction including the identified TVSO value to the flash memory device. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings are included to provide a further understanding of the present invention and are incorporated into and constitute a part of this specification. The accompanying drawings illustrate various embodiments. Unless otherwise specified, the drawings mentioned in this brief description should not be understood as being drawn to scale.

[0012] Figure 1 is a schematic diagram illustrating a method for performing a read of a flash memory device.

[0013] Figure 2 is a graph showing an exemplary threshold voltage shift read error curve generated using results from testing of a representative flash memory device, with the number of errors shown on the y-axis and TVSO shown on the x-axis.

[0014] Figure 3 It is shown that the use Figure 2 Graph of an exemplary smoothed threshold voltage shift read error curve generated from the data set shown in , with the number of errors shown on the y-axis and TVSO shown on the x-axis.

[0015] FIG. 4A to FIG. 4B is a block diagram showing the reliability state CNN inference model.

[0016] FIG. 5A to FIG. 5B is a block diagram illustrating an RNN inference model.

[0017] Figure 6 is a block diagram illustrating an SSD. DETAILED DESCRIPTION

[0018] Figure 1 A method 100 for reading a flash memory device is shown, the method comprising generating (101) multiple reliability state CNN models. The term "reliability state CNN model" as used in this application includes all CNN models configured to predict reliability states. In one example, a reliability state CNN model is generated as shown in U.S. non-provisional patent application serial number 17 / 213,675, entitled "Method and Apparatus for Determining when Actual Wear of a Flash Memory Device Differs from Reliability States for the Flash Memory Device" filed on March 26, 2021, which is incorporated herein by reference in its entirety. A representative flash memory device is tested to identify the number of errors that occur as the representative flash memory device ages. The representative flash memory device is a device similar to or identical to the flash memory device to be read using method 100. In one example, a representative flash memory device is inserted into a test fixture of a test computer system, and testing is performed to identify a number of flash characterization test errors (FCT-ERROR values) for each word line for each of a plurality of cycle conditions, where each cycle condition corresponds to a particular reliability state.

[0019] In the following example, the format "TVSOn" is used to indicate the TVSO value, where n indicates a threshold voltage region specified by the manufacturer of the flash memory device. More specifically, the first TVSO region value (TVSO1) indicates a TVSO value for reading a first threshold voltage region, the second TVSO region value (TVSO2) indicates a TVSO value for reading a second threshold voltage region, the third TVSO region value (TVSO3) indicates a TVSO value for reading a third threshold voltage region, the fourth TVSO region value (TVSO4) indicates a TVSO value for reading a fourth threshold voltage region, the fifth TVSO region value (TVSO5) indicates a TVSO value for reading a fifth threshold voltage region specified by the manufacturer of the flash memory, the sixth TVSO region value (TVSO6) indicates a TVSO value for reading a sixth threshold voltage region, the seventh TVSO region value (TVSO7) indicates a TVSO value for reading a seventh threshold voltage region, and so on. In one example, a TVSO region index is defined for each TVSO region, where the TVSO region index of TVSO1 has a value of 1, the TVSO region index of TVSO2 has a value of 2, the TVSO region index of TVSO3 has a value of 3, etc. Each voltage region is associated with a read voltage threshold level, and thus only a single region is provided in SLC, while multiple voltage regions are provided in MLC.

[0020] The TVSO value used to perform a read to identify the FCT-ERROR value will be referred to as a Flash Characterization Read Threshold Voltage Offset Compensation (FCR-TVSO) value, and a read for an SLC non-volatile memory device may be represented in the form of FCR-TVSO (TVSO1), a read for an MLC non-volatile memory device may be represented in the form of FCR-TVSO (TVSO1, TVSO2, TVSO3), a read for a TLC non-volatile memory device may be represented in the form of FCR-TVSO (TVSO1, TVSO2, TVSO3, TVSO4, TVSO5, TVSO6, TVSO7); a read for a TLC non-volatile memory device may be represented in the form of FCR-TVSO (TVSO1, TVSO2, TVSO3, TVSO4, TVSO5, TVSO6, TVSO7); a read for a TLC non-volatile memory device may be represented in the form of FCR-TVSO (TVSO1, TVSO2, TVSO3, TVSO4, TVSO5, ..., TVSO6, TVSO7). 15 ), and the reading of the PLC non-volatile memory device can be expressed in the form of FCR-TVSO (TVSO1, TVSO2, TVSO3, TVSO4, TVSO5, ..., TVSO 31). In one example, for an SLC non-volatile memory device, reading of each word line of a representative flash memory device is performed by a "scan operation" where a read is performed at each TVSO value that a particular representative flash memory device can be read from. In one example, for a non-SLC non-volatile memory device, reading of each word line of a representative flash memory device is performed by a "scan operation" where a read is performed at each TVSO value that a particular representative flash memory device can be read from while setting other TVSO regions to zero values ​​(e.g., starting at the minimum TVSO value that a flash memory device can be read from and incremented by 1 after each read). Therefore, each FCR-TVSO value will have a non-zero single TVSO. n value, and other TVSO n The value of will be 0.

[0021] Figure 2 An example of threshold voltage shift read error (TVS-RE) curves generated by scanning a representative flash memory device having TVSO values ​​from -24 to +24 is shown, each TVS-RE curve identifying the number of errors as a function of the TVSO value corresponding to one of the reliability states and one of the threshold voltage regions required to read the flash memory device under cycle conditions. Figure 2 As can be seen in FIG. 1 , due to the nature of the flash memory read circuit, there are fluctuations (noise) in the number of errors for each curve. This noise can negatively impact the learning process when training a neural network model, which can result in errors in the neural network results. To avoid this problem, a smoothing function (e.g., such as a moving average or a polynomial interpolation algorithm) is optionally applied to the test results to generate a smoothed threshold voltage offset read data set, where the FCT-ERROR value is adjusted to obtain a corresponding smoothed error value (ERROR). Figure 3 It shows that through Figure 2 Example of a TVS-RE curve generated by smoothing the FCT-ERROR values ​​to obtain the ERROR values.

[0022] In one example, the testing and smoothing generates a data record that indicates, for each test, one or more of the following values ​​(where each test corresponds to a single read): a word line index value (WORDLINE INDEX) indicating the word line being tested, a block index value (BLOCK INDEX) indicating the block being tested, a page index value (PAGE INDEX) indicating the page being tested, a retention time value (RETENTIONTIME) indicating the retention time of the word line being tested, a read disturbance value (READ DISTURB) indicating the number of read disturbances for the word line being tested, a temperature value (TEMPERATURE) indicating the cycle temperature of a representative flash memory device being tested, a P / E cycle value (P / E CYCLES) indicating the current number of P / E cycles for the word line (or block) being tested, and an error value (ERROR) indicating the number of errors in the read (as adjusted in the smoothing operation).

[0023] FIG. 4A to FIG. 4B Examples of reliability state CNN models 40a to 40b that may be generated in step 101 are shown. It should be understood that the reliability state models 40a to 40b are exemplary and that many other combinations of input, output, and hidden layers may be used. The reliability state CNN models 40a, 40b include an input layer 41 including input neurons 41a-41c and hidden neuron layers 42-44. The reliability state CNN model 40a includes an output layer 45 including a single output neuron 45a indicating a predicted reliability state. The predicted reliability state refers to the reliability state indicated by the output neuron when the neural network operation of the reliability state CNN model is performed. Figure 4B The reliability state CNN model 40b in includes an output layer 48, which includes an output neuron 48a for each reliability state in a plurality of reliability states (represented as RS1, RS2, RS3, RS4, RS5, ..., RSn, respectively). In this example, the number of output neurons 48a is equal to the number of reliability states, and each output neuron 48a indicates the probability that the reliability state represented by the particular output neuron is the correct reliability state, wherein the output neuron 48a with the largest value indicates the predicted reliability state. In one example, an activation function (e.g., a softmax activation function) is applied to the output to ensure that the sum of the probabilities of the corresponding output neurons of the output layer 48 is one.

[0024] The data records from the flash characterization test are divided by f P / E cycle values, and a plurality of reliability state CNN models are formed, each reliability state CNN model being valid for and associated with a specific P / E cycle value range. More specifically, the training data files used to train each reliability state CNN model include only those training data files used for tests whose P / E cycle times are within the P / E cycle value range of the specific reliability state CNN model. In one example, training is performed using training data files of tests performed within a first P / E cycle value range (e.g., 0 to 1,000 P / E cycles) to create a first reliability state CNN model, and training is performed using training data files of tests performed within a second P / E cycle value range (e.g., 1001 to 2,000 P / E cycles) to create a second reliability state CNN model. In one example, 7 P / E classification reliability status CNN models are generated, including a third reliability status CNN model (2,001 to 3,000 P / E cycles), a fourth reliability status CNN model (3,001 to 4,000 P / E cycles), a fifth reliability status CNN model (4,001 to 5,000 P / E cycles), a sixth reliability status CNN model (5,001 to 6,000 P / E cycles), and a seventh reliability status CNN model (6,001 to 7,000 P / E cycles), where 7,000 P / E cycles are considered end of life.

[0025] In one example, during training, WORDLINE INDEX is input into input neuron 41a, BLOCK INDEX is input into neuron 41b, and PAGE INDEX is input into neuron 41c to train the corresponding CNN model 40a or 40b to identify a specific reliability state. Therefore, WORDLINE INDEX, BLOCK INDEX and PAGE INDEX are features of the resulting reliability state CNN model 40a or 40b. After training, each resulting reliability state CNN model is tested to determine whether the resulting model can accurately predict the correct reliability state. When the model fails to accurately predict the correct category, the training data record is removed and the training is repeated. The process of removing training data records and repeating training is performed until the resulting CNN model accurately predicts all reliability states together.

[0026] When the model fails to accurately predict the correct reliability state, data records corresponding to TVSO region scans that respond poorly to a particular current physical property can be selected for removal from the training data set. In one example of TLC, training data records corresponding to TVSO values ​​required to read one or more of the upper pages (e.g., TVSO1, TVSO3, TVSO5, and TVSO7), middle pages (e.g., TVSO2 and TVSO6), or lower pages (e.g., TVSO4) are removed. For example, if it is known from flash characterization testing that the upper page is more sensitive to retention, and if the CNN model fails to accurately predict a reliability state in which retention is greater than zero, removing records with non-zero TVSO values ​​in the threshold voltage regions corresponding to the lower and middle pages (e.g., TVSO2, TVSO4, and TVSO6) can produce better results. Thus, data records read at threshold voltage regions that primarily add noise to the reliability state CNN model are removed.

[0027] Generate (102) multiple RNN inference models. Each RNN inference model is configured to identify the shape of a TVS-RE curve for one of the threshold voltage regions required to read a flash memory device, wherein each TVS-RE curve identifies the number of errors as a function of a TVSO value. In one example, an RNN inference model is generated as shown in U.S. non-provisional patent application serial number 17 / 089,891, entitled “Regression Neural Network for Identifying Threshold Voltages to be Used in Reads of Flash Memory Devices,” filed on November 5, 2021, which is incorporated herein by reference in its entirety.

[0028] In step 102, for each reliability state, an RNN inference model is generated for each threshold voltage region required to read the flash memory device 2. Each RNN inference model generates an output indicating the shape of a TVS-RE curve corresponding to one of the reliability states and corresponding to one of the threshold voltage regions required to read each flash memory device 2.

[0029] The reliability state can be indicated using a numerical value identifying each reliability state, hereinafter referred to as a reliability state index (RSI). In one example, RSI 1 indicates a first reliability state, RSI 2 indicates a second reliability state, and so on.

[0030] In one example, each RNN model is associated with a corresponding TVSO region index, which indicates a threshold voltage region represented by a particular RNN inference model and is associated with a corresponding RSI. For example, when the flash memory device 2 is an MLC device, for a first reliability state, the first RNN inference model is associated with TVSO region index 1 and RSI 1; the second RNN inference model is associated with TVSO region index 2 and RSI 1; and the third RNN inference model is associated with TVSO region index 3 and RSI 1.

[0031] Training may be performed using the same data records used to generate the reliability status CNN model in step 101: however, in addition to using WORDLINE INDEX, BLOCK INDEX, and PAGE INDEX as features, one or more of the following additional features are used: RETENTION TIME, READDISTURB, TEMPERATURE, and P / E CYCLES.

[0032] Figure 5A A schematic diagram of an exemplary RNN inference model 50a is shown, which includes multiple input neurons 51a to 51g, multiple output neurons 55a, and hidden neuron layers 52 to 54. In one example, during training, WORDLINE INDEX is input into input neuron 51a, BLOCK INDEX is input into input neuron 51b, PAGE INDEX is input into input neuron 51c, RETENTION TIME is input into input neuron 51d, READDISTURB is input into input neuron 51e, TEMPERATURE is input into input neuron 51f, and P / ECYCLES is input into input neuron 51g. Output neuron 55a generates an output in the form of coefficient values ​​that indicate the shape of the TVS-RE curve for a particular threshold voltage region (and is defined thereby). The output of the RNN inference model 50a is shown to include six coefficients, shown as a first coefficient, a second coefficient, a third coefficient, a fourth coefficient, a fifth coefficient, and a sixth coefficient. It should be understood that the RNN inference model 50a can have any number of coefficients, and the number of coefficients can be varied to achieve a balance between processing time and accuracy.

[0033] In one example, the coefficients indicate a straight line in the form of y=mx+q, where m and q are two coefficients. In other examples, the line may be nonlinear, and the coefficients may be in the form of y=a+bx+cx 2 +cx 3 +dx 4 +ex 5, where a, b, c, d and e are coefficients (eg, the first coefficient, ..., the sixth coefficient).

[0034] exist Figure 5B In the example shown, the output neuron 55b generates a value indicating the number of errors at a location corresponding to the TVSO value. In this example, the output neuron 55b includes an output neuron for each TVSO value (for n TVSO values), such as, for example, an output neuron (PRED-ERR TVSO1) that predicts an error using a first TVSO value, an output neuron (PRED-ERR TVSO2) that predicts an error using a second TVSO value, an output neuron (PRED-ERR TVSO3) that predicts an error using a third TVSO value, an output neuron (PRED-ERR TVSO4) that predicts an error using a fourth TVSO value, an output neuron (PRED-ERR TVSO5) that predicts an error using a fifth TVSO value, and so on, all the way to an output neuron (PRED-ERR TVSOn) that predicts an error using an nth TVSO value.

[0035] FIG. 4A to FIG. 5B The exemplary neural network model shown includes an input neuron for receiving PAGE INDEX, and PAGE INDEX is used for training FIG. 4A to FIG. 5B Alternatively, PAGE INDEX is not used as a feature during training, and FIG. 4A to FIG. 5B Each of the neural network models shown does not include input neurons 41c and 51c.

[0036] Figure 6 1 shows an SSD 15 including a flash memory controller 3 coupled to a plurality of flash memory devices 2 for storing data. In the present embodiment, the flash memory devices 2 are NAND devices, and the SSD 15 includes one or more circuit boards to which a host connector socket 14, the flash memory controller 3, and the flash memory devices 2 are attached. The SSD 15 may also include one or more memory devices 13, such as dynamic random access memory (DRAM), which may be independent integrated circuit devices attached to one or more circuit boards and electrically coupled to the flash memory controller 3.

[0037] The flash controller 3 is configured to receive read instructions and write instructions from the host computer through the host connector socket 14, and perform programming operations, erasing operations, and reading operations on the memory cells of the flash memory devices 2 to complete the instructions from the host computer. For example, upon receiving a write instruction from the host computer via the host connector socket 14, the flash controller 3 can operate to program a codeword into one or more flash memory devices 2 by performing a programming operation (and an erase operation when necessary) to store data in the SSD 15.

[0038] The flash memory controller 3 includes a data storage module 4, a state module 5, a read module 6, a decode module 7, a write module 8, a control module 9, a neural processing module 10 and a minimum function module 11. The control module 9 is coupled to the data storage module 4, the state module 5, the read module 6, the decode module 7, the write module 8, the minimum function module 11 and the neural processing module 10. The decoding module 7 is also coupled to the read module 6 and the state module 5. The state module 5 is also coupled to the data storage module 4, the read module 6, the write module 8 and the neural processing module 10. The read module 6 is also coupled to the data storage module 4, the neural processing module 10 and the minimum function module 11. The minimum function module 11 is also coupled to the data storage module 4, the state module 5, the control module 9 and the neural processing module 10. The neural processing module 10 is also coupled to the data storage module 4.

[0039] The data storage module 4 stores a configuration file 21 of the reliability state CNN model, a configuration file 22 of the RNN inference model, a reliability state label 23, and an optional TVSO-RC selection table 27. The optional TVSO-RC selection table 27 is coupled to the read module 6. The TVSO-RC selection table 27 includes one or more indexes and corresponding TVSO values ​​to be used to perform the read (e.g., an index corresponding to a block, a word line, and / or a page and an index corresponding to the number of P / E cycles and a TVSO value for each threshold voltage region required to perform the read).

[0040] One or more of the following items are stored in the SSD 15, or in the data storage module 4, the flash memory device 2, or the memory device 13: a configuration file 21 of the reliability status CNN model, a configuration file 22 of the RNN reasoning model, a reliability status label 23, a reliability status CNN selection table 24 and an RNN selection table 25, a P / E count table 26, and an optional TVSO-RC selection table 27. The neural processing module 10 is coupled to the data storage module 4 so that the configuration file 21 of the reliability status CNN model and the configuration file 22 of the RNN reasoning model can be loaded thereon.

[0041] In one example, neural processing module 10 includes a specialized hardware module (e.g., a specialized configurable accelerator) that is specifically configured to perform neural network operations, sometimes referred to as a neural network engine (e.g., a programmable logic circuit). Alternatively, neural processing module 10 may include a processor and software for performing neural network operations. In one example, flash controller 3 is operable to perform steps 101 to 102 by receiving test data indicating results from testing a representative flash memory device, and flash controller 3 is operable to construct a neural network model and an associated configuration file in steps 101 to 102.

[0042] The flash controller 3 is an integrated circuit device, and some or all of the modules 5 to 11 include circuits that may be dedicated circuits for performing operations, and some or all of the modules 5 to 11 may be firmware, which includes instructions executed on one or more processors for performing operations of the flash controller 3, wherein the instructions are stored in registers of one or more of the modules 5 to 11 and / or stored in the data storage module 4 or the memory device 13. Some or all of the modules 5 to 11 include processors for executing instructions, and the instructions are loaded into the flash controller 3 (e.g., through the host connector socket 14) prior to the operation of the flash controller 3. In one example, a firmware image is loaded into the flash controller 3 (e.g., through the host connector socket 14) prior to the operation of the flash controller 3, and the firmware image includes instructions to be executed by one or more of the modules 5 to 11.

[0043] The flash memory device 2 can be an SLC, MLC, TLC, QLC or PLC NAND device. In the present embodiment, the flash memory device 2 is capable of performing a wide range of threshold voltage offset reads, including but not limited to reads specified by integer TVSO values ​​(such as, -n, ..., -2, -1, 0, +1, +2, ..., n). Each flash memory device 2 can be a packaged semiconductor die or "chip" that is coupled to the flash controller 3 by a conductive path that couples instructions, data and other information between each flash memory device 2 and the flash controller 3. Upon receiving a write instruction from the host computer, the write module 8 is operable to encode the received data into a codeword that is sent to a specific flash memory device 2 together with a corresponding programming instruction. The flash memory device 2 is operable to execute the requested programming instruction by programming the cells of the flash memory device 2. In one example, each flash memory device 2 includes NAND memory cells organized into blocks and pages, wherein each block is composed of NAND strings that share the same set of word lines. Each logical page is composed of cells belonging to the same word line. The number of logical pages within each logical block is typically a multiple of 16 (e.g., 64, 128). In the present embodiment, a logical page is the smallest addressable unit for reading from and writing to the NAND memory cells of each flash memory device 2, and a logical block is the smallest erasable unit. However, it should be understood that programming less than an entire logical page may be possible, depending on the structure of the NAND array. Although the flash memory device 2 is shown as a NAND device, it should be understood that the flash memory device 2 can be any type of memory device that uses a threshold voltage to read the memory cells of the flash memory device 2.

[0044] Re-reference Figure 1 , storing (103) a configuration file of the reliability state CNN model, a configuration file of the RNN inference model, and a label corresponding to each reliability state, which labels are hereinafter referred to as "reliability state labels". The data storage module 4 is configured to store the configuration file 21 of the reliability state CNN model generated in step 101, the configuration file 22 of the RNN inference model generated in step 102, and the reliability state label 23 for each reliability state in the reliability state of the reliability state CNN model 21.

[0045] The reliability status CNN model, the RNN inference model, and the reliability status label 23 can be created using the same computing system used to perform the test of the representative semiconductor device, and can then be downloaded and installed into the SSD 15 before the SSD 15 is delivered to the customer. Alternatively, the SSD 15 is operable to perform some or all of steps 101 to 102 to generate a reliability status label 23 configuration file for the reliability status CNN model 21 and the RNN inference model 22.

[0046] In one example, configuration files 21, 22, and a reliability status tag 23 are initially stored in a memory device 13 and / or on one or more flash memory devices 2, and the configuration file 21 of the reliability status CNN model, the configuration file 22 of the RNN inference model, and the reliability status tag 23 are loaded into the data storage module 4 when the flash controller 3 is started or when required for operation of the flash controller 3.

[0047] Monitor (104) the operation of the flash memory device 2 to identify the current P / E cycle count of the flash memory device 2. In one example, the state module 5 is operable to monitor the operation of each flash memory device 2 to identify the P / E cycle count of the flash memory device 2. The determined P / E cycle count may be identified by a counter of the state module 5, and the value of the counter may sometimes be stored (e.g., as a table) in the data storage module 4, the flash memory device 2, or the memory device 13 (e.g., stored in the flash memory device 2 when the flash controller 3 and / or SSD 15 is powered off or in a low power mode, and loaded into the data storage module 4 and / or the memory device 13 when the flash controller 3 is started or needed). In one example, the current P / E cycle count of the block of the flash memory device to be read in step 112 is stored in the P / E count table 26.

[0048] The reliability state CNN model corresponding to the current P / E cycle number is selected (105). In one example, the reliability state CNN selection table 24 indicates the P / E cycle number and a corresponding value or pointer for identifying a specific CNN model to be used. The state module 5 is operable to determine the current P / E cycle number of the block containing the page to be read in step 112.

[0049] The selected reliability state CNN model is one of the reliability state CNN models stored that is associated with (and trained using) a specific P / E cycle value range that includes the current P / E cycle number. For example, if the current P / E cycle number is 500, and a first reliability state CNN model is created using a training record of a test of an exemplary flash memory device corresponding to a first P / E cycle range (e.g., 0 to 1,000 P / E cycles), the first reliability state CNN model is selected. In one example, the reliability state CNN selection table 24 indicates a corresponding index of a P / E cycle number and a location of a configuration file 21 identifying a corresponding reliability state CNN model stored in a memory, and a lookup operation is performed on the reliability state CNN selection table 24 using the current P / E cycle number identified in step 104 to identify the location in the memory where the identified reliability state CNN model is stored.

[0050] A neural network operation of the selected reliability state CNN is performed (106) to identify a predicted reliability state. Figure 6 In the example, the control module 9 is operable to load the configuration file 21 of the selected reliability state CNN model into the neural processing module 10 to form a reliability state CNN core. The control module 9 or other circuits of the flash controller 3 couple the input required for the neural network operation (e.g., the feature input vector) to the reliability state CNN core in the neural processing module 10, and the neural processing module 10 performs the neural network operation on the reliability state CNN core.

[0051] exist Figure 4A In the example shown, the control module 9 is operable to receive an output from the output neuron 45a and identify a predicted reliability state in response to the output. In one example, a value of 1 output by the output neuron 45a indicates a first reliability state, a value of 2 output by the output neuron 45a indicates a second reliability state, and so on. Figure 4B In the example shown in , the control module 9 is operable to receive the output from the output neuron 48a and identify the predicted reliability state by identifying the reliability state corresponding to the output neuron 48a having the maximum value.

[0052] Identify (107) a label associated with the predicted reliability state, which may be referred to as a "reliability state label." In one example, the reliability state labels 23 are stored in the form of individual label values, comma-separated values, or in a label lookup table that contains an index corresponding to each reliability state and a reliability state label associated with a particular reliability state. When the reliability state labels 23 are stored in the lookup table, the reliability state label associated with the predicted reliability state can be identified by performing a lookup operation using an index (e.g., RSI) corresponding to the predicted reliability state. For example, if the output of the output neuron 45a is a value of 1, and if it corresponds to a first reliability state having a first reliability state label set, the first reliability state label set is identified in step 107. The identified reliability state label 23 can be coupled to the neural processing module 10 and stored in an input register of the neural processing module 10.

[0053] The reliability status tag 23 indicates the test parameters corresponding to each reliability status. In one embodiment, the reliability status tag includes a retention time tag (RTT) indicating a retention time value, a read disturbance tag (RDT) indicating a read disturbance value, and a temperature tag (TT) indicating a temperature value.

[0054] In one example, the retention time is divided into two ranges: 0 hours to 12 hours and 12 hours to 24 hours, and the RTT of each reliability state is the midpoint between these two values. The read disturbance is divided into two ranges: 0 to 100,000 disturbances and 100,000 to 200,000 disturbances, and the RDT of each reliability state is the midpoint between these two values. The temperature is divided into two ranges: 25 degrees Celsius to 40 degrees Celsius (℃) and 40℃ to 70℃, and the TT of each reliability state is the midpoint between these two values ​​(rounded to an integer). In this example, the following reliability state label corresponding to the first reliability state of the eight reliability states will be stored for the first reliability state CNN model (e.g., 0 to 1,000 P / E cycles), where the last number after the arrow is the RSI indicating the specific reliability state:

[0055] RTT=6h, RDT=50k, TT=33C→0

[0056] RTT=6h, RDT=50k, TT=55C→1

[0057] RTT=6h, RDT=150k, TT=33C→2

[0058] RTT=6h, RDT=150k, TT=55C→3

[0059] RTT=18h, RDT=50k, TT=33C→4

[0060] RTT=18h, RDT=50k, TT=55C→5

[0061] RTT=18h, RDT=150k, TT=33C→6

[0062] RTT=18h, RDT=150k, TT=55C→7

[0063] In this example, the second reliability state CNN model (e.g., 1,001 to 2,000 P / E cycles) is configured to identify one of eight reliability states (e.g., RSI 8 to RSI 15) and will include the following eight reliability state label sets:

[0064] RTT=6h, RDT=50k, TT=33C→8

[0065] RTT=6h, RDT=50k, TT=55C→9

[0066] RTT=6h, RDT=150k, TT=33C→10

[0067] RTT=6h, RDT=50k, TT=55C→11

[0068] RTT=18h, RDT=50k, TT=33C→12

[0069] RTT=18h, RDT=50k, TT=55C→13

[0070] RTT=18h, RDT=150k, TT=33C→14

[0071] RTT=18h, RDT=150k, TT=55C→15

[0072] Continuing with the above example: the third reliability state CNN model (e.g., 2001 to 3,000 P / E cycles) is also configured to identify one reliability state among eight reliability states (e.g., RSI 16 to RSI 23) and includes eight corresponding reliability state label sets; the fourth reliability state CNN model (e.g., 3001 to 4,000 P / E cycles) is configured to identify one reliability state among eight reliability states (e.g., RSI 24 to RSI 41) and includes another eight reliability state label sets; the fifth reliability state CNN model (e.g., 4001 to 5,000 P / E cycles) is configured to identify one reliability state among eight reliability states (e.g., RSI 32 to RSI 39) and includes another eight reliability state label sets; the sixth reliability state CNN model (e.g., 5001 to 6,000 P / E cycles) is configured to identify eight reliability states (e.g., RSI 40 to RSI 47) and will include eight additional reliability state label sets; and the seventh reliability state CNN model (e.g., 6001 to 7,000 P / E cycles) is configured to identify one of the eight reliability states (e.g., RSI 48 to RSI 56).

[0073] Selecting (108) an RNN inference model that corresponds to the predicted reliability state and one of the TVSO regions required to read the flash memory device 2. Figure 6 In the example, the RNN selection table 25 stored in the data storage module 4 includes a value corresponding to each reliability state, a value corresponding to each TVSO region required to read each flash memory device 2 (e.g., a TVSO region index), and a corresponding value or pointer for identifying a specific RNN inference model to be used. In one example, a lookup operation is performed on the RNN selection table 25 using the value corresponding to the predicted reliability state and the TVSO region index "1" to identify the RNN inference model to be used to predict the shape of the first threshold voltage region (TVSO1). In one example, the RNN selection table 25 includes values ​​corresponding to the reliability state and the TVSO region index, as well as a corresponding index for identifying the location where each RNN inference model is stored in the data storage module 4, and a lookup operation in the RNN selection table 25 is performed using the output at the output neuron 45a and the TVSO region index as input to identify the location where the corresponding RNN inference model is stored in the memory. In the example, the RNN selection table 25 includes a value corresponding to the reliability state and the TVSO region index, as well as a corresponding index for identifying the location where each RNN inference model is stored in the data storage module 4, and a lookup operation in the RNN selection table 25 is performed using the output at the output neuron 45a and the TVSO region index as input to identify the location where the corresponding RNN inference model is stored in the memory. Figure 4B In the illustrated embodiment, the value corresponding to the output neuron 48a having the maximum value (eg, RSI) is input into the RNN selection table 25 to identify the location in memory where the corresponding RNN inference model is stored.

[0074] A neural network operation of the stored RNN inference model is performed (109) to generate an output indicative of the shape of the TVS-RE curve. More specifically, a neural network operation of the RNN inference model selected in step 108 is performed. The input to the neural network operation includes the identified reliability state label 23 associated with the predicted reliability state.

[0075] The control module 9 or other circuitry of the flash controller 3 is operable to load the configuration file 22 of the selected RNN inference model into the neural processing module 10 to form an RNN inference core. The control module 9 or other circuitry of the flash controller 3 couples the inputs required for the neural network operation to the RNN inference core in the neural processing module 10. The inputs, which may be referred to as "feature vectors", specify the values ​​of the input neurons to be applied in the neural network operation. Figure 5A and Figure 5B In the example shown, the input (input feature vector) of the RNN inference model 50a includes one or more inputs corresponding to the page to be read, such as a WORDLINE INDEX indicating the page to be read in step 112 (which is input into the input neuron 51a), a BLOCK INDEX indicating the block to be read in step 112 (which is input into the input neuron 51b), and a PAGE INDEX indicating the page to be read in step 112 (which is input into the input neuron 51c). The input also includes the reliability state label identified in step 107, which includes the RTT input into the input neuron 51d, the RDT input into the input neuron 51e, and the TT input into the input neuron 51f. The current P / E cycle number (for the page read in step 112) identified in step 104 is input into the input neuron 51g. The neural network operation is executed by the neural processing module 10 on the loaded RNN inference core to indicate the shape of the TVS-RE curve corresponding to the identified current reliability state label 23.

[0076] The output neuron 55a generates an output in the form of coefficient values ​​that indicate the shape of the TVS-RE curve. An exemplary output of the RNN inference model 50a is shown as including six coefficients, shown as a first coefficient, a second coefficient, a third coefficient, a fourth coefficient, a fifth coefficient, and a sixth coefficient. It should be understood that the RNN inference model 50a can have any number of coefficients, and the number of coefficients can be varied to achieve a balance between processing time and accuracy. Figure 5B In the example shown, output neuron 55b generates a value indicative of the amount of error at a location corresponding to the TVSO value, thereby indicating the shape of the TVS-RE curve.

[0077] Identify (110) a TVSO value that is close to a minimum of the generated TVS-RE curve. In one example, the minimum function module 11 is configured to determine a minimum of the generated TVS-RE curve, and to identify a TVSO value that is close to the determined minimum. It should be understood that the identified "minimum" will not be an exact minimum because the minimum function module 11 may not have sufficient accuracy to identify the exact minimum. Therefore, the minimum function module 11 will identify a TVSO value that is close to the minimum. The minimum function module 11 may include software, hardware, and / or firmware that receives coefficients of the generated TVS-RE curve, identifies a minimum point of the curve, and outputs a TVSO value corresponding to the identified minimum point of the curve. When the output neuron 55a generates an output in the form of coefficients, such as Figure 5A As shown in , the minimum function module 11 includes an algorithm for identifying the location of the minimum value (e.g., the location on the x-axis), and the algorithm identifies the TVSO value close to the identified minimum point on the curve (e.g., the integer TVSO value closest to the identified minimum point on the curve). When the RNN model 50b is used, each output neuron 55b outputs a value indicating the magnitude of the error amount at the location corresponding to the TVSO value. This indicates the shape of the TVS-RE curve. There is no need to identify the minimum point on the curve because each output neuron 55b indicates the prediction error when a specific TVSO value is used, and the minimum function module 11 only needs to identify which output neuron 55b generates the minimum output (minimum prediction error) to determine the TVSO value corresponding to the minimum value of the TVS-RE curve because it is known which TVSO value corresponds to each output neuron.

[0078] The process of steps 108 to 110 is repeated (111) to identify the TVSO value, which may be referred to as the TVSO-RC value, for each TVSO region required to read the flash memory device. Thus, for each TVSO region required to read the flash memory device, multiple neural network operations are performed (each neural network operation is performed using a different selected RNN inference model), wherein all of these neural network operations use the same feature vector (a feature vector having the WORDLINE INDEX, BLOCKINDEX, and PAGE INDEX to be read and the RTT, RDT, and TT of the particular identified reliability state).

[0079] A read of the flash memory device is then performed (112) using the threshold voltage offset read at the identified TVSO-RC value identified in step 110. In one example, whenever a read instruction is received from a host computer, steps 104 to 112 are performed in response to receiving the read instruction. More specifically, steps 105 to 111 are performed in response to receiving a read instruction at the host connector socket 14 to identify the TVSO-RC value, and the read module 6 performs the read of step 112 using the TVSO-RC value identified in steps 105 to 111. In this example, the P / E cycle number identified in step 104 is the P / E cycle number of a particular location to be read in step 112, and may be the P / E cycle number of a block containing a word line to be read in step 112.

[0080] It has been discovered that the accuracy of the reading of step 112 can be improved (and the number of read errors reduced) by performing (121) a read (flash test read) with predetermined TVSO values ​​(TEST-READ-TVSO VALUES) and identifying (122) the number of errors in the flash test read, which may be referred to as current read errors (CR-ERROR). In this alternative example, the neural network operation of step 106 uses CR-ERROR and TEST-READ-TVSO VALUES as inputs.

[0081] In one embodiment, the process of steps 104 to 112 is performed periodically to generate TVSO-RC value sets stored in an optional TVSO-RC selection table 27. The TVSO-RC selection table 27 includes one or more indexes corresponding to each TVSO-RC value set (where each value set includes the TVSO-RC value required to perform a read). In this example, when the read of step 112 is to be performed, the one or more indexes are used to look up the corresponding TVSO value to be used in the read (e.g., using the word line index, block index, page index, and the current P / E cycle number of the page to be read). It should be understood that in addition to the value used to identify the word line / block / page to be read, only the P / E cycle number is required, and the retention time, read disturbance, and temperature of the flash memory device 2 do not need to be tracked or used for lookup because the input vector for each neural network operation includes an associated label rather than the actual current calculated value as used in the prior art process.

[0082] Since the neural network model inputs for read disturbance, retention time, and cycle temperature are stored reliability status labels (e.g., reliability status label 23), and the stored label values ​​do not change as the flash memory device 2 ages, there is no need to count and maintain a persistence table indicating the number of reads for each block or word line, there is no need to count and maintain a persistence table indicating the retention time for each block or word line, and there is no need to identify and maintain a persistence table indicating the temperature cycle for each block or word line.

[0083] The method and apparatus of the present invention models multiple factors that affect UBER and indicates the shape of a TVS-RE curve that accurately reflects the physical characteristics of the location to be read, the structural characteristics of the location to be read (e.g., word lines and blocks to be read), the current age / physical degradation of the location to be read (e.g., number of P / E cycles), and the current temporal characteristics of the location to be read (e.g., closed block read disturbance and closed block retention time). Therefore, the TVSO value generated corresponding to the minimum value of the TVS-RE curve will be the appropriate TVSO value for performing a read.

[0084] In addition, in this specification, for explanation, many specific details are set forth in order to provide a thorough understanding of the present invention. However, it is apparent to those of ordinary skill in the art that the present invention can be practiced without these specific details. In some cases, in order to avoid blurring the present invention, well-known structures and devices are shown in block diagram form rather than in detail. These embodiments are described in sufficient detail to enable those of ordinary skill in the art to practice the present invention, and it should be understood that other embodiments may be utilized without departing from the scope of the present invention, and logical, mechanical, electrical and other changes may be made.

Claims

1. A method for reading a flash memory device, the method comprising: Storing configuration files of multiple reliability state classification neural network (CNN) models, configuration files of multiple recurrent neural network (RNN) inference models, and multiple reliability state label sets, each reliability state label set is associated with one reliability state in the multiple reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a programming / erase P / E cycle range; monitoring operation of the flash memory device to identify a current P / E cycle count of the flash memory device; selecting one of the reliability state CNN models associated with the P / E cycle range corresponding to the current P / E cycle number; executing a neural network operation of the selected reliability state CNN model at the flash memory controller to identify a predicted reliability state; identifying the set of reliability state labels associated with the predicted reliability state; selecting one of the plurality of RNN inference models corresponding to the predicted reliability state; executing a neural network operation of the selected RNN inference model at the flash memory controller, the neural network operation using the identified reliability state label as an input to generate an output indicative of a shape of a threshold voltage shift read error (TVS-RE) curve; Identify the threshold voltage offset compensated TVSO value close to the minimum of the TVS-RE curve, wherein, in the case where the output indicative of the shape of the TVS-RE curve comprises a plurality of coefficients of the TVS-RE curve, the identifying a TVSO value close to a minimum value of the TVS-RE curve comprises performing a minimum function on the coefficients, wherein, in a case where the output indicative of the shape of the TVS-RE curve comprises output values ​​indicative of errors corresponding to different TVSO values, the identifying a TVSO value close to a minimum value of the TVS-RE curve comprises identifying the output value indicative of a minimum error; Repeating said selecting one of said RNN inference models, said executing said neural network operation of said selected RNN inference model, and said identifying TVSO values ​​of all threshold voltage regions required to read said flash memory device; and A read of the flash memory device is performed using a threshold voltage shift read at the identified TVSO value.

2. The method according to claim 1, wherein: The set of reliability state tags associated with the predicted reliability state includes a retention time tag indicating a retention time value, a read disturb tag indicating a read disturb value, and a temperature tag indicating a temperature value.

3. The method according to claim 1, wherein: The neural network operation of executing the identified reliability state CNN model to identify the predicted reliability state uses the word line index and the block index as inputs to the neural network operation.

4. The method according to claim 1, wherein: The neural network operation executing the identified reliability state CNN model uses a word line index, a block index, and a page index as inputs to the neural network operation.

5. The method according to claim 1, wherein: The neural network operation executing the selected RNN inference model uses a wordline index, a block index, a page index, a retention time tag, a read disturb tag, and a temperature tag as inputs to the neural network operation.

6. The method according to claim 1, further comprising: The multiple RNN inference models are generated, and each of the RNN inference models is used to perform a recurrent neural network operation to identify coefficients of the TVS-RE curve.

7. The method according to claim 1, further comprising: The multiple reliability status CNN models are generated, each of the multiple reliability status CNN models being generated using data records corresponding to a different P / E cycle range.

8. A flash memory controller, the flash memory controller comprising: A data storage module, the data storage module is used to store configuration files of multiple reliability state classification neural network CNN models, configuration files of multiple recurrent neural network RNN ​​inference models, and multiple reliability state label sets, each reliability state label set is associated with one reliability state in the multiple reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a program / erase P / E cycle range; A status module, the status module is used to identify the current P / E cycle number; A neural processing module is coupled to the data storage module and to the control module, and is used to: executing a neural network operation of one of the stored reliability state CNN models associated with the P / E cycle range corresponding to the current P / E cycle number to identify a predicted reliability state; as well as executing neural network operations of the RNN inference model corresponding to the predicted reliability state, each neural network operation using as input the set of reliability state labels associated with the predicted reliability state to generate an output indicating the shape of a TVS-RE curve for all threshold voltage regions required to read a flash memory device; a minimum function module for identifying TVSO values ​​of all threshold voltage regions required to read the flash memory device, each of the identified TVSO values ​​being close to a minimum value of one of the TVS-RE curves; and A read module is configured to perform a read of the flash memory device by sending a threshold voltage offset read instruction including the identified TVSO value to the flash memory device.

9. The flash memory controller according to claim 8, wherein: The inputs to the neural network operations for the reliability status CNN model and the inputs to the neural network operations for the stored RNN inference model include a word line index and a block index.

10. The flash memory controller according to claim 8, wherein: The inputs to the neural network operations for the reliability status CNN model and the inputs to the neural network operations for the stored RNN inference model include a word line index, a block index, and a page index.

11. The flash memory controller according to claim 8, wherein: The inputs to the neural network operation for the RNN inference model include a word line index, a block index, a page index, a retention time tag, a read disturb tag, and a temperature tag.

12. A solid state drive (SSD), comprising: Flash memory devices; A flash memory controller coupled to the flash memory device, the flash memory controller comprising: A data storage module, the data storage module is used to store configuration files of multiple reliability state classification neural network CNN models, configuration files of multiple recurrent neural network RNN ​​inference models, and multiple reliability state label sets, each reliability state label set is associated with one reliability state in the multiple reliability states, and each reliability state CNN model in the reliability state CNN model is associated with a program / erase P / E cycle range; A status module, the status module is used to identify the current P / E cycle number; A neural processing module is coupled to the data storage module and to the control module, and is used to: executing a neural network operation of one of the stored reliability state CNN models associated with the P / E cycle range corresponding to the current P / E cycle number to identify a predicted reliability state; and executing neural network operations of the RNN inference model corresponding to the predicted reliability state, each neural network operation using as input the set of reliability state labels associated with the predicted reliability state to generate an output indicating the shape of a TVS-RE curve for all threshold voltage regions required to read the flash memory device; a minimum function module for identifying TVSO values ​​of all threshold voltage regions required to read the flash memory device, each of the identified TVSO values ​​being close to a minimum value of one of the TVS-RE curves; and A read module is configured to perform a read of the flash memory device by sending a threshold voltage offset read instruction including the identified TVSO value to the flash memory device.

13. The SSD according to claim 12, wherein: The inputs to the neural network operations for the reliability status CNN model and the inputs to the neural network operations for the stored RNN inference model include a word line index and a block index.

14. The SSD according to claim 12, wherein: The inputs to the neural network operations for the reliability status CNN model and the inputs to the neural network operations for the stored RNN inference model include a word line index, a block index, and a page index.

15. The SSD according to claim 12, wherein: The inputs to the neural network operation for the RNN inference model include a word line index, a block index, a page index, a retention time tag, a read disturb tag, and a temperature tag.

Citation Information

Cited By

  • Memory device and operation method thereof

    TWI943608B