# US 2023/0054754 A1 · Storage devices and methods of operating storage devices

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

- Number: US 2023/0054754 A1
- Document ID: US20230054754A1
- Status: Published application
- Kind: A1
- Application number: 17/702,291
- Filed: 2022-03-23
- Published: 2023-02-23
- Earliest claimed: 2021-08-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Eun Chu Oh; Junyeong Seok; Younggul Song; Byungchul Jang
- Web page: https://patentgrep.com/patent/US20230054754A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G11C 11/005: {comprising combined but independently operative RAM-ROM, RAM-PROM, RAM-EPROM cells}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G11C 11/4074: Power supply or voltage generation circuits, e.g. bias voltage generators, substrate voltage generators, back-up power, power control circuits
- G11C 11/4082: {Address Buffers; level conversion circuits}
- G11C 11/4085: {Word line control circuits, e.g. word line drivers, - boosters, - pull-up, - pull-down, - precharge}
- G11C 11/4087: {Address decoders, e.g. bit - or word line decoders; Multiple line decoders}
- G11C 11/4096: Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches
- 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/42: using error correcting codes [ECC] or parity check
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 11/5642: {Sensing or reading circuits; Data output circuits}
- G11C 2029/0411: {Online error correction}
- 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

A storage device includes a NAND flash memory device, an auxiliary memory device and a storage controller to control the NAND flash memory device and the auxiliary memory device. The storage controller includes a processor, an error correction code (ECC) engine and a memory interface. The processor executes a flash translation layer (FTL) loaded onto an on-chip memory. The ECC engine generates first parity bits for user data to be stored in a target page of the NAND flash memory device based on error attribute of a target memory region associated with the target page, and selectively generates additional parity bits for the user data under control of the processor. The memory interface transmits the user data and the first parity bits to the NAND flash memory device, and selectively transmits the additional parity bits to the auxiliary memory device.

## Claims

### Claim 1

A storage device comprising:
a NAND flash memory device;
an auxiliary memory device; and
a storage controller configured to control the NAND flash memory device and the auxiliary memory device,
wherein the storage controller includes:
a processor configured to execute a flash translation layer (FTL) loaded onto an on-chip memory of the storage controller;
an error correction code (ECC) engine configured to:
generate one or more first parity bits for data to be stored in a target page of the NAND flash memory device based on an error attribute of a target memory region associated with the target page, and
selectively generate one or more additional parity bits for the data under control of the processor; and
a memory interface configured to:
transmit the data and the one or more first parity bits to the NAND flash memory device, and
selectively transmit the one or more additional parity bits to the auxiliary memory device.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the ECC engine is configured to:
generate the one or more first parity bits by performing an ECC encoding on the data using a first sub matrix of a parity matrix based on the target page corresponding to a normal page, which has a first error occurrence probability equal to or smaller than a reference value; and
generate second parity bits including the one or more first parity bits and the one or more additional parity bits by performing the ECC encoding on the data using the first sub matrix and a second sub matrix of the parity matrix based on the target page corresponding to a bad page, which has a second error occurrence probability greater than the reference value.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the memory interface is configured to:
transmit the data and the one or more first parity bits to the NAND flash memory device based on the target page corresponding to the normal page; and
transmit the one or more additional parity bits to the auxiliary memory device based on the target page corresponding to the bad page.

### Claim 4 (depends on 2)

The storage device of claim 2, wherein the FTL include an error attribute manager configured to manage an error attribute of each of a plurality of memory regions of the NAND flash memory device.

### Claim 5 (depends on 4)

The storage device of claim 4, wherein the error attribute manager is configured to provide the processor and the ECC engine with an error flag indicating whether the target page corresponds to the bad page based on an address designating the target page.

### Claim 6 (depends on 2)

The storage device of claim 2, wherein the ECC engine is configured to perform a first mode of ECC decoding on the data and the one or more first parity bits read from the NAND flash memory device to correct errors of the data, based on the target page corresponding to the normal page in a read operation.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the ECC engine is configured to perform a second mode of ECC decoding on the data and the one or more first parity bits read from the NAND flash memory device and the one or more additional parity bits read from the auxiliary memory device to correct errors of the data, based on the target page corresponding to the bad page in a read operation.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the target memory region corresponds to one or more of a memory block, a word-line or a page of a memory cell array of the NAND flash memory device.

