Introduction

Magnetic recording heads generate intense local magnetic field pulses to write bits of information onto a magnetic medium. Bits are encoded in the magnetization direction of magnetic domains separated by <20 nm in state-of-the-art devices. Write fields thus must be confined to a very narrow region in space, leading to extremely high local gradients. Although these gradients cannot be precisely measured, they are estimated to exceed 20 × 106 T m−1 (ref. 1). This is far beyond the capability of static magnetic tips (5 × 106 T m−1 (refs 2, 3)) and that of nanoscale coils or microstrips (105 T m−1 (refs 3, 4)), and likely close to the highest experimentally achievable gradient for this kind of field source. In addition, write poles are rapidly switchable, potentially allowing for dynamical control of magnetic fields up to 1 GHz (refs 5, 6) at low power consumption. With these features, the hard drive industry has created a tool that could enable important advances in many areas of nanoscale experimental physics.

A significant challenge in characterizing and exploiting writer fields is their nanometre spatial confinement. In this study, we introduce a variant of force microscopy—magnetic susceptibility force microscopy (χFM)—to localize and measure the write pole field quantitatively and with high spatial resolution. The technique relies on the small diamagnetic moment induced in a nominally non-magnetic diamond tip7 that is positioned over the pole. We show that by using a state-of-the-art nanomechanical force transducer8,9, tip magnetic moments far below 1 μB can be detected, thus greatly advancing the sensitivity of mechanical spin detection10,11,12. Moreover, because of the diamond tip’s well-defined material composition and extremely sharp end radius (<10 nm), quantitative and high-resolution field maps of the pole can be reconstructed. Our method thus provides advantages over magnetic force microscopy (MFM)13,14,15,16,17 and electron holography18, which are difficult to quantify, barely reach sufficient resolution, or provide two-dimensional projections.

Results

Experimental set-up and measurement technique

The experimental geometry and the basic protocol for magnetic susceptibility force measurements are presented in Figs 1 and 2, respectively. The magnetic force is generated by passing an alternating current I through the write head’s (WH) drive coil. The current dynamically magnetizes the write pole and a stray field B appears above the pole. A tip placed in the stray field acquires a small magnetization M=χ B/μ0 owing to its magnetic susceptibility χ (μ0=4π × 10−7 N A−2 is the permeability of free space and typically |χ|<10−4). A weak force develops that attracts or repels the tip from the region of strongest field, depending on whether the tip is paramagnetic (χ>0) or diamagnetic (χ<0). For a point-like particle located at position r, the force is

Figure 1: Geometry of write head experiment and device.
figure 1

(a) A sharp diamond needle (green), attached to a nanomechanical force transducer, is positioned over the write pole of a magnetic recording head. An alternating current periodically switches the pole polarity and induces magnetic gradient forces through dia- or paramagnetism in the tip. Experiments are carried out in a custom scanning force microscope operating at 4 K and in high vacuum. (b) Optical micrograph of the write head device. Arrows in b, c and d point in the direction of the trailing edge (in positive x direction). The write head was extracted from a commercial Seagate hard drive, reconnected to external leads and mounted in the apparatus as discussed in the Methods section. Scale bar, 0.5 mm. (c) Zoom-in on the write/read region of the device. The write pole is at the centre of the four arrows. Scale bar, 20 μm. (d) The 90 × 60 nm2 write pole (red) is surrounded by a return shield (yellow) that serves to recollect the field lines. The gradient is largest in the 20-nm-wide trailing gap between pole and shield. Scale bar, 100 nm. (e) Diamond nanowire probe attached to the end of an audio frequency (5 kHz) silicon cantilever. Inset shows apex of tip B. Scale bar, 2 μm.

Figure 2: Basic driving protocol for magnetic susceptibility force microscopy (χFM).
figure 2

