# US 2020/0272540 A1 · 3-dimensional nand flash layer variation aware ssd raid

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

- Number: US 2020/0272540 A1
- Document ID: US20200272540A1
- Status: Published application
- Kind: A1
- Application number: 16/287,251
- Filed: 2019-02-27
- Published: 2020-08-27
- Earliest claimed: 2019-02-27
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Chao Sun; Pi-Feng Chiu; Dejan Vucinic
- Web page: https://patentgrep.com/patent/US20200272540A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- H10B 41/27: the channels comprising vertical portions, e.g. U-shaped channels
- H10B 43/27: the channels comprising vertical portions, e.g. U-shaped channels
- G06F 3/064: {Management of blocks}
- G06F 3/0656: {Data buffering arrangements}
- G06F 11/1012: {using codes or arrangements adapted for a specific type of error (G06F11/1048 takes precedence)}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 2212/403: Error protection encoding, e.g. using parity or ECC codes
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G11C 2029/0409: {Online test}
- G11C 2029/0411: {Online error correction}
- G11C 2207/2245: Memory devices with an internal cache buffer
- H10B 43/35: with cell select transistors, e.g. NAND
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H10B: ELECTRONIC MEMORY DEVICES

## Abstract

An apparatus is disclosed having a parity buffer having a plurality of parity pages and one or more dies, each die having a plurality of layers in which data may be written. The apparatus also includes a storage controller configured to write a stripe of data across two or more layers of the one or more dies, the stripe having one or more data values and a parity value. When a first data value of the stripe is written, it is stored a a currant value in a parity page of the parity buffer, the pants page corresponding to the stripe. For each subsequent data value that is written, an XOR operation is performed with the subsequent data value and the current value of the corresponding parity page and the result of the XOR operation is stored as the current value of the corresponding parity page.

## Claims

### Claim 1

An apparatus comprising:
a parity buffer configured to store a plurality of parity pages:
one or more dies, each die having a plurality of layers in which data may be written: and
a storage controller configured to:
write a stripe of data across two or more layers of the one or more dies, te stripe having one or more data values and a parity value:
responsive to writing a first data value of the stripe, store the first data value as a current value in a parity page of the parity buffer, the parity page corresponding to the stripe: and
responsive to writing each subsequent data value of the stripe, perform an XOR operation with the subsequent data value and the current value of the corresponding parity page and store a result as the current value of the corresponding parity page.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein to write the stripe, the storage controller is further configured to: write the stripe across a word line in each of the two or more layers.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein to write the stripe across a word line, the storage controller is further configured to:
write a data value of the stripe into a most significant bit page of the word line and write a subsequent data value of the stripe into a least significant bit page of the word line.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the storage controller is further configured to:
responsive to writing a final data value of the stripe, perform an XOR operation with the final data value and the current value of the corresponding parity page and store a result as the current value in the corresponding parity page: and
write the current value in the corresponding parity page to the parity value of the stripe.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the storage controller is further configured to:
write one or more subsequent stripes of data across the two or more layers of each of the one or more dies, each of the one or more subsequent stripes having one or more data values and a parity value.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein a residual bit error rate (RBER) of each of the two or more layers is averaged across the one or more data values in the stripe, and wherein the average RBER is lower than a worst case RBER.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the storage controller is further configured to determine an error correction code (ECC) based on the average RBER.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the parity buffer comprises a persistent storage medium.

### Claim 9

A method comprising:
writing a stripe of data across two or more layers of one or more dies, the stripe having one or more data values and a parity value:
responsive to writing a first data value of the stripe, storing the first data value as a current value in a parity page of a parity buffer, the parity page corresponding to the stripe; and
responsive to writing each subsequent data value of the stripe, performing an XOR operation with the subsequent data value and the current value of the corresponding parity page and storing a result as the current value of the corresponding parity page.

### Claim 10 (depends on 9)

The method of claim 9, wherein writing the stripe comprises writing the stripe across a word line in each of the two or more layers.

### Claim 11 (depends on 10)

The method of claim 10, wherein writing the stripe across a word line comprises:
writing a data value of the stripe into a most significant bit page of the word line and writing a subsequent data value of the stripe into a least significant bit page of the word line.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
responsive to writing a final data value of the stripe, performing an XOR operation with the final data value and the current value of the corresponding parity page and storing a result as the current value in the corresponding parity page: and
writing the current value in the corresponding parity page to the parity value of the stripe.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
writing one or more subsequent stripes of data across the two or more layers of each of the one or more dies, each of the one or more subsequent stripes having one or more data values and a parity value.

### Claim 14 (depends on 9)

The method of claim 9, wherein a residual bit error rate (RBER) of each of the two or more layers is averaged across the one or more data values in the stripe, and wherein the average RBER is lower than a worst case RBER.

### Claim 15

A non-transitory machine-readable medium having executable instructions to cause one or more processing devices to perform a method, the method comprising:
writing a stripe of data across two or more layers of one or more dies, the stripe having one or more data values and a parity value;
responsive to writing a first data value of the stripe, storing the first data value as a current value in a parity page of a parity buffer, the parity page corresponding to the stripe: and
responsive to writing each subsequent data value of the stripe, performing a parity calculation operation with the subsequent data value and the current value of the corresponding parity page and storing a result as the current value of the corresponding parity page.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein writing the stripe comprises writing the stripe across a word line in each of the two or more layers.

### Claim 17 (depends on 16)

The non-transitory machine-readable medium of claim 16, wherein writing the stripe across a word line comprises:
writing a data value of the stripe into a most significant bit page of the word line and writing a subsequent data value of the stripe into a least significant bit page of the word line.

### Claim 18 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the method further comprises:
responsive to writing a final data value of the stripe, performing a parity calculation operation with the final data value and the current value of the corresponding parity page and storing a result as the current value in the corresponding parity page; and
writing the current value in the corresponding parity page to the parity value of the stripe.

### Claim 19 (depends on 15)

The non-transitory machine-readable medium of claim 15, further comprising:
writing one or more subsequent stripes of data across the two or more layers of each of the one or more dies, each of the one or more subsequent stripes having one or more data values and a parity value.

### Claim 20 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein a residual bit error rate (RBER) of each of the two or more layers is averaged across the one or more data values in the stripe, and wherein the average RBER is lower than a worst case RBER.