### Claim 9 (depends on 1)

The storage device of claim 1, wherein:
an access unit of the auxiliary memory device is smaller than an access unit of the NAND flash memory device;
the access unit of the auxiliary memory device corresponds to one of a byte and multiple bytes; and
the access unit of the NAND flash memory device corresponds to a page.

### Claim 10 (depends on 1)

The storage device of claim 1, wherein a latency of a write operation or a read operation of the auxiliary memory device is smaller than a latency of a write operation or a read operation of the NAND flash memory device.

### Claim 11 (depends on 1)

The storage device of claim 1, wherein:
the auxiliary memory device includes one of a Z-NAND, a phase change random access memory (PRAM), a magnetic random access memory (MRAM) or a dynamic random access memory (DRAM);
the storage controller is configured to perform a write or read operation associated with the data and the one or more first parity bits one the NAND flash memory device and a write or read operation associated with the one or more additional parity bits on the auxiliary memory device in parallel; and
an execution interval of the write or read operation on the NAND flash memory device and an execution interval of the write or read operation on the auxiliary memory device are partially overlapped.

### Claim 12 (depends on 1)

The storage device of claim 1, wherein:
the auxiliary memory device includes a dynamic random access memory (DRAM); and
wherein the storage controller is configured to move the one or more additional parity bits stored in the DRAM to a reservation block of the NAND flash memory device based on a power of the storage device.

### Claim 13 (depends on 1)

The storage device of claim 1, wherein NAND flash memory device includes;
a memory cell array including a plurality of cell strings, each of the plurality of cell strings including a plurality of memory cells stacked in a vertical direction with respect to a substrate;
a voltage generator configured to generate word-line voltages based on control signals;
an address decoder coupled to the memory cell array through a plurality of word-lines, the address decoder configured to transfer the word-line voltages to the memory cell array based on a row address;
a page buffer circuit coupled to the memory cell array through a plurality of bit-lines, the page buffer circuit configured to store the data and the one or more first parity bits in the memory cell array; and
a control circuit configured to control the voltage generator, the address decoder and the page buffer circuit based on a command and an address received from the storage controller,
wherein the plurality of cell strings are divided into a plurality of planes, and
wherein the ECC engine is configured to generate different number of parity bits based on a physical location of a plane to which the target memory region belongs.

### Claim 14 (depends on 1)

The storage device of claim 1, wherein, wherein NAND flash memory device includes;
a memory cell region including a memory cell array and a first metal pad, the memory cell array including a plurality of cell strings, each of the plurality of cell strings including a plurality of memory cells stacked in a vertical direction with respect to a substrate; and
a peripheral circuit region including a second metal pad, the peripheral circuit region vertically connected to the memory cell region through the first metal pad and the second metal pad;
wherein the peripheral circuit region includes:
a voltage generator configured to generate word-line voltages based on control signals;
an address decoder coupled to the memory cell array through a plurality of word-lines, the address decoder configured to transfer the word-line voltages to the memory cell array based on a row address;
a page buffer circuit coupled to the memory cell array through a plurality of bit-lines, the page buffer circuit configured to store the data and the one or more first parity bits in the memory cell array; and
a control circuit configured to control the voltage generator, the address decoder and the page buffer circuit based on a command and an address received from the storage controller.

### Claim 15

A storage device comprising:
a first NAND flash memory device;
an auxiliary memory device; and
a storage controller configured to control the first NAND flash memory device and the auxiliary memory device,
wherein the storage controller includes:
a processor configured to execute a flash translation layer (FTL) loaded onto an on-chip memory;
an error correction code (ECC) engine configured to:
generate one or more first parity bits for data to be stored in a target page of the first NAND flash memory device based on an error attribute of a target memory region associated with the target page and based on the target page corresponding to a normal page, and
generate second parity bits including the one or more first parity bits and one or more additional parity bits for the data based on the target page corresponding to a bad page; and
a memory interface configured to:
transmit a first portion of a codeword including the data and the second parity bits to the first NAND flash memory device, and
transmit a second portion of the codeword to the auxiliary memory device based on the target page corresponding to the bad page, and
wherein a first error occurrence probability of the normal page is equal to or smaller than a reference value and a second error occurrence probability of the bad page is greater than the reference value.