A sinusoidal current with frequency fc/2 is applied to the coil of the write element, generating an oscillating pole magnetic field B and gradient |B|. The oscillating field in turn induces an oscillating sample magnetization M=χ B/μ0. The sample with volume V experiences a magnetic force F=V(M·B) that drives the mechanical resonance fc of an ultrasensitive cantilever force transducer. The amplitude of the resulting cantilever oscillation x is proportional to the force. Tc=1/fc is one cantilever oscillation period.

where μ=V M= B/μ0 is the magnetic moment and V the volume of the particle. For a transducer responsive to forces along the x direction, the measured force signal is given by Fx(r)=χVx|B(r)|2/μ0=2χV|B(r)|∂x|B(r)|/μ0, where ∂x|B|≡∂|B|/∂x is the magnetic gradient in x direction.

Since both the susceptibility χ and the volume V10 nm3 are small, the expected magnetic moment is minute, on the order of 1 μB for a field of a few hundred mT. Even in a high gradient >106 T m−1, the diamagnetic force will therefore be <10−16 N. To distinguish this force signal from background fluctuations and spurious electrostatic driving, we modulate the drive current at half the cantilever resonance frequency (fc/2) while measuring the force generated at fc (Fig. 2). For small driving currents I, the write pole is not saturated and the field and gradient are both proportional to I. For a sinusoidal modulation I(t)=I0sin(πfct) with amplitude I0 the resulting force has frequency components at d.c. and fc,

where B0 is the amplitude of the stray field. The force then drives mechanical oscillations x(t) of the cantilever that are detected by optical interferometry (see Methods). Note that as the current is increased, the write pole eventually becomes saturated resulting in a square-wave response to a sinusoidal drive. This leads to the appearance of higher order terms in the Fourier series.

Scanned measurements

In a first experiment, we demonstrate that magnetic susceptibility forces can indeed be measured. For this purpose, we positioned the diamond tip at z=20 nm over the pole surface and measured the cantilever signal as a function of drive current amplitude I, as shown in Fig. 3a. As expected from equation (1), the cantilever signal increased quadratically when increasing the driving current from zero to a few mA. To confirm that the observed signal is truly due to magnetic driving by the write pole, we have also varied the shape of the current modulation. When using a rectangular drive, no signal was observed, consistent with the absence of a Fourier component for this modulation pattern (Fig. 3b). As the pattern was continuously changed from rectangular to triangular, the cantilever signal first increased, reached a maximum at trapezoidal drive, and then decreased again (see Figure insets).

Figure 3: Demonstration of χFM.
figure 3

(a) Signal as a function of drive current amplitude, well below magnetic saturation of the pole. Solid line is I2. Small deviations from the square law are probably due to domain switching and hysteresis. (b) Signal amplitude while changing the current modulation from rectangular (R=0) to triangular (R=1), as sketched in the figure. R=2Tramp/Tc is the fraction of time spent on ramping the current.

To record a two-dimensional image, we performed a raster scan over the pole and plotted the cantilever oscillation amplitude as a function of xy tip position (Fig. 4a). The scan clearly shows two regions of high signal, which we identify as the front and back ends of the write pole. As expected, the largest force is generated near the trailing gap where the bending of field lines is highest. A finite element simulation of the expected force signal (Fig. 4b), based exclusively on the micrograph of Fig. 1d, agrees surprisingly well with the scanning experiment (see Supplementary Fig. 1 for details). The signal peaks are localized to within 10 nm, demonstrating the high spatial resolution of the magnetic susceptibility force imaging technique.

Figure 4: Two-dimensional imaging of pole field.
figure 4

(a) Experimental force image recorded with tip A. Two lobes of increased signal are visible at the front and back ends of the pole where the gradient ∂x|B| is largest. The contours indicate the write pole (dashed) and shield (dotted). The traces above the image shows the signal intensity (r.m.s. squared cantilever oscillation) along the x direction. Point spacing is 2 nm with an integration time of 3 s per point. Drive current was 5 mA. (b) Independent finite element simulation based on the micrograph from Fig. 1d. (c,d) Phase-sensitive force images recorded by a paramagnetic Pt-coated tip A (c) and by the diamagnetic bare diamond tip B (d), demonstrating that the sign of χ can be detected. Arrows point in the direction of the force. Colour bar scale is linear. Scan height was 15 nm for tip A and 30 nm for tip B, and drive was 5 mA.

