Memory controller and storage device including the same

By introducing a fault group detector into the memory controller, using dummy data to monitor block status, identifying fault groups in advance and prioritizing healthy blocks, the problem of fault detection and management in storage devices is solved, and the efficiency and reliability of fault handling are improved.

CN110968473BActive Publication Date: 2024-08-23SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910413995.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-01
Filing Date
2019-05-17
Publication Date
2024-08-23
Estimated Expiration
2039-05-17

AI Technical Summary

Technical Problem

It is difficult for existing storage devices to detect and manage fault groups that occur in non-volatile memory in advance, resulting in a large amount of data migration and long processing time when a fault occurs, and it is difficult to effectively reduce the probability of faults.

Method used

By introducing a fault group detector in the memory controller, it monitors the block status in the memory group, monitors the block using dummy data to determine whether it is a bad block or a healthy block, and updates the block status table and group status table based on the results, thereby pre-emptively Determine the failure group and prioritize healthy blocks to reduce the amount of data migration in the event of a failure.

Benefits of technology

It realizes the identification and management of fault groups before faults occur, reduces the probability of faults, reduces the amount of data migration, and improves the reliability and efficiency of the storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110968473B_ABST
    Figure CN110968473B_ABST
Patent Text Reader

Abstract

A memory controller and a memory device including the memory controller are disclosed. The memory device includes: a nonvolatile memory including a plurality of memory groups; and a memory controller configured to: determine a monitoring group from among the plurality of memory groups, determine a monitoring block from among a plurality of blocks included in the monitoring group, and determine whether the monitoring group is a failed group by monitoring the monitoring block using dummy data before a failure of the monitoring group.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the benefit of Korean Patent Application No. 10-2018-0117106, filed on October 1, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0002] Example embodiments of the inventive concepts relate to a memory device. For example, at least some example embodiments relate to a memory controller capable of pre-detecting a fail group and / or a memory device including the memory controller. Background Art

[0003] Flash memory as a nonvolatile memory can maintain stored data even when power is cut off. Recently, storage devices including flash memory, such as solid-state drives (SSDs), memory cards, etc., have been widely used. Some nonvolatile memories may be exposed to progressive failures due to various reasons, and therefore, some of the dies included in the nonvolatile memory may be determined as failed dies or failure dies. Here, the failed die may refer to a die that cannot perform block replacement with a reserved block in the die because the number of bad blocks generated in the die exceeds a reference number. Summary of the invention

[0004] Example embodiments of the inventive concepts provide a memory controller capable of pre-detecting a fail group included in a nonvolatile memory device and / or a memory device including the memory controller.

[0005] According to an example embodiment conceived by the present invention, there is provided a storage device, comprising: a nonvolatile memory including a plurality of memory groups; and a memory controller configured to: determine a monitoring group from among the plurality of memory groups, determine a monitoring block from among a plurality of blocks included in the monitoring group, and determine whether the monitoring group is a failed group by monitoring the monitoring block using dummy data before a failure of the monitoring group.

[0006] According to another example embodiment of the present invention, there is provided a memory controller, comprising: a memory; and a processor, configured to: determine a monitoring group from among a plurality of memory groups, wherein the monitoring group includes one or more of bad blocks and healthy blocks, determine the monitoring block from among a plurality of blocks included in the monitoring group, monitor the monitoring block to determine whether the monitoring block is one of the bad blocks or one of the healthy blocks, determine whether the monitoring group is a fault group based on the number of bad blocks included in the monitoring group, and allocate one of the healthy blocks as a user block for memory operations performed on user data.

[0007] According to another example embodiment conceived by the present invention, there is provided a memory controller, comprising: a memory storing a plurality of block status tables corresponding to different memory groups among a plurality of memory groups; and a processor configured to: determine a monitoring group from among the plurality of memory groups, determine a monitoring block from among a plurality of blocks included in the monitoring group, monitor the monitoring block using dummy data to generate a result, update a first block status table corresponding to the monitoring group from among the plurality of block status tables based on the result, and determine whether the monitoring group is a failure group based on the first block status table before a failure of the monitoring group. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Example embodiments of the inventive concept will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:

[0009] Figure 1 is a block diagram illustrating a storage system according to an example embodiment of the inventive concept;

[0010] Figure 2 shows an example of a monitoring block according to an example embodiment of the inventive concept;

[0011] Figure 3 is a block diagram illustrating a memory controller according to an example embodiment of the inventive concept;

[0012] Figure 4 is a block diagram illustrating a memory controller according to an example embodiment of the inventive concept;

[0013] Figure 5 is a flowchart illustrating a method of pre-detecting a failure group according to an example embodiment of the inventive concept;

[0014] Figure 6 An example of an operation of determining a monitoring group according to an example embodiment of the inventive concept is shown;

[0015] Figure 7 shows an example of determining the operation of a monitoring block according to an example embodiment of the inventive concept;

[0016] Fig. 8A shows an example of a monitoring operation performed on a monitoring block according to an example embodiment of the inventive concept, Figure 8B shows an example of a state determination operation performed on a monitoring block according to an example embodiment of the inventive concept;

[0017] Fig. 9 is a flowchart illustrating a method of determining a monitoring group according to an exemplary embodiment of the inventive concept;

[0018] Fig. 10A An example of an exception table according to an exemplary embodiment of the inventive concept is shown. Fig. 10B shows an example of a die status table according to an example embodiment of the inventive concept;

[0019] Fig.11 is a flowchart illustrating in more detail a method of determining a monitoring group according to an exemplary embodiment of the inventive concept;

[0020] Fig.12 shows an example of a monitoring die according to an example embodiment of the inventive concept;

[0021] Fig.13 is a flowchart illustrating an example of a monitoring method performed on a monitoring block according to an example embodiment of the inventive concept;

[0022] Fig.14 shows an example of a block status table according to an example embodiment of the inventive concept;

