# US 10,956,064 B2 · Adjusting code rates to mitigate cross-temperature effects in a non-volatile memory (NVM)

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,064 B2
- Document ID: US10956064B2
- Status: Granted
- Kind: B2
- Application number: 16/456,809
- Filed: 2019-06-28
- Published: 2020-12-31
- Granted: 2021-03-23
- Earliest claimed: 2019-06-28
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Darshana H. Mehta; Kurt Walter Getreuer; Antoine Khoueir; Christopher Joseph Curl
- Web page: https://patentgrep.com/patent/US10956064B2

## CPC

- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 7/04: with means for avoiding disturbances due to temperature effects
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 16/3404: {Convergence or correction of memory cell threshold voltages; Repair or recovery of overerased or overprogrammed cells}
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- H03M 13/1102: {Codes on graphs and decoding on graphs, e.g. low-density parity check [LDPC] codes}
- H03M 13/2906: {using block codes (H03M13/2957 takes precedence)}
- H03M 13/353: {Adaptation to the channel}
- G11C 11/5621: {using charge storage in a floating gate}
- G11C 2216/14: Circuits or methods to write a page or sector of information simultaneously into a nonvolatile memory, typically a complete row or word line in flash memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Method and apparatus for managing data in a non-volatile memory (NVM) of a storage device, such as a solid-state drive (SSD). A circuit measures programming and reading temperatures for a set of memory cells in the NVM. Error rates are determined for each of the reading operations carried out upon the data stored in the memory cells. A code rate for the NVM is adjusted to maintain a selected error rate for the memory cells. The code rate is adjusted in relation to a cross-temperature differential (CTD) value exceeding a selected threshold. The code rate can include an inner code rate as a ratio of user data bits to the total number of user data bits and error correction code (ECC) bits in each code word written to the NVM, and/or an outer code rate as a strength or size of a parity value used to protect multiple code words.

## Claims

### Claim 1

A method comprising:
baselining cross-temperature differential (CTD) effects on different portions of non-volatile memory (NVM) cells by measuring a sequence of programming temperatures at which data are programmed to the different portions of the NVM cells and reading temperatures at which data are read from the different portions of the NVM cells;
tracking error rates for the NVM cells during each of the reading of the data from the NVM cells to determine that a first portion of the NVM cells is comparatively more sensitive to the CTD conditions and that a second portion of the NVM cells is comparatively less sensitive to the CTD conditions; and
adjusting the first portion of the NVM cells to a first adjusted error code rate and adjusting the second portion of the NVM cells to a different second adjusted error code rate to maintain a selected error rate in the first and second portions of the NVM cells responsive to a subsequent CTD value exceeding a selected threshold.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data are arranged as code words, each code word comprising a payload of user data bits and a corresponding number of code bits used to detect errors in the user data bits.

### Claim 3 (depends on 2)

The method of claim 2, wherein the code bits are characterized as LDPC (low density parity check) code bits that are processed by an LDPC decoder to return the originally stored user data bits.

### Claim 4 (depends on 2)

The method of claim 2, wherein the code rate is adjusted by increasing a ratio of the code bits to the first portion of the NVM cells and by decreasing the ratio of the code bits to the user data bits for the second portion of the NVM cells.

### Claim 5 (depends on 1)

The method of claim 1, wherein at least one of the code rates adjusted during the adjusting step is an inner code rate of code words written to the NVM cells.

### Claim 6 (depends on 1)

The method of claim 1, wherein at least one of the code rates adjusted during the adjusting step is an outer code rate of a parity value of a parity set of code words written across multiple dies of the NVM cells.

### Claim 7 (depends on 1)

The method of claim 1, wherein the NVM cells store data in the form of pages, and the code rates are adjusted during the adjusting step at a page level.

### Claim 8 (depends on 1)

The method of claim 1, wherein the NVM cells are characterized as a flash memory.

### Claim 9 (depends on 1)