### Claim 16 (depends on 1)

The storage device of claim 1, the ECC engine is configured to:
generate the one or more first parity bits by performing a first mode of ECC encoding on the data using a first sub matrix of a parity matrix based on the target page corresponding to the normal page; and
generate the one or more first parity bits and the one or more additional parity bits by performing a second mode of ECC encoding on the data using the first sub matrix and a second sub matrix of the parity matrix based on the target page corresponding to the bad page.

### Claim 17 (depends on 15)

The storage device of claim 15,
wherein the target memory region corresponds to one or more of a memory block, a word-line or a page of a memory cell array of the NAND flash memory device,
wherein the auxiliary memory device includes one of a Z-NAND, a phase change random access memory (PRAM), a magnetic random access memory (MRAM) or a dynamic random access memory (DRAM),
wherein an access unit of the auxiliary memory device is smaller than an access unit of the NAND flash memory device, and
wherein the storage controller is configured to perform a write or read operation associated with the data and the one or more first parity bits on the NAND flash memory device and a write or read operation associated with the one or more additional parity bits on the auxiliary memory device in parallel.

### Claim 18 (depends on 15)

The storage device of claim 15, further comprising:
a second NAND flash memory device controlled by the storage controller,
wherein each of the first NAND flash memory device and the second NAND flash memory device includes a memory cell array including a plurality of cell strings, each of the plurality of cell strings including a plurality of memory cells stacked in a vertical direction with respect to a substrate,
wherein the plurality of cell strings are divided into a plurality of planes, and
wherein the ECC engine is configured to generate a different number of parity bits based on at least one of:
a physical location of a plane to which the target memory region belongs;
physical locations of dies on which the first NAND flash memory device and the second NAND flash memory device are provided; and
whether the target memory region belongs to which one of the first NAND flash memory device and the second NAND flash memory device.

### Claim 19

A storage device comprising:
a NAND flash memory device;
an auxiliary memory device; and
a storage controller configured to control the NAND flash memory device and the auxiliary memory device,
wherein the storage controller includes:
a processor configured to execute a flash translation layer (FTL) loaded onto an on-chip memory;
a memory interface configured to:
receive data and one or more first parity bits from the NAND flash memory device based on a target page of the NAND flash memory device corresponding to a normal page based on an error attribute of a target memory region associated with the target page, and
receive one or more additional parity bits for the data based on the target page corresponding to a bad page; and
an error correction code (ECC) engine configured to:
perform a first mode of ECC decoding on the data and the one or more first parity bits read from the NAND flash memory device to correct errors of the data, based on the target page corresponding to the normal page,
perform a second mode of ECC decoding on the data and the one or more first parity bits read from the NAND flash memory device and the one or more additional parity bits read from the auxiliary memory device to correct errors of the data, based on the target page corresponding to the bad page, and
wherein a first error occurrence probability of the normal page is equal to or smaller than a reference value and a second error occurrence probability of the bad page is greater than the reference value.

### Claim 20 (depends on 19)

The storage device of claim 19,
wherein the ECC engine is configured to:
perform the first mode of ECC decoding on the data and the first parity bits using a first sub matrix of a parity matrix based on the target page corresponding to the normal page; and
perform the second mode of ECC decoding on the data, the first parity bits and the one or more additional parity bits using the first sub matrix and a second sub matrix of the parity matrix based on the target page corresponding to the bad page,
wherein the target memory region corresponds to one or more of a memory block, a word-line and a page of a memory cell array of the NAND flash memory,
wherein the auxiliary memory device includes one of a Z-NAND, a phase change random access memory (PRAM), a magnetic random access memory (MRAM) and a dynamic random access memory (DRAM),
wherein an access unit of the auxiliary memory device is smaller than an access unit of the NAND flash memory device, and
the storage controller is configured to perform a write or read operation associated with the data and the first parity bits one the NAND flash memory device and a write or read operation associated with the one or more additional parity bits on the auxiliary memory device in parallel.

### Claim at position 21

21-26. (canceled)