[0023] Fig.15 is a flowchart illustrating another example of a monitoring method performed on a monitoring block according to an example embodiment of the inventive concept;

[0024] Fig.16 is a block diagram illustrating a storage system according to an example embodiment of the inventive concept;

[0025] Fig.17 A first case and a second case are shown, the first case showing the processing of a user block according to a comparative example of the inventive concept, and the second case showing the processing of a monitoring block according to an exemplary embodiment of the inventive concept;

[0026] Fig.18 A computing system according to an example embodiment of the inventive concept is shown. DETAILED DESCRIPTION

[0027] Figure 1 is a block diagram illustrating a memory system 10 according to an example embodiment of the inventive concept.

[0028] Reference Figure 1 , the storage system 10 may include a storage device 100 and a host HT. The storage device 100 may include a memory controller 110 and a non-volatile memory (NVM) 120. The memory controller 110 may include a failure group detector DET, a group status table TB1, and a block status table TB2. For example, as shown below with reference to Figure 3 and Figure 4 As discussed, the memory controller 110 may include a processor and a memory, wherein the processor executes computer readable instructions to convert the processor into a dedicated processor for performing the functions of the failure group detector, and the memory stores the above table. Hereinafter, for convenience, the memory controller 110 will be referred to as a "controller".

[0029] The host HT may communicate with the storage device 100 through various interfaces. For example, the host HT may be implemented as an application processor (AP) or a system on chip (SoC). In addition, for example, the host HT may be implemented as an integrated circuit, a mainboard, or a database server, but is not limited thereto. The host HT may send a write request or a read request to the storage device 100. The storage device 100 may write data to the NVM 120 in response to the write request or read data from the NVM 120 in response to the read request.

[0030] The NVM 120 may include a plurality of memory groups 121. Each of the plurality of memory groups 121 may include a plurality of memory blocks (hereinafter, referred to as "blocks"). Each of the plurality of blocks may include a plurality of pages. Each of the plurality of pages may include a plurality of memory cells. For example, a block may be a unit of erasure, and a page may be a unit of writing and reading. In some example embodiments, the plurality of memory groups 121 may include a plurality of memory chips, a plurality of dies, or a plurality of planes. In example embodiments, the NVM 120 may include a flash memory device (e.g., a NAND flash memory device). However, the inventive concept is not limited thereto. The NVM 120 may include a resistive memory device (such as a resistive RAM (ReRAM)), a phase change RAM (PRAM), and a magnetic RAM (MRAM).

[0031] The controller 110 may control the NVM 120 and may pre-detect a failed group from among the plurality of memory groups 121. The failed group detector DET may detect a memory group having a high probability of failure and monitor the pre-detected memory group before one of the plurality of memory groups 121 is determined as a failed group. Hereinafter, the memory group pre-detected by the failed group detector DET will be referred to as a "monitoring group".

[0032] The failure group detector DET may determine a monitoring block among the plurality of blocks included in the monitoring group. In an example embodiment, the failure group detector DET may determine a block among the plurality of blocks that does not include a valid page programmed with valid data as a monitoring block. For example, the monitoring block may be a reserved block (e.g., Figure 2 241a) or a free block (e.g. Figure 2 241b).

[0033] The failure group detector DET may perform a monitoring operation on the monitoring block. In an example embodiment, the failure group detector DET may perform a monitoring operation on the monitoring block using dummy data. In an example embodiment, the monitoring operation may perform a memory operation on the monitoring block, and may include an operation of determining whether the monitoring block is a bad block based on a result of performing the memory operation, wherein the memory operation includes at least one of an erase operation, a program operation, and a read operation.

[0034] The failure group detector DET may predetermine whether the monitoring group is a failure group based on a result of performing the monitoring operation. In an example embodiment, the failure group detector DET may predetermine whether the monitoring group is a failure group based on the number of bad blocks included in the monitoring group.

[0035] The failure group detector DET may manage a group state table TB1 for the plurality of memory groups 121. The group state table TB1 may store information on whether each of the plurality of memory groups 121 is a failure group or a monitoring group. In an example embodiment, the failure group detector DET may update the group state table TB1 according to a result of determining the monitoring group. In an example embodiment, the failure group detector DET may change the monitoring group to a failure group based on a result of performing a monitoring operation on the monitoring block.

[0036] In addition, the failure group detector DET may manage a block status table TB2 for a plurality of blocks included in each memory group. The block status table TB2 may store information on whether a plurality of blocks are bad blocks. In an example embodiment, the failure group detector DET may determine a monitoring block as a bad block or a healthy block by performing a monitoring operation on the monitoring block, and may update the determined result in the block status table TB2. In addition, the failure group detector DET may determine whether the monitoring group is a failure group based on the block status table TB2.

