Unlike conventional RAM chip technologies, in MRAM
data is not stored as electric charge or current flows, but by magnetic storage elements. The elements are formed from two ferromagnetic plates, each of which can hold a magnetic field, separated by a thin insulating layer. One of the two plates is a permanent magnet set to a particular polarity, the other's field can be changed to match that of an external field to store memory. This configuration is known as a spin valve and is the simplest structure for a MRAM
bit. A memory device is built from a grid of such "cells".
The simplest method of reading is accomplished by measuring the electrical resistance of the cell. A particular cell is (typically) selected by powering an associated transistor that switches current from a supply line through the cell to ground. Due to the magnetic tunnel effect, the electrical resistance of the cell changes due to the orientation of the fields in the two plates. By measuring the resulting current, the resistance inside any particular cell can be determined, and from this the polarity of the writable plate. Typically if the two plates have the same polarity this is considered to mean "1", while if the two plates are of opposite polarity the resistance will be higher and this means "0".
Data is written to the cells using a variety of means. In the simplest, each cell lies between a pair of write lines arranged at right angles to each other, above and below the cell. When current is passed through them, an induced magnetic field is created at the junction, which the writable plate picks up. This pattern of operation is similar to core memory, a system commonly used in the 1960s. This approach requires a fairly substantial current to generate the field, however, which makes it less interesting for low-power uses, one of MRAM's
primary disadvantages. Additionally, as the device is scaled down in size, there comes a time when the induced field overlaps adjacent cells over a small area, leading to potential false writes. This problem, the half-select (or write disturb) problem, appears to set a fairly large size for this type of cell. One experimental solution to this problem was to use circular domains written and read using the giant magnetoresistive effect, but it appears this line of research is no longer active.
Another approach, the toggle mode, uses a multi-step write with a modified multi-layer cell. The cell is modified to contain an "artificial antiferromagnet
" where the magnetic orientation alternates back and forth across the surface, with both the pinned and the free layers, consisting of multi-layer stacks isolated by a thin "coupling layer". The resulting layers have only two stable states, which can be toggled from one to the other by timing the write current in the two lines so one is slightly delayed, thereby "rotating" the field. Any voltage less than the full write level actually increases its resistance to flipping. That means that other cells located along one of the write lines will not suffer from the half-select problem, allowing for smaller cell sizes.A newer technique, spin-transfer torque (STT) or Spin Transfer Switching, uses spin-aligned ("polarized") electrons to directly torque the domains. Specifically, if the electrons flowing into a layer have to change their spin, this will develop a torque that will be transferred to the nearby layer. This lowers the amount of current needed to write the cells, making it about the same as the read process.There are concerns that the "classic" type of MRAM
cell will have difficulty at high densities due to the amount of current needed during writes, a problem STT
avoids. For this reason, the STT
proponents expect the technique to be used for devices of 65 nm
and smaller.The downside is the need to maintain the spin coherence. Overall, the STT
requires much less write current than conventional or toggle MRAM
. Research in this field indicates that STT
current can be reduced up to 50 times by using a new composite structure.However, higher speed operation still requires higher current.Other potential arrangements include "Thermal Assisted Switching" (TAS
-MRAM
), which briefly heats up (reminiscent of phase-change memory) the magnetic tunnel junctions during the write process and keeps the MTJs
stable at a colder temperature the rest of the time; and "vertical transport MRAM
" (VMRAM
), which uses current through a vertical column to change magnetic orientation, a geometric arrangement that reduces the write disturb problem and so can be used at higher density.
Comparison with other systems
Density
The main determinant of a memory system's cost is the density of the components used to make it up. Smaller components, and fewer of them, mean that more "cells" can be packed onto a single chip, which in turn means more can be produced at once from a single silicon wafer. This improves yield, which is directly related to cost.
DRAM uses a small
capacitor as a memory element, wires to carry current to and from it, and a transistor to control it – referred to as a "1T1C" cell. This makes DRAM the highest-density RAM currently available, and thus the least expensive, which is why it is used for the majority of RAM found in a computer.
MRAM is physically similar to DRAM in makeup, although often does not require a transistor for the write operation. However, as mentioned above, the most basic MRAM cell suffers from the half-select problem, which limits cell sizes to around 180 nmMRAM offers a much smaller size before this becomes a problem, apparently around 90 nm,the same size as most current DRAM products. To be worth putting into wide production, however, it is generally believed that MRAM will have to move to the 65 nm size of the most advanced memory devices, which will require the use of STT.
Power consumption
Since the capacitors used in DRAM lose their charge over time, memory assemblies that use DRAM must refresh all the cells in their chips approximately 20 times a second, reading each one and re-writing its contents. As DRAM cells decrease in size, the refresh cycles become shorter, and the power-draw more continuous.In contrast, MRAM
never requires a refresh. This means that not only does it retain its memory with the power turned off but also there is no constant power-draw. While the read process in theory requires more power than the same process in a DRAM, in practice the difference appears to be very close to zero. However, the write process requires more power in order to overcome the existing field stored in the junction, varying from three to eight times the power required during reading.Although the exact amount of power savings depends on the nature of the work – more frequent writing will require more power – in general MRAM
proponents expect much lower power consumption (up to 99% less) compared to DRAM. STT
-based MRAMs
eliminate the difference between reading and writing, further reducing power requirements.It is also worth comparing MRAM
with another common memory system, flash RAM. Like MRAM
, flash does not lose its memory when power is removed, which makes it very common as a "hard disk replacement" in small devices such as digital audio players or digital cameras. When used for reading, flash and MRAM
are very similar in power requirements. However, flash is re-written using a large pulse of voltage (about 10 V) that is stored up over time in a charge pump, which is both power-hungry and time-consuming. In addition, the current pulse physically degrades the flash cells, which means flash can be written only to some finite number of times before it must be replaced.
In contrast, MRAM requires only slightly more power to write than read, and no change in the voltage, eliminating the need for a charge pump. This leads to much faster operation, lower power consumption, and an indefinitely long "lifetime".
Performance
DRAM performance
is limited by the rate at which the charge stored in the cells can be drained (for reading) or stored (for writing). MRAM
operation is based on measuring voltages rather than charges or currents, so there is less "settling time" needed. IBM researchers have demonstrated MRAM
devices with access times on the order of 2 ns
, somewhat better than even the most advanced DRAMs
built on much newer processes.[10] A team at the German Physikalisch-Technische Bundesanstalt have demonstrated MRAM
devices with 1 ns
settling times, better than the currently accepted theoretical limits for DRAM, although the demonstration was a single cell.[11] The differences compared
to flash are far more significant, with write times as much as thousands of times faster.
The only current memory technology that easily competes with MRAM in terms of performance is
static RAM, or SRAM. SRAM consists of a series of transistors arranged in a
flip-flop, which will hold one of two states as long as power is applied. Since the transistors have a very low power requirement, their switching time is very low. However, since an SRAM cell consists of several transistors, typically four or six, its density is much lower than DRAM. This makes it expensive, which is why it is used only for small amounts of high-performance memory, a notable one being the
CPU cache in almost all modern
CPU designs.Although MRAM is not quite as fast as SRAM, it is close enough to be interesting even in this role. Given its much higher density, a CPU designer may be inclined to use MRAM to offer a much larger but somewhat slower cache, rather than a smaller but faster one. It remains to be seen how this trade-off will play out in the future.
Overall
MRAM has similar performance to SRAM, similar density of DRAM but much lower power consumption than DRAM, and is much faster and suffers no degradation over time in comparison to flash memory. It is this combination of features that some suggest make it the "universal memory", able to replace SRAM, DRAM,
EEPROM, and flash. This also explains the huge amount of research being carried out into developing it.
However, to date, MRAM
has not been widely adopted in the market. It may be that vendors are not prepared to take the risk of allocating a modern fab to MRAM
production when such fabs
cost upwards of a few billion dollars to build and can instead generate revenue by serving developed markets producing flash and DRAM memories.The very latest fabs
seem to be used for flash, for example producing 16 Gbit
parts produced by Samsung on a 50 nm
process.Slightly older fabs
are being used to produce most DDR2 DRAM, most of which is produced on a one-generation-old 90 nm
process rather than using up scarce leading-edge capacity.In comparison, MRAM
is still largely "in development", and being produced on older non-critical fabs
. The only commercial product widely available at this point is Everspin's 4 Mbit
part, produced on a several-generations-old 180 nm
process. As demand for flash continues to outstrip supply, it appears that it will be some time before a company can afford to "give up" one of their latest fabs
for MRAM
production. Even then, MRAM
designs currently do not come close to flash in terms of cell size, even using the same fab.