# US 2023/0057932 A1 · Memory controller calculating optimal read level, memory system including the same, and operating method of memory controller

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

- Number: US 2023/0057932 A1
- Document ID: US20230057932A1
- Status: Published application
- Kind: A1
- Application number: 17/685,024
- Filed: 2022-03-02
- Published: 2023-02-23
- Earliest claimed: 2021-08-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Kwanwoo NOH; Hyeonjong SONG; Wijik LEE; Hongrak SON; Dongmin SHIN; Seonghyeog CHOI
- Web page: https://patentgrep.com/patent/US20230057932A1

## CPC

- G06F 3/0658: {Controller construction arrangements}
- G11C 16/3418: {Disturbance prevention or evaluation; Refreshing of disturbed memory data}
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G11C 16/3422: {Circuits or methods to evaluate read or write disturbance in nonvolatile memory, without steps to mitigate the problem}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/26: Sensing or reading circuits; Data output circuits
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Provided are a memory controller calculating an optimal read level, a memory system including the memory controller, and an operating method of the memory controller. The memory controller includes: a processor configured to control a memory operation on the memory device; and a read level calculation module configured to: receive N counting values corresponding to N read levels generated based on a counting operation on data read by using a plurality of read levels, model at least two cell count functions having selected read levels that are selected from the N read levels as inputs, and the N counting values corresponding to the selected read levels as outputs, and calculate an optimal read level based on an optimal cell count function selected from the at least two cell count functions, wherein N is an integer equal to or greater than four, wherein the N counting values include counting values corresponding to at least four different read levels.

## Claims

### Claim 1

A memory controller configured to control a memory device, the memory controller comprising:
a processor configured to control a memory operation on the memory device; and
a read level calculation module configured to:
receive N counting values corresponding to N read levels generated based on a counting operation on data read by using a plurality of read levels,
model at least two cell count functions having selected read levels that are selected from the N read levels as inputs, and the N counting values corresponding to the selected read levels as outputs, and
calculate an optimal read level based on an optimal cell count function selected from the at least two cell count functions, wherein N is an integer equal to or greater than four,
wherein the N counting values comprise counting values corresponding to at least four different read levels.

### Claim 2 (depends on 1)

The memory controller of claim 1, wherein the read level calculation module is further configured to:
calculate, for each of the at least two cell count functions, difference values between estimated counting values calculated with the N read levels as inputs and the N counting values, and
select a cell count function having a least average error value of the at least two cell count functions as the optimal cell count function.

### Claim 3 (depends on 1)

The memory controller of claim 1, wherein each of the at least two cell count functions corresponds to a second-degree function, and
each cell count function is modeled based on three selected read levels of the N read levels, and three counting values corresponding to the three selected read levels, respectively.

### Claim 4 (depends on 3)

The memory controller of claim 3, wherein a number of the at least two cell count functions corresponds to a number of all combinations of three read levels selected from the N read levels.

### Claim 5 (depends on 1)

The memory controller of claim 1, wherein a first counting value of the N counting values corresponds to a difference value between a first number of on cells of data read by using a first read level and a second number of on cells of data read by using a second read level, and
the second read level is less than the first read level.

### Claim 6 (depends on 5)

The memory controller of claim 5, wherein the first read level corresponding to the first counting value is any one level of the first read level and the second read level, or any one arbitrary read level between the first read level and the second read level.

### Claim 7 (depends on 1)

The memory controller of claim 1, further comprising an error correction code (ECC) circuit detecting an error of data read from the memory device,
wherein the read level calculation module is further configured to perform an operation of calculating the optimal read level when an uncorrectable error occurs in data read from the memory device.

### Claim 8 (depends on 1)

The memory controller of claim 1, wherein the read level calculation module comprises:
a modeling module configured to model the at least two cell count functions based on the N read levels and the N counting values corresponding thereto;
an error comparison module configured to select any one of the at least two cell count functions as the optimal cell count function, based on difference values between estimated counting values calculated by using the N read levels as inputs and the N counting values, for each of the at least two cell count functions; and
an operation module configured to calculate the optimal read level based on an operation on the optimal cell count function.