[0037] For example, the group status table TB1 and the block status table TB2 may be loaded into an internal memory (eg, Figure 3 Although the group status table TB1 and the block status table TB2 are included in Figure 1 In some example embodiments, at least one of the group state table TB1 and the block state table TB2 may be loaded into a memory chip (e.g., a dynamic random access memory (DRAM) chip (e.g., Figure 4 130)).

[0038] For example, the storage system 10 may be implemented as a personal computer (PC), a data server, a network storage device, an Internet of Things (IoT) device, or a portable electronic device. The portable electronic device may be a laptop computer, a mobile phone, a smart phone, a tablet PC, a personal digital assistant (PDA), an enterprise digital assistant (EDA), a digital camera, a digital video camera, an audio device, a portable multimedia player (PMP), a personal navigation device (PND), an MP3 player, a handheld game console, an e-book, a wearable device, etc.

[0039] In some example embodiments, the storage device 100 may be an internal memory embedded in an electronic device. For example, the storage device 100 may be an SSD, an embedded universal flash memory (UFS) memory device, or an embedded multimedia card (eMMC). In some example embodiments, the storage device 100 may be an external memory that can be removed from the electronic device. For example, the storage device 100 may be a UFS memory card, a compact flash memory (CF) card, a secure digital (SD) card, a micro secure digital (Micro-SD) card, a mini secure digital (Mini-SD) card, an extreme digital (xD) card, or a memory stick.

[0040] Figure 2 An example of the monitoring block 241 according to an example embodiment of the inventive concept is shown.

[0041] Reference Figure 2 , the memory chip 200 may include a first die 210 to a fourth die 240. For example, the memory chip 200 may be Figure 1 An example of the NVM 120, and the first die 210 to the fourth die 240 may be Figure 1 . For example, when more than a reference number of abnormal EXCs occur in the fourth die 240 among the first die 210 to the fourth die 240, the fourth die 240 may be determined as a monitoring die. For example, the abnormal EXCs may include erase failure, program failure, and read failure.

[0042] In example embodiments, when consecutive failures for memory operations occur in the fourth die 240, the fourth die 240 may be determined as a monitoring die. According to example embodiments, the threshold number of consecutive failures before a die is determined as a monitoring die may vary. For example, when two failures occur consecutively in the fourth die 240, the fourth die 240 may be determined as a monitoring die. As another example, when more than three failures occur consecutively in the fourth die 240, the fourth die 240 may be determined as a monitoring die.

[0043] In example embodiments, when the number of failures for memory operations in the fourth die 240 is greater than or equal to a reference number, the fourth die 240 may be determined as a monitoring die. For example, when the number of failures for memory operations in the fourth die 240 is equal to or greater than a first reference value and equal to or less than a second reference value, the fourth die 240 may be determined as a monitoring die, wherein the second reference value is greater than the first reference value. For example, when the number of failures for memory operations in the fourth die 240 is greater than the second reference value, the fourth die 240 may be determined as a failed die.

[0044] Among the multiple blocks included in the fourth die 240, a monitoring block 241 may be determined. In an example embodiment, the monitoring block 241 may include a reserved block 241a. Here, the reserved block 241a may represent a predefined block for performing block replacement with a bad block. In an example embodiment, the monitoring block 241 may include a free block 241b. Here, the free block 241b may represent a block that does not store valid user data. For example, the free block 241b may be a block on which an erase operation is completely performed, and may be a block that can perform a programming operation again. In an example embodiment, the monitoring block 241 may include both the reserved block 241a and the free block 241b.

[0045] Figure 3 is a block diagram illustrating a memory controller 110 according to an example embodiment of the inventive concept.

[0046] Reference Figure 1 and Figure 3 , the memory controller 110 may include a processor 111, a memory 112, a host interface 113, and a non-volatile memory interface 114 that may communicate with each other via a bus 115. The processor 111 may include a central processing unit, a microprocessor, etc., and may control the overall operation of the controller 110. In an example embodiment, the processor 111 may be implemented as a multi-core processor (e.g., a dual-core processor or a quad-core processor).

[0047] The memory 112 may operate under the control of the processor 111 and may be used as an operation memory, a buffer memory, a cache memory, etc. For example, the memory 112 may be implemented as a volatile memory such as DRAM, SRAM or a nonvolatile memory such as PRAM or flash memory.

[0048] The memory 112 may store a flash translation layer (FTL) code that may be executed by the processor 111. In some example embodiments, when booting, the FTL code may be loaded from the NVM 120 into the memory 112, so that the memory 112 may be loaded with the failure group detector DET, the group state table TB1, and the block state table TB2. The failure group detector DET may be implemented as firmware or software and may be loaded into the memory 112.

[0049] In some example embodiments, the processor 111 may execute the FTL code stored in the memory 112 to convert the processor 111 into a dedicated processor for performing the functions of the fault group detector DET, so that the processor 111 performs the following discussion. Figure 5Therefore, the processor 111 can improve the function of the storage system 10 itself by detecting the failure group before the failure, thereby reducing the probability of failure by preferentially allocating healthy blocks, and reducing the amount of data migrated between the bad block and one of the multiple healthy blocks when a failure occurs by storing dummy data in the monitoring block.

[0050] However, example embodiments of the inventive concept are not limited thereto. In some example embodiments, the failure group detector DET may be implemented as hardware, or may be provided outside the memory 112 .

[0051] The host interface 113 can provide an interface between the host HT and the controller 110 according to, for example, a universal serial bus (USB), MMC, PCI Express (PCI-E), AT attachment (ATA), serial AT attachment (SATA), parallel AT attachment (PATA), small computer system interface (SCSI), serial attached SCSI (SAS), enhanced small disk interface (ESDI), integrated drive electronics (IDE), etc.

[0052] The nonvolatile memory interface 114 may provide an interface between the controller 110 and the NVM 120. For example, metadata (such as a group status table TB1, a block status table TB2, or a mapping table), write data, and read data may be transmitted and received between the controller 110 and the NVM 120 via the nonvolatile memory interface 114. In example embodiments, the number of the nonvolatile memory interfaces 114 may correspond to the number of nonvolatile memory chips included in the memory device 100 or the number of channels between the controller 110 and the NVM 120.

[0053] Figure 4 is a block diagram illustrating a memory controller 110 ′ according to an example embodiment of the inventive concept.

[0054] Reference Figure 4 , the memory controller 110′ may include a processor 111, a memory 112a, a host interface 113, a nonvolatile memory interface 114, and a DRAM interface 116 that may communicate with each other via a bus 115. The controller 110′ according to this example embodiment may correspond to Figure 3 1. The present invention is a modified example of the controller 110 of the embodiment of the present invention, and therefore a redundant description thereof will be omitted. According to the present example embodiment, the group state table TB1 and the block state table TB2 may be loaded into the DRAM chip 130. The DRAM interface 116 may provide an interface between the controller 110' and the DRAM chip 130. For example, some data included in the group state table TB1 and the block state table TB2 may be transmitted and received between the controller 110' and the DRAM chip 130 via the DRAM interface 116.

[0055] Figure 5 is a flowchart illustrating a method of pre-detecting a failure group according to an example embodiment of the inventive concept.

[0056] Reference Figure 5 The method of pre-detecting a failed group according to the present example embodiment may be a method of pre-detecting a memory group having a high probability of failure before a failed group occurs among a plurality of memory groups (e.g., before a failure), and may include, for example, Figure 1 The memory controller 110 of FIG. 100 is used to perform operations sequentially in time. Figure 1 and Figure 5 A method of pre-detecting a failure group according to this exemplary embodiment is described.

[0057] In operation S110, a monitoring group may be determined among the plurality of memory groups. For example, the controller 110 may determine a memory group having a number of failures or abnormalities equal to or greater than a reference number of failures among the plurality of memory groups 121 included in the NVM 120 as the monitoring group. In addition, the controller 110 may update the group status table TB1 according to the result of determining the monitoring group. For example, the controller 110 may periodically or non-periodically monitor the number of abnormalities or failures occurring in the plurality of memory groups 121. Hereinafter, reference will be made to Figure 6 Operation S110 is described in more detail.

[0058] Figure 6 An example of an operation of determining a monitoring group according to an example embodiment of the inventive concept is shown.

[0059] Refer to Figure 1 and Figure 6 , the NVM 120 may include a first memory group 121a to an mth memory group 121m. Here, m is a positive integer. At this time, the abnormality EXC may occur in the first memory group 121a, and the failure group detector DET may determine the first memory group 121a as a monitoring group. According to example embodiments, the number of monitoring groups may vary. In some example embodiments, a plurality of memory groups may be determined as monitoring groups.

[0060] Refer again Figure 5 In operation S130, a monitoring block may be determined among the plurality of blocks included in the monitoring group. For example, the controller 110 may determine at least one block that does not store valid user data among the plurality of blocks included in the monitoring group as a monitoring block based on the block status table TB2. Figure 7 Operation S130 is described in more detail.

[0061] Figure 7 An example of an operation of determining a monitoring block MB according to an example embodiment of the inventive concept is illustrated.

[0062] Reference Figure 1 and Figure 7 , the monitoring group MG may include a plurality of blocks BLK0 to BLK_N. Here, N is a positive integer. For example, the monitoring group MG may be Figure 6 The first memory group 121a of the plurality of blocks BLK0 to BLK_N may be a first memory group 121a. For example, some of the blocks BLK0, BLK2, and BLK4 among the plurality of blocks BLK0 to BLK_N may be valid blocks including valid pages storing valid user data. The failure group detector DET may determine at least one block (e.g., block BLK1) among the plurality of blocks BLK0 to BLK_N that does not include a valid page as a monitoring block MB. However, the inventive concept is not limited thereto. In some example embodiments, the plurality of blocks BLK1, BLK3, BLK5, ..., BLK_N may be determined as monitoring blocks.

[0063] Refer again Figure 5 In operation S150, a monitoring operation may be performed on the monitoring block. For example, the controller 110 may perform a monitoring operation on the monitoring block by performing a memory operation including at least one of an erase operation, a program operation, and a read operation. For example, the controller 110 may perform a monitoring operation on the monitoring block periodically or non-periodically. Fig. 8A Operation S150 is described in more detail.

[0064] Fig. 8A An example of a monitoring operation performed on a monitoring block MB according to an example embodiment of the inventive concept is illustrated.

[0065] Reference Fig. 8A The monitoring operation performed on the monitoring block MB may include an erase operation, a program operation, and a read operation performed sequentially. First, an erase operation may be performed on the monitoring block MB, and then an erase verification operation may be performed to determine the pass / failure of the erase operation on the monitoring block MB, and the erase failure result (e.g., the number of erase failures) may be updated to the exception table (e.g., Fig. 10A For example, when the erase failure result exceeds a reference number of times, the monitoring group may be determined as a failure group.

[0066] Next, a programming operation may be performed on the monitoring block MB using dummy data, and then a programming verification operation may be performed to determine the pass / failure of the programming operation on the monitoring block MB, and the programming failure result (e.g., the number of programming failures) may be updated to the exception table. For example, when the programming failure result exceeds the reference number of times, the monitoring group may be determined as a failure group. In an example embodiment, a programming operation may be performed on all pages included in the monitoring block MB. In an example embodiment, a programming operation may be performed on some pages included in the monitoring block MB.

[0067] Next, a read operation may be performed on the monitoring block MB, and then a read verification operation may be performed to determine the pass / failure of the read operation on the monitoring block MB, and the read failure result (e.g., the number of read failures) is updated to the exception table. For example, when the read failure result exceeds the reference number of times, the monitoring group may be determined as a failure group. At this time, as a result of the read verification operation, an error that cannot be corrected using an error correction code (ECC) may be referred to as an uncorrectable error correction code (UECC) error.

[0068] Refer again Figure 5 In operation S170, it may be determined whether the monitoring group is a failure group. For example, the controller 110 may perform a monitoring operation on the monitoring block to determine whether the monitoring block is a bad block. In addition, for example, the controller 110 may determine whether the monitoring group is a failure group based on the number of bad blocks included in the monitoring group. Figure 8B Operation S170 is described in more detail.

[0069] Figure 8B An example of a state determination operation performed on a monitoring block MB according to an example embodiment of the inventive concept is shown.

[0070] Reference Figure 8B , the state of the monitoring block MB may be determined to be good or bad based on the result of performing the monitoring operation on the monitoring block MB. In other words, the monitoring block MB may be determined to be a good block MB1 or a bad block MB2. Hereinafter, the good block MB1 will be referred to as a "healthy block". Then, the state determination result of the monitoring block MB may be updated to the block state table (e.g., Fig.14 of 600).

[0071] Fig. 9 is a flowchart illustrating a method of determining a monitoring group according to an example embodiment of the inventive concept.

[0072] Reference Fig. 9 According to this exemplary embodiment, the method for determining a monitoring group may include, for example, Figure 1 For example, the monitoring method according to this example embodiment may correspond to Figure 5 In the following, reference will be made to the example of operation S110 in FIG. Figure 1 and Fig. 9 Describe the method for determining the monitoring group.

[0073] In operation S210, the memory device 100 may perform a memory operation including at least one of erasing, programming, and reading on the memory group. In example embodiments, the memory operation may include various input / output operations of the NVM 120 performed in response to a write request or a read request from the host HT. However, the inventive concept is not limited thereto. In some example embodiments, the memory operation may include various input / output operations (e.g., background operations) of the NVM 120 according to the control operation of the controller 110. In some example embodiments, the memory operation according to operation S210 may include a verification operation on the memory group, wherein the verification operation includes at least one of an erase verification operation, a program verification operation, and a read verification operation.

[0074] In operation S220, the controller 110 may determine whether an abnormality has occurred as a result of performing a memory operation. Here, the "abnormality" may include an erase failure, a program failure, and a read failure.

[0075] When the controller 110 determines that no abnormality has occurred, the memory operation may be completed in operation S270. Then, the controller 110 may send a response message indicating that the memory operation has been completed to the host HT.

[0076] In contrast, when the controller 110 determines that an abnormality has occurred, operation S230 may be performed.

[0077] In operation S230, the controller 110 may update the abnormality table. Fig. 10A To describe the exception table.

[0078] Fig. 10A An example of an exception table 300 according to an example embodiment of the inventive concepts is shown.

[0079] Reference Fig. 10A , the exception table 300 may store the number of read failures, the number of program failures, and the number of erase failures for each of a plurality of memory groups (e.g., a plurality of dies). For one of the plurality of dies, when the number of read failures, the number of program failures, the number of erase failures, or the sum thereof exceeds a reference number, the die may be determined as a failed die. For example, the exception table 300 may be loaded into Figure 3 Memory 112 or Figure 4 In the DRAM chip 130.

[0080] Refer again Fig. 9In operation S240, the controller 110 may determine whether the memory group is a failure group. As a result of the determination, when the memory group is a failure group, a failure group process may be performed on the memory group in operation S260. For example, the failure group process may be a "fail in place (FiP)" process. Specifically, FiP may refer to an operation of mapping a logical address corresponding to a failed die to a logical address of another area (e.g., another die) and migrating data.

[0081] On the other hand, as a result of the determination, when it is determined that the memory group is not a failure group, operation S250 may be performed. In operation S250, the controller 110 may determine whether the memory group is a monitoring group. In some example embodiments, the operation of determining the monitoring group according to operation S250 may include an operation of updating the group status table TB1 according to the result of the determination. Fig. 10B A die status table will be described as an example of the group status table TB1.

[0082] Fig. 10B An example of a die status table 400 according to an example embodiment of the inventive concepts is shown.

[0083] Reference Fig. 10B , the die status table 400 may store information indicating whether each die is a failed die. Fig. 9 When it is determined in operation S240 that the die is a failed die, the die may be updated as a failed die in the die status table 400. For example, when it is determined that the die is a failed die, FiP processing may be performed.

[0084] In addition, the die status table 400 may store information indicating whether each die is a monitoring die. Fig. 9 When the die is determined to be a monitoring die, the die may be updated as a monitoring die in the die status table 400. For example, when the die is determined to be a monitoring die, a monitoring operation may be performed on the monitoring block. For example, the die status table 400 may be loaded into Figure 3 Memory 112 or Figure 4 In the DRAM chip 130.

[0085] Fig.11 is a flowchart illustrating a method of determining a monitoring group according to an example embodiment of the inventive concept in more detail.

[0086] Reference Fig.11 The method for determining a monitoring group according to this example embodiment may correspond to Fig. 9 In operation S310, the controller 110 may determine whether the number of failures is equal to or greater than a first reference number REF1. For example, the number of failures may correspond to Fig. 10AThe number of read failures, the number of program failures, the number of erase failures, or the sum thereof in the exception table 300. As a result of the determination, when the number of failures is equal to or greater than the first reference number REF1, the memory group may be determined as a failed group in operation S320.

[0087] Meanwhile, when it is determined that the number of failures is less than the first reference number REF1, in operation S330, the controller 110 may determine whether the number of failures is greater than or equal to the second reference number REF2. Here, the second reference number REF2 may be less than the first reference number REF1. As a result of the determination, when the number of failures is equal to or greater than the second reference number REF2, the controller 110 may determine the memory group as a monitoring group in operation S340. On the other hand, as a result of the determination, when the number of failures is less than the second reference number REF2, the controller 110 may determine the memory group as a normal group in operation S350.

[0088] Fig.12 An example of a monitoring die 500 according to an example embodiment of the inventive concepts is shown.

[0089] Reference Fig.12 , the monitoring die 500 may include valid blocks BLK0, BLK2, BLK3, BLK5, and BLK7, bad blocks BLK1, BLK4, and BLK6, reserved blocks BLK11, BLK12, and BLK13, and free blocks BLK8, BLK9, and BLK10. In some example embodiments, the monitoring block 510 may include reserved blocks BLK11, BLK12, and BLK13, and free blocks BLK8, BLK9, and BLK10. However, example embodiments of the inventive concept are not limited thereto. In some example embodiments, the monitoring block 510 may include at least one of the reserved blocks BLK11, BLK12, and BLK13, or at least one of the free blocks BLK8, BLK9, and BLK10.

[0090] Fig.13 is a flowchart illustrating an example of a monitoring method performed on a monitoring block according to an example embodiment of the inventive concept.

[0091] Reference Fig.13 , the monitoring method of this example embodiment may correspond to a foreground monitoring method performed on a monitoring block. For example, the monitoring method according to this example embodiment may correspond to Figure 5 For example, the monitoring method according to this example embodiment may include: Figure 1 The memory controller 110 of FIG. 100 is used to perform operations sequentially in time. Figure 1 and Fig.13 A monitoring method according to this exemplary embodiment is described.

[0092] In operation S400, the controller 110 may start block allocation. In example embodiments, when a write request is received from the host HT, the controller 110 may allocate a block included in one of a plurality of memory groups as a write block, wherein the plurality of memory groups are included in the NVM 120. In example embodiments, when a bad block management operation is initiated, the controller 110 may allocate a block included in one of a plurality of memory groups as a write block, wherein the plurality of memory groups are included in the NVM 120. For example, the controller 110 may allocate a block included in one of a plurality of memory groups as a write block. Fig.12 The free block BLK8 in the monitoring die 500 is allocated as a write block.

[0093] In operation S410, the controller 110 may determine whether the allocated block is included in the monitoring group. As a result of the determination, when the block is included in the monitoring group, operation S420 may be performed. On the other hand, when it is determined that the block is not included in the monitoring group, the block allocation may be completed in operation S480. For example, the allocated block BLK8 may be determined as a write block, and in response to a write request from the host HT, user data may be programmed in the allocated block BLK8. For example, the allocated block BLK8 may be determined as a write block, and the data stored in the bad block may be copied to program the copied data in the allocated block BLK8.

[0094] In operation S420, the controller 110 may then perform foreground monitoring of the block. In operation S430, an erase operation may be performed on the block. In addition, operation S430 may include an erase verification operation performed after the erase operation. In operation S440, a programming operation may be performed on the block. For example, dummy data may be programmed in the block. In addition, operation S440 may include a programming verification operation performed after the programming operation. In operation S450, a read operation may be performed on the block. In addition, operation S450 may include a read verification operation performed after the read operation. For example, dummy data programmed in the block may be read. However, the example embodiments of the inventive concept are not limited thereto. In some example embodiments, at least one of operations S430 to S450 may be performed. In addition, in some example embodiments, the order of operations S430 to S450 may be changed.

[0095] In operation S460, the controller 110 may determine whether the block is a bad block. For example, the controller 110 may determine whether the block is a bad block based on at least one of a result of performing an erase verification operation, a result of performing a program verification operation, and a result of performing a read verification operation. When it is determined that the block is not a bad block, operation S470 may be performed. In operation S470, the controller 110 may determine that the block is a healthy block. For example, the controller 110 may determine that the block is a healthy block in a block status table (e.g., Fig.14In 600), the state of block BLK8 is maintained as a free block, and the state of block BLK8 is indicated as a healthy block.

[0096] On the other hand, when it is determined that the block is a bad block, operation S490 may be performed. In operation S490, the controller 110 may change the block state. For example, the controller 110 may update the block state table 600 to reflect the changed block state. For example, the controller 110 may change the state of the block BLK8 to a bad block in the block state table 600, and indicate the state of the block BLK8 as an unhealthy block.

[0097] In operation S495, the controller 110 may update the abnormality table (eg, Fig. 10A 300 in operation S430 to S450). The controller 110 may update the exception table according to the type of failure that occurred in operation S430 to S450. For example, when an erase failure occurs, the controller 110 may update the number of erase failures in the exception table. For example, when a programming failure occurs, the controller 110 may update the number of programming failures in the exception table. For example, when a read failure occurs, the controller 110 may update the number of read failures in the exception table. On the other hand, when it is determined that the block is not a bad block, the controller 110 may determine the block as a healthy block in operation S470. In operation S480, the controller 110 may allocate the block determined to be a healthy block.

[0098] Fig.14 An example of a block status table 600 according to an example embodiment of the inventive concept is shown.

[0099] Reference Fig.14 The block status table 600 may include status information of a plurality of blocks BLK0 to BLK13, wherein the plurality of blocks BLK0 to BLK13 are included in, for example, Fig.12 In the monitoring die 500, for example, blocks BLK0, BLK2, BLK3, BLK5, and BLK7 may be indicated as valid blocks, and blocks BLK1, BLK4, and BLK6 may be indicated as bad blocks. In addition, for example, blocks BLK11, BLK12, and BLK13 may be indicated as reserved blocks, and blocks BLK8, BLK9, and BLK10 may be indicated as free blocks.

[0100] In addition, the block status table 600 may include information indicating whether the plurality of blocks BLK0 to BLK13 are healthy blocks. The information indicating whether the plurality of blocks BLK0 to BLK13 are healthy blocks may be changed by reflecting the result of performing a monitoring operation on the monitoring block. In an example embodiment, as a result of performing a monitoring operation by programming dummy data in the monitoring block, when a programming failure occurs, the monitoring block may be determined to be an unhealthy block (i.e., a bad block). On the other hand, as a result of performing a monitoring operation by programming dummy data in the monitoring block, when a programming failure does not occur, the monitoring block may be determined to be a healthy block.

[0101] Fig.15 is a flowchart illustrating another example of a monitoring method performed on a monitoring block according to an example embodiment of the inventive concept.

[0102] Reference Fig.15 , this example embodiment may correspond to a background monitoring method performed on a monitoring block. For example, the monitoring method according to this example embodiment may correspond to Figure 5 Another example of operation S150 in. For example, the monitoring method according to this example embodiment may include: Figure 1 The memory controller 110 of FIG. 100 is used to perform operations sequentially in time. Figure 1 and Fig.15 A monitoring method according to this exemplary embodiment is described.

[0103] In operation S500, the controller 110 may perform background monitoring on the monitoring block. For example, the controller 110 may monitor the monitoring block included in the Fig.12 The monitoring die 500 of the monitoring chip 500 performs background monitoring on the idle block BLK9. In operation S510, an erase operation may be performed on the monitoring block. In addition, operation S510 may include an erase verification operation performed after the erase operation. In operation S520, a programming operation may be performed on the monitoring block. For example, dummy data may be programmed in the block. In addition, operation S520 may include a programming verification operation performed after the programming operation. In operation S530, a read operation may be performed on the monitoring block. In addition, operation S530 may include a read verification operation performed after the read operation. For example, dummy data programmed in the block may be read. However, the example embodiments of the present inventive concept are not limited thereto. In some example embodiments, at least one of operations S510 to S530 may be performed. In addition, in some example embodiments, the order of operations S510 to S530 may be changed.

[0104] In operation S540, the controller 110 may determine whether the monitoring block is a bad block. For example, the controller 110 may determine whether the monitoring block is a bad block based on at least one of a result of performing an erase verification operation, a result of performing a program verification operation, and a result of performing a read verification operation. When it is determined that the monitoring block is not a bad block, operation S550 may be performed. In operation S550, the controller 110 may determine the monitoring block as a healthy block. For example, the controller 110 may determine that the monitoring block is a healthy block in a block status table (e.g., Fig.14 In 600), the state of block BLK9 is maintained as a free block, and the state of block BLK9 is indicated as a healthy block.

[0105] Meanwhile, when it is determined that the monitoring block is a bad block, operation S560 may be performed. In operation S560, the controller 110 may change the block state. For example, the controller 110 may update the block state table 600 to reflect the changed block state. For example, in the block state table 600, the controller 110 may change the state of the block BLK9 to a bad block and indicate the state of the block BLK9 as an unhealthy block.

[0106] In operation S570, the controller 110 may update the abnormality table (eg, Fig. 10A 300 in operation S510 to S530). The controller 110 may update the exception table according to the type of failure that occurs in operation S510 to S530. For example, when an erase failure occurs, the controller 110 may update the number of erase failures in the exception table. For example, when a program failure occurs, the controller 110 may update the number of program failures in the exception table. For example, when a read failure occurs, the controller 110 may update the number of read failures in the exception table.

[0107] Fig.16 is a block diagram illustrating a memory system 10 a according to an example embodiment of the inventive concept.

[0108] Reference Fig.16 , the storage system 10a may include a storage device 100a and a host HT. The storage device 100a may include a memory controller 110a and an NVM 120. The memory controller 110a may include a failure group detector DET, a group status table TB1, a block status table TB2, and a block allocator BA. The NVM 120 may include a plurality of memory groups 121. The storage device 100a according to this example embodiment may correspond to Figure 1 Therefore, the above reference Figures 1 to 15 The provided description may be applied to the present exemplary embodiment, and redundant description will be omitted.

[0109] The failure group detector DET may determine a monitoring block as a bad block or a healthy block by determining a monitoring group among the plurality of memory groups 121 and performing a monitoring operation on the monitoring block among the plurality of blocks included in the monitoring group. In an example embodiment, the monitoring operation may be performed using dummy data instead of user data, thereby predetermining the state of the monitoring block. In addition, the failure group detector DET may update the determined result to the block state table ( Fig.14 600), and determine whether the monitoring group is a fault group based on the block status table.

[0110] The block allocator BA may allocate healthy blocks in the block status table as user blocks for memory operations on user data. Specifically, the block allocator BA may allocate blocks determined as healthy blocks as a result of monitoring among a plurality of monitoring blocks (i.e., free blocks or reserved blocks not programmed with user data) as user blocks. For example, the block allocator BA may allocate Fig.14 6. As a user block, one of the multiple blocks indicated as healthy blocks in the block status table 600 shown in FIG. 6 is allocated. On the other hand, the block allocator BA may not allocate a block determined as a bad block as a result of monitoring among the multiple monitoring blocks (i.e., free blocks or reserved blocks not programmed with user data) as a user block.

[0111] As described above, by preferentially using healthy blocks among a plurality of blocks included in a monitoring group having a high probability of failure, the block utilization rate of the monitoring group can be improved. In addition, by preferentially using healthy blocks among a plurality of blocks, the time when a bad block greater than a reference number is generated in the monitoring group can be delayed, and thus the time when the monitoring group is treated as a failed group can be delayed.

[0112] Fig.17 A first case 700 and a second case 800 are shown, wherein the first case 700 illustrates processing of a user block 710 according to a comparative example of the inventive concept and the second case 800 illustrates processing of a monitoring block 810 according to an example embodiment of the inventive concept.

[0113] Reference Fig.17 In the first case 700 of the comparative example according to the inventive concept, the user block 710 may include a valid page programmed with user data. For example, user data corresponding to the first logical address LBA 100 may be programmed on the word line WL0, and user data corresponding to the second logical address LBA 500 may be programmed on the word line WLk. Here, k may be any positive integer. When a programming failure occurs for the user block 710 or a UECC occurs due to a read failure, bad block processing or bad block management may be performed on the user block 710.

[0114] Specifically, the user data programmed in the user block 710 may be copied and programmed to another block 720. At this time, the bad block processing may take a considerable time. When the user data is programmed to all k word lines included in the user block 710, it may take a very long time to copy the user data and program the user data to another block 720.

[0115] However, in the second case 800 of the exemplary embodiment according to the present invention, the monitoring block 810 may include a dummy page programmed with dummy data instead of user data. For example, the dummy data may be programmed to the word lines WL0 to WLk. When a programming failure occurs for the monitoring block 810 or a UECC occurs due to a read failure, the monitoring block 810 may be processed as a bad block. However, in this case, since the dummy data programmed in the monitoring block 810 is not copied and programmed to another block, the time required for bad block processing can be significantly reduced compared to the first case 700.

[0116] Fig.18 A computing system 1000 according to an example embodiment of the inventive concepts is shown.

[0117] Reference Fig.18 , the computing system 1000 may include a memory system 1100, a processor 1200, a RAM 1300, an input / output device 1400, and a power supply unit 1500. Meanwhile, although Fig.18 Although not shown in the figure, the computing system 1000 may also include a port capable of communicating with a video card, a sound card, a memory card, a USB device, etc. or other electronic devices. The computing system 1000 may be implemented as a personal computer, or may be implemented as a portable electronic device such as a notebook computer, a mobile phone, a personal digital assistant (PDA), a camera, etc.

[0118] The processor 1200 may perform a specific calculation or task. According to an example embodiment, the processor 1200 may be a microprocessor or a central processing unit (CPU). The processor 1200 may communicate with the RAM 1300, the input / output device 1400, and the memory system 1100 via a bus 1600 such as an address bus, a control bus, and a data bus. At this time, the memory system 1100 may use Figures 1 to 17 For example, the memory system 1100 may include a memory device 1110 and a memory controller 1120. According to example embodiments, the processor 1200 may also be connected to an expansion bus such as a peripheral component interconnect (PCI) bus.

[0119] The RAM 1300 may store data required for the operation of the computing system 1000. For example, the RAM 1300 may be implemented as a DRAM, a mobile DRAM, an SRAM, a PRAM, a FRAM, an RRAM, and / or an MRAM. The input / output device 1400 may include an input tool (such as a keyboard, a keypad, a mouse, etc.) and an output tool (such as a printer, a display, etc.). The power supply unit 1500 may provide an operating voltage required for the operation of the computing system 1000.

[0120] While the inventive concept has been particularly shown and described with reference to certain example embodiments thereof, it will be understood that various changes in form and details may be made therein without departing from the spirit and scope of the following claims.

Claims

1. A storage device, include: a non-volatile memory including a plurality of memory banks; as well as The memory controller is configured as: determining a memory group for which a memory operation fails among the plurality of memory groups as a monitoring group, determining a block including no valid page programmed with valid data among a plurality of blocks included in the monitoring group as a monitoring block, and Before a monitoring group fails, it is determined whether the monitoring group is a failed group by using a dummy data monitoring block. The plurality of memory groups include a plurality of memory chips and / or a plurality of memory dies.

2. The storage device according to claim 1, in, The memory controller is configured to monitor the monitor block by: performing a memory operation on the monitoring block, wherein the memory operation includes at least one of an erase operation, a program operation, and a read operation, and Whether the monitored block is a bad block is determined based on the result of the memory operation.

3. The storage device according to claim 2, in, The memory controller is configured to determine whether the monitoring group is a failed group based on the number of bad blocks included in the monitoring group.

4. The storage device according to claim 1, in, The memory controller is further configured to determine whether the monitoring group is a failed group by: Determine the monitored block as a bad block or a healthy block, updating a block status table for the monitoring group based on whether the monitoring block is a bad block or a healthy block, and It is determined whether the monitoring group is a faulty group based on the block status table.

5. The storage device according to claim 4, in, The memory controller is further configured to allocate the healthy blocks as user blocks for memory operations on user data.

6. The storage device according to claim 1, in, The memory operation includes an erase operation, a program operation, and a read operation which are performed sequentially.

7. The storage device according to claim 1, in, The memory controller is configured to: determine a memory group among the multiple memory groups that has a number of failures of memory operations greater than or equal to a first reference value and less than a second reference value as a monitoring group, wherein the second reference value is greater than the first reference value, and the memory operation includes at least one of an erase operation, a program operation, and a read operation.

8. The storage device according to claim 7, in, The memory controller is also configured to: determining a memory group having a number of failures equal to or greater than a second reference value among the plurality of memory groups as a failed group, and A memory group having a number of failures less than a first reference value among the plurality of memory groups is determined as a normal group.

9. The storage device according to claim 1, in, The monitoring block is either a reserved block or a free block.

10. The storage device according to claim 1, in, The memory controller is further configured to, when a block for a memory operation for user data is allocated as an allocated block, perform the following operations: Determine whether the allocated block is included in the monitoring group, and When the allocated block is included in the monitoring group, the allocated block is monitored.

11. The storage device according to claim 1, in, The memory controller is configured to monitor the monitoring block during idle time.

12. The storage device according to claim 1, in, The memory controller is configured to monitor the monitoring block by monitoring a portion of the pages included in the monitoring block.

13. The storage device according to claim 1, in, The memory controller is configured to monitor the monitoring block by monitoring all pages included in the monitoring block.

14. A memory controller configured to communicate with a non-volatile memory, the memory controller include: Memory; as well as The processor is configured as: determining a memory group in which a memory operation fails among a plurality of memory groups included in the nonvolatile memory as a monitoring group, wherein the monitoring group includes bad blocks and / or healthy blocks, determining a block including no valid page programmed with valid data among a plurality of blocks included in the monitoring group as a monitoring block, Monitor the monitoring block to determine whether the monitoring block is a bad block or a healthy block. determining whether the monitoring group is a failure group based on the number of bad blocks included in the monitoring group, and One of the healthy blocks is allocated as a user block for memory operations on user data.

15. The memory controller according to claim 14, in, The memory controller is configured to monitor the monitor block by: performing a memory operation on the monitoring block, wherein the memory operation includes at least one of an erase operation, a program operation, and a read operation, and Whether the monitored block is one of the bad blocks is determined based on the result of the memory operation.

16. The memory controller according to claim 14, in, The monitoring block is either a reserved block or a free block.

17. A memory controller configured to communicate with a non-volatile memory, the memory controller include: a memory storing a plurality of block status tables corresponding to different memory groups among a plurality of memory groups included in the nonvolatile memory; as well as The processor is configured as: determining a memory group for which a memory operation fails among the plurality of memory groups as a monitoring group, determining a block including no valid page programmed with valid data among a plurality of blocks included in the monitoring group as a monitoring block, Monitor the monitoring block using dummy data to generate results, updating a first block status table corresponding to the monitoring group among the plurality of block status tables based on the result, and Before a failure occurs in the monitoring group, it is determined whether the monitoring group is a failure group based on the first block state table.

18. The memory controller according to claim 17, in, The processor is configured to monitor the monitoring block by: performing a memory operation on the monitoring block to generate the result, wherein the memory operation includes at least one of an erase operation, a program operation, and a read operation, and It is determined whether the monitored block is a bad block based on the result.