By measuring the phase shift between the cantilever oscillation and the drive current, information about the sign of χ can be extracted in addition to the magnitude of the magnetic force. Figure 4c,d shows two-dimensional force images obtained by scanning two types of tips. Tip A was coated with a 10 nm Pt layer and was moderately paramagnetic (χPt=+2.9 × 10−4) (ref. 19). Tip B was a bare diamond nanowire and weakly diamagnetic (χdiamond=−2.2 × 10−5) (ref. 20). The two figures clearly show how the paramagnetic tip is attracted to the centre of the write pole (where the magnetic field is highest), while the diamagnetic tip is repelled from the high field region. These measurements demonstrate that the technique is sensitive to the sign of χ.

Reconstruction of magnetic field and gradient

Although our measurements record images of the magnetic force Fx, and not the field B, we can rigorously reconstruct the magnetic field and the gradient from a force map. By integrating equation (1) along the x direction, one obtains an expression for the magnetostatic energy of the tip as a function of position,

This expression can be used to deduce the magnetic field, |B|=[μ0W/(χV)]1/2. We have quantitatively determined |B| and ∂x|B| for the force map of Fig. 4d by calibrating the magnitude of the force and the effective tip volume (Veff=2.9 × 10−24 m3, tip B) (see Supplementary Figs 2–4 and Supplementary Notes 1 and 2). The resulting field maps are shown in Fig. 5a,b. A region of high field is seen over the pole surface, as expected, with a sharp drop of high gradient just to the right. Despite the relatively low drive current (I=5 mA) and large tip standoff (z=30 nm), magnetic fields and gradients are already quite sizable with peak values around 100 mT and 3.2 MT m−1, respectively.

Figure 5: Quantitative field maps and estimated limits.
figure 5

(a,b) Two-dimensional images of the magnetic field (a) and field gradient (b) for 5 mA drive and 30 nm standoff. Contour labels are mT and MT m−1, respectively. (c) Force signal as a function of tip standoff z, measured at the xy location with the highest signal. The solid line is an exponential fit with decay length δ=11.3±0.6 nm. The dashed line is the prediction by the finite element model that was vertically scaled to fit the data. Drive was 12 mA. (d) Cantilever signal as the drive was increased beyond the breakdown current of 30 mA. The solid line is a fit based on the magnetization curve of FeCo (Supplementary Information). The dashed line (right scale) is the associated pole magnetization. Tip standoff was 20 nm. All data are from tip B. (e) Mechanical quality factor Q and force sensitivity Fmin of the transducer as a function of tip standoff z. A force sensitivity of 5 aN Hz−1/2 is maintained down to z=5 nm.

Maximum achievable field and gradient

To estimate the maximum field and gradient that can possibly be generated at the tip location, we measured the dipole force as a function of tip-surface distance z and as a function of the drive current I. These measurements are also presented in Fig. 5. As the distance between tip and pole surface was reduced, the signal increased until non-contact friction7 began to dampen the mechanical oscillation. The signal decayed exponentially with distance with characteristic length δ=11.3±0.6 nm for tip B (Fig. 5c) and δ=13.5±1.2 nm for tip A (Supplementary Fig. 5). The signal decay is thus not influenced by the tip shape. We found using numerical modelling that δ is mainly set by the width of the write pole near the trailing gap, which was about 60 nm in our devices.

