At least some embodiments disclosed herein relate to memory systems in general, and more particularly, but not limited to memory systems having self adapting iterative calibrations for reading data from memory cells in an integrated circuit memory device.
A memory sub-system can include one or more memory devices that store data. The memory devices can be, for example, non-volatile memory devices and volatile memory devices. In general, a host system can utilize a memory sub-system to store data at the memory devices and to retrieve data from the memory devices.
The embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements.
At least some aspects of the present disclosure are directed to a memory sub-system having a calibration manager configured to adaptively calibrate multiple optimized read voltages for reading a group of memory cells. A memory sub-system can be a storage device, a memory module, or a hybrid of a storage device and memory module. Examples of storage devices and memory modules are described below in conjunction with
An integrated circuit memory cell (e.g., a flash memory cell) can be programmed to store data by the way of its state at a threshold voltage. For example, if the memory cell is configured/programmed in a state that allows a substantial current to pass the memory cell at the threshold voltage, the memory cell is storing a bit of one; and otherwise, the memory cell is storing a bit of zero. Further, a memory cell can store multiple bits of data by being configured/programmed differently at multiple threshold voltages. For example, the memory cell can store multiple bits of data by having a combination of states at the multiple threshold voltages; and different combinations of the states of the memory cell at the threshold voltages can be interpreted to represent different states of bits of data that is stored in the memory cell.
However, after the states of integrated circuit memory cells are configured/programmed using write operations to store data in the memory cells, the optimized threshold voltage for reading the memory cells can shift due to a number of factors, such as charge loss, read disturb, cross-temperature effect (e.g., write and read at different operating temperatures), etc., especially when a memory cell is programmed to store multiple bits of data.
Conventional calibration circuitry has been used to self-calibrate a memory region in applying read level signals to account for shift of threshold voltages of memory cells within the memory region. During the calibration, the calibration circuitry is configured to apply different test signals to the memory region to count the numbers of memory cells that output a specified data state for the test signals. Based on the counts, the calibration circuitry determines a read level offset value as a response to a calibration command.
The test signals can be generated in the vicinity of the expected location of the optimized signal for reading the memory cells. However, when the initial estimation of the expected location of the optimized signal is too far away for the actual location of the optimized signal, the test signals may not be in the vicinity of the location of the optimized signal. Thus, calibration performed based on such test signals, determined based on the expected/estimated location of the optimized signal, may identify the optimized signal with poor precision, or fail to identify the optimized signal.
At least some aspects of the present disclosure address the above and other deficiencies by adaptively and/or iteratively improving the estimation of the locations of higher optimized read voltages based on the calibration of lower optimized read voltages for reading a group of memory cells that are programmed to be read using multiple read voltages.
For example, a memory cell programmed to store multiple bits of data is to be read using multiple read voltages to determine the states of the memory cells at the read voltages and thus the multiple bits stored in the memory cell. The optimized read voltages for reading the multiple states can shift due to data retention effects, such as Quick Charge Loss (QCL), Storage Charge Loss (SCL), etc., and/or other effects. Over a period of time, the optimized read voltages can shift in a same direction (e.g., towards lower voltages, or towards higher voltages). In general, different optimized read voltages can shift by different amounts, where the higher ones in the optimized read voltages may shift more than the lower ones in the optimized read voltages.
A predictive model can be used to predict the shift of a higher optimized read voltage based on the shift(s) of one or more lower optimized read voltages. Thus, once the lower optimized read voltages are determined through calibration, the shift of an optimized read voltage higher than the lower optimized read voltages can be predicted/estimated to correct the initial estimation of the expected location of the higher optimized read voltage. Using the corrected estimation, the calibration for the higher optimized read voltage can be performed to identify an optimized read voltage with improved precision and/or to avoid a failure in calibration.
A memory sub-system 110 can be a storage device, a memory module, or a hybrid of a storage device and memory module. Examples of a storage device include a solid-state drive (SSD), a flash drive, a universal serial bus (USB) flash drive, an embedded Multi-Media Controller (eMMC) drive, a Universal Flash Storage (UFS) drive, a secure digital (SD) card, and a hard disk drive (HDD). Examples of memory modules include a dual in-line memory module (DIMM), a small outline DIMM (SO-DIMM), and various types of non-volatile dual in-line memory module (NVDIMM).
The computing system 100 can be a computing device such as a desktop computer, laptop computer, network server, mobile device, a vehicle (e.g., airplane, drone, train, automobile, or other conveyance), Internet of Things (loT) enabled device, embedded computer (e.g., one included in a vehicle, industrial equipment, or a networked commercial device), or such computing device that includes memory and a processing device.
The computing system 100 can include a host system 120 that is coupled to one or more memory sub-systems 110.
The host system 120 can include a processor chipset (e.g., processing device 118) and a software stack executed by the processor chipset. The processor chipset can include one or more cores, one or more caches, a memory controller (e.g., controller 116) (e.g., NVDIMM controller), and a storage protocol controller (e.g., PCIe controller, SATA controller). The host system 120 uses the memory sub-system 110, for example, to write data to the memory sub-system 110 and read data from the memory sub-system 110.
The host system 120 can be coupled to the memory sub-system 110 via a physical host interface. Examples of a physical host interface include, but are not limited to, a serial advanced technology attachment (SATA) interface, a peripheral component interconnect express (PCIe) interface, universal serial bus (USB) interface, Fibre Channel, Serial Attached SCSI (SAS), a double data rate (DDR) memory bus, Small Computer System Interface (SCSI), a dual in-line memory module (DIMM) interface (e.g., DIMM socket interface that supports Double Data Rate (DDR)), Open NAND Flash Interface (ONFI), Double Data Rate (DDR), Low Power Double Data Rate (LPDDR), or any other interface. The physical host interface can be used to transmit data between the host system 120 and the memory sub-system 110. The host system 120 can further utilize an NVM Express (NVMe) interface to access components (e.g., memory devices 130) when the memory sub-system 110 is coupled with the host system 120 by the PCIe interface. The physical host interface can provide an interface for passing control, address, data, and other signals between the memory sub-system 110 and the host system 120.
The processing device 118 of the host system 120 can be, for example, a microprocessor, a central processing unit (CPU), a processing core of a processor, an execution unit, etc. In some instances, the controller 116 can be referred to as a memory controller, a memory management unit, and/or an initiator. In one example, the controller 116 controls the communications over a bus coupled between the host system 120 and the memory sub-system 110. In general, the controller 116 can send commands or requests to the memory sub-system 110 for desired access to memory devices 130,140. The controller 116 can further include interface circuitry to communicate with the memory sub-system 110. The interface circuitry can convert responses received from memory sub-system 110 into information for the host system 120.
The controller 116 of the host system 120 can communicate with controller 115 of the memory sub-system 110 to perform operations such as reading data, writing data, or erasing data at the memory devices 130,140 and other such operations. In some instances, the controller 116 is integrated within the same package of the processing device 118. In other instances, the controller 116 is separate from the package of the processing device 118. The controller 116 and/or the processing device 118 can include hardware such as one or more integrated circuits (ICs) and/or discrete components, a buffer memory, a cache memory, or a combination thereof. The controller 116 and/or the processing device 118 can be a microcontroller, special purpose logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or another suitable processor.
The memory devices 130, 140 can include any combination of the different types of non-volatile memory components and/or volatile memory components. The volatile memory devices (e.g., memory device 140) can be, but are not limited to, random access memory (RAM), such as dynamic random access memory (DRAM) and synchronous dynamic random access memory (SDRAM).
Some examples of non-volatile memory components include a negative-and (or, NOT AND) (NAND) type flash memory and write-in-place memory, such as three-dimensional cross-point (“3D cross-point”) memory. A cross-point array of non-volatile memory can perform bit storage based on a change of bulk resistance, in conjunction with a stackable cross-gridded data access array. Additionally, in contrast to many flash-based memories, cross-point non-volatile memory can perform a write in-place operation, where a non-volatile memory cell can be programmed without the non-volatile memory cell being previously erased. NAND type flash memory includes, for example, two-dimensional NAND (2D NAND) and three-dimensional NAND (3D NAND).
Each of the memory devices 130 can include one or more arrays of memory cells. One type of memory cell, for example, single level cells (SLC) can store one bit per cell. Other types of memory cells, such as multi-level cells (MLCs), triple level cells (TLCs), quad-level cells (QLCs), and penta-level cells (PLC) can store multiple bits per cell. In some embodiments, each of the memory devices 130 can include one or more arrays of memory cells such as SLCs, MLCs, TLCs, QLCs, or any combination of such. In some embodiments, a particular memory device can include an SLC portion, and an MLC portion, a TLC portion, or a QLC portion of memory cells. The memory cells of the memory devices 130 can be grouped as pages that can refer to a logical unit of the memory device used to store data. With some types of memory (e.g., NAND), pages can be grouped to form blocks.
Although non-volatile memory devices such as 3D cross-point type and NAND type memory (e.g., 2D NAND, 3D NAND) are described, the memory device 130 can be based on any other type of non-volatile memory, such as read-only memory (ROM), phase change memory (PCM), self-selecting memory, other chalcogenide based memories, ferroelectric transistor random-access memory (FeTRAM), ferroelectric random access memory (FeRAM), magneto random access memory (MRAM), Spin Transfer Torque (STT)-MRAM, conductive bridging RAM (CBRAM), resistive random access memory (RRAM), oxide based RRAM (OxRAM), negative-or (NOR) flash memory, and electrically erasable programmable read-only memory (EEPROM).
A memory sub-system controller 115 (or controller 115 for simplicity) can communicate with the memory devices 130 to perform operations such as reading data, writing data, or erasing data at the memory devices 130 and other such operations (e.g., in response to commands scheduled on a command bus by controller 116). The controller 115 can include hardware such as one or more integrated circuits (ICs) and/or discrete components, a buffer memory, or a combination thereof. The hardware can include digital circuitry with dedicated (i.e., hard-coded) logic to perform the operations described herein. The controller 115 can be a microcontroller, special purpose logic circuitry (e.g., a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.), or another suitable processor.
The controller 115 can include a processing device 117 (processor) configured to execute instructions stored in a local memory 119. In the illustrated example, the local memory 119 of the controller 115 includes an embedded memory configured to store instructions for performing various processes, operations, logic flows, and routines that control operation of the memory sub-system 110, including handling communications between the memory sub-system 110 and the host system 120.
In some embodiments, the local memory 119 can include memory registers storing memory pointers, fetched data, etc. The local memory 119 can also include read-only memory (ROM) for storing micro-code. While the example memory sub-system 110 in
In general, the controller 115 can receive commands or operations from the host system 120 and can convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 130. The controller 115 can be responsible for other operations such as wear leveling operations, garbage collection operations, error detection and error-correcting code (ECC) operations, encryption operations, caching operations, and address translations between a logical address (e.g., logical block address (LBA), namespace) and a physical address (e.g., physical block address) that are associated with the memory devices 130. The controller 115 can further include host interface circuitry to communicate with the host system 120 via the physical host interface. The host interface circuitry can convert the commands received from the host system into command instructions to access the memory devices 130 as well as convert responses associated with the memory devices 130 into information for the host system 120.
The memory sub-system 110 can also include additional circuitry or components that are not illustrated. In some embodiments, the memory sub-system 110 can include a cache or buffer (e.g., DRAM) and address circuitry (e.g., a row decoder and a column decoder) that can receive an address from the controller 115 and decode the address to access the memory devices 130.
In some embodiments, the memory devices 130 include local media controllers 150 that operate in conjunction with memory sub-system controller 115 to execute operations on one or more memory cells of the memory devices 130. An external controller (e.g., memory sub-system controller 115) can externally manage the memory device 130 (e.g., perform media management operations on the memory device 130). In some embodiments, a memory device 130 is a managed memory device, which is a raw memory device combined with a local controller (e.g., local controller 150) for media management within the same memory device package. An example of a managed memory device is a managed NAND (MNAND) device.
The controller 115 and/or a memory device 130 can include a calibration manager 113 configured to predict/estimate the locations of higher optimized read voltages based on calibrated locations of one or more lower optimized read voltages and calibrate the higher optimized read voltages based on the predicted/estimated locations. Alternatively, lower optimized read voltages can be predicted/estimated based on calibrated locations of one or more higher optimized read voltages. In some embodiments, the controller 115 in the memory sub-system 110 includes at least a portion of the calibration manager 113. In other embodiments, or in combination, the controller 116 and/or the processing device 118 in the host system 120 includes at least a portion of the calibration manager 113. For example, the controller 115, the controller 116, and/or the processing device 118 can include logic circuitry implementing the calibration manager 113. For example, the controller 115, or the processing device 118 (processor) of the host system 120, can be configured to execute instructions stored in memory for performing the operations of the calibration manager 113 described herein. In some embodiments, the calibration manager 113 is implemented in an integrated circuit chip disposed in the memory sub-system 110. In other embodiments, the calibration manager 113 can be part of firmware of the memory sub-system 110, an operating system of the host system 120, a device driver, or an application, or any combination therein.
The calibration manager 113 can receive signal and noise characteristics measured for one or more lower optimized read voltages of the memory cells in the memory device 130 and process the signal and noise characteristics to predict an improved estimation of the location of an optimized read voltage of the memory cells, which is higher than the one or more lower optimized read voltages. For example, the amount of adjustment from initial estimated read voltage to a lower optimized read voltage can be used as an indicator of where to adjust the initial estimate for the calibration of the next read voltage.
For example, a controller 115 of the memory sub-system 110 can initially identify the expected/estimated/predicted locations of the multiple optimized read voltages for reading the states of each memory cell in a group for executing a read command. In response to the read command, the calibration manager 113 causes the memory device 130 to calibrate the lowest one of the multiple optimized read voltages first, using the expected/estimated/predicted location of the lowest optimized read voltage initially identified by the controller 115. The calibration results in the identification of an optimized location of the lowest optimized read voltage, which can have an offset or shift from the expected/estimated/predicted location of the lowest optimized read voltage. The offset or shift of the lowest optimized read voltage can be used to predict/estimate the offset or shift of the second lowest optimized read voltage, and thus improve or correct the expected/estimated/predicted location of the second lowest optimized read voltage. The improved or corrected location for the estimation of the second lowest optimized read voltage can be used in its calibration, which results in the identification of an optimized location of the second lowest optimized read voltage. Subsequently, a further higher optimized read voltage of the memory cells can be calibrated using an improved or corrected location determined from its initial estimated identified by the controller 115 and one or more offsets/shifts of one or more optimized read voltages as calibrated from their initial estimations. Thus, the higher optimized read voltages of a memory cell can be iteratively and adaptively calibrated based on the results of the lower optimized read voltages of the memory cell.
The integrated circuit memory device 130 can be enclosed in a single integrated circuit package. The integrated circuit memory device 130 includes multiple groups 131, . . . , 133 of memory cells that can be formed in one or more integrated circuit dies. A typical memory cell in a group 131, . . . , 133 can be programmed to store one or more bits of data.
Some of the memory cells in the integrated circuit memory device 130 can be configured to be operated together for a particular type of operations. For example, memory cells on an integrated circuit die can be organized in planes, blocks, and pages. A plane contains multiple blocks; a block contains multiple pages; and a page can have multiple strings of memory cells. For example, an integrated circuit die can be the smallest unit that can independently execute commands or report status; identical, concurrent operations can be executed in parallel on multiple planes in an integrated circuit die; a block can be the smallest unit to perform an erase operation; and a page can be the smallest unit to perform a data program operation (to write data into memory cells). Each string has its memory cells connected to a common bitline; and the control gates of the memory cells at the same positions in the strings in a block or page are connected to a common wordline. Control signals can be applied to wordlines and bitlines to address the individual memory cells.
The integrated circuit memory device 130 has a communication interface 147 to receive an address 135 from the controller 115 of a memory sub-system 110 and to provide the data 137 retrieved from the memory address 135. An address decoder 141 of the integrated circuit memory device 130 converts the address 135 into control signals to select the memory cells in the integrated circuit memory device 130; and a read/write circuit 143 of the integrated circuit memory device 130 performs operations to determine data stored in the addressed memory cells or to program the memory cells to have states corresponding to storing the data 137.
The integrated circuit memory device 130 has a calibration circuit 145 configured to determine measurements of signal and noise characteristics 139 of memory cells in a group (e.g., 131, . . . , or 133) and provide the signal and noise characteristics 139 to the controller 115 of a memory sub-system 110 via the communication interface 147.
In at least some embodiments, the calibration circuit 145 also provides, to the controller 115 via the communication interface 147, the signal and noise characteristics 139 measured to determine the read level offset value. In some embodiments, the read level offset value can be used to understand, quantify, or estimate the signal and noise characteristics 139. In other embodiments, the statistics of memory cells in a group or region that has a particular state at one or more test voltages can be provided as the signal and noise characteristics 139.
For example, the calibration circuit 145 can measure the signal and noise characteristics 139 by reading different responses from the memory cells in a group (e.g., 131, . . . , 133) by varying operating parameters used to read the memory cells, such as the voltage(s) applied during an operation to read data from memory cells.
For example, the calibration circuit 145 can measure the signal and noise characteristics 139 on the fly when executing a command to read the data 137 from the address 135. Since the signal and noise characteristics 139 are measured as part of the operation to read the data 137 from the address 135, the signal and noise characteristics 139 can be used in the calibration manager 113 with reduced or no penalty on the latency in the execution of the command to read the data 137 from the address 135.
The calibration manager 113 of the memory sub-system 110 is configured to use the signal and noise characteristics 139, measured during calibration of one or more lower optimized read voltages of a group of memory cells (e.g., 131 or 133), to identify an estimated location of a higher optimized read voltage and thus improve the calibration operation performed for the higher optimized read voltage.
For example, the calibration manager 113 can use a predictive model, trained via machine learning or established via an empirical formula, to predict the location of the higher optimized read voltage. The predication can be based on an initial estimation of the location of the higher optimized read voltage, the initial estimation(s) of the location of the one or more lower optimized read voltages, and the calibrated locations of the one or more lower optimized read voltages, where the calibrated locations of the one or more lower optimized read voltages are determined from the signal and noise characteristics 139 measured during the calibration of the one or more lower optimized read voltages. The prediction can be used in the calibration of the higher optimized read voltage, during which further signal and noise characteristics 139 can be measured in the vicinity of the predicted location to identify a calibrated location of the higher optimized read voltage. The result of the calibration of the higher optimized read voltage can be further used in the calibration of even further higher optimized read voltage iteratively.
In
As a result of the different voltages applied during the read operation, a same memory cell in the group (e.g., 131, . . . , or 133) may show different states. Thus, the counts CA, CB, CC, CD, and CE of memory cells having a predetermined state at different read voltages VA, VB, VC, VD, and VE can be different in general. The predetermined state can be a state of having substantial current passing through the memory cells, or a state of having no substantial current passing through the memory cells. The counts CA, CB, CC, CD, and CE can be referred to as bit counts.
The calibration circuit 145 can measure the bit counts by applying the read voltages VA, VB, VC, VD, and VE one at a time on the group (e.g., 131, . . . , or 133) of memory cells.
Alternatively, the group (e.g., 131, . . . , or 133) of memory cells can be configured as multiple subgroups; and the calibration circuit 145 can measure the bit counts of the subgroups in parallel by applying the read voltages VA, VB, VC, VD, and VE. The bit counts of the subgroups are considered as representative of the bit counts in the entire group (e.g., 131, . . . , or 133). Thus, the time duration of obtaining the counts CA, CB, CC, CD, and CE can be reduced.
In some embodiments, the bit counts CA, CB, CC, CD, and CE are measured during the execution of a command to read the data 137 from the address 135 that is mapped to one or more memory cells in the group (e.g., 131, . . . , or 133). Thus, the controller 115 does not need to send a separate command to request for the signal and noise characteristics 139 that is based on the bit counts CA, CB, CC, CD, and CE.
The differences between the bit counts of the adjacent voltages are indicative of the errors in reading the states of the memory cells in the group (e.g., 133, . . . , or 133).
For example, the count difference DA is calculated from CA−CB, which is an indication of read threshold error introduced by changing the read voltage from VA to VB.
Similarly, DB=CB−CC; DC=CC−CD; and DD=CD−CE.
The curve 157, obtained based on the count differences DA, DB, DC, and DD, represents the prediction of read threshold error E as a function of the read voltage. From the curve 157 (and/or the count differences), the optimized read voltage VO can be calculated as the point 153 that provides the lowest read threshold error DMIN on the curve 157.
In one embodiment, the calibration circuit 145 computes the optimized read voltage VO and causes the read/write circuit 143 to read the data 137 from the address 135 using the optimized read voltage VO.
Alternatively, the calibration circuit 145 can provide, via the communication interface 147 to the controller 115 of the memory sub-system 110, the count differences DA, DB, DC, and DD and/or the optimized read voltage VO calculated by the calibration circuit 145.
For example, the controller 115 can instruct the memory device 130 to perform a read operation by providing an address 135 and at least one read control parameter. For example, the read control parameter can be a read voltage that is suggested, estimated, or predicted by the controller 115.
The memory device 130 can perform the read operation by determining the states of memory cells at the address 135 at a read voltage and provide the data 137 according to the determined states.
During the read operation, the calibration circuit 145 of the memory device 130 generates the signal and noise characteristics 139. The data 137 and the signal and noise characteristics 139 are provided from the memory device 130 to the controller 115 as a response. Alternatively, the processing of the signal and noise characteristics 139 can be performed at least in part using logic circuitry configured in the memory device 130. For example, the processing of the signal and noise characteristics 139 can be implemented partially or entirely using the processing logic configured in the memory device 130. For example, the processing logic can be implemented using Complementary metal-oxide-semiconductor (CMOS) circuitry formed under the array of memory cells on an integrated circuit die of the memory device 130. For example, the processing logic can be formed, within the integrated circuit package of the memory device 130, on a separate integrated circuit die that is connected to the integrated circuit die having the memory cells using Through-Silicon Vias (TSVS) and/or other connection techniques.
The signal and noise characteristics 139 can be determined based at least in part on the read control parameter. For example, when the read control parameter is a suggested read voltage for reading the memory cells at the address 135, the calibration circuit 145 can compute the read voltages VA, VB, VC, VO, and VE that are in the vicinity of the suggested read voltage.
The signal and noise characteristics 139 can include the bit counts CA, CB, CC, CD, and CE. Alternatively, or in combination, the signal and noise characteristics 139 can include the count differences DA, DB, DC, and DD.
Optionally, the calibration circuit 145 uses one method to compute an optimized read voltage VO from the count differences DA, DB, DC, and DD; and the controller 115 uses another different method to compute the optimized read voltage VO from the signal and noise characteristics 139 and optionally other data that is not available to the calibration circuit 145.
When the calibration circuit 145 can compute the optimized read voltage VO from the count differences DA, DB, DC, and DD generated during the read operation, the signal and noise characteristics can optionally include the optimized read voltage VO. Further, the memory device 130 can use the optimized read voltage VO in determining the hard bit data in the data 137 from the memory cells at the address 135. The soft bit data in the data 137 can be obtained by reading the memory cells with read voltages that are a predetermined offset away from the optimized read voltage VO. Alternatively, the memory device 130 uses the controller-specified read voltage provided in the read control parameter in reading the data 137.
The controller 115 can be configured with more processing power than the calibration circuit 145 of the integrated circuit memory device 130. Further, the controller 115 can have other signal and noise characteristics applicable to the memory cells in the group (e.g., 133, . . . , or 133). Thus, in general, the controller 115 can compute a more accurate estimation of the optimized read voltage VO (e.g., for a subsequent read operation, or for a retry of the read operation).
In general, it is not necessary for the calibration circuit 145 to provide the signal and noise characteristics 139 in the form of a distribution of bit counts over a set of read voltages, or in the form of a distribution of count differences over a set of read voltages. For example, the calibration circuit 145 can provide the optimized read voltage VO calculated by the calibration circuit 145, as signal and noise characteristics 139.
The calibration circuit 145 can be configured to generate the signal and noise characteristics 139 (e.g., the bit counts, or bit count differences) as a byproduct of a read operation. The generation of the signal and noise characteristics 139 can be implemented in the integrated circuit memory device 130 with little or no impact on the latency of the read operation in comparison with a typical read without the generation of the signal and noise characteristics 139. Thus, the calibration circuit 145 can determine signal and noise characteristics 139 efficiently as a byproduct of performing a read operation according to a command from the controller 115 of the memory sub-system 110.
In general, the calculation of the optimized read voltage VO can be performed within the memory device 130, or by a controller 115 of the memory sub-system 110 that receives the signal and noise characteristics 139 as part of enriched status response from the memory device 130.
The read threshold error distribution 157 can be measured using the technique illustrated in
When the group of memory cells (e.g., 131 or 133) is initially programmed, or recently calibrated, the locations of the optimized read voltages VO1, VO2, and VO3 are known. However, after a period of time, the locations of the optimized read voltages VO1, VO2, and VO3 can shift, e.g., due to Quick Charge Loss (QCL), Storage Charge Loss (SCL), etc.
The calibration technique of
To determine locations of the optimized read voltages that have shifted, the previously known locations of the optimized read voltages VO1, VO2, and VO3 can be used as estimated locations (e.g., VC) for the application of the calibration technique of
For example, the estimated shift Vt1 can be determined as the same as the measured shift VS1 in the lower optimized read voltage VO1 from its initial estimation VC1. An alternative empirical formula or predictive model can be used to calculate the estimated shift Vt1 of the higher optimized read voltage VO1 from at least the measured shift VS1 of the lower optimized read voltage VO2.
The estimated shift Vt1 determines the improved estimation VC2U of the location of the optimized read voltage VO2.
For example, the estimated shift Vt2 can be determined as the same as the measured shift VS2 in the lower optimized read voltage VO1 from its initial estimation VC2. Alternatively, the estimated shift Vt2 can be determined as a function of both the measured shift VS2 in the lower optimized read voltage VO1 from its initial estimation VC2 and the measured shift VS1 in the further lower optimized read voltage VO1 from its initial estimation VC1. An alternative empirical formula or predictive model can be used to calculate the estimated shift Vt2 of the higher optimized read voltage VO3 from at least the measured shift(s) (e.g., VS2 and/or VS1) of one or more lower optimized read voltages (e.g., VO2 and/or VS1).
The estimated shift Vt2 provides the improved estimation VC3U of the location of the optimized read voltage VO2.
As illustrated in
In general, the calibration manager 113 can be implemented in the memory device 130 and/or in the controller 115 of the memory sub-system 110. For example, a calibration manager 113 can be implemented in the memory device 130 and configured to iteratively determine the improved estimations (e.g., VC2U and VC3U) of the higher read voltages (e.g., VO2 and VO3) using the results of the calibrations of the lower read voltages (e.g., VO1 and VO2). The calibration manager 113 implemented in the memory device 130 can calibrate the multiple read voltages (e.g., VO1, VO2, VO3) in an atomic operation without communicating with the controller during the atomic operation.
Alternatively, a calibration manager 113 can be implemented in the controller 150. After the memory device 130 reports the calibration result of lower read voltages (e.g., VO1 and VO2) to the controller 150, the calibration manager 113 calculates the improved estimations (e.g., VC2U and VC3U) and communicates the improved estimations (e.g., VC2U and VC3U) to cause the memory device 130 to calibrate the higher read voltages (e.g., VO2 and VO3) using the improved estimations (e.g., VC2U and VC3U).
The calibration manager 113 implemented in the controller 115 can use not only the signal and noise characteristics 139 received from the memory device 130 for the data 137 but also other information that may not be available in the memory device 130, such as charge loss, read disturb, cross-temperature effect, program/erase, data retention, etc. The calibration manager 113 implemented in the controller 115 and the calibration manager 113 implemented in the memory device 130 can have different complexity, and/or different levels of accuracy in their predictions. The calibration manager 113 implemented in the controller 115 and the calibration manager 113 implemented in the memory device 130 can communicate with each other to collaboratively control the calibration operations performed by the calibration circuit 145. For example, the controller 115 can issue a command to the memory device 130 indicating a lot of charge loss, read disturb, cross-temperature effect, etc. in memory cells involved in a read operation thus allowing the calibration manager 113 implemented in the memory device 130 to adapt initial estimates of read voltages based on the knowledge of the states of the memory cells.
The processing logic of the calibration manager 113 can be implemented using Complementary metal-oxide-semiconductor (CMOS) circuitry formed under the array of memory cells on an integrated circuit die of the memory device 130. For example, the processing logic can be formed, within the integrated circuit package of the memory device 130, on a separate integrated circuit die that is connected to the integrated circuit die having the memory cells using Through-Silicon Vias (TSVS) and/or other connection techniques.
For example, the method of
At block 301, a memory device 130 determines first read voltages (e.g., VC1, VC2, VC3) of a group of memory cells (e.g., 131 or 133) in the memory device 130.
At block 303, a calibration circuit 145 of the memory device 130 measures first signal and noise characteristics 139 of the group of memory cells (e.g., 131 or 133) based on at least one of the first read voltages (e.g., VC1, VC2, VC3).
At block 305, the calibration circuit 145 of the memory device 130 calculates a second read voltage (e.g., VO1 or VO2) optimized to read the group of memory cells (e.g., 131 or 133) according to the first signal and noise characteristics 139.
At block 307, a calibration manager 113 estimates a third read voltage (e.g., VC2U or VC3U) based on an offset (e.g., VS1 or VS2) of the second read voltage (e.g., VO1 or VO2) from a corresponding voltage (e.g., VC1 or VC2) among the first read voltages (e.g., VC1, VC2, VC3).
For example, the third read voltage (e.g., VC2U or VC3U) can be estimated based on a further voltage (e.g., VC2 or VC3) among the first read voltages (e.g., VC1, VC2, VC3) and the offset (e.g., VS1 or VS2). The further voltage (e.g., VC2 or VC3) among the first read voltages (e.g., VC1, VC2, VC3) is higher than the corresponding voltage (e.g., VC1 or VC2) among the first read voltages (e.g., VC1, VC2, VC3) for which the second read voltage (e.g., VO1 or VO2) is calibrated/optimized.
At block 309, the calibration circuit 145 of the memory device 130 measures second signal and noise characteristics 139 of the group of memory cells (e.g., 131 or 133) based on the third read voltage (e.g., VC2U or VC3U).
For example, the measuring of the second signal and noise characteristics 139 can include: determining test voltages (e.g., VA2 to VE2; or VA3 to VE3) based on the third read voltage (e.g., VC2U or VC3U); and reading states of the group of the memory cells (e.g., 131 or 133) while the memory cells in the group (e.g., 131 or 133) are subjected to the test voltages (e.g., VA2 to VE2, or VA3 to VE3).
The second signal and noise characteristics 139 can include bit counts of memory cells in the group (e.g., 131 or 133) having a predetermined state (e.g., allowing a substantial current to pass through, or not allowing a substantial current to pass through) when the test voltages (e.g., VA2 to VE2, or VA3 to VE3) are applied to read the memory cells in the group (e.g., 131 or 133). The second signal and noise characteristics 139 can further include count differences among the counts obtained for adjacent/neighboring test voltages (e.g., VA2 to VE2, or VA3 to VE3).
At block 311, the calibration circuit 145 of the memory device 130 calculates a forth read voltage (e.g., VO2 or VO3) optimized to read the group of memory cells (e.g., 131 or 133) according to the second signal and noise characteristics 139.
For example, the fourth read voltage (e.g., VO2 or VO3) is calculated to be at a local minimum of a distribution 161 of the count differences as sampled at the test voltages (e.g., VA2 to VE2, or VA3 to VE3) near the third read voltage (e.g., VC2U or VC3U).
In general, the first read voltages (e.g., VC1, VC2, VC3) can include a first subset (e.g., VC1, VC2) having voltages that are no higher than the corresponding voltage (e.g., VC3) for the second read voltage (e.g., VO3). The calibration circuit 145 determines optimized read voltages (e.g., VO1, VO2) corresponding to voltages in the first subset through measuring signal and noise characteristics 139 of the group of memory cells (e.g., 131 or 133). The calibration manager 113 calculates offsets (e.g., VS1, VS2) between the optimized read voltages (e.g., VO1, VO2) and the voltages in the first subset (e.g., VC1, VC2) respectively. The calibration manager 113 estimates an offset (e.g., Vt2) from the further voltage (e.g., VC3) among the first read voltages (e.g., VC1, VC2, VC3) based on these offsets (e.g., VS1, VS2) between the optimized read voltages (e.g., VO1, VO2) and the respective voltages in the first subset (e.g., VC1, VC2).
The determining of the optimized read voltages (e.g., VO1, VO2) and calculating of the fourth read voltage (e.g., VO3) optimized to read the group of memory cells (e.g., 131 or 133) can be are in response to a command from a controller 115 of a memory sub-system 110 to the memory device 130.
For example, the command can specify the first read voltages (e.g., VC1, VC2, VC3) to request the memory device 130 to identify optimized read voltages (e.g., VO1, VO2, VO3), and/or the offsets (e.g., VS1, VS2, VS3).
For example, the command can specify the first read voltages (e.g., VC1, VC2, VC3) to request the memory device 130 to identify optimized read voltages (e.g., VO1, VO2, VO3) and retrieve the data from the group of memory cells (e.g., 131 or 133) using the optimized read voltages.
For example, in response to a command from the processing device 117 of the memory sub-system controller 115, the calibration circuit 145 is configured to iteratively calibrate multiple read voltages (e.g., VC1, VC2, VC3) of a group of memory cells (e.g., 131). Each respective read voltage (e.g., VC2) among the read voltages that is higher than at least one of the multiple read voltages (e.g., VC1) is calibrated based on a calibrated subset of read voltages (e.g., VO1) determined via measuring signal and noise characteristics 139 of the group of memory cells (e.g., 131).
For example, the processing device 117 can be configured to identify first read voltages (e.g., VC1, VC2, VC3) of the group of memory cells for the command; and the memory device 130 is configured to determine second read voltages (e.g., VO1, VO2, VO3) calibrated for the first read voltages (e.g., VC1, VC2, VC3) respectively in response to the command.
The calibration circuit 145 is configured to calculate each of the second read voltages (e.g., VO2) that is higher than at least one in the second read voltages (e.g., VO1) using signal and noise characteristics 139 of the group of memory cells measured by reading the group of memory cells using test voltages (e.g., VA2 to VE2) in vicinity of an estimate (e.g., VC2U) of an optimized read voltage (e.g., VO2) of the group of memory cells. The estimate (e.g., VC2U) of the optimized read voltage (e.g., VO2) is determined based on a corresponding one (e.g., VC2) in the first read voltages (e.g., VC1, VC2, VC3) and an estimated offset (e.g., Vt1). The estimated offset (e.g., Vt1) is calculated based on one or more measured offsets (e.g., VS1) between one or more of the first read voltages (e.g., VC1) and corresponding one or more of the second read voltages (e.g., VO1). The one or more of the first read voltages (e.g., VC1) for which the one or more measured offsets (e.g., VS1) are measured and used to calculate the estimated offset (e.g., Vt1) are lower than the corresponding one in the first read voltages (e.g., VC1) based on which the estimate (e.g., VC2U) of the optimized read voltage is determined.
For example, the estimated offset (e.g., Vt1) is calculated based on a model of read voltage shift resulting from data retention effects, such as Quick Charge Loss (QCL), or Storage Charge Loss (SCL), or any combination thereof.
A non-transitory computer storage medium can be used to store instructions of the firmware of a memory sub-system (e.g., 110). When the instructions are executed by the controller 115 and/or the processing device 117, the instructions cause the controller 115 and/or the processing device 117 to perform the methods discussed above.
The machine can be a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a server, a network router, a switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
The example computer system 400 includes a processing device 402, a main memory 404 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM), static random access memory (SRAM), etc.), and a data storage system 418, which communicate with each other via a bus 430 (which can include multiple buses).
Processing device 402 represents one or more general-purpose processing devices such as a microprocessor, a central processing unit, or the like. More particularly, the processing device can be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 402 can also be one or more special-purpose processing devices such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), network processor, or the like. The processing device 402 is configured to execute instructions 426 for performing the operations and steps discussed herein. The computer system 400 can further include a network interface device 408 to communicate over the network 420.
The data storage system 418 can include a machine-readable storage medium 424 (also known as a computer-readable medium) on which is stored one or more sets of instructions 426 or software embodying any one or more of the methodologies or functions described herein. The instructions 426 can also reside, completely or at least partially, within the main memory 404 and/or within the processing device 402 during execution thereof by the computer system 400, the main memory 404 and the processing device 402 also constituting machine-readable storage media. The machine-readable storage medium 424, data storage system 418, and/or main memory 404 can correspond to the memory sub-system 110 of
In one embodiment, the instructions 426 include instructions to implement functionality corresponding to a calibration manager 113 (e.g., the calibration manager 113 described with reference to
Some portions of the preceding detailed descriptions have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The present disclosure can refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage systems.
The present disclosure also relates to an apparatus for performing the operations herein. This apparatus can be specially constructed for the intended purposes, or it can include a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer readable storage medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.
The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems can be used with programs in accordance with the teachings herein, or it can prove convenient to construct a more specialized apparatus to perform the method. The structure for a variety of these systems will appear as set forth in the description below. In addition, the present disclosure is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages can be used to implement the teachings of the disclosure as described herein.
The present disclosure can be provided as a computer program product, or software, that can include a machine-readable medium having stored thereon instructions, which can be used to program a computer system (or other electronic devices) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). In some embodiments, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium such as a read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory components, etc.
In this description, various functions and operations are described as being performed by or caused by computer instructions to simplify description. However, those skilled in the art will recognize what is meant by such expressions is that the functions result from execution of the computer instructions by one or more controllers or processors, such as a microprocessor. Alternatively, or in combination, the functions and operations can be implemented using special purpose circuitry, with or without software instructions, such as using Application-Specific Integrated Circuit (ASIC) or Field-Programmable Gate Array (FPGA). Embodiments can be implemented using hardwired circuitry without software instructions, or in combination with software instructions. Thus, the techniques are limited neither to any specific combination of hardware circuitry and software, nor to any particular source for the instructions executed by the data processing system.
In the foregoing specification, embodiments of the disclosure have been described with reference to specific example embodiments thereof. It will be evident that various modifications can be made thereto without departing from the broader spirit and scope of embodiments of the disclosure as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.
The present application is a continuation application of U.S. patent application Ser. No. 17/350,425 filed Jun. 17, 2021, which is a continuation application of U.S. patent application Ser. No. 16/807,061 filed Mar. 2, 2020 and issued as U.S. Pat. No. 11,086,572 on Aug. 10, 2021, the entire disclosures of which applications are hereby incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 17350425 | Jun 2021 | US |
Child | 17848292 | US | |
Parent | 16807061 | Mar 2020 | US |
Child | 17350425 | US |