[go: up one dir, main page]

TWI897508B - Memory device and detection method for defeat status of memory cell - Google Patents

Memory device and detection method for defeat status of memory cell

Info

Publication number
TWI897508B
TWI897508B TW113124640A TW113124640A TWI897508B TW I897508 B TWI897508 B TW I897508B TW 113124640 A TW113124640 A TW 113124640A TW 113124640 A TW113124640 A TW 113124640A TW I897508 B TWI897508 B TW I897508B
Authority
TW
Taiwan
Prior art keywords
state
state data
bit line
memory cells
data
Prior art date
Application number
TW113124640A
Other languages
Chinese (zh)
Other versions
TW202603725A (en
Inventor
陳威涵
楊宜山
Original Assignee
旺宏電子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 旺宏電子股份有限公司 filed Critical 旺宏電子股份有限公司
Priority to TW113124640A priority Critical patent/TWI897508B/en
Application granted granted Critical
Publication of TWI897508B publication Critical patent/TWI897508B/en
Publication of TW202603725A publication Critical patent/TW202603725A/en

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

A memory device and a detection method for detecting defeat status of memory cell are provided. The memory device is, for example a three dimensional NAND flash memory circuit, and provides a storage media with high-performance and high-capacity. The detection method includes: extracting a plurality of status data stored in a page buffer, finding setting status memory cells among memory cells, and obtaining status data; storing status data to a storage device; after first half levels programming operation are completed, setting one of latches to a selected latch; storing each setting status data to the selected latch; and checking each of the setting status memory cells according to each setting status data to determine whether each of the setting status memory cells is maintained in a setting status.

Description

記憶體裝置及記憶胞的失效狀態的檢測方法Memory device and method for detecting failure status of memory cell

本發明是有關於一種記憶體裝置及記憶胞的失效狀態的檢測方法,且特別是有關於一種可防止資料漏失的憶體裝置及記憶胞的失效狀態的檢測方法。 The present invention relates to a method for detecting the failure status of a memory device and a memory cell, and more particularly to a method for detecting the failure status of a memory device and a memory cell that can prevent data loss.

請參照圖1的習知的快閃記憶體的字元線損壞的狀態圖。其中,在快閃記憶體領域中,在進行程式化動作時,需要針對被程式化的記憶胞進行驗證動作,並確定資料有正確的寫入記憶胞中。並且,若發現資料無法正確寫入至記憶胞,則需將資料寫另外的記憶頁中,以防止資料漏失。 Refer to Figure 1 for a diagram illustrating a known flash memory word line failure. In the flash memory field, during programming, verification is required on the programmed memory cells to ensure that the data is correctly written to the memory cells. Furthermore, if data is found to be incorrectly written to the memory cells, it is written to another memory page to prevent data loss.

在習知的技術領域中,當字元線WLn執行多次的被程式化動作後,字元線WLn與鄰近的字元線WLn+1及/或WLn-1間的可能因字元線WLn多次的偏壓動作而發生相互短路的現象。上述的失效現象,無法透過程式化驗證動作以及錯誤修正代碼(Error correcting code,ECC)的技術來進行資料的回復動作。 In conventional technology, after word line WLn is programmed multiple times, short circuits may occur between word line WLn and adjacent word lines WLn+1 and/or WLn-1 due to repeated biasing of word line WLn. This failure cannot be recovered through programming verification and error correction code (ECC) technology.

本發明提供一種記憶體裝置及其記憶胞的失效狀態的檢測方法,可有效偵測出因過度程式化動作所產生的失效記憶胞。 The present invention provides a memory device and a method for detecting the failure status of its memory cells, which can effectively detect failed memory cells caused by over-programming.

本發明的記憶胞的失效狀態的檢測方法包括:檢索頁緩衝器中儲存的多個狀態資料,查找出多個記憶胞中為設定狀態的多個設定狀態記憶胞,獲得分別對應設定狀態記憶胞的多個設定狀態資料;儲存狀態資料至儲存裝置中;執行多位階的程式化動作,在前半數的位階的程式化動作完成後,設定頁緩衝器中的多個閂鎖器中的其中之一為選定閂鎖器;使儲存裝置將各設定狀態資料轉存至選定閂鎖器中;以及,根據各設定狀態資料以對各設定狀態記憶胞進行檢查,以確定各設定狀態記憶胞是否維持在設定狀態下。 The present invention provides a method for detecting a failure state of a memory cell, comprising: searching a plurality of state data stored in a page buffer, finding a plurality of set-state memory cells in a set state among a plurality of memory cells, and obtaining a plurality of set-state data corresponding to the set-state memory cells; storing the state data in a storage device; executing a multi-level programmed action in the front After half of the level programming actions are completed, one of the multiple latches in the page buffer is set as a selected latch; the storage device is caused to transfer each configuration state data to the selected latch; and each configuration state memory cell is checked based on each configuration state data to determine whether each configuration state memory cell remains in the configuration state.

本發明的記憶體裝置包括頁緩衝器、儲存裝置以及控制器。頁緩衝器耦接至記憶體區塊的至少一位元線,頁緩衝器包括多個閂鎖器以及位元線偏壓及感測電路。儲存裝置耦接至頁緩衝器。控制器耦接至儲存裝置以及該頁緩衝器,用以執行如上所述的記憶胞的失效狀態的檢測方法。 The memory device of the present invention includes a page buffer, a storage device, and a controller. The page buffer is coupled to at least one bit line of a memory block and includes multiple latches and a bit line bias and sensing circuit. The storage device is coupled to the page buffer. The controller is coupled to the storage device and the page buffer to execute the above-described method for detecting a memory cell failure.

基於上述,本發明透過在程式化動作的過程中,執行記憶胞失效狀態的檢測動作。本發明透過檢測為設定狀態的設定狀態記憶胞,在程式化動作後,設定狀態記憶胞是否維持在設定狀態下,並藉此獲知設定狀態記憶胞是否為失效記憶胞。進一步的,本發明的記憶體裝置可針對失效記憶胞進行遮罩,以防止失效記憶 胞被誤用,產生資料漏失的現象,有效提升資料的安全性。 Based on the above, the present invention performs memory cell failure detection during programming. This detects whether a set-state memory cell remains in its set state after programming, thereby determining whether the set-state memory cell is a failed memory cell. Furthermore, the memory device of the present invention can mask failed memory cells to prevent misuse and data loss, effectively enhancing data security.

300:記憶體裝置 300: Memory device

310~313:閂鎖器 310~313: Latch

320:位元線偏壓及感測電路 320: Bit line bias and sensing circuit

330:儲存裝置 330: Storage device

340:控制器 340: Controller

BH0~BH4:資料維持器 BH0~BH4: Data Holder

BL:位元線 BL: Bit Line

DBUS1、DBUS2:匯流排 DBUS1, DBUS2: Buses

DLB、DL:資料 DLB, DL: Data

M31~M37:電晶體 M31~M37: Transistors

ND:節點 ND: Node

PB:頁緩衝器 PB: Page Buffer

PDL、PDLB、PL1~PL3、CNB、DSEL、BLC1、BLC2、BLDC:控制信號 PDL, PDLB, PL1~PL3, CNB, DSEL, BLC1, BLC2, BLDC: Control signals

S1~S10:開關 S1~S10: Switch

S210~S250、S410~S4170:步驟 S210~S250, S410~S4170: Steps

SEN:感測信號 SEN: Sense signal

VDDI:電壓 VDDI: voltage

VSS:參考接地端 VSS: Reference ground

WLn、WLn+1、WLn-1:字元線 WLn, WLn+1, WLn-1: character lines

圖1為習知的快閃記憶體的字元線損壞的狀態圖。 Figure 1 shows the state of a known flash memory word line failure.

圖2繪示本發明一實施例的記憶胞的失效狀態的檢測方法的流程圖。 Figure 2 shows a flow chart of a method for detecting a memory cell failure state according to an embodiment of the present invention.

圖3A繪示本發明實施例的記憶體裝置的示意圖。 Figure 3A shows a schematic diagram of a memory device according to an embodiment of the present invention.

圖3B繪示本發明實施例的位元線偏壓及感測電路的實施方式的示意圖。 FIG3B is a schematic diagram illustrating an implementation of a bit line bias and sensing circuit according to an embodiment of the present invention.

圖4A以及圖4B繪示本發明一實施例的程式化動作的流程圖。 Figures 4A and 4B illustrate a flow chart of the programming actions of an embodiment of the present invention.

請參照圖2,圖2繪示本發明一實施例的記憶胞的失效狀態的檢測方法的流程圖。本實施例的動作流程搭配記憶體裝置的程式化動作來執行。在圖2中,在步驟S210中,記憶體裝置的控制器可檢索頁緩衝器中儲存的多個狀態資料,並查找出多個記憶胞中為一設定狀態的多個設定狀態記憶胞,獲得分別對應所檢索出的設定狀態記憶胞的多個設定狀態資料。接著,在步驟S220中,控制器可將上述的設定狀態資料儲存至一儲存裝置中。 Please refer to Figure 2, which illustrates a flow chart of a method for detecting a memory cell failure according to an embodiment of the present invention. The process flow of this embodiment is executed in conjunction with programmed actions of a memory device. In Figure 2, in step S210, the controller of the memory device may search multiple state data stored in the page buffer and locate multiple set-state memory cells in a set state among the multiple memory cells, obtaining multiple set-state data corresponding to the retrieved set-state memory cells. Next, in step S220, the controller may store the aforementioned set-state data in a storage device.

接著,在步驟S230,控制器可執行記憶體裝置的多位階 (multi-level)的程式化動作。在多位階的程式化動作中,控制器可基於預先設定好的位階順序來執行程式化動作。並且,在前半數的位階的程式化動作完成後,控制器可設定頁緩衝器中的多個閂鎖器中的其中之一為選定閂鎖器,其中選定閂鎖器在此時為空閒閂鎖器(free latch)。在此請注意,請參照下表所示,在程式化動作中,以三個位元為範例,各個位階對應的閂鎖器所儲存的資料: 在上表中,對應記憶胞不同狀態,閂鎖器L1~L3分別儲存多個資料。以對應抹除狀態的記憶胞為例,閂鎖器L1~L3可分別儲存邏輯值1、0、1;以程式化位階A為例,閂鎖器L1~L3可分別儲存邏輯值1、1、1。其餘可根據上表依此類推。 Next, in step S230, the controller may execute a multi-level programming action of the memory device. In the multi-level programming action, the controller may execute the programming action based on a pre-set bit order. Furthermore, after the first half of the bit-level programming actions are completed, the controller may set one of the multiple latches in the page buffer as a selected latch, wherein the selected latch is a free latch at this time. Please note that, referring to the table below, in the programming action, taking three bits as an example, the data stored in the latch corresponding to each bit level is: In the table above, latches L1-L3 store various data corresponding to different memory cell states. For example, for a memory cell in the erased state, latches L1-L3 can store logical values of 1, 0, and 1, respectively. For program level A, latches L1-L3 can store logical values of 1, 1, and 1, respectively. The same applies to the rest of the memory cell.

由上表可以得知,當位階C的記憶胞的程式化動作完成後,後續位階D~G的記憶胞的程式化動作中,閂鎖器L1中所儲存的資料皆為邏輯值0而不改變。也就是說,在後續的程式化動作中,閂鎖器L1對於程式化動作的位階辨識並不提供貢獻。因此,在前半數的位階的程式化動作完成後,閂鎖器L1可以被設定為選定閂鎖器。 As can be seen from the table above, after the programming action for the memory cell at level C is completed, the data stored in latch L1 remains unchanged during the subsequent programming actions for the memory cells at levels D-G, with the logical value 0. In other words, latch L1 does not contribute to the level identification of the programming action during the subsequent programming actions. Therefore, after the programming actions for the first half of the levels are completed, latch L1 can be set as the selected latch.

接著,在步驟S240中,控制器可將儲存裝置中的各個設定狀態資料傳送至對應的選定閂鎖器中。接著,控制器可繼續執行 後續一半的位階的程式化動作。 Next, in step S240, the controller transfers the configuration data from the storage device to the corresponding selected latch. The controller then continues executing the programmed actions for the next half of the level.

在步驟S250中,控制器可在當所有位階的程式化動作階完成後,透過儲存在選定閂鎖器中的各個設定狀態資料,來針對對應的各個設定狀態記憶胞進行檢查,以藉此確定這些設定狀態記憶胞是否仍然維持在設定狀態下。當設定狀態記憶胞被檢查出仍然維持為設定狀態時,表示記憶胞並未受到位元線失效的狀態而產生資料漏失的現象。相對的,當設定狀態記憶胞被檢查出已非維持為設定狀態時,表示在程式化過程中,設定狀態記憶胞受到位元線失效或位元線干擾的狀態而產生資料漏失的現象。 In step S250, after all levels of programming are complete, the controller checks the corresponding set-state memory cells using the set-state data stored in the selected latches to determine whether these set-state memory cells are still in the set state. If the set-state memory cells are found to be still in the set state, this indicates that the memory cells have not experienced data loss due to a bit line failure. Conversely, if the set-state memory cells are found to be no longer in the set state, this indicates that the set-state memory cells have experienced data loss due to a bit line failure or bit line disturbance during the programming process.

進一步的,當設定狀態記憶胞被檢查出已非維持為設定狀態的情況發生時,控制器可設定對應的設定狀態記憶胞為失效記憶胞,並遮罩失效記憶胞而不被使用,以減低發生資料漏失的現象的機率。並且,在本實施例中,若被遮罩的失效記憶胞的累計數量大於預設的一個閾值時,控制器可遮罩整個記憶胞區塊而不被使用,以維護資料的正確性。 Furthermore, when a set-state memory cell is detected as no longer maintaining its set state, the controller can set the corresponding set-state memory cell as a failed memory cell and mask the failed memory cell from use, thereby reducing the probability of data loss. Furthermore, in this embodiment, if the cumulative number of masked failed memory cells exceeds a preset threshold, the controller can mask the entire memory cell block from use to maintain data accuracy.

附帶一提的,上述的設定狀態可以為抹除狀態。或者,在本發明實施例中,上述的設定狀態也可以為任意位階的程式化狀態,沒有一定的限制。 Incidentally, the aforementioned setting state can be an erase state. Alternatively, in the embodiment of the present invention, the aforementioned setting state can also be a programmed state of any level without any specific restrictions.

以下請參照圖3A,圖3A繪示本發明實施例的記憶體裝置的示意圖。記憶體裝置300包括頁緩衝器PB、儲存裝置330以及控制器340。頁緩衝器PB耦接至記憶體區塊的位元線BL。頁緩衝器PB包括閂鎖器310~313以及位元線偏壓及感測電路320。 其中,閂鎖器310~313共同耦接至匯流排DBUS1,閂鎖器310~313並透過匯流排DBUS1以耦接至位元線偏壓及感測電路320。 Please refer to Figure 3A , which shows a schematic diagram of a memory device according to an embodiment of the present invention. Memory device 300 includes a page buffer PB, a storage device 330 , and a controller 340 . Page buffer PB is coupled to the bit lines BL of a memory block. Page buffer PB includes latches 310 - 313 and a bit line bias and sense circuit 320 . Latches 310 - 313 are commonly coupled to bus DBUS1 , which in turn couples to bit line bias and sense circuit 320 via bus DBUS1 .

在細節上,閂鎖器310~313分別具有資料維持器(bus holder)BH0~BH3。資料維持器BH0透過開關S1、S2以耦接至匯流排DBUS1;資料維持器BH1透過開關S3、S4以耦接至匯流排DBUS1;資料維持器BH2透過開關S5、S6以耦接至匯流排DBUS1;資料維持器BH3透過開關S7、S8以耦接至匯流排DBUS1。開關S1、S2分別受控於控制信號PDL以及PDLB;開關S3、S5、S7分別受控於控制信號PL1~PL3;開關S4、S6、S8分別受控於控制信號PL1B~PL3B。 In detail, latches 310-313 each have bus holders BH0-BH3. Bus holder BH0 is coupled to bus DBUS1 via switches S1 and S2; bus holder BH1 is coupled to bus DBUS1 via switches S3 and S4; bus holder BH2 is coupled to bus DBUS1 via switches S5 and S6; and bus holder BH3 is coupled to bus DBUS1 via switches S7 and S8. Switches S1 and S2 are controlled by control signals PDL and PDLB, respectively; switches S3, S5, and S7 are controlled by control signals PL1-PL3, respectively; and switches S4, S6, and S8 are controlled by control signals PL1B-PL3B, respectively.

匯流排DBUS1可透過開關S9、S10以耦接至儲存裝置330。開關S9、S10可分別受控於控制信號CNB以及DSEL。 Bus DBUS1 can be coupled to storage device 330 via switches S9 and S10. Switches S9 and S10 can be controlled by control signals CNB and DSEL, respectively.

透過依序導通開關S9、S10,可將匯流排DBUS1上的資料傳輸至儲存裝置330。相對的,透過依序導通開關S10、S9,可將儲存裝置330上的資料傳輸至匯流排DBUS1。另外,在使閂鎖器310~313間進行資料轉移時,以閂鎖器310轉移資料至閂鎖器311為範例,可先使開關S1、S2導通,並使資料維持器BH0中的互為差動信號的資料DL、DLB傳送至匯流排DBUS1上。接著,斷開開關S1、S2,並使開關S3、S4導通,使匯流排DBUS1上的資料被寫入至閂鎖器311中的資料維持器BH1中。 By sequentially turning on switches S9 and S10, data on bus DBUS1 can be transferred to storage device 330. Conversely, by sequentially turning on switches S10 and S9, data on storage device 330 can be transferred to bus DBUS1. Furthermore, when transferring data between latches 310-313, for example, latch 310 transferring data to latch 311, switches S1 and S2 are first turned on, allowing the differential data signals DL and DLB in data holder BH0 to be transferred to bus DBUS1. Next, switches S1 and S2 are turned off, and switches S3 and S4 are turned on, causing the data on bus DBUS1 to be written into data holder BH1 in latch 311.

在另一方面,控制器340可用以產生上述的多個控制信號PDL、PDLB、PL1~PL3以及PL1B~PL3,並用以操控頁緩衝器 PB及儲存裝置330間的資料傳輸動作。 On the other hand, the controller 340 can be used to generate the aforementioned control signals PDL, PDLB, PL1-PL3, and PL1B-PL3 to control data transfer between the page buffer PB and the storage device 330.

此外,位元線偏壓及感應電路320可接收由閂鎖器310所提供的設定狀態資料(例如資料DLB)來針對位元線BL進行偏壓。其中,當設定狀態資料為抹除狀態資料時,資料DLB例如為邏輯值0,位元線偏壓及感應電路320可使對應的位元線被偏壓為一第一電壓值。相對的,當設定狀態資料非為抹除狀態資料時,資料DLB例如為邏輯值1,位元線偏壓及感應電路320可使對應的位元線被偏壓為一第二電壓值,其中第一電壓值可大於第二電壓值。在本實施例中,閂鎖器310可以為輸出閂鎖器。 Furthermore, the bit line bias and sense circuit 320 can receive set state data (e.g., data DLB) provided by the latch 310 to bias the bit line BL. When the set state data is erased state data, the data DLB is, for example, a logical value of 0, and the bit line bias and sense circuit 320 can bias the corresponding bit line to a first voltage value. Conversely, when the set state data is not erased state data, the data DLB is, for example, a logical value of 1, and the bit line bias and sense circuit 320 can bias the corresponding bit line to a second voltage value, where the first voltage value can be greater than the second voltage value. In this embodiment, the latch 310 may be an output latch.

儲存裝置330可以為一快取(cache)裝置。在本實施例中,儲存裝置330包括資料保持器BH4。資料保持器BH4可透過開關S10以耦接至匯流排DBUS1。在本實施例中,資料保持器BH4可另透過開關S10以耦接至另一匯流排DBUS2。其中,狀態資料可直接儲存在資料保持器BH4中。或者,狀態資料可預先儲存在另一儲存裝置,並在需要被讀取時透過開關S10以由另一匯流排DBUS2傳送至資料保持器BH4中以進行暫存,再透過開關S10以提供至匯流排DBUS1。 Storage device 330 can be a cache device. In this embodiment, storage device 330 includes a data holder BH4. Data holder BH4 can be coupled to bus DBUS1 via switch S10. In this embodiment, data holder BH4 can also be coupled to another bus DBUS2 via switch S10. Status data can be stored directly in data holder BH4. Alternatively, the status data can be pre-stored in another storage device and transferred from another bus DBUS2 to data holder BH4 for temporary storage via switch S10 when the data needs to be read. The data is then provided to bus DBUS1 via switch S10.

對應本案圖2的動作流程,在步驟S220中,作為輸出閂鎖器的閂鎖器310可在程式化動作之前,將例如為抹除狀態資料的設定狀態資料DL儲存至儲存裝置330中,以防止抹除狀態資料消失。在步驟S230中,在半數的些位階的程式化動作完成後,閂鎖器311可以被設定為選定閂鎖器,並在步驟S240中,儲存裝 置330可將設定狀態資料(抹除狀態資料)轉存至選定閂鎖器(亦即閂鎖器311)中。 Corresponding to the operational flow shown in Figure 2 of this embodiment, in step S220, latch 310, acting as the output latch, may store setting state data DL, such as erase state data, in storage device 330 before programming to prevent the erase state data from being lost. In step S230, after half of the level programming is complete, latch 311 may be set as the selected latch. In step S240, storage device 330 may transfer the setting state data (erase state data) to the selected latch (i.e., latch 311).

在步驟250中,選定閂鎖器(閂鎖器311)可將所儲存的抹除狀態資料傳送至輸出閂鎖器(閂鎖器310)。進一步的,輸出閂鎖器(閂鎖器310)將抹除狀態資料傳送至位元線偏壓及感測電路320,位元線偏壓及感測電路320則根據抹除狀態資料來施加一高電壓的偏壓電壓至位元線BL,並針對抹除狀態的記憶胞進行感測動作,來藉此獲知抹除狀態的記憶胞是否維持在抹除狀態下。 In step 250, the selected latch (latch 311) transmits the stored erase state data to the output latch (latch 310). Furthermore, the output latch (latch 310) transmits the erase state data to the bit line bias and sense circuit 320. The bit line bias and sense circuit 320 applies a high voltage bias to the bit line BL based on the erase state data and senses the erased memory cells to determine whether the erased memory cells remain in the erased state.

以下請參照圖3B,圖3B繪示本發明實施例的位元線偏壓及感測電路的實施方式的示意圖。位元線偏壓及感測電路320包括拉高電晶體M31、M32以及拉低電晶體M33、M34。拉高電晶體M31、電晶體M32依序串接在電壓VDDI以及節點ND間。拉低電晶體M34、電晶體M33依序串接在參考接地端VSS以及節點ND間。拉高電晶體M31受控於資料DLB,並在資料DLB為邏輯值0時(表示為抹除狀態),將節點ND的電壓拉高至電壓VDDI(此時電晶體M32根據控制信號BLC2而被導通)。拉低電晶體M34受控於資料DLB,並在資料DLB為邏輯值1時(表示非為抹除狀態),將節點ND的電壓拉低至接地電壓(此時電晶體M33根據控制信號BLDC而被導通)。 Please refer to Figure 3B below, which shows a schematic diagram of an implementation of a bit line bias and sense circuit according to an embodiment of the present invention. The bit line bias and sense circuit 320 includes pull-up transistors M31 and M32 and pull-down transistors M33 and M34. Pull-up transistors M31 and M32 are connected in series between voltage VDDI and node ND. Pull-down transistors M34 and M33 are connected in series between reference ground VSS and node ND. Pull-up transistor M31 is controlled by data DLB and, when data DLB is a logical value of 0 (indicating an erase state), pulls the voltage of node ND up to voltage VDDI (at which time transistor M32 is turned on by control signal BLC2). The pull-down transistor M34 is controlled by the data DLB. When the data DLB is a logical value of 1 (indicating a non-erase state), the voltage of the node ND is pulled down to the ground voltage (at this time, the transistor M33 is turned on according to the control signal BLDC).

節點ND透過電晶體M35以耦接至位元線BL。電晶體M35根據控制信號BLC1而被導通,並提供節點ND上的電壓以對位元線BL進行偏壓。並藉此,可針對設定狀態記憶胞是否維持 在設定狀態(抹除狀態)進行感測動作。 Node ND is coupled to bit line BL via transistor M35. Transistor M35 is turned on by control signal BLC1 and provides a voltage at node ND to bias bit line BL. This senses whether the set-state memory cell remains in the set state (erase state).

此外,節點ND另透過電晶體M36以耦接至電晶體M37的控制端。在當位元線BL被偏壓至相對高的電壓VDDI時,電晶體M37的控制端的感測信號SEN對應為電壓VDDI,並可使電晶體M37導通。相對的,在當位元線BL被偏壓至相對低的接地電壓時,電晶體M37的控制端的感測信號SEN對應為接地電壓,並可使電晶體M37截止。位元線BL也可被充電至低於電壓VDDI的另一電壓準位,上述的另一電壓準位可根據控制信號BLC1以及BLC2來決定。 Furthermore, node ND is coupled to the control terminal of transistor M37 via transistor M36. When bit line BL is biased to a relatively high voltage, VDDI, the sense signal SEN at the control terminal of transistor M37 corresponds to voltage VDDI, turning on transistor M37. Conversely, when bit line BL is biased to a relatively low ground voltage, the sense signal SEN at the control terminal of transistor M37 corresponds to ground, turning off transistor M37. Bit line BL can also be charged to another voltage level lower than voltage VDDI. This other voltage level can be determined by control signals BLC1 and BLC2.

此外,電晶體M38、M39依序串接在電壓VPW3以及電晶體M37間。電晶體M38、M39分別受控於信號PSTL以及STB。其中,電晶體M38可根據信號PSTL被導通,並提供電壓VPW3以對匯流排DBUS1進行充電。在本實施例中,電壓VPW3可與電壓VDDI具有不相同的電壓值。 Furthermore, transistors M38 and M39 are connected in series between voltage VPW3 and transistor M37. Transistors M38 and M39 are controlled by signals PSTL and STB, respectively. Transistor M38 is turned on by signal PSTL and provides voltage VPW3 to charge bus DBUS1. In this embodiment, voltage VPW3 can have a different voltage value from voltage VDDI.

以下請參照圖4A以及圖4B,圖4A以及圖4B繪示本發明一實施例的程式化動作的流程圖。首先,針對記憶體裝置的程式化動作執行設定動作。在圖4A中,在步驟S410中,儲存裝置可載入(load)頁緩衝器中的閂鎖器的資料。在步驟S420中,則可設定狀態資料DL=1,並將狀態資料DL傳送至儲存裝置。在步驟S430中,可啟動程式化動作,並在步驟S450中判斷2n-1的位階的程式化動作是否已完成,在此n為記憶胞的儲存資料的位階數。 Please refer to Figures 4A and 4B below, which illustrate a flow chart of a programming action according to an embodiment of the present invention. First, a setting action is performed for the programming action of the memory device. In Figure 4A, in step S410, the storage device can load the data of the latch in the page buffer. In step S420, the status data DL=1 can be set and the status data DL can be transmitted to the storage device. In step S430, the programming action can be started, and in step S450, it is determined whether the programming action of the 2n -1 level has been completed, where n is the level number of the storage data of the memory cell.

當步驟S450的判斷結果為否時,執行步驟S440以持續 執行程式化動作,並重新執行步驟S450,直至S450的判斷結果為是。 If the determination result of step S450 is negative, step S440 is executed to continue the programmed action and step S450 is executed again until the determination result of step S450 is positive.

接著在步驟S460中,儲存裝置傳送狀態資料DL=1至選定閂鎖器,並透過步驟S470以持續執行後續的程式化動作。在步驟S480中,當所有位階的程式化動作均通過後,在步驟S490中,選定閂鎖器傳送設定狀態資料至輸出閂鎖器。並在步驟S4100中,對應設定狀態資訊,記憶體裝置可執行選擇性的讀取動作,並進入節點A。 Next, in step S460, the storage device transmits status data DL = 1 to the selected latch and continues executing subsequent programming actions through step S470. In step S480, when all level programming actions have passed, the selected latch transmits the set status data to the output latch in step S490. In step S4100, the memory device selectively performs a read action corresponding to the set status information and enters node A.

在圖4B中,接續圖4A的節點A,在步驟S4110中,記憶體裝置的控制器可針對記憶胞是否原始記錄為設定狀態進行判斷,若判斷結果為是可執行步驟S4120,相對的,若判斷結果為否可執行步驟S4130。 In Figure 4B , continuing from Node A in Figure 4A , in step S4110 , the controller of the memory device may determine whether the memory cell is originally recorded in the set state. If the determination result is yes, step S4120 may be executed. Conversely, if the determination result is no, step S4130 may be executed.

在步驟S4130中,位元線可被設定至一接地電壓,並在步驟S4160以清除設定狀態。 In step S4130, the bit line can be set to a ground voltage and cleared in step S4160.

在步驟S4120中,位元線可被偏壓至一高電壓以執行記憶胞的讀取動作,並在步驟S4140中判斷記憶胞是否維持在設定狀態下。當判斷結果為是,執行步驟S4160;相對的,若判斷結果為否,則執行步驟S4150。 In step S4120, the bit line may be biased to a high voltage to perform a memory cell read operation. In step S4140, it is determined whether the memory cell remains in the set state. If the determination result is yes, step S4160 is executed; conversely, if the determination result is no, step S4150 is executed.

在步驟S4150中,記憶胞被設定為失效記憶胞,並且在步驟S4170中,控制器可計數失效記憶胞的累積數量是否大於一閾值。在當失效記憶胞的累積數量大於閾值時,控制器可遮罩對應的記憶體區塊而不被使用。在當失效記憶胞的累積數量未大於閾 值時,可結束此流程。 In step S4150, a memory cell is set as a failed memory cell. In step S4170, the controller may count the accumulated number of failed memory cells to determine whether it exceeds a threshold. If the accumulated number of failed memory cells exceeds the threshold, the controller may mask the corresponding memory block from use. If the accumulated number of failed memory cells does not exceed the threshold, the process may terminate.

綜上所述,本發明透過將設定狀態記憶胞的狀態資訊,在前半數的位階的程式化動作完成後,儲存在選定閂鎖器中。並在所有位階的程式化動作完成後,根據設定狀態資料來感測設定狀態記憶胞是否仍維持在設定狀態中,並藉此感測出記憶胞是否為失效記憶胞。如此一來,記憶胞是否為失效狀態可以被準確的感測出,有效防止資料漏失的現象。 In summary, the present invention stores the state information of the set-state memory cell in a selected latch after the programming of the first half of the levels is completed. After the programming of all levels is completed, the set-state memory cell is detected based on the set-state data to determine whether it remains in the set state and, thereby, whether the memory cell is invalid. This allows accurate detection of memory cell invalidation, effectively preventing data loss.

S210~S250:步驟 S210~S250: Steps

Claims (19)

一種記憶胞的失效狀態的檢測方法,包括:檢索一頁緩衝器中儲存的多個狀態資料,查找出多個記憶胞中為一設定狀態的多個設定狀態記憶胞,獲得分別對應該些設定狀態記憶胞的多個設定狀態資料;儲存該些設定狀態資料至一儲存裝置中;執行多位階的一程式化動作,在前半數的該些位階的程式化動作完成後,設定該頁緩衝器中的多個閂鎖器中為空閒閂鎖器者為一選定閂鎖器;使該儲存裝置將各該設定狀態資料轉存至該選定閂鎖器中;以及根據各該設定狀態資料以對各該設定狀態記憶胞進行檢查,以確定各該設定狀態記憶胞是否維持在該設定狀態下。A method for detecting a failure state of a memory cell includes: searching a plurality of state data stored in a page buffer, finding a plurality of set-state memory cells in a set state among a plurality of memory cells, obtaining a plurality of set-state data corresponding to the set-state memory cells; storing the set-state data in a storage device; executing a multi-level programmed action, wherein the first half of the After the programmed actions of the levels are completed, an idle latch among the plurality of latches in the page buffer is set as a selected latch; the storage device is caused to transfer each of the setting state data to the selected latch; and each of the setting state memory cells is checked according to each of the setting state data to determine whether each of the setting state memory cells remains in the setting state. 如請求項1所述的檢測方法,更包括:當各該設定狀態記憶胞非維持在該設定狀態下時,設定各該設定狀態記憶胞為失效記憶胞。The detection method as described in claim 1 further includes: when each of the set-state memory cells is not maintained in the set state, setting each of the set-state memory cells as a failed memory cell. 如請求項2所述的檢測方法,更包括:計數各該設定狀態記憶胞為失效記憶胞的一累計數量,並在該累計數量大於一閾值時,設定各該設定狀態記憶胞對應的記憶體區塊為失效記憶體區塊。The detection method as described in claim 2 further includes: counting a cumulative number of each of the set-state memory cells as failed memory cells, and when the cumulative number is greater than a threshold, setting the memory block corresponding to each of the set-state memory cells as a failed memory block. 如請求項1所述的檢測方法,其中各該狀態資料為一抹除狀態資料或不同位階的程式化狀態資料。The detection method as described in claim 1, wherein each of the state data is an erased state data or a programmed state data of different levels. 如請求項1所述的檢測方法,其中設定該頁緩衝器中的該些閂鎖器中的其中之一為該選定閂鎖器的步驟包括:設定在後續的該些位階的程式化動作中,不會變更儲存資料的各該閂鎖器為該選定閂鎖器。The detection method as described in claim 1, wherein the step of setting one of the latches in the page buffer as the selected latch includes: setting each latch that does not change the stored data in subsequent programming actions of the bit levels as the selected latch. 如請求項1所述的檢測方法,其中根據各該狀態資料以對各該設定狀態記憶胞進行檢查,以確定各該設定狀態記憶胞是否維持在該設定狀態下的步驟包括:使該選定閂鎖器提供各該設定狀態資料至一位元線偏壓及感測電路;以及使該位元線偏壓及感測電路根據各該設定狀態資料以檢查各該設定狀態記憶胞是否維持在該設定狀態下。The detection method as described in claim 1, wherein the step of checking each set-state memory cell according to each state data to determine whether each set-state memory cell remains in the set state includes: causing the selected latch to provide each set-state data to a bit line bias and sensing circuit; and causing the bit line bias and sensing circuit to check whether each set-state memory cell remains in the set state according to each set state data. 如請求項6所述的檢測方法,更包括:當各該設定狀態資料為抹除狀態資料時,該位元線偏壓及感應電路根據各該設定狀態資料使對應的位元線被偏壓為一第一電壓值;以及當各該設定狀態資料為非抹除狀態資料時,該位元線偏壓及感應電路根據各該設定狀態資料使對應的位元線被偏壓為一第二電壓值,其中該第一電壓值大於該第二電壓值。The detection method as described in claim 6 further includes: when each of the set state data is erased state data, the bit line bias and sensing circuit biases the corresponding bit line to a first voltage value according to each of the set state data; and when each of the set state data is non-erased state data, the bit line bias and sensing circuit biases the corresponding bit line to a second voltage value according to each of the set state data, wherein the first voltage value is greater than the second voltage value. 一種記憶體裝置,包括:一頁緩衝器,耦接至一記憶體區塊的至少一位元線,該頁緩衝器包括多個閂鎖器以及一位元線偏壓及感測電路;一儲存裝置,耦接至該頁緩衝器;以及一控制器,耦接至該儲存裝置以及該頁緩衝器,用以:檢索該頁緩衝器中儲存的多個狀態資料,查找出多個記憶胞中為一設定狀態的多個設定狀態記憶胞,獲得分別對應該些設定狀態記憶胞的多個設定狀態資料;儲存該些狀態資料至該儲存裝置中;執行多位階的一程式化動作,在前半數的該些位階的程式化動作完成後,設定該頁緩衝器中的多個閂鎖器中為空閒閂鎖器者為一選定閂鎖器;使該儲存裝置將各該設定狀態資料轉存至該選定閂鎖器中;以及根據各該設定狀態資料以對各該設定狀態記憶胞進行檢查,以確定各該設定狀態記憶胞是否維持在該設定狀態下。A memory device includes: a page buffer coupled to at least one bit line of a memory block, the page buffer including a plurality of latches and a bit line bias and sensing circuit; a storage device coupled to the page buffer; and a controller coupled to the storage device and the page buffer, configured to: retrieve a plurality of state data stored in the page buffer, find a plurality of set-state memory cells in a set state among a plurality of memory cells, and obtain a plurality of state data corresponding to the set-state memory cells. Setting state data; storing the state data in the storage device; executing a multi-level programming action, after the first half of the level programming actions are completed, setting a free lock among a plurality of latches in the page buffer as a selected latch; causing the storage device to transfer each of the setting state data to the selected latch; and checking each of the setting state memory cells based on each of the setting state data to determine whether each of the setting state memory cells remains in the setting state. 如請求項8所述的記憶體裝置,該控制器更用以:當各該設定狀態記憶胞非維持在該設定狀態下時,設定各該設定狀態記憶胞為失效記憶胞。In the memory device of claim 8, the controller is further configured to: when each of the set-state memory cells is not maintained in the set state, set each of the set-state memory cells as a failed memory cell. 如請求項9所述的記憶體裝置,該控制器更用以:計數各該設定狀態記憶胞為失效記憶胞的一累計數量,並在該累計數量大於一閾值時,設定各該設定狀態記憶胞對應的記憶體區塊為失效記憶體區塊。In the memory device of claim 9, the controller is further configured to count a cumulative number of failed memory cells for each of the set-state memory cells, and when the cumulative number is greater than a threshold, set the memory block corresponding to each of the set-state memory cells as a failed memory block. 如請求項8所述的記憶體裝置,其中各該狀態資料為一抹除狀態資料或不同位階的程式化狀態資料。The memory device as described in claim 8, wherein each of the state data is an erase state data or a programmed state data of different levels. 如請求項8所述的記憶體裝置,其中該控制器更用以:設定在後續的該些位階的程式化動作中,不會變更儲存資料的各該閂鎖器為該選定閂鎖器。The memory device as described in claim 8, wherein the controller is further configured to: set each of the latches that does not change the stored data in subsequent programming actions of the levels as the selected latch. 如請求項8所述的記憶體裝置,其中該控制器更用以:使該選定閂鎖器提供各該設定狀態資料至該位元線偏壓及感測電路;以及使該位元線偏壓及感測電路根據各該設定狀態資料以檢查各該設定狀態記憶胞是否維持在該設定狀態下。The memory device of claim 8, wherein the controller is further configured to: cause the selected latch to provide each of the setting state data to the bit line bias and sense circuit; and cause the bit line bias and sense circuit to check whether each of the setting state memory cells remains in the setting state based on each of the setting state data. 如請求項8所述的記憶體裝置,其中當各該設定狀態資料為抹除狀態資料時,該位元線偏壓及感應電路根據各該設定狀態資料使對應的位元線被偏壓為一第一電壓值;當各該設定狀態資料為非抹除狀態資料時,該位元線偏壓及感應電路根據各該設定狀態資料使對應的位元線被偏壓為一第二電壓值,其中該第一電壓值大於該第二電壓值。A memory device as described in claim 8, wherein when each of the set state data is erased state data, the bit line bias and sensing circuit biases the corresponding bit line to a first voltage value according to each of the set state data; when each of the set state data is non-erased state data, the bit line bias and sensing circuit biases the corresponding bit line to a second voltage value according to each of the set state data, wherein the first voltage value is greater than the second voltage value. 如請求項8所述的記憶體裝置,其中該些閂鎖器共同耦接在一匯流排上,該些閂鎖器的一輸出閂鎖器耦接至該位元線偏壓及感測電路,並提供各該設定狀態資料至該位元線偏壓及感測電路。The memory device of claim 8, wherein the latches are coupled to a bus, an output latch of the latches is coupled to the bit line bias and sense circuit, and provides each setting state data to the bit line bias and sense circuit. 如請求項15所述的記憶體裝置,其中該儲存裝置包括:一資料維持器,透過一第一開關以耦接至該匯流排,並透過一第二開關耦接至一資料庫。The memory device of claim 15, wherein the storage device comprises: a data holder coupled to the bus through a first switch and coupled to a database through a second switch. 如請求項15所述的記憶體裝置,其中該位元線偏壓及感測電路包括:一拉高電晶體,耦接在一第一電壓與一第一節點間;以及一拉低電晶體,耦接在一第二電壓與該第一節點間;其中該第一節點透過一第一開關耦接至該位元線,該拉高電晶體或該拉低電晶體根據該設定狀態資料以被導通以執行該位元線的一偏壓動作,該第一電壓大於該第二電壓。A memory device as described in claim 15, wherein the bit line bias and sensing circuit includes: a pull-up transistor coupled between a first voltage and a first node; and a pull-down transistor coupled between a second voltage and the first node; wherein the first node is coupled to the bit line via a first switch, the pull-up transistor or the pull-down transistor is turned on according to the set state data to perform a biasing action on the bit line, and the first voltage is greater than the second voltage. 如請求項17所述的記憶體裝置,其中該位元線偏壓及感測電路更包括:一感測開關,透過一第二開關耦接至該第一節點,並與一電晶體串聯耦接,其中該電晶體串耦接至該匯流排,當該偏壓動作完成後,該感測開關透過該第二開關耦接至該位元線,並啟動感測動作。A memory device as described in claim 17, wherein the bit line bias and sensing circuit further includes: a sensing switch coupled to the first node through a second switch and coupled in series with a transistor, wherein the transistor series is coupled to the bus; when the biasing action is completed, the sensing switch is coupled to the bit line through the second switch and the sensing action is activated. 如請求項8所述的記憶體裝置,其中該記憶體區塊為反及式快閃記憶體區塊。The memory device of claim 8, wherein the memory block is an in-place flash memory block.
TW113124640A 2024-07-02 2024-07-02 Memory device and detection method for defeat status of memory cell TWI897508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113124640A TWI897508B (en) 2024-07-02 2024-07-02 Memory device and detection method for defeat status of memory cell

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113124640A TWI897508B (en) 2024-07-02 2024-07-02 Memory device and detection method for defeat status of memory cell

Publications (2)

Publication Number Publication Date
TWI897508B true TWI897508B (en) 2025-09-11
TW202603725A TW202603725A (en) 2026-01-16

Family

ID=97831906

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113124640A TWI897508B (en) 2024-07-02 2024-07-02 Memory device and detection method for defeat status of memory cell

Country Status (1)

Country Link
TW (1) TWI897508B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7296128B2 (en) * 2003-04-03 2007-11-13 Samsung Electronics Co., Ltd. Nonvolatile memory with error correction for page copy operation and method thereof
US20120092932A1 (en) * 2008-11-20 2012-04-19 Micron Technology, Inc. Programming methods and memories
TW201503151A (en) * 2013-03-11 2015-01-16 Macronix Int Co Ltd Memory page buffer
WO2015013689A2 (en) * 2013-07-25 2015-01-29 Aplus Flash Technology, Inc. Nand array hiarchical bl structures for multiple-wl and all -bl simultaneous erase, erase-verify, program, program-verify, and read operations
WO2016048846A1 (en) * 2014-09-28 2016-03-31 Aplus Flash Technology, Inc Self-timed slc nand pipeline and concurrent program without verification
US20160372186A1 (en) * 2015-06-18 2016-12-22 SK Hynix Inc. Nonvolatile memory system and operating method thereof
US20200027510A1 (en) * 2018-07-17 2020-01-23 SK Hynix Inc. Memory device and memory system having the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7296128B2 (en) * 2003-04-03 2007-11-13 Samsung Electronics Co., Ltd. Nonvolatile memory with error correction for page copy operation and method thereof
US20120092932A1 (en) * 2008-11-20 2012-04-19 Micron Technology, Inc. Programming methods and memories
TW201503151A (en) * 2013-03-11 2015-01-16 Macronix Int Co Ltd Memory page buffer
WO2015013689A2 (en) * 2013-07-25 2015-01-29 Aplus Flash Technology, Inc. Nand array hiarchical bl structures for multiple-wl and all -bl simultaneous erase, erase-verify, program, program-verify, and read operations
WO2016048846A1 (en) * 2014-09-28 2016-03-31 Aplus Flash Technology, Inc Self-timed slc nand pipeline and concurrent program without verification
US20160372186A1 (en) * 2015-06-18 2016-12-22 SK Hynix Inc. Nonvolatile memory system and operating method thereof
US20200027510A1 (en) * 2018-07-17 2020-01-23 SK Hynix Inc. Memory device and memory system having the same

Similar Documents

Publication Publication Date Title
JP5735543B2 (en) Non-volatile memory data recovery based on data state specific failure count
US10061512B2 (en) Data storage device and data writing method thereof
US9026757B2 (en) Non-volatile memory programming data preservation
US10846008B2 (en) Apparatuses and methods for single level cell caching
US10096357B2 (en) Data storage device and data writing method thereof
KR100882841B1 (en) Memory system capable of detecting bit error due to read disturbance and its reading method
TWI604458B (en) Controller and memory system
US10445010B2 (en) Nonvolatile memory device and method of throttling temperature of nonvolatile memory device
EP3633516B1 (en) Storage device using buffer memory in read reclaim operation
US11682458B2 (en) Memory devices for pattern matching based on majority of cell pair match
US9263155B2 (en) Data storing system and operating method thereof
CN101512669A (en) Defective block isolation in a non-volatile memory system
US8913428B2 (en) Programming non-volatile storage system with multiple memory die
US20150178156A1 (en) Memory system
US12045482B2 (en) Wordline leakage test management
CN104934060B (en) Semiconductor memory device and memory controller
KR102006995B1 (en) Semiconductor device and method of operating the same
TWI897508B (en) Memory device and detection method for defeat status of memory cell
US12436689B1 (en) Memory device and detection method for defeated status of memory cell
KR20140088383A (en) Semiconductor apparatus and method of operating the same
US11954347B2 (en) Memory system and operating method thereof