### Claim 9 (depends on 1)

The memory controller of claim 1, further comprising an operation memory configured to store programs executed by the processor,
wherein the read level calculation module comprises programs for calculating the optimal read level, and the read level calculation module is loaded in the operation memory and executed by the processor.

### Claim 10 (depends on 1)

The memory controller of claim 1, wherein the read level calculation module is further configured to a read level corresponding to an input, which makes an output of the optimal cell count function have a least value, as the optimal read level.

### Claim 11 (depends on 1)

The memory controller of claim 1, further comprising a counting logic configured to receive data read by using the plurality of read levels from the memory device, and generate the N counting values based on the counting operation.

### Claim 12

An operating method of a memory controller, the operating method comprising:
calculating a plurality of counting values corresponding to a plurality of read levels based on data read by using a plurality of read operations;
selecting, as an optimal cell count function, any one cell count function of a plurality of cell count functions, wherein the plurality of cell count functions are modeled by using some read levels selected among the plurality of read levels as inputs and corresponding counting values of the plurality of counting values as outputs; and
outputting information about an optimal read level calculated based on the optimal cell count function,
wherein function values having at least some of the plurality of read levels are calculated for each of the plurality of cell count functions, and the optimal cell count function is selected by comparing the function values with the plurality of counting values.

### Claim 13 (depends on 12)

The operating method of claim 12, wherein each of the plurality of cell count functions corresponds to a second-degree function, and
wherein a number of cell count functions corresponds to a number of all combinations of three arbitrary read levels selected from the plurality of read levels.

### Claim 14 (depends on 12)

The operating method of claim 12, wherein a first counting value of the plurality of counting values corresponds to a difference value between a first number of on cells of data read by using a first level and a second number of on cells of data read by using a second level, and
the second level is less than the first level.

### Claim 15 (depends on 14)

The operating method of claim 14, wherein a first read level corresponding to the first counting value is any one level of the first level and the second level, or any one arbitrary level between the first level and the second level.

### Claim 16 (depends on 12)

The operating method of claim 12, further comprising performing error detection on first data read from a memory device,
wherein, when there is an error in the first data, a calculation operation of the optimal read level is performed.

### Claim 17 (depends on 12)

The operating method of claim 12, wherein the first cell count function, from among the plurality of cell count functions, is selected, in which a difference value between the function values and the counting values is least, as the optimal cell count function.

### Claim 18

A memory system equipped with a memory device,
wherein the memory device comprises:
a memory cell array comprising a plurality of memory cells;
a voltage generator configured to generate a plurality of read voltages having a plurality of read levels used in a read operation on the memory cell array; and
a control logic configured to:
control a re-read operation on the memory cell array by using the plurality of read levels when an error occurs in data read from the memory cell array, and
generate N counting values corresponding to N read levels based on a counting operation on data read in the re-read operation, N being an integer equal to or greater than four,
wherein the N counting values comprise first information for modeling at least two cell count functions each having certain read levels of the N read levels as inputs, and a number of the certain read levels is less than N.

### Claim 19 (depends on 18)

The memory system of claim 18, further comprising a memory controller configured to control the memory device,
wherein the memory controller is further configured to:
receive the N counting values, and
model the at least two cell count functions having the certain read levels selected from the N read levels as inputs and corresponding counting values of the N counting values as outputs,
calculate an optimal read level based on an optimal cell count function selected among the at least two cell count functions, and
provide second information about the optimal read level to the memory device.

### Claim 20 (depends on 19)

The memory system of claim 19, wherein the control logic comprises:
a voltage controller configured to provide a voltage control signal so that read voltages having the N read levels are generated in the re-read operation; and
a counting logic configured to generate the N counting values based on the counting operation on data read in the re-read operation.
