# US 2019/0171381 A1 · Reducing unnecessary calibration of a memory unit for which the error count margin has been exceeded

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

- Number: US 2019/0171381 A1
- Document ID: US20190171381A1
- Status: Published application
- Kind: A1
- Application number: 15/833,797
- Filed: 2017-12-06
- Published: 2019-06-06
- Earliest claimed: 2017-12-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: NIKOLAS IOANNOU; NIKOLAOS PAPANDREOU; ROMAN A. PLETKA; SASA TOMIC
- Web page: https://patentgrep.com/patent/US20190171381A1

## CPC

- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- 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 11/073: {in a memory management context, e.g. virtual memory or cache management (memory management G06F12/00; testing of static memory units G11C29/00)}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A controller sets an error count margin for each of multiple units of a non-volatile memory and detects whether the error count margin of any of the multiple units has been exceeded. In response to detecting that the error count margin of a memory unit is exceeded, the controller determines whether calibration of the memory unit would improve a bit error rate of the memory unit sufficiently to warrant calibration. If so, the controller performs calibration of the memory unit. In some implementations, the controller refrains from performing the calibration in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration, but instead relocates a desired part or all valid data within the memory unit and, if all valid data has been relocated from it, erases the memory unit.

## Claims

### Claim 1

A method of calibration in a non-volatile memory, the method comprising:
a controller of the non-volatile memory setting an error count margin for each of multiple units of the non-volatile memory;
the controller detecting whether the error count margin of any of the multiple units has been exceeded;
in response to detecting that the error count margin of a memory unit among the multiple memory units is exceeded, the controller determining whether calibration of the memory unit would improve a bit error rate of the memory unit sufficiently to warrant calibration; and
the controller performing calibration of the memory unit in response to determining that calibration of the memory unit would improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 2 (depends on 1)

The method of claim 1, and further comprising refraining from performing the calibration in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 3 (depends on 2)

The method of claim 2, and further comprising:
in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration, applying a mitigation strategy other than calibration.

### Claim 4 (depends on 3)

The method of claim 3, where the mitigation strategy includes relocating data within the memory unit

### Claim 5 (depends on 4)

The method of claim 4, wherein the mitigation strategy further includes erasing the memory unit.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the error count margin is a first error count margin; and
the method further includes:
in response to detecting that the first error count margin of the memory unit is exceeded, calculating a new second error count margin for the memory unit based on current state information for the memory unit; and
refraining from performing the calibration in response to determining that the second error count margin has not been exceeded.

### Claim 7 (depends on 1)

The method of claim 1, and further comprising:
in response to determining that calibration of the memory unit would improve the bit error rate of the memory unit sufficiently to warrant calibration, reducing a health recorded for the memory unit.

### Claim 8 (depends on 1)

The method of claim 1, wherein the detecting includes detecting that the error count margin of the memory unit has been exceeded based on a number of errors detected on a read operation targeting the memory unit.

### Claim 9

A data storage system, comprising:
a controller for a non-volatile memory, wherein the controller is configured to:
set an error count margin for each of multiple units of the non-volatile memory;
detect whether the error count margin of any of the multiple units has been exceeded;
in response to detecting that the error count margin of a memory unit among the multiple memory units is exceeded, determine whether calibration of the memory unit would improve a bit error rate of the memory unit sufficiently to warrant calibration; and
perform calibration of the memory unit in response to determining that calibration of the memory unit would improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 10 (depends on 9)

The data storage system of claim 9, wherein the controller is further configured to refrain from performing the calibration in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 11 (depends on 10)

The data storage system of claim 10, wherein the controller is further configured to:
in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration, relocate data within the memory unit and, if all valid data has been relocated from it, erase the memory unit.

### Claim 12 (depends on 9)

The data storage system of claim 9, wherein:
the error count margin is a first error count margin; and
the controller is further configured to:
in response to detecting that the first error count margin of the memory unit is exceeded, calculate a new second error count margin for the memory unit based on current state information for the memory unit; and
refrain from performing the calibration in response to determining that the second error count margin has not been exceeded.

### Claim 13 (depends on 9)

The data storage system of claim 9, wherein the controller is configured to detect that the error count margin of the memory unit has been exceeded based on a number of errors detected on a read operation targeting the memory unit.

### Claim 14 (depends on 9)

The data storage system of claim 9, and further comprising the non-volatile memory.

### Claim 15

A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a controller to cause the controller to perform:
setting an error count margin for each of multiple units of the non-volatile memory;
detecting whether the error count margin of any of the multiple units has been exceeded;
in response to detecting that the error count margin of a memory unit among the multiple memory units is exceeded, determining whether calibration of the memory unit would improve a bit error rate of the memory unit sufficiently to warrant calibration; and
performing calibration of the memory unit in response to determining that calibration of the memory unit would improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 16 (depends on 15)

The program product of claim 15, wherein the program instructions cause the controller to perform:
refraining from performing the calibration in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration.

### Claim 17 (depends on 16)

The program product of claim 16, wherein the program instructions cause the controller to perform:
in response to determining that calibration of the memory unit would not improve the bit error rate of the memory unit sufficiently to warrant calibration, relocating data within the memory unit and, if all valid data has been relocated from it, erasing the memory unit.

### Claim 18 (depends on 15)

The program product of claim 15, wherein:
the error count margin is a first error count margin; and
the program instructions cause the controller to perform:
in response to detecting that the first error count margin of the memory unit is exceeded, calculating a new second error count margin for the memory unit based on current state information for the memory unit; and
refraining from performing the calibration in response to determining that the second error count margin has not been exceeded.

### Claim 19 (depends on 15)

The program product of claim 15, wherein the program instructions cause the controller to perform:
in response to determining that calibration of the memory unit would improve the bit error rate of the memory unit sufficiently to warrant calibration, reducing a health recorded for the memory unit.

### Claim 20 (depends on 15)

The program product of claim 15, wherein the detecting includes detecting that the error count margin of the memory unit has been exceeded based on a number of errors detected on a read operation targeting the memory unit.
