Computation of Torques
in Magnetic Tunnel Junctions
Chapter 4 Charge Current Redistribution and Finite Difference Implementation of the LLG Equation
When dealing with switching simulations of STT-MRAM devices, there can be multiple ways to approach both the evaluation of torques and the evaluation of the current density giving rise to them. This chapter first describes the
effects of a high TMR value on the current density distribution in an MRAM cell during switching. This is achieved by deriving an analytical solution for the current density in an MTJ. Then, the FD discretization of the LLG
equation employed to perform switching simulations is presented, and is extended with three different approaches to describe the current and its distribution during the switching process.
The magnetization dynamics described by equation (3.47) address the current polarization, giving rise to the STT, via the efficiency terms
described by equations (3.48) and (3.49). These terms are based on the
theoretical predictions of J. C. Slonczewski, and were derived by considering a macrospin approach to the ferromagnetic leads, where the magnetization in the whole layer can be represented by a single vector. In realistic structures
with diameters in the range of tens of nanometers, however, non-uniform switching of the magnetization is expected [107].
In micromagnetic modeling of STT switching, the typical simplified approach is to still rely on the efficiency terms derived by Slonczewski, by using a position dependent angle
4.1 Nonuniform Current Density Distribution
The main effect of a non-uniform magnetization distribution in the FL is to make the resistance of the barrier dependent on the lateral position. The magnitude of the relative resistance variation will be proportional to the TMR of the MTJ. Obtaining a solution for the current density in such a scenario can help evaluate its non-uniformity, and if it needs to be taken into account when performing switching simulations. The MTJ structure in which the current is computed is reported in Fig. 4.1. The considered MTJ has magnetization perpendicular to the plane of the thin ferromagnetic films (p-MTJ), as such structures present better thermal stability and scalability, and lower switching currents (see Chapter 2). The ferromagnetic leads are here contacted directly. The equation for the charge current density in the metallic leads, where the distribution of charges is uniform, is
where
Moreover, the FM layers do not contain sources of electric current, so that
As any displacement of the charge density
By putting together equations (4.1) and (4.2), the current density can be expressed in terms of the potential as
To obtain a unique solution for the potential and the current in the FM layers, the boundary conditions need to be defined. Considering the RL, the left side is contacted directly, so that a Dirichlet condition on the voltage, prescribing its value, is applied. The right side of the layer presents the interface with the TB. Here, the tunneling current going to the FL is proportional to the local resistance, which depends on the relative angle between magnetization vectors in the FL and RL, due to the polarized tunneling process in an MTJ, and can be described through equation (2.4). The local resistance of the TB can be modeled through the following Neumann boundary condition, assuming a coordinate system where the x-axis is the one perpendicular to the TB interface:
The solution is first computed for the 2D section of the structure presented in Fig. 4.1, with the x-axis perpendicular to the barrier interface and the y-axis pointing along it. If the
angle
If the unit vector of the RL magnetization is pointing along x, then
where the coefficients
A similar solution can be obtained for the FL, with the Neumann boundary condition applied on its left side instead of the right one, and Dirichlet conditions fixing the potential to 0 on the right side. In the middle layer, a linear
decay of the potential from the RL to the FL interface is assumed. The complete solution for both the potential and the current density is reported in Fig. 4.2, for
The presented solution can be extended to a three dimensional structure with rectangular cross section. In this case, the partial differential equation to solve for the potential in the RL is
Results for the three-dimensional solution are reported in Fig. 4.3. The distribution of the x-component of the current density is reported for planes located at the contacts and at the TB interfaces. Both the potential and the current density showcase the same behavior reported for the two-dimensional case.
These results underline how the current density component perpendicular to the MTJ plane can be strongly nonuniform when dealing with inhomogeneous magnetization configurations during switching. The validity of the description with the fixed current density for the switching process’ simulation needs thus to be evaluated against models which include the possibility of current density redistribution.
4.2 Finite Difference Implementation of the LLG Equation
The software employed to this end is an in-house solver based on the FD method [17], applied to a pMTJ. The effective magnetic field is calculated directly from the discretized
magnetization [91]. Only the dynamics of the FL are computed, while the influence of the RL stray field is added as an external contribution to the effective field. The simulation
domain is divided in parallelepiped cells, with volume
-
• an approach where the voltage across the structure is fixed, with the current redistribution exemplified by the results of the previous section;
-
• the typical fixed current density approach;
-
• an approach with a fixed total current, redistributed according to the local resistance value, extending the reference model described in [111] to pMTJs.
This section provides a brief description of the FD implementation of the terms entering the effective field and torque computation described in chapter 3, as well as the equations employed
to address the proposed approaches to the current density redistribution. All the simulations take into account the presence of a single layer of cells along the FL thickness. The labels
4.2.1 External Field Discretization
A uniform and constant external field vector can be provided as an input parameter to the simulation. Its value is directly added to the effective field vector.
4.2.2 Exchange Field Discretization
The exchange field contribution, being proportional to the Laplacian of the magnetization, as seen in (3.17), requires knowledge of its value in both the computational cell and its nearest neighbor cells. In the most general case, there are 6 neighbors, two for every Cartesian direction. A first order discretized expression for this contribution takes the form [89]
In this expression, the triplet
The behavior of expression (4.18) at the boundary, where some of the nearest neighbor locations are not part of the simulation domain, needs to be
consistent with the boundary condition described by (3.41). The most common way to enforce the given boundary condition is to introduce a ’ghost’
magnetization vector at the missing location, with the same value as the nearest magnetic moment inside the boundary [89]. In the solver, this is achieved by having
4.2.3 Magnetocrystalline Anisotropy Field
The computation of the discretized anisotropy field contribution only needs to take into account the magnetization vector in the computational cell. Equations (3.19), (3.22) and (3.24) can be directly employed for the calculation of the field. In the present work, the interface-induced perpendicular anisotropy, typical of pMTJ devices, is modeled as a uniaxial anisotropy contribution. The related discretized expression for the anisotropy field is given by
where
4.2.4 Demagnetizing Field
The demagnetizing field is the most computationally expensive contribution to the effective field. As its origin stems from the dipole interaction, it is a strongly non-local quantity, and its value at a particular location depends on
the magnetization vectors in the whole structure. This means that the demagnetizing field calculation in a particular cell requires an iteration over the magnetic moments of all other cells.
For the computation of the demagnetizing field of the FL, a discretization of equation (3.31) is employed. The field for each computational cell is calculated as the sum of the individual demagnetization contributions coming from the magnetic moments of all the cells in the computational domain:
The field describing the magnetostatic coupling between RL and FL has the same physical origin of the FL demagnetizing field, but since the magnetization of the RL does not change with time, it can be computed only once at the
beginning of the simulation and treated as an external field contribution. In order to compute it, the RL is divided into parallelepiped elementary cells with unit vector magnetization
4.2.5 Ampere Field Discretization
A discretized version of equation (3.33) is employed for the computation of the Ampere field. The field acting in each computational cell is obtained by summing the contributions generated by the current density flowing through all the other cells in the simulated domain as
where
4.2.6 Thermal Field Discretization
The implementation of the thermal field must be consistent with (3.39). This can be achieved by computing the thermal field as [113]
where
4.2.7 Current Density Approaches
The spin-transfer torque term presented in (3.47) can be computed directly from the discretized FL magnetization
In the fixed current density approach, they are
Finally, in the fixed total current approach they are
Here,
4.2.8 Time Discretization
In order to obtain the magnetization dynamics, the LLG equation needs to be integrated over time. The solver employed for this work is based on the fourth-order Runge-Kutta method, with a constant time-step
The solver implementation and the simulation process are summarized by the flowchart shown in Fig. 4.4.