The present application claims priority to Korean patent application number 10-2013-0134865, filed on Nov. 7, 2013, the entire disclosure of which is incorporated herein in its entirety by reference.
1. Field of Invention
Various exemplary embodiments of the present invention relate generally to an electronic device, and more particularly, to a data storage system and an operating method thereof.
2. Description of Related Art
Semiconductor memory devices, among semiconductor devices included in a data storage system, may be classified into volatile memory devices and non-volatile memory devices.
The volatile memory device performs read and write operations with high speed, but the stored data is lost when the power is cut off. The non-volatile memory device performs read and write operations with relatively lower speed, but the stored data is retained even when the power is cut off. Therefore, the non-volatile memory device is used to store data that is to be maintained regardless of power supply. Examples of the non-volatile memory device include a read only memory (ROM) device, a programmable ROM (PROM) device, an electrically programmable ROM (EPROM) device, an electrically erasable and programmable ROM (EEPROM) device, a flash memory device, a phase-change RAM (PRAM) device, a magnetic RAM (MRAM) device, a resistive RAM (RRAM) device, a ferroelectric RAM (FRAM) device, or the like. The Flash memory device is typically divided into a NOR device and a NAND device.
The flash memory device enjoys the advantages of both RAM and ROM devices. For example, the flash memory device can be freely programmed and erased, which is similar to the RAM device. Further, the flash memory device can retain the stored data even when it is not powered, which is similar to the ROM device. The flash memory device has been widely used as the storage media of portable electronic devices such as mobile phones, digital cameras, personal digital assistants (PDAs), and MP3 players.
The data storage system is preferable to have high data reliability.
Exemplary embodiments of the present invention are directed to a data storage system having high data reliability and an operating method thereof. An operating method of a data storage system according to an embodiment of the present invention may include detecting a sudden power-off during a program operation on pages in a memory block, identifying a dummy program target page in the memory block when power is on after the sudden power-off, and performing the program operation on the dummy program target page using dummy data, and performing the program operation on pages in the memory block subsequent to the dummy program target page using normal data.
The dummy data may be invalid data.
The dummy data may be randomized data.
The operating method may further include re-programming a re-program page with original data. The re-program page is being programmed using the original data at the time of the sudden power-off.
A data storage system according to another embodiment of the present invention may include a semiconductor device suitable for performing a program operation on pages of a memory block and a controller suitable for detecting a sudden power-off during the program operation, identifying a dummy program target page in the memory block when power is on after the sudden power-off, and allowing the semiconductor device to perform the program operation on the dummy program target page using dummy data, and on pages in the memory block, subsequent to the dummy program target page using normal data.
The controller may include a sudden power-off detection unit suitable for generating a detection signal when power is on after the sudden power-off, and a page detection unit suitable for identifying the dummy program target page on the basis of data read out from the memory block, in response to the detection signal.
The semiconductor device may program the second page with invalid data during the dummy program operation.
The semiconductor device may program the second page with randomized data during the dummy program operation.
The controller may further allow the semiconductor device to re-program a re-program page with original data. The re-program page is being programmed using the original data at the time of the sudden power-off.
Hereinafter, various exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The figures are provided to enable those of ordinary skill in the art to make and use the present invention according to the exemplary embodiments. Throughout the disclosure, reference numerals correspond directly to the like numbered parts in the various figures and embodiments of the present invention. In addition, a singular form may include a plural form as long as it is not specifically mentioned in a sentence.
Referring to
The semiconductor device 110 may perform a program operation or a read operation on memory cells of pages included in a memory block in response to a command CMD and an address ADD from the controller 120. The semiconductor device 110 may program memory cells of a program target page with data DATA, which is input from the controller 120, and output the data DATA, read from the memory cells, to the controller 120.
When power is on after a sudden power-off occurs during a program operation on a first page as the program target page, the controller 120 may generate the command CMD and the address ADD so that the semiconductor device 110 may perform a dummy program operation on a second page, which is originally subject to the program operation after the first page if there is not the sudden power-off, and perform the program operation on a third page, which is subject to the program operation after the second page, on the basis of data read from pages. In the description, it is assumed that the program operation is originally performed on the first, second, and third page in order.
The controller 120 may generate the command CMD and the address ADD so that the semiconductor device 110 may re-program the first page with original data for the first page at the time of the sudden power-off.
According to an embodiment, the semiconductor device 110 may program the second page with invalid data during the dummy program operation.
According to an embodiment, the semiconductor device 110 may program the second page with randomized data during the dummy program operation.
According to an embodiment, the semiconductor device 110 may store one-bit data in memory cells of the first to third pages during the program operation and the dummy program operation.
Referring to
The sudden power-off detection unit 121 may detect a sudden power-off occurring in the data storage system 100 and generate a detection signal when the data storage system 100 is powered on again after the sudden power-off.
The command and address generation unit 122 may generate the command CMD and the address ADD in response to the detection signal from the sudden power-off detection unit 121 to perform a read operation or a read scan operation on a memory block on which the program operation is stopped due to the sudden power-off. It is assumed that a first page is being programmed at the time of the sudden power-off.
The page detection unit 123 may detect a program target page or a second page, which is originally subject to the program operation after the first page, and on which the dummy program operation is performed after the sudden power-off, among the pages of the memory block, on which the program operation is stopped due to the sudden power-off, on the basis of data read from the semiconductor device 110 by the read scan operation. As another example, the page detection unit 123 may detect a page, which is first identified in an erase state (hereinafter, referred to as a “first erase page”), among pages, as the program target page. For example, the second page may be the first erase page.
The command and address generation unit 122 may generate the command CMD and the address ADD so that the semiconductor device 110 may perform the dummy program operation on the second page and the program operation on the third page, which is originally subject to the program operation after the second page, on the basis of a result of detection by the page detection unit 123.
Therefore, the data storage system 100 may improve the reliability of data by programming a page, e.g., the second page, which becomes unstable due to the sudden power-off and is identified as in the erase state, with dummy data, e.g., the invalid data or the randomized data, instead of valid data.
Further, the data storage system 100 may improve the reliability of data by re-programming the page, e.g., the first page, which becomes unstable due to the sudden power-off and is identified as in the program state, with original data for the first page at the time of the sudden power-off.
Referring to
Referring to
Memory cells included in a memory block may be divided into a physical page unit or a logical page unit. For example, the memory cells C01 to C0k coupled to a single word line (e.g., WL0) may form a single physical page PAGE0. This page may be a basic unit for a program operation or a read operation.
The control circuit 220 may output a voltage control signal VCON to generate voltages for a program operation or a read operation in response to the command CMD which is input through the input/output circuit 260 from an exterior source. The control circuit 220 may output a PB control signal PBCON to control the page buffers PB1 to PBk included in the page buffer group 240 according to types of operations. In addition, the control circuit 220 may output a row address signal RADD and a column address signal CADD in response to an address signal ADD which is input from an exterior source through the input/output circuit 260. As an example, the control circuit 220 may output a PB control signal PBCON in order to program the invalid data when a dummy program operation is performed in response to the command CMD. As another example, the control circuit 220 may output a random value RV to the page buffers PB1 to PBk, which are included in the page buffer group 240, in order to program the randomized data when the dummy program operation is performed.
The voltage supply circuit 230 may provide operating voltages for a program operation and a read operation of memory cells to local lines including the drain selection line DSL, the word lines WL0 to WLn and the source selection line SSL of a selected memory block in response to the voltage control signal VCON of the control circuit 220. The voltage supply circuit 230 may include a voltage generator and a row decoder.
The voltage generator may output the operating voltages for the program operation or the read operation of the memory cells to the global lines in response to the voltage control signal VCON from the control circuit 220.
The row decoder may couple the global lines to the local lines DSL, WL0 to WLn, and SSL in response to the row address signals RADD of the control circuit 220 so that the operating voltages output to the global lines from the voltage generator may be transferred to the local lines DSL, WL0 to WLn, and SSL of the selected memory block in the memory array 210.
The page buffer group 240 may include a plurality of page buffers PB1 to PBk coupled to the memory array 210 through the bit lines BL1 to BLk, respectively. The page buffers PB1 to PBk of the page buffer group 240 may selectively precharge the bit lines BL1 to BLk according to data being input in order to store the data in the memory cells C01 to C0k, or may sense voltages of the bit lines BL1 to BLk in order to read data from the memory cells in response to the PB control signal PBCON from the control circuit 220. The page buffer group 240 may randomize the data being input and store the randomized data in the memory cells C01 to C0k on the basis of the random value RV from the control circuit 220 in order to program the randomized data during a dummy program operation. According to an embodiment, the semiconductor device may include a separate randomizer, instead of performing a randomize operation in the page buffer group 240.
The column decoder 250 may select the page buffers PB1 to PBk included in the page buffer group 240 in response to the column address signal CADD output from the control circuit 220. In other words, the column decoder 250 may sequentially transfer data to be stored in the memory cells to the page buffers PB1 to PBk in response to the column address signal CADD. In addition, the column decoder 250 may sequentially select the page buffers PB1 to PBk in response to the column address signal CADD so that the data of the memory cells latched to the page buffers PB1 to PBk by the read operation may be output to the exterior.
The input/output circuit 260 may transfer the data, input from the exterior, to the column decoder 250 in response to control of the control circuit 220 in order to input the data to the page buffer group 240 so that the data may be stored in the memory cells during the program operation. When the column decoder 250 transfers the data, transferred from the input/output circuit 260, to the page buffers PB1 to PBk of the page buffer group 240, the page buffers PB1 to PBk may store the input data to an internal latch circuit. In addition, the input/output circuit 260 may output the data, transferred from the page buffers PB1 to PBk of the page buffer group 240 through the column decoder 250, to the exterior during a read operation.
Referring to
During the program operation, it may be checked whether or not the sudden power-off occurs in the data storage system 100 at step S320. When the sudden power-off is detected by the sudden power-off detection unit 121 and the data storage system 100 is powered on again after the sudden power-off occurs, the dummy program operation at step S330 may be performed on the program target page, e.g., the second page in the above described example, among the pages of the memory block, on which the program operation is stopped by the sudden power-off.
Subsequently, the program operation at step S340 may be performed on a page, e.g., the third page in the above described example, subsequent to the dummy programmed page or the second page.
According to an embodiment, one-bit data may be stored in the memory cells during the program operation.
With reference to
Therefore, the reliability of data may be improved by programming a page, e.g. the second, which becomes unstable due to the sudden power-off and is identified as being in the erase state, with the invalid data or the randomized data as dummy data.
Referring to
In the case of a single-level cell that stores one bit and guarantees the number of programs per page, it is possible to program parts of a page at different times as well as to program a page repeatedly with the same data.
Therefore, the reliability of data may be improved by re-programming the first page, which becomes unstable due to the sudden power-off and is identified as in the program state, with the original data.
Referring again to
Referring to
Subsequently at step S414, the first erase page may be detected among the pages identified as in the erase state on the basis of read data.
For example, in
The reference numbers 0 to 9 of pages shown in
Page 5 may be unstable due to the sudden power-off that occurs while the program operation is being performed on page 4. Therefore, the dummy program operation may be performed on page 5 in order to improve the reliability of data. During the dummy program operation Page 5 may be programmed with the invalid data or the randomized data (in which ‘0’ and ‘1’ are mixed).
Therefore, the reliability of data may be improved by programming the page, e.g., the second page or page 5, which becomes unstable due to the sudden power-off and is identified as in the erase state, with the invalid data or the randomized data as dummy data.
In addition, page 4 may be re-programmed with the original data for page 4 at the time of the sudden power-off.
Therefore, the reliability of data may be improved by re-programming a page, e.g., the first page or page 4, which becomes unstable due to a sudden power-off and is identified as in the program state, with the original data for the page at the time of the sudden power-off.
The data storage system 100, show in
Referring to
The ECC 128 may detect and correct errors included in data read from the semiconductor device 110. The memory interface 129 may interface with the semiconductor device 110. The CPU 126 may perform the general control operation for data exchange of the controller 120.
Though not shown in
The OneNand flash memory device 700 may include a host interface (I/F) 710, a buffer RAM 720, a controller 730, a register 740 and a NAND flash cell array 750. The host interface 710 may exchange various types of information with a device through a different protocol. The buffer RAM 720 may have built-in codes for driving the memory device or temporarily store data. The controller 730 may control read and program operations and every state in response to a control signal and a command that are externally given. The register 740 may store data including instructions, addresses and configurations defining a system operating environment in the memory device. The NAND flash cell array 750 may include operating circuits including non-volatile memory cells and page buffers. In response to a write request from a host, the OneNAND flash memory device 700 may program data in the aforementioned manner.
The computing system 800 according to an embodiment of the present invention may include a microprocessor (CPU) 820, RAM 830, a user interface 840, a modem 850, such as a baseband chipset, and a memory system 810 that are electrically coupled to a system bus 860. In addition, if the computing system 800 is a mobile device, then a battery may be provided to apply operating voltages to the computing system 800. Though not shown in
According to a data storage system and an operating method of the data storage system, since a page, which becomes unstable due to a sudden power-off and is identified as being in an erase state, is programmed with invalid data or randomized data as dummy data, the reliability of data may be improved.
In addition, according to a data storage system and an operating method of the data storage system, since a page, which becomes unstable due to a sudden power-off and is identified as in an erase state, is re-programmed, the reliability of data may be improved.
Number | Date | Country | Kind |
---|---|---|---|
10-2013-0134865 | Nov 2013 | KR | national |