Abstract:
The present invention relates to a semiconductor device, including memory blocks suitable for storing data, peripheral circuits suitable for refreshing the memory blocks, and a control circuit suitable for controlling the peripheral circuits to change data stored in a first memory block among the memory blocks and refresh the first memory block with changed data, and an operating method thereof.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    The present application claims priority of Korean patent application number 10-2013-0137075, filed on Nov. 12, 2013, the entire disclosure of which is incorporated herein by reference in its entirety. 
       BACKGROUND 
       [0002]    1. Field of Invention 
         [0003]    Various exemplary embodiments of the present invention relate to a semiconductor device and an operating method thereof, and more particularly, to a refresh operation of a semiconductor device. 
         [0004]    2. Description of Related Art 
         [0005]    Semiconductor devices often have a plurality of memory cells for storing data. Data retention performance of the memory cells determined by their charge retention characteristic. The reliability of semiconductor device memory cells&#39; is proportional to their characteristics. 
         [0006]    Data stored in memory cells substantially deteriorates over time due to leakage and the like. 
         [0007]    In order to retain the data stored in memory semiconductor devices perform a refresh operation by reprogramming the same data into memory cells at predetermined periods. 
         [0008]    Generally, during a refresh operation a semiconductor device reads data from the memory cells and reprograms the read data back into the memory cells, thereby improving threshold voltage distribution of the memory cells and retaining the data. 
         [0009]    However, as the refresh operation is repeated, the memory cells continuously receive the same level of stress, so that electrical characteristics may deteriorate. 
       SUMMARY 
       [0010]    Exemplary embodiments of the present invention are directed at a semiconductor device capable of decreasing memory cell stress by changing data stored in the memory cells during a refresh operation, and an operating method thereof. 
         [0011]    An exemplary embodiment of the present invention provides a semiconductor device, which may include memory blocks suitable for storing data, peripheral circuits suitable for refreshing the memory blocks, and a control circuit suitable for controlling the peripheral circuits to change data stored in a first memory block among the memory blocks by refreshing the first memory block with the changed data. 
         [0012]    An exemplary embodiment of the present invention provides a method of operating a semiconductor device, which may include the steps of copying data of a first memory block to a second memory block, changing the data copied to the second memory block, and refreshing the first memory block by programming the changed data back into the first memory block. 
         [0013]    An exemplary embodiment of the present invention also includes a method of operating a semiconductor device, which may be including refreshing memory cells of an erased state, a first program state higher than the erased state, a second program state higher than the first program state, and a third program state higher than the second program state, wherein the memory cells of the erased state are refreshed to be of the third program state, the memory cells of the first program state are refreshed to be of the second program state, the memory cells of the second program state are refreshed to be of the first program state, and the memory cells of the third program state are refreshed to be of the erased state. 
         [0014]    An exemplary embodiment of the present invention may include a semiconductor device including memory blocks suitable for storing data, peripheral circuits suitable for refreshing the memory blocks, and a control circuit suitable for controlling the peripheral circuits to refresh the memory blocks alternatively with first data originally stored in the memory blocks, and second data including one or more bits reversed from the first data. 
         [0015]    According to the exemplary embodiments of the present invention, it is possible to decrease stress of the memory cells by changing the data stored during a refresh operation. Accordingly, it is possible to prevent deterioration of electrical characteristics of memory cells and improve reliability of the semiconductor device. 
         [0016]    The foregoing summary is illustrative only and is not intended to be limiting in any way. In addition to the illustrative aspects, exemplary embodiments, and features described above, further aspects, exemplary embodiments, and features will become apparent by reference to the drawings and the following detailed description. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0017]    The above and other features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings in which: 
           [0018]      FIG. 1  is a block diagram illustrating a semiconductor device according to the present invention; 
           [0019]      FIG. 2  is a block diagram illustrating a memory cell array shown in  FIG. 1 ; 
           [0020]      FIG. 3  is a circuit diagram illustrating a memory block shown in  FIG. 2 ; 
           [0021]      FIG. 4  is a flowchart illustrating a refresh operation of a semiconductor device according to an exemplary embodiment of the present invention; 
           [0022]      FIG. 5  is a threshold voltage distribution diagram illustrating data change during a refresh operation according to an exemplary embodiment of the present invention; 
           [0023]      FIG. 6  is a flowchart illustrating a read operation of a semiconductor device according to an exemplary embodiment of the present invention; 
           [0024]      FIG. 7  is a flowchart illustrating a refresh operation of a semiconductor device according to an exemplary embodiment of the present invention; 
           [0025]      FIG. 8  is a threshold voltage distribution diagram illustrating data change during a refresh operation according to another exemplary embodiment of the present invention; and 
           [0026]      FIG. 9  is a flowchart illustrating a read operation of a semiconductor device according to another exemplary embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0027]    Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings in detail. However, the scope of the present invention is not limited to the exemplary embodiments disclosed and may be implemented in various forms. Rather, the exemplary embodiments are provided for full disclosure of the present invention and to transfer the spirit of the present invention to those skilled in the art to which it pertains. The scope of the present invention should be understood as defined by the claims. Throughout the disclosure, reference numerals correspond directly to the like numbered parts in the various figures and embodiments. It is also noted that in this specification, “connected/coupled” refers to one component not only directly coupling to another component but also indirectly coupling another component through an intermediate component. In addition, a singular form may include the plural form as long as it is not specifically mentioned. 
         [0028]      FIG. 1  is a block diagram illustrating a semiconductor device  100  according to the present invention. 
         [0029]    Referring to  FIG. 1 , the semiconductor device  100  may include a memory cell array  110  configured to store data, peripheral circuits  120  configured to perform program, read, erase, and refresh operations, and a control circuit  130  configured to control the peripheral circuits  120 . The refresh operation may be performed by combining the program, read, and erase operations. 
         [0030]    The memory cell array  110  may include a plurality of memory blocks (shown in  FIG. 2 ) configured to store data. 
         [0031]    The peripheral circuits  120  may include a voltage generating circuit  21 , a row decoder  22 , and a column decoder  23 . 
         [0032]    The voltage generating circuit  21  may generate voltages including a program voltage Vpgm, a read voltage Vread, or an erase voltage Verase in response to a program signal PGM, a read signal READ, or an erase signal ERASE. For example, the voltage generating circuit  121  may generate the program voltage Vpgm and the read voltage Vread and supply the generated program voltage Vpgm and read voltage Vread to the row decoder  22 , and may generate and supply the erase voltage Verase to the memory cell array  110 . Although it is not illustrated in the drawing, the voltage generating circuit  21  may generate voltages with various levels necessary for the program, read, and erase operations, in addition to the program voltage Vpgm, the read voltage Vread, and the erase voltage Verase. 
         [0033]    The row decoder  22  may select one of the memory blocks in the memory cell array  110  in response to a row address RADD, and transmit a voltage received from the voltage generating circuit  21  to word lines WL connected to the selected memory block. 
         [0034]    The column decoder  23  may transmit/receive data through bit lines BL connected to the memory cell array  110  in response to the column address CADD, and transmit/receive data to/from an external device through input/output lines IO. 
         [0035]    The control circuit  130  may be configured to control the peripheral circuits  120  in response to a command signal CMD and an address ADD. Particularly, the control circuit  130  may control the peripheral circuits  120  so as to periodically perform the refresh operation in such a manner that data is changed and re-stored whenever the refresh operation is performed. 
         [0036]      FIG. 2  is a block diagram illustrating the memory cell array shown in  FIG. 1  in detail. 
         [0037]    Referring to  FIG. 2 , the memory cell array  110  may include a plurality of memory blocks MB 1  to MBk with each memory block having the same structure. The refresh operation is performed on a memory block selected among the plurality of memory blocks MB 1  to MBk. 
         [0038]      FIG. 3  is a circuit diagram illustrating the memory block shown in  FIG. 2  in detail. 
         [0039]      FIG. 3  exemplarily illustrates the first memory block MB 1  among the plurality of memory blocks MB 1  to MBk. The first memory block MB 1  may include a plurality of strings ST having memory cells. Strings ST with memory cells where normal data and copy data are stored may be disposed in a normal string region NSR. Strings ST with memory cells where flag data is stored may be disposed in a flag string region FSR. The copy data refers to normal data duplicated during the refresh operation. The flag data represents a refresh cycle value, which will be described later, during the refresh operation. 
         [0040]    The strings ST in the first memory block MB 1  are identically configured to each other, so that it is sufficient to describe one string ST as an example. 
         [0041]    The string ST may include a drain select transistor DST, a plurality of memory cells F 0  to Fn, and a source select transistor SST, which are serially connected to each other. A drain of the drain select transistor DST may be connected to a bit line BL 0 , and a source of the source select transistor SST may be connected to a source line SL. Gates of the drain select transistors DST included in the other strings ST may be connected to a drain select line DSL, gates of the memory cells F 0  to Fn may be connected to word lines WL 0  to WLn, and gates of the source select transistors SST may be connected to the source select line SSL. The strings ST may be connected to the bit lines BL 0  to BLi+j, respectively. A group of memory cells connected to the same word line may be referred to as a page PG, and the program and read operations may be performed on the page PG unit. 
         [0042]    In a multi level cell (hereinafter, referred to as an MLC), each page PG may include a lower bit (least significant bit, hereinafter, referred to as an LSB) page and a higher bit (most significant bit, hereinafter, referred to as an MSB) page. The program operation of the selected page PG may be sequentially performed to the LSB page and the MSB page. Further, the read operation of the selected page PG may also be sequentially performed to the LSB page and the MSB page. The erase operation may be performed on the memory block unit. 
         [0043]    In a triple level cell (hereinafter, referred to as a TLC), each page PG may include the LSB page, a center bit (center significant bit, hereinafter referred to as a CSB) page, and the MSB page. The program operation of the selected page PG may be sequentially performed to the LSB page, the CSB page, and the MSB page. Further, the read operation of the selected page PG may also be sequentially performed to the LSB page, the CSB page, and the MSB page. The erase operation may be performed on the memory block unit. 
         [0044]    The refresh operation according to exemplary embodiments of the present invention, will be described with reference to the aforementioned semiconductor device. 
         [0045]    In the present invention, data of a refresh target memory block may be refreshed within the same memory block. To this end, the refresh operation of the present invention may be performed by temporarily copying the data of the refresh target memory block into the memory cells allocated for copy data, changing the stored copy data, and then returning the changed copy data back into the refresh target memory block. 
         [0046]    Before describing the refresh operation in detail, names will be defined below. 
         [0047]    A refresh target memory block is defined as a first memory block. 
         [0048]    The normal data originally stored in the first memory block is defined as first data. 
         [0049]    A memory block, in which the copy data of the first data is stored, is referred to as a second memory block. 
         [0050]    The refreshed data of the first memory block, which may or may not be changed from the copy data of the first data, is defined as second data. 
         [0051]    The refresh operation will be described in detail below. 
         [0052]    When the refresh operation is started, first data stored in the first memory block may be copied to the second memory block. To this end, the second memory block may be selected among the memory blocks in an erased state. When the copy operation is completed, the first memory block may be erased. In accordance with the exemplary embodiments of the present invention, the subsequent refresh operation method may be performed differently according to whether the cell is a MLC or a TLC. The refresh operation method for the MLC is disclosed in  FIGS. 4 to 6 , and the refresh operation method for the TLC is disclosed in  FIGS. 7 to 9 . Each exemplary embodiment will be described in detail below. 
         [0053]      FIG. 4  is a flowchart illustrating the refresh operation of a semiconductor device  100  according to an exemplary embodiment of the present invention. 
         [0054]    Referring to  FIG. 4 , after the first memory block may be erased, a refresh cycle value I may be read ( 41 ). An initial refresh cycling value I may be set to a positive number. Whenever the refresh operation is completed, the refresh cycle value I may toggle between a positive and negative number. 
         [0055]    Whether a refresh target page of the first memory block is a LSB page or a MSB page may be determined ( 42 ). 
         [0056]    When the refresh target page is a LSB page, LSB copy data of the second memory block may be read, the read LSB data may be reversed, and the reversed LSB data may be programmed in the first memory block ( 43 ). For example, when the LSB copy data of the second memory block is “1”, the LSB data may be reversed to “0”, and the reversed LSB data “0” may be programmed in the first memory block. Otherwise, when the LSB copy data of the second memory block is “0”, the LSB data may be reversed to “1”, and the reversed LSB data “1” may be programmed in the first memory block. 
         [0057]    When the refresh operation to the second memory block LSB page copy data is completed, whether the refresh target page is the LSB page or the MSB page may be determined again ( 42 ). When the refresh operation to the second memory block LSB page copy data is completed, it may be determined that the refresh operation to the second memory block MSB page copy data may be performed. 
         [0058]    In the refresh operation of the second memory block MSB page the MSB copy data, to which the LSB refresh operation may be completed, may be read and the read MSB data may be programmed into the first memory block as is ( 44 ). In other words the read MSB copy data may keep its original value of “1” “0” when programmed into the first memory block. 
         [0059]    When the refresh operation of the LSB and MSB pages is completed, the refresh cycle value I may toggle from a positive number to a negative number or a negative number to a positive number depending on its original value ( 45 ). The purpose of the refresh cycle value I switching from negative to positive and vice versa is for determining whether the second data stored in the first memory block is original data or reversed data during a subsequent read operation. The refresh cycle value I may be stored in the flat string region FSR. 
         [0060]    The original data or the first data and the changed data or the second data will be described in detail below. 
         [0061]      FIG. 5  is a threshold voltage distribution diagram illustrating data change during the refresh operation according to an exemplary embodiment of the present invention. 
         [0062]    Referring to  FIG. 5 , it is assumed that original data or first data stored in the first to fourth memory cells F 1  to F 4  are “11”, “10”, “00”, and “01”, respectively. 
         [0063]    When the refresh cycle value I is a positive number (I&gt;0) and the refresh operation of the first memory block, including the first to fourth memory cells F 1  to F 4 , is performed, the LSB copy data may be reversed and the MSB copy data may keep its original value, so that the second data “01”, “00”, “10”, and “11” may be stored in the refreshed first to fourth memory cells F 1  to F 4 , respectively. That is, memory cells in an erased state ER, a first program state PV 1 , a second program state PV 2 , and a third program state PV 3  may be programmed to be in the third program state PV 3 , the second program state PV 2 , the first program state PV 1  and the erased state ER, respectively. The threshold voltage distribution of the memory cell states in descending order is the third program state PV 3 , the second program state PV 2 , the first program state PV 1 , and the erased state ER. 
         [0064]    However, when the refresh cycle value I is a negative number (I&lt;0) and the refresh operation of the first memory block, including the first to fourth memory cells F 1  to F 4 , is performed, the LSB copy data may be reversed and the MSB copy data may keep the original value, so that the original first data may be stored in the refreshed first memory block again. 
         [0065]    When the refresh operation is performed with reversed LSB data it is possible to decrease the stress that the memory cells receive compared to related art where the same data is repeatedly refreshed. For example, since the memory cells of the third program state PV 3 , which may be the highest memory cell state among the states ER to PV 3  in the threshold voltage distribution, receives high program voltages for maintaining the third program state PV 3  whenever a refresh operation is performed, the memory cells may repeatedly receive physical stress. When the same data is stored in the same memory cells of a specific region for an extended amount of time, memory cells in another region may experience interference, However, in accordance with exemplary embodiments of the present invention, the refresh operation may be performed with a data changing step. It is therefore possible to decrease the stress which individual memory cells receive by way of distributing the stress. It is also possible to suppress the generation of interference that memory cells in another region may experience. The result of these changes should result in increased reliability of the semiconductor device. 
         [0066]    When the refresh operation is performed, the original data or changed data may be stored as second data in the first memory block and therefore the read operation may be performed as described below. 
         [0067]      FIG. 6  is a flowchart illustrating the read operation of the semiconductor device  100  according to an exemplary embodiment of the present invention. 
         [0068]    Referring to  FIG. 6 , whether the refresh cycle value I of the selected memory block is a positive number (I&gt;0) or a negative number (I&lt;0) may be determined ( 61 ). For example, the flag region, where flag data for the refresh cycle value I is stored of the selected memory block may be read, and whether the refresh cycle value I of the selected memory block is a positive number (I&gt;0) or a negative number (I&lt;0) may be determined based on the read flag data. 
         [0069]    When the refresh cycle value I of the selected memory block is a positive number (I&gt;0), which may represent that the original data is stored in the corresponding memory block, the LSB data may be read as it is ( 62 ), and subsequently, the MSB data may also be read as it is ( 65 ). Since all of the LSB data and the MSB data may be read as they are, the original data may be read. 
         [0070]    When the selected memory block refresh cycle value I is a negative number (I&lt;0), which may represent that the changed data is stored as the second data in the corresponding memory block, the LSB data of the second data may be read ( 63 ), and the read LSB data may be reversed back ( 64 ). Next, the MSB data of the second data may be read as it is ( 65 ). As described above, even though the reversed LSB data may be stored as the second data in the first memory block, the reversed LSB data may be reversed back and it is possible to read the original data. 
         [0071]      FIG. 7  is a flowchart illustrating the refresh operation of a semiconductor device according to an exemplary embodiment of the present invention. 
         [0072]    Referring to  FIG. 7 , after the first memory block is erased, the refresh cycle value I may be read ( 71 ). An initial value of the refresh cycling value I may be set to a positive number. Whenever the refresh operation is finished, the refresh cycle value I may toggle between a positive and negative number. 
         [0073]    Whether a refresh target page of the first memory block is an LSB page, a CSB page, or an MSB page may be determined ( 72 ). 
         [0074]    When the refresh target page is a LSB page, second memory block LSB copy data may be read, the read LSB data may be reversed, and the reversed LSB copy data may be programmed in the first memory block ( 73 ). 
         [0075]    When the refresh operation of the second memory block LSB page copy data is completed, whether the refresh target page may be the LSB page, the CSB page, or the MSB page may be determined again ( 72 ). When the refresh operation to the second memory block LSB page copy data is completed, it may be determined that the refresh operation to the second memory block CSB page copy data may be performed. 
         [0076]    In the refresh operation of the second memory block CSB page, the CSB copy data, of which the LSB refresh operation may be completed, may be read, and the read CSB data may be programmed in the first memory block as it is ( 74 ). That is, the read CSB copy data may remain as it was originally and the CSB copy data may be programmed in the first memory block, which means that the second CSB data remains as it was originally. 
         [0077]    When the refresh operation to the second memory block CSB page copy data is completed, whether the refresh target page is a LSB page, a CSB page, or a MSB page may be determined again ( 72 ). When the refresh operation to the second memory block CSB page copy data is completed, it may be determined that the refresh operation to the second memory block MSB page copy data may be performed. 
         [0078]    In the refresh operation of the second memory block MSB page the MSB copy data, of which the CSB refresh operation may be completed, may be read, and the read MSB data may be programmed in the first memory block as it is ( 75 ). That is, the read MSB copy data may remain as it was originally and be programmed in the first memory block. 
         [0079]    When the refresh operations of the LSB, CSB, and MSB pages are completed, the refresh cycle value I may toggle to a positive or negative number to store the changed refresh cycle value I ( 76 ). For example, when the refresh cycle value I is a positive number, the refresh cycle value I may toggle to a negative number after the refresh operation is completed, and when the refresh cycle value I is the negative number, the refresh cycle value I may toggle to a positive number after the refresh operation is completed. The purpose of the refresh cycle value I switching from negative to positive and vice versa is for determining whether the second data stored in the first memory block is original data or reversed data during a subsequent read operation. The refresh cycle value I may be stored in the flat string region FSR.  FIG. 8  is a threshold voltage distribution diagram illustrating data change during the refresh operation according to an exemplary embodiment of the present invention. 
         [0080]    Referring to  FIG. 8 , it is assumed that original data or the first data stored in the first to eighth memory cells F 1  to F 8  are “111”, “110”, “100”, “101”, “001”, “000”, “010”, and “011”, respectively. 
         [0081]    When the refresh cycle value I is a positive number (I&gt;0) and the refresh operation of the first memory block, including the first to eighth memory cells F 1  to F 8  is performed, the LSB copy data may be reversed, and the CSB and MSB copy data may keep its original value, so that the second data “011”, “010”, “000”, “001”, “101”, “100”, “110”, and “111” may be stored in the refreshed first to eighth memory cells, F 1  to F 8 , respectively. That is, memory cells in an erased state ER and first to seventh program states PV 1  to PV 7  may be programmed reversely to be in the seventh to first program states PV 7  to PV 1  and the erased state ER, respectively. The threshold voltage distribution of the memory cell states in descending order is the seventh to first program states PV 7  to PV 1  and the erased state R. 
         [0082]    However, when the refresh cycle value I is a negative number (I&lt;0), and the refresh operation of the first memory block, including the first to eighth memory cells F 1  to F 8 , is performed the LSB data of the copy data may be reversed and the CSB and MSB copy data may keep its original value so that the original first data may be stored in the refreshed first memory block again. 
         [0083]    As described above, when the refresh operation is performed with the reversed LSB data, it is possible to decrease the stress that the memory cell receives compared to related art where the same data is repeatedly refreshed. That is, in the related art, when the same data is repeatedly refreshed, corresponding memory cells continuously receive the same stress level. Since memory cells of the seventh program state PV 7 , which may be the highest memory cell state among the states ER and PV 1  to PV 7  in the threshold voltage distribution, receive high program voltages for maintaining the seventh program state PV 7  whenever the refresh operation is performed, the memory cells may repeatedly receive high physical stress. Further, when the same data is stored in the same memory cells of a specific region for an extended amount of time, memory cells in another region may experience interference. However, in accordance with the exemplary embodiments of the present invention, it is possible to reduce stress and suppress generation of interference by changing data during the refresh operation, thereby improving reliability of the semiconductor device. 
         [0084]    When the refresh operation is performed as mentioned in the exemplary embodiments, the original data or the changed data may be stored as the second data in the first memory block and therefore the read operation may be performed as described below. 
         [0085]      FIG. 9  is a flowchart illustrating the read operation of a semiconductor device  100  according to another exemplary embodiment of the present invention. 
         [0086]    Referring to  FIG. 9 , whether the refresh cycle value I of the selected memory block is a positive number (I&gt;0) or a negative number (I&lt;0) may be determined ( 91 ). For example, the flag region, where flag data for the refresh cycle value I is stored, of the selected memory block may be read, and whether the refresh cycle value I of the selected memory block is a positive number (I&gt;0) or a negative number (I&lt;0) may be determined based on the read flag data. 
         [0087]    When the refresh cycle value I of the selected memory block is a positive number (I&gt;0) which may represent that original data is stored in the corresponding memory block, the LSB data may be read as it is ( 92 ), and subsequently, the CSB data may be read as it is ( 95 ), and the MSB data may be also read as it is ( 96 ). As described above, all original data may be read because the LSB data, CSB data, and the MSB data may be read as they are. 
         [0088]    When the refresh cycle value I of the selected memory block is a negative number (I&lt;0), which may represent that the changed data is stored as the second data in the corresponding memory block, the second LSB may be read ( 93 ), and the read LSB data may be reversed ( 94 ). Next, the CSB data may be read as it is ( 95 ) and the MSB data may be read as it is ( 96 ). As described above, even though the reversed LSB data may be stored as second data in the first memory block, the reversed LSB data may be reversed again making it possible to read the data as it was originally. 
         [0089]    As described above, exemplary embodiments have been disclosed in the drawings and the specification. The specific terms used herein are for purposes of illustration, and do not limit the scope of the present invention defined in the claims. Accordingly, those skilled in the art will appreciate that various modifications and other equivalent examples may be made without departing from the scope and spirit of the present disclosure. Therefore, the scope of the present invention will be defined by the accompanying claims.