Data storage devices generally operate to store and retrieve data in a fast and efficient manner. Some storage devices utilize a semiconductor array of solid-state memory cells to store individual bits of data. Such memory cells can be volatile or non-volatile. Volatile memory cells generally retain data stored in memory only so long as operational power continues to be supplied to the device. Non-volatile memory cells generally retain data stored in memory even in the absence of the application of operational power. Non-volatile memory cells can take a variety of constructions, such as spin-torque transfer random access memory (STTRAM or STRAM), resistive random access memory (RRAM), magnetic random access memory (MRAM), etc.
In these and other types of data storage devices, the cells can be configured to have different electrical resistances to store different logical states. The resistance state of a particular cell can be detected during a read operation by applying a read current, sensing a voltage drop across the cell, and comparing the sensed voltage drop with a reference voltage.
Various embodiments of the present invention are generally directed to a method and apparatus for sensing a programmed state of a memory cell, such as an STRAM cell.
In accordance with some embodiments, a method generally comprises applying a first read current to a memory cell to generate a first voltage; subsequently applying a second read current to the memory cell to generate a second voltage, wherein the second read current is proportional to the first read current; and comparing the first and second voltages to determine a programmed state of the memory cell.
In accordance with other embodiments, an apparatus generally comprises a memory cell, a first current driver circuit configured to apply a first read current to the memory cell to generate a first voltage, and a second current driver circuit configured to subsequently apply a second read current to the memory cell to generate a second voltage. The second read current is selected to be proportional to the first read current. A sense circuit is configured to compare the first and second voltages to determine a programmed state of the memory cell.
In accordance with further embodiments, an apparatus generally comprises a memory cell, and first means for applying respective first and second read currents to the memory cell to generate respective first and second voltages, and for identifying a programmed state of the memory cell by comparing said generated first and second voltages.
These and various other features and advantages which characterize the various embodiments of the present invention can be understood in view of the following detailed discussion and the accompanying drawings.
Top level control of the device 100 is carried out by a suitable controller 102, which may be a programmable or hardware based microcontroller. The controller 102 communicates with a host device via a controller interface (I/F) circuit 104 and a host I/F circuit 106. Local storage of requisite commands, programming, operational data, etc. is provided via random access memory (RAM) 108 and read-only memory (ROM) 110. A buffer 112 serves to temporarily store input write data from the host device and readback data pending transfer to the host device, as well as to facilitate serialization/deserialization of the data during a transfer operation. The buffer can be located in any suitable location, including in a portion of the array.
A memory space is shown at 114 to comprise a number of memory arrays 116 (denoted Array 0-N), although it will be appreciated that a single array can be utilized as desired. Each array 116 preferably comprises a block of semiconductor memory of selected storage capacity. Communications between the controller 102 and the memory space 114 are coordinated via a memory (MEM) I/F 118. As desired, on-the-fly error detection and correction (EDC) encoding and decoding operations are carried out during data transfers by way of an EDC block 120.
While not limiting, in an embodiment the various circuits depicted in
Any number of data storage and transfer protocols can be utilized, such as logical block addressing (LBAs) whereby data are arranged and stored in fixed-size blocks (such as 512 bytes of user data plus overhead bytes for ECC, sparing, header information, etc). Host commands can be issued in terms of LBAs, and the device 100 can carry out a corresponding LBA-to-PBA (physical block address) conversion to identify and service the associated locations at which the data are to be stored or retrieved.
The actual configurations of the cells and the access lines thereto will depend on the requirements of a given application. Generally, however, it is contemplated that the various control lines will generally include enable lines that selectively enable and disable the respective writing and reading of the value(s) of the individual cells.
Control logic 126 receives and transfers data, addressing information and control/status values along multi-line bus paths 128, 130 and 132, respectively. X and Y decoding circuitry 134, 136 provide appropriate switching and other functions to access the appropriate cells 124. A write circuit 138 represents circuitry elements that operate to carry out write operations to write data to the cells 124, and a read circuit 140 correspondingly operates to obtain readback data from the cells 124. Local buffering of transferred data and other values can be provided via one or more local registers 144. The circuitry of
Data are written to the respective memory cells 124 as generally depicted in
As noted above, in an embodiment the memory cell 124 takes an STRAM configuration, in which case the write power source 146 is preferably characterized as a bi-directional current driver connected through a memory cell 124 to a suitable reference node 148, such as ground. The write power source 146 preferably provides a stream of power that is spin polarized by moving through a magnetic material in the memory cell 124. The resulting rotation of the polarized spins creates a torque that changes the magnetic moment of the memory cell 124.
Depending on the orientation of the applied write current, the cell 124 may take either a relatively low resistance (RL) or a relatively high resistance (RH). While not limiting, exemplary RL values may be in the range of about 2000 ohms (Ω) or so, whereas exemplary RH values may be in the range of about 100 KΩ or so Other resistive memory type configurations (e.g., RRAMs) are supplied with a suitable voltage or other input to similarly provide respective RL and RH values. These values are retained by the respective cells until such time that the state is changed by a subsequent write operation. While not limiting, in the present example it is contemplated that a high resistance value (RH) denotes storage of a logical 1 by the cell 124, and a low resistance value (RL) denotes storage of a logical 0.
The logical bit value(s) stored by each cell 124 can be determined in a manner such as illustrated by
The reference voltage VREF is preferably selected such that the voltage drop VMC across the memory cell 124 will be lower than the VREF value when the resistance of the cell is set to RL, and will be higher than the VREF value when the resistance of the cell is set to RH. In this way, the output voltage level of the comparator 154 will indicate the logical bit value (0 or 1) stored by the memory cell 124.
In some embodiments, the memory cells 124 are characterized as so-called resistive sense memory (RSM) cells. As used herein, RSM cells are generally described as cells configured to have different electrical resistances which are used to store different logical states. The resistance of the cells can be subsequently detected during a read operation by applying a read current and sensing a signal in relation to a voltage drop across the cell. Exemplary types of RSM cells include STRAM, RRAM, magnetic random access memory (MRAM), etc.
Advantages of RSM cells over other types of non-volatile memory cells such as EEPROM and flash include the fact that no floating gate is provided in the cell construction. No erase operation is necessary prior to the writing of new data to an existing set of cells. Rather, RSM cells can be individually accessed and written to any desired logical state (e.g., a “0” or “1”) irrespective of the existing state of the RSM cell. Also, write and read power consumption requirements are substantially reduced, significantly faster write and read times can be achieved, and substantially no wear degradation is observed as compared to erasable cells, which have a limited write/erase cycle life.
In some embodiments, the magnetization direction of the reference layer 162 is fixed by coupling to a pinned magnetization layer (e.g., a permanent magnet, etc.), and the magnetization direction of the free layer 164 can be changed by passing a driving current polarized by magnetization in the reference layer 162.
To read the logic state stored by the MTJ 161, a relatively small current is passed through the MTJ between a source line (SL) and a bit line (BL). Because of the difference between the low and high resistances of the MTJ 161 in the respective logical 0 and 1 states, the voltage at the bit line will be different, which can be sensed using a suitable sense amplifier. A switching device 168 allows selective access to the MTJ 161 during read and write operations.
The oxide layer 176 can be restored to its original, higher resistance through application of a corresponding voltage of opposite polarity. As with the STRAM cell 160 of
The sensing of the programmed resistive state of an RSM cell, such as the STRAM cell 160 of
V
MAX
=I
R(RMAX+RTR) (1)
where VMAX is the sensed voltage, IR is the read current, RMAX is the programmed high resistance of the resistive sense element (such as MTJ 161 in
V
MIN
=I
R(RMIN+RTR) (2)
where VMIN is the sensed voltage, IR is the read current, RMIN is the programmed low resistance of the resistive sense element (such as MTJ 161 in
ΔV=VMAX−VMIN=IR(RMAX−RMIN) (3)
The voltage differential ΔV constitutes the available margin for resistive state detection.
A problem arises when insufficient margin is available to select a reference voltage VREF that falls within the ΔV differential, that is, VMAX>VREF>VMIN. Due to a number of factors such as manufacturing process variations and operational conditions, a reference voltage VREF that is suitable for resistive state detection of some cells within the array may not be suitable for resistive state detection in other cells. This may lead to incorrect detection of the resistive state of the cells, and erroneous data being read back from the array.
Accordingly, various embodiments of the present invention are generally directed to providing a dual stage self-reference sensing scheme for the memory cells in a resistive sense memory array. As explained below, the scheme generally applies different magnitudes of read currents to a memory cell. This provides different readback voltages that are compared to discern the resistive state of the cell. In some embodiments, a dual-stage sense amplifier structure is further used to improve the efficiency of the voltage sense operation.
To explain these various features, reference is made to
A first portion 186 of the curve 180 represents the resistance of the STRAM cell 160 when the MTJ 161 is programmed to the high resistance RMAX. That is, for various applied read currents, the portion 182 shows the corresponding resistance of the STRAM cell 160 when the MTJ 161 is programmed to the high resistance.
A second portion 188 of the curve 180 represents the resistance of the STRAM cell 160 when the MTJ 161 is programmed to the low resistance RMIN. The RMIN portion 188 is relatively flat (i.e., has a substantially smaller slope) as compared to the RMAX portion 186. Applying a selected magnitude of read current IR to the cell 160 will provide different voltages corresponding to the different possible programmed resistances (RMIN or RMAX) of the MTJ 161.
The S1-S4 switching devices are characterized as NMOS transistors, although other configurations can be used. The S1 device 206 allows individual selection of the cell 160, and is asserted via a decoder line 226. Only a single stage sense amplifier 218 is shown in
During a read operation upon the cell 160, a bit line (BL) 228 coupled to the cell 160 is pre-charged with a voltage VPRE from the pre-charge source 224. While optional, such pre-charging can improve the speed at which the cell 160 is read. To read the cell 160, a word line 230 (WL) is asserted to place the cell transistor 168 in a drain-to-source conductive state, the decoder line 226 is asserted to place the S1 device 206 in a conductive state, and a first read current IR is applied to the cell 160 from the first read current source 220.
The first read current source 220 includes a current driver 232 and a switching device 234. Assertion of the switching device 234 allows the first read current IR to pass from the driver 232 to the BL 228 and through the MTJ 161 to ground. The voltage at the BL 228 will be proportional to the voltage drop across the MTJ 161. Those skilled in the art will recognize that this voltage will also include the small forward conduction drops across the S1 device 206 and the cell transistor 168, but these will be relatively small compared to the voltage drop across the MTJ 161, and will be substantially the same each time current is applied to the cell. Thus, the voltage on the BL 228 resulting from the first read current IR can be used as an indication of the voltage drop across the MTJ 161, and hence, the programmed state thereof.
The S2 switching device 208 is asserted so that the voltage on the BL 228 is stored on the C1 capacitor 202. The S2 switching device is deasserted to retain this voltage on the C1 capacitor.
A second read current IR′ is applied to the BL 228 from the second current source 222 via current driver 236 and switching device 238. The second read current IR′ is selected to be proportional in magnitude to the first read current (i.e., IR′=(IR) times (x) where x is some non-unity value) in a manner to be discussed below.
The second read current IR′ also results in a voltage being presented on the BL 228. The S3 and S4 switching devices 210, 212 are asserted, so that a second voltage is stored on the C2 capacitor 204 that is proportional to both the voltage drop across the MTJ 161, as well as the voltage divider formed by the R1 and R2 resistors 214, 216. That is the voltage across the MTJ 161 is divided by the ratio of the R1 and R2 resistors 214, 216 so that the second voltage substantially corresponds to the voltage at a node 240 between the R1 and R2 resistors.
This second voltage V2 generally constitutes a reference voltage VREF for the first voltage V1 stored on the C1 capacitor 202. The first and second voltages V1 and V2 on the respective C1 and C2 capacitors 202, 204 are compared through provision of the voltages to respective input terminals of the sense amplifier 218. This comparison results in the generation of a sense amplifier output (SAOUT) indicative of the storage state of the MTJ 161.
The ability of the sense amplifier 218 to correctly discern the storage state of the MTJ 161 will depend on a number of factors, including the respective values for the first and second read currents IR and IR′ and the respective resistance values of the R1 and R2 resistors 214, 216. Referring again to
RMIN≈RMIN′ (4)
The forward resistance of the cell transistor 168 RTR will be substantially the same for both read currents since the transistor will be operating in the linear region in both cases, so
RTR≈RTR′ (5)
If the programmed state of the MTJ 161 in
V=I
R(RMIN+RTR) (6)
The second voltage V2 stored on the C2 capacitor 204 can be generally expressed as:
If the respective magnitudes of R1 and R2 are selected to provide
then combining equations (6) and (7) provides
V
1
−V
2
=I
R(RMIN−RMIN) (9)
Thus, when the MTJ 161 in
By contrast, when the MTJ 161 in
V
1
=I
R(RMAX+RTR) (10)
The second voltage V2 stored on the C2 capacitor 204 can be generally expressed as:
Combining equations (10) and (11) provides:
V
1
−V
2
=I
R(RMAX−RMAX′)>>0 (12)
Thus, the voltage differential between the voltages V1 and V2 on the respective C1 and C2 capacitors 202, 204 will be substantially greater than zero when the MTJ 161 in
One difference between the circuits 200, 250 in
The first stage amplifier circuit 252 comprises four cross-connected switching devices 254, 256, 258 and 260 denoted as S5 through S8. The S5 and S6 devices 254, 256 are characterized as PMOS transistors, and the S7 and S8 devices 258, 260 are characterized as NMOS transistors, although other configurations can be used.
A first terminal, or sense node 262 is coupled to the C1 capacitor 202, and a second terminal, or sense node 264 is coupled to the C2 capacitor 204. Suitable rail voltages are supplied to the circuit 252 via a positive voltage range (PRVG) source 266 and a negative voltage range (NVRG) source 268. A pair of switching devices (NMOS transistors) 270, 272 are denoted as S9 and S10 and are respectively coupled to the sense nodes 262 and 264. The devices 270, 272 are asserted via a MUX line 274 to connect the first stage sense circuit 252 to the second stage sense amplifier 218. Although not shown in
The circuit 250 of
The driver circuit 280 is connected across a voltage VDD from a source 282 and a reference level 284, such as ground. Switching devices 286, 288, configured as PMOS transistors and denoted as S11 and S12, are coupled to the source 282 as shown. An output line 290 provides the commanded current.
Two parallel sets of switching devices S13-S18 are coupled between the S11-S12 devices and ground 284. These S13-S18 devices are individually denoted at 292, 293, 294, 295, 296 and 297, respectively. The S13-S15 devices have gates concurrently asserted by a first current enable signal (IR
During operation, the driver circuit 280 outputs the first read current IR responsive to magnitude of the IR
The diagram 300 is generally divided into four time intervals which are bounded by vertically extending dashed lines 302, 304, 306 and 308. These time intervals will generally occur at appropriate times during the read operation, and may not necessarily be equally spaced in the manner shown in
For reference, the first time interval between lines 302 and 304 constitutes the first read operation on the MTJ 161 using the first read current IR. The second time interval (304-306) constitutes the second read operation on the MTJ 161 using the second read current IR′. The third time interval (306-308) is a first stage sensing operation using the first stage sense amplifier circuit 252, and the fourth time interval (308 and beyond) represents the second stage operation using the output sense amplifier 218.
A complementary address (ADDR) signal 310 generally serves as a read gate to initialize the read operation upon the selected cell 160. The ADDR signal 310 is asserted during the entirety of the read operation. A decoder (DEC) signal 312 asserts the S1 device 206 in
The S2 device 208 (
When the MTJ 161 (
By contrast, when the MTJ 161 is programmed to the low resistance state, a voltage differential will initially exist during the time prior to the storage of the second voltage V2 on the C2 capacitor 204. Once the second voltage V2 is captured, however, the V1 and V2 voltages will be substantially equal and the second stage amplifier 218 will ultimately be pulled low, as shown.
It will now be appreciated that the various embodiments presented herein provide various advantages over the prior art. The use of different, proportional read currents through the same memory cell allow the generation of a suitable reference voltage differential based on the actual characteristics of that cell. That is, irrespective of whether the cell exhibits resistance characteristics that are at a low end, a high end, or a median level with regard to the overall population of resistance characteristics for all of the memory cells in an array, a reference voltage can be individually tailored for that cell that quickly and accurately determines the programmed state of that cell. While not necessarily required, the use of dual sense stages further advantageously decreases the time required to complete the sense operation upon the programmed state of the cell.
It is to be understood that even though numerous characteristics and advantages of various embodiments of the present invention have been set forth in the foregoing description, together with details of the structure and function of various embodiments of the invention, this detailed description is illustrative only, and changes may be made in detail, especially in matters of structure and arrangements of parts within the principles of the present invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
This application makes a claim of domestic priority under 35 U.S.C. §119(e) to U.S. Provisional Patent Application No. 61/109,967 filed Oct. 31, 2008.
Number | Date | Country | |
---|---|---|---|
61109967 | Oct 2008 | US |