To test the maximum drive current, we have monitored the signal from tip B while increasing the drive beyond the failure current density (Fig. 5d). The signal continued to increase up to a breakdown current of 30 mA, showing that the write pole had not reached magnetic saturation. We have modelled the magnetic response based on a Langevin magnetization curve with a saturation field of 2.4 T (FeCo)21 and found that the pole magnetization at 30 mA is about 1.57±0.08 T, or roughly 65% of the saturation magnetization (Supplementary Note 3). Note that the power dissipation is small even at the maximum driving amplitude. For a WH resistance of R=3 Ω that should ideally be achievable, the dissipated power is only 14 mW even when the coil is continuously driven with 30 mA. In our experiments, the total dissipated power was in fact limited by lead and contact resistances, and not the write element. In pulsed mode and at low duty cycle, we expect that saturation can be reached with <1 mW average dissipation, eventually permitting Millikelvin operation.

Discussion

Table 1 collects some key experimental values for the magnetic field |B| and field gradient ∂x|B|, representative for a tip standoff of 5 nm. The values are based on the force map in Fig. 4b and on the scaling of the force with drive current I and distance z. The experiment demonstrates that magnetic fields around 0.87 T and gradients around 28 MT m−1 are present at 30 mA drive, about 5 × larger than the gradients observed with static nanoscale ferromagnets2. Even larger gradients are expected under magnetic saturation, which could be reached by pulsing or by an external bias field. The experimental results are consistent with an independent finite element calculation (that shared no common input parameters) that predicts slightly smaller, but overall similar values (Table 1). The large gradient is a result of the close access (5 nm) enabled by the diamond nanowire tips, and also thanks to the recessed nature of the pole that prevents oxidation and allows for sharp, highly magnetized pole edges.

Table 1 Pole field and gradient extracted from study.

WH gradient sources could therefore enable important steps forward in mechanical detection of electronic and nuclear spins. In Fig. 5c, forces up to F=568 aN are generated with a net magnetic moment of only μ=χV B/μ03.3 × 10−23 Am, roughly equivalent to 3.6 μB. This represents a strong force per electron spin of about 160 aN per μB. Since the force sensitivity of the transducer of Fmin5 aN Hz−1/2 is maintained even at 5 nm spacing (Fig. 5e), an excellent magnetic moment sensitivity of 0.032 μB Hz−1/2 results, which is equivalent to about 21 proton moments per root Hz. This value improves to 12 proton moments if the pole is magnetically saturated. By comparison, the best reported sensitivities for previous force detectors are 100 proton moments10,22, and 250 proton moments for scanning SQUID sensors23.

The sensitivity is even more remarkable since the performance of the force transducer was not particularly optimized in our study. It could be further enhanced by surface passivation9,24, change of material25,26,27 or lower operating temperatures26,28. It is therefore conceivable that WH gradients will pave the way for single nuclear spin detection. This will constitute a milestone advance towards the realization of the long-standing proposal of single nucleon magnetic resonance imaging29. The depth resolution of such imaging would be limited by the decay length of the pole field, which is 2δ23 nm for the WHs used in our study. This is a significant depth resolution compared with other candidate imaging techniques, like nitrogen-vacancy spin sensors, where single-spin sensitivity does not extend beyond a few nm30,31.

Aside from the detection of magnetic forces, the use of WHs may allow for significant advances in several fields of active research. Perhaps the most important of these is the manipulation of spin systems in the context of quantum technologies32. Static magnetic field gradients can be used for rapid spin manipulation by means of electrical fields33,34 or quantum dot exchange interaction35,36, and for strong and tunable coupling in hybrid quantum systems37. The gradient can further be exploited to set up spin registers in quantum simulators38. The combination of large field and rapid switching5,6, which is difficult to achieve in typical research devices, will allow the implementation of very fast spin manipulation through magnetic resonance techniques39. At a pulse amplitude of 1 T, the nominal spin flip duration is 0.5 × γB0/2π18 ps for electrons and 12 ns for protons, which would be faster than any previously demonstrated values40,41,42. These flip rates will eventually be limited by the response time of the WH and pole material5,6.

