The present disclosure relates generally to apparatus, such as storage systems, and their operation, and, more particularly, to permutation coding for improved memory cell operations.
Storage systems may be implemented in electronic systems, such as computers, cell phones, hand-held electronic devices, etc. Some storage systems, such as solid state drives (SSDs), embedded Multi-Media Controller (eMMC) devices, Universal Flash Storage (UFS) devices, and the like may include non-volatile storage memories for storing user data from a host. Non-volatile storage memories provide persistent data by retaining stored data when not powered and may include NAND flash memory, phase change memory (PCM), resistive random access memory (RRAM), magnetic random access memory (MRAM), and programmable conductive memory, among other types of memory that can be written to a particular number of times throughout their lifetime.
Non-volatile memory cells can be programmed to a desired state. As an example, some memory cells can be programmed to one of multiple states that can correspond to (e.g., be encoded with) different bit patterns. The particular programmed state of a cell can be determined by, for example, comparing the threshold voltage of the cell to a reference voltage In some examples, a threshold voltage (Vt) of a cell can drift, which can make accurate reading difficult since the drift may need to be tracked in order to ensure use of proper demarcation/read voltages.
Permutation coding for improved memory cell operations are described. An example apparatus can include an array of memory cells each programmable to a plurality of states. A controller coupled to the array is configured to determine an encoded data pattern stored by a number of groups of memory cells. Each of the number of groups comprises a set of memory cells programmed to one of a plurality of different collective state permutations each corresponding to a permutation in which the cells of the set are each programmed to a different one of the plurality of states to which they are programmable. The controller is configured to determine the encoded data pattern by, for each of the number of groups, determining the one of the plurality of different collective state permutations to which the respective set is programmed by direct comparison of threshold voltages of the cells of the set. Such a direct comparison of cell threshold voltages can provide various benefits such as providing an ability to cope with cell threshold voltage drift (e.g., due to time, temperature, cycling, etc.) to obtain reliable data output without having to monitor/track the cell threshold voltage positions.
Embodiments of the present disclosure provide various technical advantages over prior approaches to operating memory cells. For example, one issue associated with various memory cells, such as resistance variable memory cells, is that the cell threshold voltage (Vt) distributions may drift (e.g., move, shift, change) with time, temperature, cycling (e.g., wear), etc. Various read methods may use one or more reference voltages, which may be referred to as “read” voltages or a “demarcation” voltages, to distinguish between stored states (e.g., Vt distributions) of a cell. Accordingly, Vt drift can reduce the ability to reliably determine the stored state of the cell using the demarcation voltages. Some prior approaches include tracking/monitoring the Vt drift such that adjusted demarcation voltages can be used based on the amount of Vt drift. Other approaches may account for Vt drift by requiring a large voltage difference (e.g., window or margin) between Vt distributions. However, such previous approaches can be costly in terms of power usage and/or circuitry complexity, for example.
In contrast, embodiments of the present disclosure capitalize on the fact that relationships between states the memory cells, such as the relationships between the threshold voltages of the memory cells (e.g., the differences between the threshold voltages), may remain the same with temperature and/or age. For example, a collective state of a group of memory cells may be determined based on the relationships between the individual states of the memory cells in the group of memory cells instead of determining the actual individual state of each of the individual states directly using sensing voltages, thereby overcoming the problems associated with drift that may occur when determining the actual individual states using sensing voltages.
As shown in
Memory 106 can comprise a number of memory devices (e.g., memory dies, chips, etc.), which each can comprise a number of arrays 110. The arrays 110 can include two-dimensional (2D) and/or three-dimensional (3D) array structures such as cross point array structures. The memory cells can include, for example, various types of resistance variable (e.g., PCRAM cells, RRAM cells, 3D cross point cells), which may comprise a resistance variable storage element and/or switch element. In a number of embodiments, the memory cells can be self-selecting memory (SSM) cells in which a single material can serve as both the storage element and the memory element.
As an example, the memory cells can be phase change memory (PCM) cells, which can be chalcogenide based memory cells comprising a single chalcogenide material serving as both a storage element and a switch element for the cells and/or a stack of materials with a first chalcogenide material serving as a switch element and a second chalcogenide serving as a storage element for the cells. However, embodiments are not limited to a particular array architecture and/or memory cell type. For instance, the array 110 might comprise NAND flash memory cells and/or NOR flash memory cells, among others.
The memory device 106 includes a read component 112 that can comprise various circuitry associated with operating memory cells in accordance with embodiments of the present disclosure. For example, as described further below, the read component can include sense amplifiers, comparators, and/or combinatorial logic (e.g., logic gates) configured to determine data values stored in memory cells in accordance with an implemented permutation coding of the cells. A number of embodiments rely on direct comparison of cell Vts as opposed to comparing individual cell Vts to a reference voltage, in order to determine the logic output of the cells. Such a direct comparison of cell Vts can provide various benefits such as providing an ability to cope with cell Vt drift (e.g., due to time, temperature, cycling, etc.) to obtain reliable data output without having to monitor/track the cell Vt positions.
Controller 108 can include circuitry that is configured to perform the methods disclosed herein. The controller 108 can comprise, for example, a state machine, a sequencer, and or some other type of control circuitry, and can communicate with the memory devices 106 to control data read, write, and erase operations, among other operations. The controller 108 can include, for example, a number of components in the form of hardware (e.g., one or more integrated circuits) and/or software (e.g., instructions, which may be in the form of firmware) for controlling access to the number of memory devices 106 and/or for facilitating data transfer between the host 104 and memory devices 106. In general, the controller 108 can receive and execute commands from the host 104 to achieve the desired access to the memory 106. The controller 108 can be responsible for, among other things, performing various methods for improved memory operations in accordance with embodiments described herein. For instance, as shown in
Memory cells 314-1 to 314-N can be cross-point memory cells located at intersections of a signal line 315, such as a word line, and signal lines 316-1 to 316-N, such as bit lines. For instance, memory cells 314-1 (A), 314-2 (B), and 314-3 (C) are respectively coupled to signal lines 316-1, 316-2, and 316-3 and are commonly coupled to signal line 315, and memory cells 314-4 (D), 314-5 (E), and 314-6 (F) are respectively coupled to signal lines 316-4, 316-5, and 316-6 and are commonly coupled to signal line 315. Signal lines 316-1 to 316-N, and thus memory cells 314-1 to 314-N, can be coupled to a read component 312 that can be included in read component 112, for example.
Voltages indicative of the current flows respectively through memory cells 314-1 to 314-N in response to a voltage being applied across memory cells 314-1 to 314-N can be output to read component 312. For example, the voltage outputs may be indicative of the respective states to which memory cells 314-1 to 314-N are programmed. Read component 312 can compare the voltage outputs corresponding to memory cells 314-1 (A), 314-2 (B), and 314-3 (C) to determine relationships between the individual states of memory cells 314-1 (A), 314-2 (B), and 314-3 (C) and the voltage outputs corresponding to memory cells 314-4 (D), 314-5 (E), and 314-6 (F) to determine relationships between the individual states of memory cells 314-4 (D), 314-5 (E), and 314-6 (F).
In some examples, an increasing ramp voltage may be applied to signal line 315 while concurrently applying the voltage (e.g., the same voltage) to signal lines 316-1 to 316-N so that an increasing ramp voltage is applied across memory cells memory cells 314-1 to 314-N. Read component 312 can sense respective switching events, such as thresholding events (e.g., snapback events) of memory cells 314-1 to 314-N in response to applying the ramp voltage across memory cells 314-1 to 314-N. Memory cells 314-1 to 314-N can, for example, respectively switch from one conductivity state, such as a low conductivity state (e.g., high resistive state) to another conductivity state, such as a higher conductivity state, in response to the ramp voltage reaching the respective threshold voltages of memory cells 314-1 to 314-N. Read component 312 can sense the respective switching events by sensing respective changes in current.
In some examples, memory cells 314-1 (A), 314-2 (B), and 314-3 (C) may experience the switching events in timewise order, according to their respective states and threshold voltages, from first to last, as the ramp voltage increases with time. For example, the memory cells may switch in order, starting with the memory cell with lowest state (e.g., lowest threshold voltage) and ending with the memory cell with highest state (e.g., highest threshold voltage) in response to the increasing ramp voltage. Similarly, memory cells 314-4 (D), 314-5 (E), and 314-6 (F) may experience the switching events in order, according to their respective states and threshold voltages, from first to last, as the ramp voltage increases with time.
Memory cells 314 can be, for example, resistance variable memory cells whose respective states (e.g., stored data values) depend on the respective programmed resistances of memory cells. Memory cells 314 can be overwritten individually without first being erased, in some examples.
The number of different collective states to which a setset of three memory cells, such as the first set of memory cells 314-1 (A), 314-2 (B), and 314-3 (C) and the second set of memory cells 314-4 (D), 314-5 (E), and 314-6 (F), may be programmed is the number of permutations of the individual states L, M, and H. In each respective collective state, the respective memory cells of the set of memory cells may be respectively be programmed to the states in a respective permutation. There are six permutations of the states L, M, and H, and thus six different collective states to which the set of memory cells can be programmed, which are: (L, M, H), (L, H, M), (M, L, H), (M, H, L), (H, L, M), and (H, M, L). For example, each respective collective state corresponds to a different one of the six permutations.
In each respective collective state, the memory cells of the sets of three memory cells may be respectively programmed to the respective individual states in each respective corresponding permutation. For example, memory cells 314-1 (A), 314-2 (B), and 314-3 (C) may be respectively programmed to the individual states of permutation (L, M, H), permutation (L, H, M), permutation (M, L, H), permutation (M, H, L), permutation (H, L, M), or permutation (H, M, L). Similarly, memory cells 314-4 (D), 314-5 (E), and 314-3 (F) may be respectively programmed to the individual states of permutation (L, M, H), permutation (L, H, M), permutation (M, L, H), permutation (M, H, L), permutation (H, L, M), or permutation (H, M, L).
The number of bits that can be stored by the respective sets of three memory cells is n=log2(the number of states)=log2(6)=2.58 bits. Since this is for a set of three cells, the number of bits per cell is 2.58/3=0.86 bit/cell. This represents the maximum number of bits per cell in the set of three memory cells. However, in some examples, each collective state of the set of cells may correspond to (e.g., may be assigned) a positive integer number of bits. Therefore, the number of bits n corresponding to each collective state is two, since two is the largest positive integer number less than 2.58. This means that the number of bits per cell in the set is ⅔=0.67 bit/cell. Therefore, the number of collective states of the set of cells is 2n=22=4 states. Therefore, four of the six collective states (e.g., permutations) may be used, and the set of cells may be programmed to one of the four collective states, a subset of the six possible collective states.
Region 422-1 corresponds to collective state (L, M, H) and shows that collective state (L, M, H) corresponds to a quantity of bits, such as a code, 00 and that memory cells A, B, and C are respectively programmed to the individual states L, M, H. Region 422-2 corresponds to collective state (M, L, H) and shows that collective state (M, L, H) corresponds to a code 01 and that memory cells A, B, and C are respectively programmed to the individual states M, L, H. Note that in going from region 422-1 to region 422-2, only one of the bit values changes (e.g., 00 in region 422-1 changes to 01 in region 422-2) and that the single bit change involves swapping the states of two cells (e.g., cells A and B). This is an example of Gray coding and occurs in going from one region to the next in the direction of the arrows in
For example, region 422-3 corresponds to collective state (L, H, M) and shows that collective state (L, H, M) corresponds to a code 10, that memory cells A, B, and C are respectively programmed to the individual states L, H, M, and that in going from region 422-1 to region 422-3, one bit of 00 in region 422-1 is changed to get 10 in region 422-3 and the states of cells B and C are swapped.
Region 422-4 corresponds to collective state (M, H, L) and shows that collective state (M, H, L) corresponds to a code 11 and that memory cells A, B, and C are respectively programmed to the individual states M, H, L. Note that in going from region 422-2 to 422-4, one bit of 01 in region 422-2 is changed to get 11 in region 422-4 and the states of cells B and C are swapped. In going from region 422-3 to 422-4, one bit of 10 in region 422-3 is changed to get 11 in region 422-4 and the states of cells A and C are swapped. Note that in example of
Read component 112 may determine the collective states from the relationships between the individual states of the collective states.
Inputs of comparator 630-1 are coupled to memory cells A and B; inputs of comparator 630-2 are coupled to memory cells A and C; and inputs of comparator 630-3 are coupled to memory cells B and C. Comparator 630-1 compares (e.g., senses a difference between) the states of memory cells A and B to determine a relationship between the states of memory cells A and B and outputs an indication of the relationship to combinatorial logic 633. Comparator 630-2 compares the states of memory cells A and C to determine a relationship between the states of memory cells A and C and outputs an indication of the relationship to combinatorial logic 633. Comparator 630-3 compares the states of memory cells B and C to determine a relationship between the states of memory cells B and C and outputs an indication of the relationship to combinatorial logic 633.
In some examples, the inputs to the comparators may receive voltages indicative of the states of memory cells A, B, and C. For example, the inputs respectively corresponding to memory cells A, B, and C can be voltages. As such, the comparators can compare the voltages. The set 631 of comparators may determine relationships (e.g., inequalities) between memory cells A, B, and C by sensing differences between the voltages corresponding to memory cells A, B, and C. For example, the respective voltages may correspond to the respective states of memory cells A, B, and C, such as the respective programmed resistances (e.g., respective threshold voltages) of memory cells A, B, and C.
Region 742 illustrates the sets of inputs from the set 631 of comparators. For example, each set of inputs is a set of relationships between the states of memory cells A, B, and C. A binary 0 in the portions of the rows 740-1 to 740-8 corresponding to region 742 indicates that the corresponding one of the inequalities A>B, A>C, and B>C is false, and a binary 1 indicates that the corresponding one of the inequalities A>B, A>C, and B>C is true.
Region 744 illustrates the assignment of the respective collective states by combinatorial logic 633 to the respective sets of inputs from the set 631 of comparators. For example, each collective state in region 744 corresponds to a respective set of relationships in region 742. Region 746 illustrates the respective outputs of combinatorial logic 633 (e.g., the binary code) corresponding to the respective collective states in region 744, and thus the respective relationships in region 742.
In some examples, a combined collective state may correspond to one of the six possible collective states of the first set of memory cells A, B, and C combined with one of the six possible collective states of the second set of memory cells D, E, and F. For example, there may be 36 such combined collective states.
However, in some examples, each combined collective state may correspond to a positive integer number of bits. Therefore, the number of bits n corresponding to each combined collective state is 5, since 25=32 states is the largest number of states less than 36 states. This means that the number of bits per cell in the combined first and second sets is ⅚=0.83 bit/cell, which is greater than and closer to the maximum of 0.86 bit/cell than the 0.67 bit/cell for the first set or second set alone.
Each comparator 830 can determine a relationship, such as an inequality, between the states of two of the memory cells A, B, and C of the first set of memory cells, by comparing the individual states of the two memory cells, and can output an indication of the relationship (e.g., the collective state) to combinatorial logic 833. Each comparator 855 can determine a relationship between the states of two of the memory cells D, E, and F of the second set of memory cells, by comparing the individual states of the two memory cells, and can output an indication of the relationship to combinatorial logic 833. Combinatorial logic 833 combines the two collective states to obtain the combined collective states and assigns a code (e.g., that includes five bits) to the determined collective state. For example, the outputs 0 to 4 of combinatorial logic 833 correspond to the five bits.
Comparators 830-1, 830-2, and 830-3 respectively compare the states of memory cells A and B, A and C, and B and C. For example, comparators 830-1, 830-2, and 830-3 may respectively compare the voltages corresponding memory cells A and B, memory cells A and C, and memory cells B and C of
In some examples, the coding described in conjunction with
The previous examples addressed two bits for one set three memory cells for a rate of 0.67 bit/cell and five bits for six memory cells (e.g., two sets of three cells) for a rate of 0.83 bit/cell.
A collective state of memory cells A, B, and C may be based on the relationship between the times memory cells A, B, and C experience a switching event may in response to the ramp voltage. For example, the collective state of memory cells A, B, and C may be based on the timewise order in which memory cells A, B, and C experience the switching events.
Although the embodiments and examples previously described refer to sets of three memory cells (e.g., 3-cell sets) in which the assigned coding permutations comprise those permutations for which the three cells are each programmed to a different one of three possible states, the present disclosure is not so limited. For example, the present disclosure may be extended to include sets of cells comprising more than three memory cells each programmable to more than three different states. For example, a set can be a 4-cell set in which the assigned coding permutations comprise those permutations for which the four cells are each programmed to a different one of four possible states, among others.
In the preceding detailed description, reference is made to the accompanying drawings that form a part hereof, and in which is shown, by way of illustration, specific examples. In the drawings, like numerals describe substantially similar components throughout the several views. Other examples may be utilized and structural, logical and/or electrical changes may be made without departing from the scope of the present disclosure.
The figures herein follow a numbering convention in which the first digit or digits correspond to the drawing figure number and the remaining digits identify an element or component in the drawing. Similar elements or components between different figures may be identified by the use of similar digits. As will be appreciated, elements shown in the various embodiments herein can be added, exchanged, and/or eliminated so as to provide a number of additional embodiments of the present disclosure. In addition, as will be appreciated, the proportion and the relative scale of the elements provided in the figures are intended to illustrate the embodiments of the present disclosure and should not be taken in a limiting sense.
As used herein, “a number of” something can refer to one or more of such things. For example, a number of memory cells can refer to one or more memory cells. A “plurality” of something intends two or more. As used herein, multiple acts being performed concurrently refers to acts overlapping, at least in part, over a particular time period. As used herein, the term “coupled” may include electrically coupled, directly coupled, and/or directly connected with no intervening elements (e.g., by direct physical contact) or indirectly coupled and/or connected with intervening elements. The term coupled may further include two or more elements that co-operate or interact with each other (e.g., as in a cause and effect relationship).
Although specific examples have been illustrated and described herein, those of ordinary skill in the art will appreciate that an arrangement calculated to achieve the same results can be substituted for the specific embodiments shown. This disclosure is intended to cover adaptations or variations of one or more embodiments of the present disclosure. It is to be understood that the above description has been made in an illustrative fashion, and not a restrictive one. The scope of one or more examples of the present disclosure should be determined with reference to the appended claims, along with the full range of equivalents to which such claims are entitled.
This application is a Continuation of U.S. application Ser. No. 15/957,098, filed on Apr. 19, 2018, the contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 15957098 | Apr 2018 | US |
Child | 16524288 | US |