# A spin–orbit torque memristor device for sensing vector magnetic fields

Modulation in the anomalous Hall resistance of a single device comprising Ta/CoFeB/MgO heterostructure can be used to probe three-dimensional magnetic fields with high sensitivity and good linearity.

With the conventional transistor approaching its physical limits, the heterogeneous integration technology that integrates diversified functions on one chip, opens a new way and has been an industry trend in the post-Moore law period. Tremendous efforts have been devoted to this field including the integrations of sensors, MEMS, optoelectronics, RF and mm-wave devices. On the other hand, for the artificial intelligence system, sensor-enabled perceptual ability is as important as the learning ability and reasoning ability, which is generally realized by neurocomputing. At present, the detection technology of one-dimensional magnetic field is very mature. Actually, the detection of three-dimensional magnetic field is more practical. The traditional method of measuring a three-dimensional magnetic field is to use three sensors to obtain the magnitude of the magnetic field components along the three coordinate axes (*x*, *y*, and *z*), or to use a magnetic flux guide to deflect the magnetic field to the detection direction of planar sensors. However, these solutions have the problem that the three measured magnetic field components are not orthogonal or not in the same spatial position.

**Fig. 1 | 3D magnetic field sensing based on a Ta/CoFeB/MgO heterostructure. a, **3D sensor placed in a vector magnetic field with the deﬁnition of *x*–*y*–*z* coordinates. **b,** Schematics of AHE measurements setup and domain wall (DW) motion under *H*_{x}, *H*_{y}, and *H*_{z} when *J*_{x} is applied. The yellow dotted line is the initial position of DW and the red solid line is the final position of DW. The blue arrow indicates the direction of DW motion. **c,** Schematics of AHE measurements setup and DW motion under *H*_{x}, *H*_{y}, and *H*_{z} when *J*_{y} is applied.

Here we propose a single spin–orbit torque memristive device comprised of a Ta/CoFeB/MgO heterostructure and it can detect a vector magnetic field (see Fig.1). A vector magnetic field is composed of two in-plane (IP, *H*_{x} or *H*_{y}) components and one out-of-plane (OOP, *H*_{z}) component, and these three elements can lead to the displacement of domain walls in the CoFeB layer, modulating the associated anomalous Hall effect (AHE) resistance. We derive the relationships between the measured AHE resistance and the three orthogonal components, and show that they are linear for certain ranges. In particular, the sensor has a linear range between −10 and +10 Oe for IP field, and between −4 and +4 Oe for OOP field. Specifically, the relationships between *R*_{xy} (*R*_{yx}) and *H*_{x}, *H*_{y}, *H*_{z} under *J*_{x} (*J*_{y}) = ±6.8 MA/cm^{2} are depicted in Fig. 2a–f. Note that *R*_{xy}-*H*_{z} (*R*_{yx}-*H*_{z}) curves are unchanged when the current polarity reverses, *R*_{xy}-*H*_{x} (*R*_{yx}-*H*_{y}) curves under ±6.8 MA/cm^{2} are symmetrical about the horizontal ordinate, and *R*_{xy}-*H*_{y} (*R*_{yx}-*H*_{x}) curves under ±6.8 MA/cm^{2} always keep a constant. Based on this, we can measure two AHE resistance values under positive and negative current densities in *x* axis, named *R*_{xy }(+*J*_{x}) and *R*_{xy }(−*J*_{x}). According to the symmetry of *R*-*H* curves under different current polarities (Fig. 2), if the two AHE resistance values are processed with a subtraction operation, enabling the elimination of *H*_{z} contribution, the net resistance contributed by only *H*_{x} component can be obtained. Similarly, we can get the net resistance contributed by only *H*_{y} or *H*_{z} component (see Fig.3). Accordingly, one can know the magnitude and direction of the vector magnetic field by composing (*H*_{x}, *H*_{y}, *H*_{z}).

**Fig. 2 | Measured R-H curves under ±6.8 MA/cm^{2}. a,**

*R*

_{xy}as a function of

*H*

_{z}. The red and blue curves represent the variation of

*R*

_{xy}with

*H*

_{z}under

*J*

_{x }= ±6.8 MA/cm

^{2}, respectively. The two curves coincide with each other.

**b**,

*R*

_{xy}as a function of

*H*

_{x}. The red and blue curves under ±6.8 MA/cm

^{2}are symmetrical about the horizontal ordinate.

**c**,

*R*

_{xy}as a function of

*H*

_{y}.

*R*

_{xy}almost keeps a constant, since no DW motion occurs under

*H*

_{y.}

**d–f,**

*R*

_{yx}as a function of

*H*

_{z}(

**d**),

*H*

_{x}(

**e**), and

*H*

_{y}(

**f**) under

*J*

_{y }= ±6.8 MA/cm

^{2}, respectively. Here, the short-dotted lines are drawn as guides to the eye.

**Fig. 3 | Net resistance contributed by H_{x}, H_{y} and H_{z}. a, **Net resistance component

*R*(

*H*

_{x}) as a function of

*H*

_{x}.

*R*

_{xy}(

*J*

_{x }= +6.8 MA/cm

^{2}) and

*R*

_{xy}(

*J*

_{x }= −6.8 MA/cm

^{2}) under different

*H*

_{x}ranging from −10 Oe to +10 Oe are processed with a subtraction operation to eliminate the contribution of

*H*

_{z}and obtain the

*R*(

*H*

_{x}). The blue line is a linear fit to the experimental data points.

**b,**Net resistance component

*R*(

*H*

_{y}) as a function of

*H*

_{y}. Similarly, a subtraction operation is processed to get

**net resistance component**

*R*(

*H*

_{y}) using

*R*

_{yx}(

*J*

_{y }= +6.8 MA/cm

^{2}) and

*R*

_{yx}(

*J*

_{y }= −6.8 MA/cm

^{2}).

**c,**Net resistance component

*R*(

*H*

_{z}) as a function of

*H*

_{z}is obtained by an addition operation to eliminate the contribution of

*H*

_{x}.

*Researchers at **Huazhong University of Science and Technology, School of Optical and Electronic Information. From right to left (in the left figure): Long You (Professor), Ruofan Li (PhD student), Shuai Zhang (PhD student) and Yaodong Guan (PhD student).*

How can we think of designing a 3D magnetic sensor in this way? This work is inspired from our study on the modulation of the resistance of Ta/CoFeB/MgO heterostructure under different external magnetic fields and current densities. Our laboratory was established in 2016, after professor Long You came to Huazhong University of Science and Technology. In the next few years, we found that the increasing write current density can gradually reduce the coercivity of the device until it reaches zero (which can be seen in our previous work: *2018 IEEE International Electron Devices Meeting (IEDM), doi: 10.1109/IEDM.2018.8614638*). We also found that the current and the IP field have a continuous control effect on the resistance of the device through domain wall motion, which is acting as a memristor (*Adv. Electron. Mater. 2019, 5, 1800782*; *Appl. Phys. Lett*. 114, 042401 (2019)). Based on the previous work, we found that the influence of positive and negative currents on R-*H*_{x} and R-*H*_{z} is not the same. Using this symmetry, we can just explore the contribution of one magnetic field component to resistance. Then we design a geometrically symmetric Hall bar structure to conduct the experiments. These experimental results are consistent with the theoretical expectations we did before the experiment.

We are thankful to the editorial and the review team for providing us with constructive feedback to help us improve this work at each step. We hope that the ideas presented will be useful for the community and enable better/ efficient optimization in future.

For more information, please see our recent publication in Nature Electronics: https://www.nature.com/articles/s41928-021-00542-8

## No comments yet.