# US 2020/0350023 A1 · Memory controller and method of operating the same

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

- Number: US 2020/0350023 A1
- Document ID: US20200350023A1
- Status: Published application
- Kind: A1
- Application number: 16/673,646
- Filed: 2019-11-04
- Published: 2020-11-05
- Earliest claimed: 2019-05-02
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Jiman HONG
- Web page: https://patentgrep.com/patent/US20200350023A1

## CPC

- G11C 16/26: Sensing or reading circuits; Data output circuits
- 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/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 7/1006: {Data managing, e.g. manipulating data before writing or reading out, data bus switches or control circuits therefor}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 29/021: {in voltage or current generators}
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 11/5671: {using charge trapping in an insulator}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The memory controller may include a command generator generating and outputting first and second read commands to a memory device so that respective first and second read operations are performed using a first read voltage, a calculator receiving first and second read data in response to the read commands, comparing the first and second read data each other, and calculating a number of first inverted cells and a number of second inverted cells based on a result of the comparing, each of the first inverted cells having a bit value that inverted from a first bit value to a second bit value, and each of the second inverted cells having a bit value that inverted from the second bit value to the first bit value, and a read voltage determiner changing the first read voltage depending on the number of first inverted cells and the number of second inverted cells.

## Claims

### Claim 1

A memory controller, comprising:
a command generator configured to generate first and second read commands and output the first and second read commands to a memory device so that respective first and second read operations are performed on target memory cells of the memory device using a first read voltage;
a calculator configured to receive first read data and second read data in response to the first and second read commands, compare the first read data with the second read data, and calculate a number of first inverted cells and a number of second inverted cells based on a result of the compare operation, each of the first inverted cells having a bit value that inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inverted cells having a bit value that inverted from the second bit value in the first read data to the first bit value in the second read data; and
a read voltage determiner configured to change the first read voltage depending on the number of first inverted cells and the number of second inverted cells.

### Claim 2 (depends on 1)

The memory controller according to claim 1, wherein the read voltage determiner is configured to decrease the first read voltage when it is determined that the number of first inverted cells is greater than the number of second inverted cells.

### Claim 3 (depends on 1)

The memory controller according to claim 1, wherein the read voltage determiner is configured to increase the first read voltage when it is determined that the number of first inverted cells is less than the number of second inverted cells.

### Claim 4 (depends on 1)

The memory controller according to claim 1, wherein the read voltage determiner is configured to change the first read voltage in proportion to a difference between the number of first inverted cells and the number of second inverted cells.

### Claim 5 (depends on 1)

The memory controller according to claim 1, wherein the read voltage determiner is configured to change the first read voltage by a set value.

### Claim 6

A memory controller, comprising:
an error correction decoder configured to perform an error correction decoding on first read data corresponding to a first read operation performed on target memory cells;
a command generator configured to, when it is determined that the error correction decoding performed on the first read data fails, generate a read command and output the read command to a memory device so that a second read operation is performed on the target memory cells using a second read voltage that is the same as a first read voltage used for the first read operation;
a calculator configured to receive second read data in response to the read command, compare the first read data with the second read data, and calculate a number of first inverted cells and a number of second inverted cells based on a result of the compare operation, each of the first inverted cells having a bit value that inverted from a first bit value in the first data to a second bit value in the second read data, and each of the second inverted cells having a bit value that inverted from the second bit value in the first read data to the first bit value in the second read data; and
a read voltage determiner configured to change the first read voltage depending on the number of first inverted cells and the number of second inverted cells.

### Claim 7 (depends on 6)

The memory controller according to claim 6, wherein the command generator is configured to generate a subsequent read command and output the subsequent read command to the memory device so that a third read operation is performed on the target memory cells using the changed first read voltage.

### Claim 8 (depends on 7)

The memory controller according to claim 7, wherein:
the error correction decoder is configured to perform the error correction decoding on the third read data corresponding to the third read operation, and
the read voltage determiner is configured to determine the changed first read voltage to be an optimal read voltage corresponding to the target memory cells when it is determined that the error correction decoding performed on the third read data is successful.

### Claim 9 (depends on 6)

The memory controller according to claim 6, wherein the read voltage determiner is configured to decrease the first read voltage when it determined that the number of first inverted cells is greater than the number of second inverted cells.

### Claim 10 (depends on 6)

The memory controller according to claim 6, wherein the read voltage determiner is configured to increase the first read voltage when it is determined that the number of first inverted cells is less than the number of second inverted cells.

### Claim 11 (depends on 6)

The memory controller according to claim 6, wherein the read voltage determiner is configured to change the first read voltage in proportion to a difference between the number of first inverted cells and the number of second inverted cells.

### Claim 12 (depends on 6)

The memory controller according to claim 6, wherein the read voltage determiner is configured to change the first read voltage by a set value.

### Claim 13

A method of operating a memory controller, comprising:
receiving first read data corresponding to a first read operation performed on target memory cells using a first read voltage;
receiving second read data corresponding to a second read operation performed on the target memory cells using a second read voltage, wherein the second read voltage is the same as the first read voltage;
comparing the first read data with the second read data;
calculating a number of first inverted cells and the number of second inverted cells based on a result of the comparing operation, each of the first inverted cells having a bit value that inverted from a first bit value in the first read data to a second bit value in the second read data, and each of the second inverted cells having a bit value that inverted from the second bit value in the first read data to the first bit value in the second read data; and
changing the first read voltage depending on the number of first inverted cells and the number of second inverted cells.

### Claim 14 (depends on 13)

The method according to claim 13, further comprising performing an error correction decoding on the first read data,
wherein the receiving of the second read data comprises receiving the second read data when it is determined that the error correction decoding performed on the first read data fails.

### Claim 15 (depends on 13)

The method according to claim 13, further comprising:
receiving third read data corresponding to a third read operation performed on the target memory cell using the changed first read voltage;
performing an error correction decoding on the third read data; and
when it is determined that the error correction decoding on the third read data is successful, determining the changed first read voltage to be an optimal read voltage corresponding to the target memory cells.

### Claim 16 (depends on 13)

The method according to claim 13, wherein the changing of the first read voltage comprises decreasing the first read voltage when it is determined that the number of first inverted cells is greater than the number of second inverted cells.

### Claim 17 (depends on 13)

The method according to claim 13, wherein the changing of the first read voltage comprises increasing the first read voltage when it is is determined that the number of first inverted cells is less than the number of second inverted cells.

### Claim 18 (depends on 13)

The method according to claim 13, wherein the changing of the first read voltage comprises changing the first read voltage in proportion to a difference between the number of first inverted cells and the number of second inverted cells.

### Claim 19 (depends on 13)

The method according to claim 13, wherein the changing of the first read voltage comprises changing the first read voltage by a set value.