The method of claim 1, wherein the NVM cells are arranged into a plurality of namespaces in accordance with the Non-Volatile Memory Express (NVMe) Standard, and wherein different code rates are applied to the data stored in the different ones of the plurality of namespaces responsive to a user input associated with an owner of each namespace.

### Claim 10

An apparatus comprising:
a non-volatile memory (NVM) comprising solid-state memory cells;
a read/write circuit configured to program the memory cells with data bits and to subsequently read the data bits from the memory cells;
a tracking circuit configured to measure error rates for the memory cells during each of the reading of the data from the memory cells, to baseline cross-temperature differential (CTD) effects on different portions of the memory cells by measuring temperatures of the different portions of the memory cells during both the programming of the different portions of the memory cells and the reading of the different portions of the memory cells and to determine that a first portion of the memory cells is comparatively more sensitive to the CTD effects and that a second portion of the memory cells is comparatively less sensitive to the CTD effects; and
a code word management circuit configured to adjust the first portion of the memory cells to a first adjusted error code rate and to adjust the second portion of the memory cells to a different second adjusted error code rate to maintain a selected error rate in the first and second portions of the memory cells responsive to a subsequent cross-temperature differential (CTD) value exceeding a selected threshold.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein at least one of the first and second adjusted code rates is an inner code rate of code words written to the NVM so that the data programmed by the read/write circuit comprises a higher proportion of code bits to user data bits in each of the code words written to the NVM.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein at least one of the first and second adjusted code rates is an outer code rate of a parity value of a parity set of code words written across multiple dies of the NVM.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the NVM stores data in the form of pages, and the code rates are adjusted at a page level.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the NVM is characterized as a flash memory.

### Claim 15

A solid-state drive, comprising:
a flash memory comprising an array of flash memory cells;
a write circuit configured to write pages of data to each of first and second sets of the flash memory cells, each page in the form of a plurality of code words, and each code word comprising a first number of user data bits and a second number of code bits;
a read circuit configured to subsequently read the pages of data from the respective sets of the flash memory cells by using the code bits in each code word to detect and correct errors in the corresponding user data bits;
a tracking circuit configured to baseline temperature effects on the first and second sets of the flash memory cells by measuring a programming temperature of the flash memory at a time of the programming of each page of data, to measure a reading temperature of the flash memory at a time of reading each page of data, and to measure a total number of bit errors obtained during the reading of each page of data to determine that the first set of flash memory cells is comparatively more sensitive to the temperature effects than the second set of flash memory cells; and
a code word management circuit configured to adjust a code rate for at least the first set of memory cells so that, upon said adjustment, a new page of data subsequently written thereto has a different ratio of code bits to user data bits responsive to the measured programming temperature, the measured reading temperature, and the number of bit errors.

### Claim 16 (depends on 15)

The solid-state drive of claim 15, wherein the flash memory comprises a three dimensional (3D) NAND flash memory.

### Claim 17 (depends on 15)

The solid-state drive of claim 15, wherein the code bits are characterized as LDPC (low density parity check) code bits that are processed by an LDPC decoder to return the originally stored user data bits.

### Claim 18 (depends on 15)

The solid-state drive of claim 15, wherein the code rate of the first set of flash memory cells is adjusted by increasing a ratio of the code bits to the user data bits responsive to the higher error rate in relation to a differential between the reading temperature and the programming temperature, and wherein the code rate of the second set of flash memory cells is adjusted by decreasing the ratio of the code bits to the user data bits responsive to the lower error rate in relation to the differential between the reading temperature and the programming temperature.

### Claim 19 (depends on 15)

The solid-state drive of claim 15, wherein the code word circuit is realized as a programmable processor that utilizes programmable instructions stored in a memory.

### Claim 20 (depends on 15)

The solid-state drive of claim 15, wherein at least one of the code rates is adjusted to provide a subsequent error rate of the associated location in the flash memory to below a predetermined acceptable threshold.