Universal spin control requires two orthogonal axes of rotation. Although the WH only provides one axis given by the direction of B(r), there are several possible ways to add a second axis, as proposed in Fig. 6. Beyond spin control, WH devices may finally present creative new opportunities in nanoscale transport experiments. For example, pulsed spin polarized currents could be launched through local magnetization of ferromagnetic electrodes43. Electrons in confined geometries, such as quantum point contacts, could be locally deflected and the magnetic potential varied within the ballistic regime. Since WHs have an extremely flat surface made from nonconducting diamond-like carbon, complex lithographic structures including local gates, microwires, constrictions, quantum dots or spin qubits could be conveniently integrated.

Figure 6: Proposed arrangements for ultrafast spin manipulation.
figure 6

Write head field is symbolized by solid red field lines and orthogonal auxiliary field is symbolized by dashed blue field lines. (a) Auxiliary microwire serving as electromagnet3,4. (b) Auxiliary macroscopic solenoid. (c) An ac field is generated by rapid motion of spin in the pole gradient, for example, with a mechanical resonator37 or by an electrical field33,34. (d) Internal anisotropy provides the orthogonal field, such as the crystal field of a nitrogen-vacancy centre46.

Methods

Write heads

The hard disc WHs used in this study were extracted from Seagate Barracuda 1 and 4 TB desktop drives. As a general rule, we worked on anti-static mats and grounded ourselves while working with the WH to avoid electrostatic discharges. Care was taken to avoid physical contact with the trailing edge of the WH where the write/read regions are located.

We opened the hard drive casing to gain access to the platter discs and the actuator arms. The WH blocks are located at the end of these arms. We severed the ends of the actuator arms using a pair of scissors, then peeled the WH block from its metal support with a pair of sharp tweezers. The backside of a WH block has a small circular dab of glue to fix it to the actuator arm. The glue turned out to be problematic for precise, flat positioning of the WH in our experiment. To remove this dab of dried glue, we flipped the WH block upside down on a clean silicon wafer and scratched the backside of the WH block with a sharp pair of tweezers wrapped in a couple layers of Kimwipe until the back surface was completely clean and residue-free as determined by optical microscopy. A 2 nm Pt layer was evaporated on the WH surface to screen electric charges.

For low-temperature scanning probe experiments, we fixed the WH on top of a sample stage made from shapal, an aluminium nitride ceramics with excellent thermal conductivity (Supplementary Fig. 6). We avoided metal as material for the stage to prevent eddy-current damping of radio-frequency magnetic fields that would eventually be used in nuclear spin-manipulation experiments.

A total of nine metal bonding pads were found on the side of the WH block. Two of the nine pads were connected to the current-carrying coil inside the WH block for controlling write pole magnetization direction. We identified the two relevant coil leads through trial and error by using magnetic force microscopy for readout verification (Supplementary Fig. 7). For electrical contact to macroscopic wires, we used a silicon jumper chip with lithographically patterned gold thin film structure matching the pad dimensions.

The mechanical and electric reassembly process took place in the following sequence. We first glued the jumper chip to the shapal stage using an insulating glue compatible with high vacuum and cryogenic temperatures (Epotek H70E). We glued copper wires to the two metal pads on the jumper chip using a conducting epoxy (Epotek H20E) and mechanically fixed them with an additional layer of Epotek H70E. Next, the WH block was carefully positioned such that the two leads for the write pole were aligned with the corresponding leads on the jumper chip, and then fixed using Epotek H70E. Finally, electrical contact between the WH and the jumper chip was established using Epotek H20E with the aid of a hydraulic micromanipulator system (Narishige Three-axis Hanging Joystick Oil Hydraulic Micromanipulator, model: MMO-202ND) operated under an optical microscope. Finally, we used an Asylum Research Cypher MFM to confirm successful electrical control of the write pole magnetization (Supplementary Figs 7 and 8).

