# US 2021/0173587 A1 · Memory system, memory controller, and method for operating same

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

- Number: US 2021/0173587 A1
- Document ID: US20210173587A1
- Status: Published application
- Kind: A1
- Application number: 16/897,975
- Filed: 2020-06-10
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Woong Sik SHIN
- Web page: https://patentgrep.com/patent/US20210173587A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0625: {Power saving in storage systems}
- G06F 3/0652: {Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket}
- G06F 3/0673: {Single storage device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1028: Power efficiency
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a memory system, a memory controller, and a method for operating the same. An operation of writing metadata in multiple memory dies in the memory device is started, and an erase operation is then performed, when the request for the erase operation exists, with regard to some of the multiple memory dies. Accordingly, the time taken to write metadata can be uniformly adjusted to the largest extent, and the magnitude of peak power consumed by the memory device can be minimized.

## Claims

### Claim 1

A memory system comprising:
a memory device comprising multiple memory dies; and
a memory controller configured to control the memory device, wherein the memory controller is further configured to:
start an operation of writing each of multiple metadata units in a first metadata unit group in a corresponding one of the multiple memory dies;
confirm whether or not there exists a request for an erase operation with regard to at least one of the multiple memory dies after the start of the write operation;
perform the erase operation, when the request for the erase operation exists, with regard to memory dies in a first memory die group, having a number of memory dies less than or equal to a first value, among the multiple memory dies; and
write at least one of the multiple metadata units in the first metadata unit group in the memory dies in the first memory die group.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the first value is determined on the basis of i) peak power consumed when performing an operation of erasing one memory block in the multiple memory dies and ii) peak power that the memory device is able to consume.

### Claim 3 (depends on 1)

The memory system of claim 1, wherein the memory controller is further configured to start, after start of the erase operation with regard to at least one of the memory dies, an operation of writing each of multiple metadata units in a second metadata unit group in one of the multiple memory dies.

### Claim 4 (depends on 3)

The memory system of claim 3,
wherein the memory controller is further configured to:
perform, after the start of the writing of each of multiple metadata units in the second metadata unit group in one of the multiple memory dies, the erase operation with regard to memory dies in a second memory die group, having a number of memory dies less than or equal to a second value, among the multiple memory dies; and
write at least one of multiple metadata units in the second metadata unit group in the memory dies in the second memory die group, and
wherein the memory dies in the first memory die group and the memory dies in the second memory die group are different from each other.

### Claim 5 (depends on 3)

The memory system of claim 3, wherein the memory controller is further configured to determine, on the basis of a period, i) a time of the start of the operation of writing each of multiple metadata units in the first metadata unit group in one of the multiple memory dies and ii) a time of the start of the operation of writing each of multiple metadata units in the second metadata unit group in one of the multiple memory dies.

### Claim 6 (depends on 5)

The memory system of claim 5, wherein the memory controller is further configured to write user data in at least one of the multiple memory dies between i) a time after the start of the operation of writing each of multiple metadata units in the first metadata unit group in one of the multiple memory dies and ii) a time before the start of the erase operation with regard to the memory dies in the first memory die group.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein the memory controller is configured to perform the erase operation with regard to the memory dies in the first memory die group by erasing only one of memory blocks in a memory die in the first memory die group.

### Claim 8

A memory controller comprising:
a memory interface configured to communicate with a memory device comprising multiple memory dies; and
a control circuit configured to control the memory device, wherein the control circuit is further configured to:
start an operation of writing each of multiple metadata units in a first metadata unit group in a corresponding one of the multiple memory dies;
confirm whether or not there exists a request for an erase operation with regard to at least one of the multiple memory dies after the start of the write operation;
perform the erase operation, when the request for the erase operation exists, with regard to memory dies in a first memory die group, having a number of memory dies less than or equal to a first value, among the multiple memory dies; and
write at least one of the multiple metadata units in the first metadata unit group in the memory dies in the first memory die group.

### Claim 9 (depends on 8)

The memory controller of claim 8, wherein the first value is determined on the basis of i) peak power consumed when performing an operation of erasing one memory block in the multiple memory dies and ii) peak power that the memory device is able to consume.

### Claim 10 (depends on 8)

The memory controller of claim 8, wherein the control circuit is further configured to start, after start of the erase operation with regard to at least one of the memory dies, an operation of writing each of multiple metadata units in a second metadata unit group in one of the multiple memory dies.

### Claim 11 (depends on 10)

The memory controller of claim 10,
wherein the control circuit is further configured to:
perform, after the start of the writing of each of multiple metadata units in the second metadata unit group in one of the multiple memory dies, the erase operation with regard to memory dies in a second memory die group, having a number of memory dies less than or equal to a second value, among the multiple memory dies; and
write at least one of multiple metadata units in the second metadata unit group in the memory dies in the second memory die group, and
wherein the memory dies in the first memory die group and the memory dies in the second memory die group are different from each other.

### Claim 12 (depends on 10)

The memory controller of claim 10, wherein the control circuit is further configured to determine, on the basis of a period, i) a time of the start of the operation of writing each of multiple metadata units in the first metadata unit group in one of the multiple memory dies and ii) a time of the start of the operation of writing each of multiple metadata units in the second metadata unit group in one of the multiple memory dies.

### Claim 13 (depends on 12)

The memory controller of claim 12, wherein the control circuit is further configured to write user data in at least one of the multiple memory dies between i) a time after the start of the operation of writing each of multiple metadata units in the first metadata unit group in one of the multiple memory dies and ii) a time before the start of the erase operation with regard to the memory dies in the first memory die group.

### Claim 14 (depends on 8)

The memory controller of claim 8, wherein the control circuit is configured to perform the erase operation with regard to the memory dies in the first memory die group by erasing only one of memory blocks in a memory die in the first memory die group.

### Claim 15

A method for operating a memory controller configured to control a memory device comprising multiple memory dies, the method comprising:
writing each of multiple metadata units in a first metadata unit group in a corresponding one of the multiple memory dies; and
performing an erase operation, when there exists a request for the erase operation with regard to at least one of the multiple memory dies, with regard to memory dies in a first memory die group, having a number of memory dies less than or equal to a first value, among the multiple memory dies,
wherein at least one of the multiple metadata units in the first metadata unit group is written in the memory dies in the first memory die group.

### Claim 16 (depends on 15)

The method of claim 15, further comprising writing, after start of the erase operation on at least one of memory blocks in the memory dies in the first memory die group, each of multiple metadata units in a second metadata unit group in one of the multiple memory dies.

### Claim 17 (depends on 16)

The method of claim 16,
further comprising performing, after start of the writing of each of multiple metadata units in the second metadata unit group in one of the multiple memory dies, the erase operation with regard to a second memory die group, having a number of memory dies less than or equal to a second value, among the multiple memory dies,
wherein at least one of multiple metadata units in the second metadata unit group is written in memory dies in the second memory die group, and
wherein the memory dies included in the first memory die group and the memory dies in the second memory die group are different from each other.

### Claim 18

An operating method of a controller, the operating method comprising:
controlling a memory device to start, when an erase operation is to be performed on one or more target blocks within memory dies, a write operation of writing metadata units into the memory dies, respectively; and
controlling the memory device to alternately perform the write operation of writing each of the metadata units into a corresponding one of the memory dies and the erase operation on a target block within the corresponding memory die among the target blocks,
wherein target blocks of the write operation and erase operation are different from each other.