Diamond nanowire tips

Single-crystal diamond nanowire tips were fabricated via inductively coupled plasma etching following procedures detailed in a previous publication7. The nanowires were transferred from their mother substrate to an intermediate silicon wafer chip via PDMS stamping (Gel-Pak 4 padding material). Two tips were prepared for this study; tip A consisted of a diamond nanowire with an apex diameter of 40 nm coated by 15 nm of YF3 (χ=−1.0 × 10−6 (ref. 44)) and 10 nm of Pt (χ=+2.6 × 10−4 (ref. 19)). These layers were deposited onto a silicon chip used for tip A via ebeam evaporation. The YF3 was deposited with future 19F NMR experiments in mind and had no role in this study, and the Pt was deposited to turn the nanowire paramagnetic as well as to screen electric charges. Tip B was a bare diamond nanowire (χ=−2.2 × 10−5 (ref. 20)) with an apex diameter of 18 nm. High-resolution scanning electron micrographs of both tips are shown in Supplementary Figs 2 and 3. Coated and bare diamond nanowires were attached to silicon cantilevers using a micromanipulator system. The custom cantilevers had a length of 120 μm, a shaft width of 4 μm and a thickness of 120 nm (ref. 8). The spring constant was kc=90 μN m−1, the resonance frequencies were between fc=5 and 6 kHz, and the quality factors were around Q=30,000 at 4 K, resulting in a nominal force sensitivity of about 4 aN Hz−1/2. See ref. 7 for fine details of the nanowire handling and transfer processes.

Sample positioning

Due to the extremely smooth, topographically featureless surface of the WH air-bearing surface, locating the write pole by the scanning cantilever was a challenge. We tested a number of methods and found focused-ion beam deposition of platinum dot markers to be the most reliable and efficient one. Dots about 200 nm in diameter and 70 nm in height were written close to the write pole. These dot features were easily identified when performing scans of the cantilever at constant height over the surface using the cantilever resonance frequency as image contrast (Supplementary Fig. 9).

Force signal acquisition

All measurements discussed in the main text were performed in a cryostat operated at 4 K and in high vacuum (<1 × 106 mbar). The WH driving current at fc/2 was generated by an arbitrary waveform generator (NI PXIe-5451). TTL pulses were used to synchronize the lock-in amplifier (Stanford Research SR830) to which the cantilever motional signal from the optical interferometer was sent. A negative feedback loop was used to damp the cantilever to an effective operating Q of about 300 to shorten the sensor response time and to keep the driven cantilever oscillation below 1 nm. The force was calibrated by measuring the thermomechanical noise of the cantilever at 4 K, and comparing the oscillation amplitude of the magnetically driven cantilever with the r.m.s. amplitude of the thermal motion. We have only calibrated the force for tip B, but not for tip A. The phase of the force, which is available as a lock-in output, was calibrated by minimizing the imaginary part of the signal.

Finite element modelling

We carried out finite element simulations with COMSOL to validate the experimental results. The geometry of the write pole and the surrounding return shield were extracted from Fig. 1d (Supplementary Fig. 1a,b). The return shield thickness was estimated to be 200 nm based on a focused ion beam cut into the WH surface. We assumed FeCo (with fixed magnetization Mpole) as material for the write pole and NiFe (μr=2 × 103) for the return shield1,45. No parameters were adapted to fit the experimental results. The simulation uses a write pole magnetization of μ0Mpole=1 T and the numerical values reported in Table 1 were obtained by a scaling with the correct pole magnetization. Supplementary Fig. 1c shows a profile cut through the write pole and return shield at y=0.

Data availability

The data that support the findings of this study are available from the corresponding author upon request.

Additional information

How to cite this article: Tao, Y. et al. Ultrasensitive mechanical detection of magnetic moment using a commercial disk drive write head. Nat. Commun. 7:12714 doi: 10.1038/ncomms12714 (2016).