# Geometrically designed domain wall trap in tri-segmented nickel magnetic nanowires for spintronics devices

• 821 Accesses

• 3 Citations

## Abstract

Domain wall traps” have been engineered and well-exploited in nanostrips by creating a geometrical trapping site, e.g. a single notch along a stripe, compared to diameter-modulated (DM) cylindrical magnetic nanowires (NWs) where multi-segmented DM-NWs have been generally studied. Here, we report our systematic study on the magnetization behavior, domain wall structure and its nucleation/propagation in tri-segmented diameter-modulated Ni nanowires, a simple system to investigate the magnetization reversal as function of segment geometry and lay-out order. We find out that the magnetization behavior of single Ni DM-NWs exhibits the significance of positional ordering of thick and thin segments, distinguished by two distinct geometries including: dumbbell-type (type I) and rolling pin-type (type II). Based on experimental and theoretical simulations, it was evidenced that the wide-narrow junctions create trap sites for domain walls where the narrow segment restricts their motion. This type of geometrically engineered nanowires exhibit potential efficiency for future novel spintronic devices in particular when assembled in arrays of DM-NWs as a practical three-dimensional memory device.

## Introduction

In recent years, particular attention is paid to three-dimensional (3D) magnetic nanostructures as excellent candidates for magnetic storage device applications owing to the control of their magnetization reversal modes. The proposed racetrack memory device has been an impressive breakthrough for the application of magnetic nanowires as possible domain wall solid state storage devices1. For such advanced magnetic storage device it is crucial to consider magnetic nanowires with segments/parts/structures/notches having a sharp domain wall between two opposing thermally-stabilized domains2, where a simple robust switching controls the storage functionalities3. Therefore, the creation and propagation of a high quantity of domain walls along a single magnetic nanowire assembled in the form of three-dimensional array architectures is fundamental to produce this memory spintronic device.

Reports of Cowburn and co-workers4,5 on nanostripes or so-called planar magnetic nanowires, have pioneered the topic of domain wall nucleation and propagation for memory storage purposes. The design of the geometry in planar nanostripes has been proved to be very relevant for the injection and propagation of domain walls. Injection is usually achieved in a wide end of the nanotripe while their propagation and pinning is controlled through notches of reduced section. Indeed, a high aspect ratio segment is magnetically “soft”, with a low switching field and is utilized as a domain wall injection source. This is connected to a narrower segment, i.e. nanowire, whose switching field is greater called magnetically “hard” segment6. Thus, the junction of “soft” and “hard” segments localize the domain wall which will selectively propagate to the thin nanowire segment7. The realization of this idea has been generally exploited in different material systems such as CoNi/Pt8, Co/Pt9,10,11 and Permalloy nanostripes. The electron beam lithography and focused ion beam irradiation known as expensive nanofabrication methods have been used to create such magnetic nanostructures. Other fabrication techniques including focused electron-beam induced deposition (FEBD)12,13 and two-photon lithography (TPL)14,15 have also been employed to realise the domain wall mediated 3D nanowires for novel data storage devices. Electrodeposition has offered cheap and flexible method of fabrication of 3D magnetic structures16 with tunable shapes and sizes. Indeed, template electrodeposition of magnetic nanowires is a simpler and cheaper approach than the two other techniques mentioned, i.e. FEBD and TPL. More recently, multi-segments grown longitudinally with different geometries and aspect ratio has been realized by electrodeposition to produce diameter-modulated and/or multi-segmented cylindrical magnetic nanowires. In this way, Co17, Ni18,19,20,21, NiFe22,23,24, CoNi25,26, CoFe27, FeCoCu28,29,30,31 and Fe2O332 diameter modulated nanowires have been investigated either inside the array or in individual form.

Ni NWs having segments with diameters and lengths ranging between 30–110 nm, and 1–40 µm, respectively, have been electrodeposited and their magnetic properties, including magnetization reversal and domain wall structures have been shown to be size-dependent33,34,35,36,37. Cylindrically two-segmented DM Ni80Fe20 NWs having alternating diameters of 250 and 500 nm but different segment lengths of 2.5 and 6.5 µm were studied by Salem et al.23. Their magnetization reversal was governed by the nucleation and propagation of a vortex domain wall. The junctions of segments serve the location of the generation of vortex domains which propagate towards the nanowire ends. This generally takes place to minimize the magnetostatic energy induced by the surfaces normal to the initial magnetization direction of the nanowires. F. Tejo et al.33 reported that the domain walls nucleate at the ends of the nanowires subsequently depinned and propagated along the wire. The angular dependence of coercive field is a factor by which the magnetization mode or mechanism is determined and has been well developed to study the magnetization modes of nanowires30. Provided that the magnetization reversal is taken place by the coherent rotation mechanism, the Stoner-Wohlfarth model34 is valid. This was confirmed by Landeros et al.35, Aharoni36, Escrig et al.37 and Allende et al.38 for nanowires and nanotubes. Furthermore, Lavin et al.39 developed a model for Ni nanowire arrays having a diameter of about 50 nm. They have mentioned that the nucleation and propagation of domain wall occurs via the transverse model. However, the experimental and micromagnetic studies of Vilanova Vidal et al.40 appeared to report single domain behavior in Ni nanowires switched by the vortex domain wall along the nanowires. Therefore, it may be concluded that the nucleation and propagation in magnetic nanowires is taken place by a transverse wall and a vortex wall for smaller and larger diameters, respectively. The critical value depends on the composition/anisotropies. It is noteworthy that several works have been reported on DM NWs very few compared to regular magnetic nanowires.

In this work, we study tri-segmented Ni cylindrical nanowires with two kinds of diameter segmentations, where our objective has been to exploit the mechanisms of nucleation of domain walls, their type and their propagation. For Ni NWs the shape anisotropy significantly is greater than the magnetocrystalline anisotropy, thus, we neglected the later in our assumptions. Thus, the former will solely control the magnetization reversal. We have simplified the nanowire structure into three segments with different aspect ratio. We discuss the effect of geometry in two cases: (i) Type I, dumbbell-shape nanowires, when the central segment has smaller diameter than the lateral segments, refer to Fig. 1a–c for the corresponding images and (ii) Type II, rolling pin-type nanowires, when the central segment has larger diameter, see Fig. 1d,e for the corresponding images. The effect of the geometry on magnetic properties of tri-segmented diameter-modulated nanowires, TS-DW-NWs, was investigated by means of experimental methods including magneto-optical Kerr effect (MOKE), magnetic force microscopy (MFM) and Monte-Carlo micromagnetic simulations. Such NW structures are anticipated to motivate the development of domain-wall mediated storage devices with strong control of magnetic domain wall creation and propagation.

## Results and Discussion

Figure 1 shows schematic pictures and SEM images of fabricated diameter modulated nanowires. Dumbbell-like and rolling-pin tri-segmented nanowires having different thick (Dmax), thin (Dmin) and mean diameter (Dmean) with high aspect ratio were successfully electrodeposited. Dmax was in the range of 135–209 nm and Dmin was in the range of 98–151 nm for different DM NWs studied. Full details of the dimensions of all NWs are shown Table 1. Figure 2 shows MOKE hysteresis loops of representative nanowires where the laser spot was focused on the middle of each nanowire. The MOKE hysteresis loops measured in a magnetic field which was applied parallel to the wire’s long axis. The MOKE loops were simultaneously averaged during the measurement by a factor of 800 to 1000 to optimize the signal to noise ratio. Totally, the longitudinal Kerr signal normalized to remanence is close to unity at 500 Oe (the maximum applied field). Such square or bi-stable loop with a single giant Barkhausen jump is typically observed for constant diameter nanowires31,41,42. The existence of only a jump (or a giant jump) indicates that a single domain wall propagates long distance in the wire even from one end of the wire to the other originating a single Barkhausen jump. In fact, it is relevant to the main objective of the present study since it allows us to conclude that the magnetization reversal is driven by the propagation of a single domain wall, not as due to random and uncorrelated movements of walls. However, there are different features for different types of NWs. A sharp transition is observed, similar to constant diameter nanowires, for Type II nanowires II-6 and II-5. However, a different behavior is observed for Type I NWs where two switching fields are identified. The switching fields in sample I-2 are better defined most probably due to the larger length of the segments.

The presence of magnetization jumps in the hysteresis curves of diameter modulated nanowires was detected in periodically diameter-modulated FeCoCu nanowires31 and multi-segmented diameter modulated Ni nanowires19. However, we only here observe two distinct jumps or steps during magnetization whose reason has although not systematically been explained in detail before. The presence of such jumps has been ascribed to the presence of metastable magnetic states during the magnetization reversal correlated by the nature of the diameter modulation. The origin of such states was suggested to arise from the pinning of the magnetic domain boundary at the junction of diameter modulating segments leading to individual magnetization jumps when the wall depinned. In addition, earlier studies have highlighted the pinning sites created by micro-structural irregularities like crystal defects, roughness, and even magnetic impurities13,25. It is noteworthy to mention that loops in Fig. 2 are practically symmetrical for positive and negative fields. In the following, we have simplified the diameter modulated nanowire systems in only three segments in order to better understand the formation of such metastable magnetization states.

The angular dependence of coercivity was used to establish mechanism nucleation/propagation of domain walls in our nanowires30. The angular dependence of coercivity, Hc, is shown in Fig. 3 (additional details on the hysteresis loops can be found in the Supplementary Information). For all the nanowires, we observe a continuous increase of Hc with the angle. Note that for the highest angles, close to 90°, no data is given because of the limitations in the maximum applied field. As observed in Fig. 2, Type I nanowires exhibit a multi-step magnetization reversal revealed by sharp jumps on the magnetization curves, while Type II nanowires show a single giant Barkhausen jump. Any sharp jump on the magnetization reversal corresponds to a switching field, Hsw. For Type I nanowires, where there are two switching fields corresponding to the jumps or “knees” on the curves along each branch, we have calculated Hc as the mean value of the switching fields. However, it is worth noting that the single switching field which appeared for Type II nanowires is directly proportional to the coercivity, Hc. Thus, in Type II nanowires, Hc corresponds to the single switching field, Hsw.

According to the angular dependence plots, the coercivity or switching field increases as a function of magnetization angle. Therefore, we find out that the magnetization reversal is controlled by the propagation of a vortex domain wall known also as the Bloch-point domain wall in magnetic nanotubes and nanowires31,33,43. For a vortex magnetization reversal mode, the angular dependence of the coercive field for an isolated nanowire with high aspect ratio is given by the expression36:

$${H}_{sw}=\frac{\frac{8{q}^{2}{A}_{exc}}{{M}_{s}{D}^{2}}(2\pi -\frac{4{q}^{2}{A}_{exc}}{\pi {M}_{s}^{2}{D}^{2}})}{\sqrt{\frac{16{q}^{4}{A}_{exc}^{2}}{{\pi }^{2}{M}_{s}^{4}{D}^{4}}si{n}^{2}\theta +(2\pi -\frac{4{q}^{2}{A}_{exc}}{\pi {M}_{s}^{2}{D}^{2}})co{s}^{2}\theta }}$$
(1)

where Hsw is the switching field, q2 = 1.08π for a cylindrical geometry33, Aexc is the exchange constant, Ms is the saturation magnetization, θ is the magnetization angle and D is the nanowire diameter. Provided that the magnetization of nickel at saturation, Ms = 485 emu.cm−3, we fit the experimental data of the switching fields obtained at different angles for different samples using Eq. 1. For all the modulated diameter nanowires, the fitting procedure was repeated for different D values including DMax, DMin, and DMean and the results are plotted in Fig. 3.

As evidenced from the plots, the experimental data are well fitted to the maximum diameter or wider segment for Type II NWs, particularly for small angles. This is a general behavior of diameter modulated magnetic nanowires with single giant Barkhausen jump where no abrupt small jump occurs and it follows the magnetization switching at the wider diameter segment, Dmax, as has been also shown also by Palmero et al.31. In contrast, that is not the case for Type I NWs and it is very likely that an imaginary mean value between wide and narrow diameters called mean diameter, Dmean rather closely fits to the experimental data, though some discrepancy exists. The discrepancy between the theoretical curves and experimental data of the coercivity for Type I NWs is observed very likely due to the small switching field in magnetization loops. The single value of coercivity considered here for Type I NWs (in Fig. 3) is the terminating switching field where the domain wall is essentially de-pined. The variation of the terminating switching field or the coercivity assumed here is far beyond the theoretical curve driven for nanowires with a straight diameter of Dmax and is close to the curve plotted for Dmean. This means that the magnetization takes places by a complex contribution from either wide or narrow segments. This feature of our data is more interesting which would exhibit metastable states in Type I Ni NWs. The increasing trend of the switching field or the coercivity is evident as a similar behavior for all types of nanowires studied, see Fig. 3f.

To understand the magnetization behavior of Type I nanowires, we have conducted a careful analysis on the angular dependence to interpret the existence of the abrupt jumps and clarify (i) how the magnetization process occurs, (ii) which segment, narrower or wider in diameter, controls the process and (iii) the switching sequence at reversal. Figure 4 shows a schematic MOKE hysteresis loop of Type I (sample I-3) nanowires having a symmetrical shape. The switching fields are marked by S1, S2, S3 and S4, where both S2 and S3 denote the small or initiating switching fields and both S1 and S4 are terminating final magnetization states (i.e. larger switching field) on each branch of the loop. These switching fields were collected from the experimental hysteresis loops of Type I-3 NWs measured at different angles in Fig. 4b, and compared to the theoretical values in Fig. 4c. We compare the two observed switching fields with the theoretical calculation according to Eq. (1) performed for the wider and narrower diameter segments.

With increasing the angle, the gap between the small and large switching fields becomes wider indicating the presence of a metastable state for Type I Ni NWs. There is a good agreement between the measured switching fields and the values calculated according to Eq. (1). The initial and final switching fields correlate respectively to the calculated values for the wider (Dmax) and narrower (Dmin) diameter. This indicates that the wider segment with a diameter Dmax acts as the nucleation of domain wall as is always the case. Furthermore, an intermediate metastable state is created when a domain wall reaches the transition from the wider to the narrower segment until the applied field becomes high enough to overcome that barrier and it gets inside the narrower segment. Indeed, a similar phenomenon has been previously reported by C. Faulkner et al.44 in planar nanostrips where a notched region created by ion beam milling plays the role of a domain wall trap site. The domain wall nucleates at the ends of the nanowire where segments are wider and propagates in the small switching field until it reaches the trap and it leaves the trap at the large switching field. Thus, the study of domain wall movement may be controlled by many factors including geometrical trapping/releasing. This is of great interest for higher density magnetic random access memory systems where a method of reduction of cost and dissipation of storage energy is provided by using a “domain wall trap”45. In the case of Type II nanowires, where the central segment has the wider diameter, we observe a single Barkhausen jump. Therefore, we can assume that the domain wall nucleates at the ends of the nanowire and once it is de-pinned at the coercivity or switching field it propagates without any barrier at the diameter transition to the segment of wider diameter.

More detailed information on the influence of diameter modulating junctions at a submicron scale can be found in the Supplementary Information. There, the profile of the MOKE signal was recorded in each individual nanowire at different positions along the nanowires’ length. We have definitely observed significant differences between two types of nanowires based on the local loops recorded at different locations. Here, we only show data for two representative samples of the two different types of NWs. On one hand, nanowires Type II-6 exhibit the general behavior of magnetization discussed in above which remains unchanged along the nanowire. Little differences among the hysteresis loops are in the error range of the measurement techniques (for instance variation of the coercivity about 10 Oe). On the other hand, as mentioned before, “knees” are present on the magnetization curve of type I NWs. The hysteresis loops were measured at different positions across the length of the nanowire. At the left side end, away from the segments junction, there is only one jump in one branch of the hysteresis loop. But two sharp jumps appear by approaching to the junction where they are both seen in either branch of the hysteresis loops. These experiments reveal the importance of the junction geometry distribution on the domain wall nucleation and propagation.

MFM was employed to image the magnetic configuration particularly at the junction of segments. Figure 5 shows SEM and magnetic images of Type I and Type II nanowires at remanence state. Dark and bright contrasts due to the presence of accumulated magnetic charges are observed at the ends of both types of NWs. In addition, MFM image in Fig. 5(b) displays additional less intense contrasts at the modulation junctions in Type I NW. The contrasts magnified in Fig. 5b are reversed through the central segment as is schematically illustrated in the inset to Fig. 5c. While some effect of the stray field emanating from the standard magnetic tip could not be completely discarded46, according to our micromagnetic simulations that will be discussed later we conclude that the magnetization starts with the nucleation of a domain wall from thick segments and reaches the junction from either side. This might be a reason for the creation of such contrast spot on the MFM images. However, this is not the case for Type II NWs which only exhibits the most usual behavior of constant diameter NWs where the magnetic poles with opposite contrast are observed only at both ends of the nanowire. That typical dipolar contrast is commonly ascribed to the axial magnetization, and the geometry effect can be clearly observed in accordance with previous research work on FeCoCu bamboo-like nanowires by E. Berganza et al.30.

Over all based on our experimental data presented so far, our finding reveals that Type I nanowires have a distinct effect on the magnetic configuration and domain wall structure. All NWs present MFM images that are compatible with the single domain configuration, but only type I NWs exhibits additional local spin divergence induced at the site of narrow-wide junction. This may explain the effect of the junctions on the pinning and depinning of the domain wall as discussed in above. On the other hand, the presence of a vortex (or a system of vortices)47 could be expected in this type of nanowires as predicted by our angular dependence magnetization measurements. However, MFM is hardly sensitive to the formation of pseudo-vortex in nanowires of similar diameter as reported before, to this pseudo-vortex due to the lack of stray field30.

In order to obtain deeper insight into the microscopic reversal mechanism, we have performed Monte Carlo simulations on the magnetization reversal (see Methods). To analyze the domain wall (DW) dynamics in a Type I and II nanowires, we started the simulation with the system at positive saturation magnetization (M = + Ms) and a reverse field (H~ -Hc) is applied along the wire axis (z-axis). The applied (reverse) field is kept constant close to the coercivity value, which is different for the two types of NWs. Experimentally the applied field sweep is slow enough with respect to the DW motion. This would allow us to consider it constant in our simulations. In Fig. 6(a,b), we show instants of the magnetization profile and the vorticity profile when the domain wall approaches the junctions and as the variation plots, respectively. The vorticity is defined as $$w(z)=\frac{1}{{N}_{z}}\sum _{i\in z}{\hat{r}}_{xy,i}\times {\hat{S}}_{xy,i}$$ and parameterizes the presence of a vortex on a certain layer along the NW axis, namely, w = −1(+1) at z0 when a vortex with (counter) clockwise vorticity exists on layer z0. These data indicate that two vortex domain walls (VDW) form at opposite ends of the nanowire and propagate towards the center of the wire, where they eventually merge leading to complete magnetization reversal. Notice that our model of the tri-segmented nanowires supports vortex domain walls (VDW) in both the narrow and the wide regions of the nanowire, which is in accordance with our experimental observations by the angular dependence data where the diameters of all samples are above the critical value for vortex formation.

In Fig. 6(c) we plot the time-evolution of the domain wall position. What is interesting is that the velocity of the VDW drops when it enters the narrow region, as seen from the change of slope. In Fig. 6(d) we focus on the dynamics of VDW as it approaches the junction between different segments. In both types of NWs an overshoot of the instant velocity is observed, which is attributed to local softening of the material caused by the reduced coordination of moments in the junction. Indeed, when a cubic discretization is used to describe a smooth variation of diameter, inevitably the diameter variation is described numerically in discrete steps. Then some cells right in the transition region will have fewer than 6 nearest neighbors. These are “softer” than the others, i.e. the local exchange field is weaker, which therefore supports higher instant DW velocity. As soon as the DW exits the junction region we observe for the type-I NW a nearly vanishing velocity for a short period of time (pinning effect) and then the DW velocity is stabilized to a lower value, as expected since the DW velocity in the narrower area is smaller compared to the velocity in the wider area. In type-II nanowires, we observe a stabilization of domain wall velocity to higher values as the domain wall enters the wide area, but no accompanying delay of the DW in the junction region is seen. This behavior indicates that domain wall pinning occurs only in the wide-to-narrow junction. It is worth noting that during the simulation for DW propagation, the applied field is kept constant (H~Hc). Type-I and II have different Hc values (see Supplement). In this sense, different reverse fields are applied in different MW types. These results we show in Fig. 6c,d. Notice that, the simulated M-H loops of either type of DMNW do not show a discontinuity (“knee”) (see the Supplementary Information) (Fig. 3S(c)), a result which is also in accordance to previous micromagnetic calculations of DMNW with similar diameter ratio48. The delay of domain wall propagation at the wide-to-narrow junction is captured by the MOKE measurements due to the small measuring time scale.

Based on our experimental and theoretical results, we exploited the magnetization reversal mechanism of Ni NWs that takes place by the propagation of a vortex domain wall with a net magnetization component appearing in the xy plane perpendicular to the wire axis. We mention here that the geometrical restrictions when we encapsulate a narrower segment between the two wider segments would damp the magnetization reversal process at the junction site as a pinning site or domain wall trap site with different energy potential imposed to the reversal system as an energy barrier49. This effect is associated with the formation of sharp jumps or “knee” on the magnetization curves developing bi-stable or meta-stable states in the magnetization reversal. This type of geometrically engineered nanowires could be realized as novel domain wall mediated spintronic data storage devices. In particular, one of the challenging issues for the implementation of such nanowires into application is to create high density of domain walls. One solution is to fabricate three-dimensional architectures using alumina nanoporous templates as has been realized in50 which can be filled with our TS-DM NWs. Our nanowire arrays can be proposed to represent an ensemble of the tri-segmented nanowires inside the templates towards high density 3D domain wall mediated memory devices51, though they need to be studied from magnetic properties in array form whose magnetization behavior relies on the geometrically induced magnetic interaction and stray fields emanating from the modulating segments inside the array19.

## Conclusion

We have successfully fabricated and studied the magnetization and domain wall structure of individual tri-segment diameter modulated nickel nanowires. Based on MOKE measurements, MFM and angular dependence of magnetization, we conclude that vortex-domain wall nucleates and propagates along the nanowires. It was successfully demonstrated that by engineering the geometry and dimensions of modulating segments, the entire magnetization reversal as well as the initial reversal event can be localized on the junction of thicker-thinner segments. For a peculiar geometry when a segment with narrower diameter is encapsulated between two segments with wider diameter, Type I nanowires, bi-stable or meta-stable states appear which may act as domain wall trap site as a potential candidate of domain wall mediated spintronic memory devices. This is bi-stable domain wall mediated switching at the junction site. This structure is of great technological importance for data storage applications. Monte Carlo simulations support the presence of vortex domain wall structures and show that the meta-stable states are a consequence of fast magnetization dynamics which could be an origin of pinning/depinning sites of domain walls. The dynamics of DW motion achieved by Monte-Carlo simulations directly provides further details of our idea of DW trap in Type I nanowires. This was exhibited by a delay in the dynamics of domain wall motion at wide to narrow junctions, which in fact was shown in the hysteresis loops by a switching field. The arrays of such tri-segmented diameter modulated nanowires embedded in highly ordered nanoporous alumina templates seem to assume a suitable three-dimensional architecture for memory device applications.

## Methods

### Sample preparation

High purity aluminum (Al) foils (99.999 wt. %) were used as the substrate to fabricate highly ordered diameter-modulated nanopores inside the anodic alumina oxide, AAO, templates using pulsed hard anodization. Al foils were firstly immersed in KOH (200 g/l) and HNO3 (50%Vol), respectively. Then, they were electropolished in a rigorously stirred electrolyte composed of 60% perchloric acid and ethanol with 1:4 volume ration under a constant voltage of 20 V at a temperature of 0 (±2)°C for approximately 15 min, to achieve a highly smooth and mirror-like bright surface. Potentiostatic pulse anodization was subsequently carried out in an electrolyte containing 0.3 M oxalic acid and 5 ml ethanol at 0 (±2)°C.

The Al substrate at the bottom of the AAO templates was firstly removed by immersing it into a solution containing 6.8 g CuCl2, and 100 ml HCL in 200 mL H2O for about 20 min at ambient temperature. Pore widening was then carried out in phosphoric acid 5%wt for 80 min at 32 °C. Prior to the electrodeposition of nanowires, a gold layer with an average thickness of 200–250 nm was sputter-coated on one side of the AAO template making it conductive and to serve as electrode for direct current (DC) electrodeposition. Then, a gold layer was deposited at the bottom of pores by DC electrodeposition at 2.4 V. The potentiostatic electrodeposition of nickel was carried out at room temperature into the AAO templates as the working electrode using a conventional three-electrode electrochemical cell. A Platinum net was used as the counter-electrode. A saturated silver/silver chloride (Ag/AgCl) was employed as the reference electrode. The electrodeposition electrolyte consisted of 200 g/l NiSO4, 40 g/l NiCl and 0.5 M boric acid at an average pH of about 4. Current transients were recorded during the electrodeposition using a computer controlled data acquisition system and the deposition time was varied depending on the filling time of the pores. The Supplementary Information contains additional details about the typical anodization voltage waveform and the corresponding current transient employed to produce different geometries and types of diameter modulated anodic aluminum oxide templates. It also reports the anodization parameters used to grow different types of diameter modulated AAO templates. Tri-segmented DM-Ni nanowires with different segment aspect ratio were electrodeposited into pulse-anodized AAO templates.

Nanowires were released from the template to study their individual behavior following several steps: (1) dissolution of AAO templates in a solution of chromic (0.2 M) and phosphoric acid (0.4 M), (2) dilution and replacing that with deionized water in a centrifuge for several times, (3) substituting deionized water with ethanol in a centrifuge and (4) releasing a droplet of final solution containing nickel nanowires on a silicon grid.

Scanning electron microscopy (SEM-Nova Nano 230) was used to study the morphology, geometry and position of nanowires.

### Magnetic measurements

Magnetic measurements of the arrays of nickel nanowires embedded in the AAO templates were carried out by a vibrating sample magnetometer (model KLA-Tencor EV7) at different angles between the applied field orientation and the plane of the template, from 0 (in-plane) to 90 (out-of-plane) degrees.

A magneto-optical Kerr effect (MOKE) instrument (NanoMOKE-TM 2) was used for magnetic measurements under maximum applied field of 500–600 Oe. A laser spot with a nominal diameter of 3 μm and a wavelength of 658 nm and power of 7.5 mW was employed in the instrument. The MOKE magnetization measurements were carried out by applying an external magnetic field along the wire axis. The curves obtained by averaging the hysteresis loops during the process 800 to 1000 times to achieve the best signal to noise ratio. Also, the laser spot with the size of one diameter modulation was focused on the nanowire at different positions. Angular MOKE measurements were done by applying magnetic fields at different angles with the axis of the nanowire from parallel (0°) to perpendicular (90°) as long as clear signal are received in steps of 10°. Longitudinal local magnetization hysteresis curves were recorded from one end of the nanowire to the other end with a step of 3–5 μm. The MOKE signal was normalized to the received one under the maximum applied field at each position.

The domain structure of individual nanowires dispersed on silicon substrate was imaged by atomic/magnetic force microscopy system (AFM/MFM) from Nanotec Electronica. A commercial CoCr standard magnetic tip was used to examine the magnetic domain structure of the nanowires individually dispersed on silicon substrate.

### Numerical simulations

To model the magnetic properties, cylindrical nanowires along the z-axis were discretized by a cubic lattice with cell size a52. The diameters of the segments are D1 = 16a and D2 = 24a, in accordance with the experimental diameter ratios (D2/D1 ≈ 1.40–1.50). The regions connecting the narrow and wide part of the DMNW have length L = 4a and are approximately described by a linear variation of diameter. The sequence of lengths of the three segments is 30a-40a-30a for both type-I and type-II NWs (Fig. 3S). The region of varying diameter (junction) extends along the wire axis from z = −17a to z = −21a and z = 17a to z = 21a, for both NW types. The total energy of the model system reads $$E=\sum _{i}{E}_{i}$$, where the on-site energy $${E}_{i}=-\,\frac{1}{2}J\sum _{ < i,j > }{\hat{S}}_{i}\cdot {\hat{S}}_{j}-\frac{1}{2}g\sum _{i,j}{\hat{S}}_{i}\cdot {\overleftrightarrow{D}}_{ij}\cdot {\hat{S}}_{j}-H\sum _{i}{S}_{iz},$$ with i, j the site indices, J the exchange energy, H the Zeeman energy due to external field, g the dipolar interaction strength and $${\overleftrightarrow{D}}_{ij}$$ the dipolar coupling tensor. In order to achieve the computational efficiency, the dipolar energy term is considered in an embedded cluster approximation having a cluster radius r0 = 5a53. We use micromagnetic parameters for Ni54, namely the exchange stiffness A = 1.3∙10−11 J/m and saturation magnetization Ms = 7.6∙105 A/m and a discretization cell a = 5 nm. The isothermal hysteresis loops are simulated using the Metropolis Monte Carlo algorithm with a fixed spin-cone aperture (θs ≈ 3°) and 5 × 103 Monte Carlo steps per spin (MCSS) for thermalization followed by 104 MCSS for calculations of thermodynamic quantities. All simulations are performed at low temperature (T/J = 10−3).

## References

1. 1.

Parkin, S. S., Hayashi, M. & Thomas, L. Magnetic domain-wall racetrack memory. Science 320, 190–194 (2008).

2. 2.

Lendecke, P., Eiselt, R., Meier, G. & Merkt, U. Temperature dependence of domain-wall depinning fields in constricted Permalloy nanowires. Journal of Applied Physics 103, 073909 (2008).

3. 3.

McMichael, R. D., Eicke, J., Donahue, M. J. & Porter, D. G. Domain wall traps for low-field switching of submicron elements. Journal of Applied Physics 87, 7058–7060 (2000).

4. 4.

Atkinson, D. et al. Magnetic domain-wall dynamics in a submicrometre ferromagnetic structure. Nature materials 2, 85–87 (2003).

5. 5.

Faulkner, C. C. In Nanomagnetism And Spintronics: Fabrication, Materials, Characterization and Applications 343–374 (World Scientific, 2011).

6. 6.

McGrouther, D., McVitie, S., Chapman, J. & Gentils, A. Controlled domain wall injection into ferromagnetic nanowires from an optimized pad geometry. Applied physics letters 91, 022506 (2007).

7. 7.

Cowburn, R., Allwood, D., Xiong, G. & Cooke, M. Domain wall injection and propagation in planar Permalloy nanowires. Journal of applied physics 91, 6949–6951 (2002).

8. 8.

Fournel, F. et al. Magnetization reversal in (CoNi/Pt)/sub 6/dots connected to a large area through submicron wide channels. IEEE transactions on magnetics 34, 1027–1029 (1998).

9. 9.

Kimling, J. et al. Tuning of the nucleation field in nanowires with perpendicular magnetic anisotropy. Journal of Applied Physics 113, 163902 (2013).

10. 10.

Aziz, A. et al. Angular dependence of domain wall resistivity in artificial magnetic domain structures. Physical review letters 97, 206602 (2006).

11. 11.

Aziz, A. et al. Investigation of artificial domains realized by local gallium focused ion-beam modification of Pt∕ Co∕ Pt trilayer structures. Journal of applied physics 99, 08C504 (2006).

12. 12.

Fernández-Pacheco, A. et al. Three dimensional magnetic nanowires grown by focused electron-beam induced deposition. Scientific reports 3, 1492 (2013).

13. 13.

Fernández-Pacheco, A. et al. Domain wall conduit behavior in cobalt nanowires grown by focused electron beam induced deposition. Applied Physics Letters 94, 192509 (2009).

14. 14.

May, A., Hunt, M., Van Den Berg, A., Hejazi, A. & Ladak, S. Realisation of a frustrated 3D magnetic nanowire lattice. Communications Physics 2, 13 (2019).

15. 15.

Williams, G. et al. Two-photon lithography for 3D magnetic nanostructure fabrication. Nano Research 11, 845–854 (2018).

16. 16.

Nasirpouri, F. et al. Three-dimensional ferromagnetic architectures with multiple metastable states. Applied Physics Letters 98, 222506, https://doi.org/10.1063/1.3595339 (2011).

17. 17.

Minguez-Bacho, I., Rodriguez-López, S., Vázquez, M., Hernández-Vélez, M. & Nielsch, K. Electrochemical synthesis and magnetic characterization of periodically modulated Co nanowires. Nanotechnology 25, 145301 (2014).

18. 18.

Nielsch, K. et al. Hexagonally ordered 100 nm period nickel nanowire arrays. Applied Physics Letters 79, 1360–1362, https://doi.org/10.1063/1.1399006 (2001).

19. 19.

Pitzschel, K. et al. Magnetic reversal of cylindrical nickel nanowires with modulated diameters. Journal of Applied Physics 109, 033907 (2011).

20. 20.

Sulka, G. D., Brzózka, A. & Liu, L. Fabrication of diameter-modulated and ultrathin porous nanowires in anodic aluminum oxide templates. Electrochimica Acta 56, 4972–4979 (2011).

21. 21.

Lim, J.-H., Rotaru, A., Min, S.-G., Malkinski, L. & Wiley, J. B. Synthesis of mild–hard AAO templates for studying magnetic interactions between metal nanowires. Journal of Materials Chemistry 20, 9246–9252 (2010).

22. 22.

Liew, H., Low, S. & Lew, W. In Journal of Physics: Conference Series. 012058 (IOP Publishing).

23. 23.

Salem, M. S. et al. Magnetic properties of cylindrical diameter modulated Ni 80 Fe 20 nanowires: interaction and coercive fields. Nanoscale 5, 3941–3947 (2013).

24. 24.

Chandra Sekhar, M., Goolaup, S., Purnama, I. & Lew, W. Depinning assisted by domain wall deformation in cylindrical NiFe nanowires. Journal of Applied Physics 115, 083913 (2014).

25. 25.

Vega, V. et al. Tuning the magnetic anisotropy of Co–Ni nanowires: comparison between single nanowires and nanowire arrays in hard-anodic aluminum oxide membranes. Nanotechnology 23, 465709 (2012).

26. 26.

Cantu-Valle, J. et al. Quantitative magnetometry analysis and structural characterization of multisegmented cobalt–nickel nanowires. Journal of Magnetism and Magnetic Materials 379, 294–299 (2015).

27. 27.

Esmaeily, A., Venkatesan, M., Razavian, A. S. & Coey, J. Diameter-modulated ferromagnetic CoFe nanowires. Journal of Applied Physics 113, 17A327 (2013).

28. 28.

Bran, C. et al. Spin configuration of cylindrical bamboo-like magnetic nanowires. Journal of Materials Chemistry C 4, 978–984 (2016).

29. 29.

Rodríguez, L. A. et al. Quantitative Nanoscale Magnetic Study of Isolated Diameter-Modulated FeCoCu Nanowires. ACS nano 10, 9669–9678 (2016).

30. 30.

Berganza, E., Bran, C., Jaafar, M., Vázquez, M. & Asenjo, A. Domain wall pinning in FeCoCu bamboo-like nanowires. Scientific reports 6 (2016).

31. 31.

Palmero, E. M., Bran, C., del Real, R. P. & Vázquez, M. Vortex domain wall propagation in periodically modulated diameter FeCoCu nanowire as determined by the magneto-optical Kerr effect. Nanotechnology 26, 461001 (2015).

32. 32.

Pitzschel, K. et al. Controlled introduction of diameter modulations in arrayed magnetic iron oxide nanotubes. ACS nano 3, 3463–3468 (2009).

33. 33.

Tejo, F., Vidal-Silva, N., Espejo, A. & Escrig, J. Angular dependence of the magnetic properties of cylindrical diameter modulated Ni80Fe20 nanowires. Journal of Applied Physics 115, 17D136 (2014).

34. 34.

Stoner, E. & Wohlfarth, E. Philos. Trans. R. Soc. London, Ser. A. A mechanism of magnetic hysteresis in heterogeneous alloys 240, 599–642 (1948).

35. 35.

Landeros, P. et al. Reversal modes in magnetic nanotubes. Applied Physics Letters 90, 102501 (2007).

36. 36.

Aharoni, A. Angular dependence of nucleation by curling in a prolate spheroid. Journal of applied physics 82, 1281–1287 (1997).

37. 37.

Escrig, J., Daub, M., Landeros, P., Nielsch, K. & Altbir, D. Angular dependence of coercivity in magnetic nanotubes. Nanotechnology 18, 445706 (2007).

38. 38.

Allende, S., Escrig, J., Altbir, D., Salcedo, E. & Bahiana, M. Angular dependence of the transverse and vortex modesin magnetic nanotubes. The European Physical Journal B 66, 37–40 (2008).

39. 39.

Lavin, R. et al. Angular dependence of magnetic properties in Ni nanowire arrays. Journal of Applied Physics 106, 103903 (2009).

40. 40.

Vilanova Vidal, E., Ivanov, Y. P., Mohammed, H. & Kosel, J. A detailed study of magnetization reversal in individual Ni nanowires. Applied Physics Letters 106, 032403 (2015).

41. 41.

Puppin, E., Vavassori, P. & Callegaro, L. A focused magneto-optical Kerr magnetometer for Barkhausen jump observations. Review of Scientific Instruments 71, 1752–1755, https://doi.org/10.1063/1.1150532 (2000).

42. 42.

Mohammed, H., Vidal, E. V., Ivanov, Y. P. & Kosel, J. Magnetotransport Measurements of Domain Wall Propagation in Individual Multisegmented Cylindrical Nanowires. IEEE Transactions on Magnetics 52, 1–5 (2016).

43. 43.

Stano, M. & Fruchart, O. Magnetic nanowires and nanotubes. Handbook of Magnetic Materials 27, 155 (2018).

44. 44.

Faulkner, C. C. et al. Artificial domain wall nanotraps in Ni 81 Fe 19 wires. Journal of applied physics 95, 6717–6719 (2004).

45. 45.

Forster, H. et al. Domain wall motion in nanowires using moving grids. Journal of applied physics 91, 6914–6919 (2002).

46. 46.

Nasirpouri, F., Nogaret, A. & Bending, S. J. Effect of size and configuration on the magnetization of nickel dot arrays. IEEE Transactions on Magnetics 47, 4695–4700 (2011).

47. 47.

Hayashi, M. et al. Dependence of current and field driven depinning of domain walls on their structure and chirality in permalloy nanowires. Physical review letters 97, 207205 (2006).

48. 48.

Fernandez-Roldan, J. A., del Real, R. P., Bran, C., Vazquez, M. & Chubykalo-Fesenko, O. Magnetization pinning in modulated nanowires: from topological protection to the “corkscrew” mechanism. Nanoscale 10, 5923–5927 (2018).

49. 49.

Petit, D., Jausovec, A.-V., Read, D. & Cowburn, R. P. Domain wall pinning and potential landscapes created by constrictions and protrusions in ferromagnetic nanowires. Journal of Applied Physics 103, 114307 (2008).

50. 50.

Martín, J., Martín-González, M., Fernández, J. F. & Caballero-Calero, O. Ordered three-dimensional interconnected nanoarchitectures in anodic porous alumina. Nature communications 5, 5130 (2014).

51. 51.

Ivanov, Y. P., Chuvilin, A., Lopatin, S. & Kosel, J. Modulated magnetic nanowires for controlling domain wall motion: toward 3D magnetic memories. ACS nano 10, 5326–5332 (2016).

52. 52.

Toscano, D. et al. Magnetization reversal of the transverse domain wall confined between two clusters of magnetic impurities in a ferromagnetic planar nanowire. Journal of Magnetism and Magnetic Materials 419, 37–42 (2016).

53. 53.

Patsopoulos, A. & Kechrakos, D. Monte Carlo study of the exchange bias effect in Co/CoO core–shell nanowires. Nanotechnology 28, 285701 (2017).

54. 54.

Hertel, R. Computational micromagnetism of magnetization processes in nickel nanowires. Journal of Magnetism and Magnetic Materials 249, 251–256, https://doi.org/10.1016/S0304-8853(02)00539-5 (2002).

## Acknowledgements

The financial support of Iranian National Science Foundation (INSF) under a grant number of 94010670 is acknowledged. F.N. acknowledges the financial support of CSIC to visit ICMM at Madrid. S.M.P. acknowledges the visiting scholarship to ICMM from Iranian Ministry of Science, Research and Technology and Sahand University research affair’s research studentship grant. Authors wish to thank Agustina Asenjo from ICMM/CSIC for her support in the MFM imaging and interpretation. This work has been partly supported by the Spanish Ministry of Economy, Industry and Competitiveness (MINECO) under project MAT2016-76824-C3-1-R and by the Regional Government of Madrid under project S2018/NMT-4321 NANOMAGCOST-CM. A.P. is co-financed by Greece and the European Union (European Social Fund ESF) through the Operational Programme «Human Resources Development, Education and Lifelong Learning» in the context of the project “Strengthening Human Resources Research Potential via Doctorate Research” (MIS-5000432), implemented by the State Scholarships Foundation (ΙΚΥ). DK acknowledges financial support from the Special Account for Research of ASPETE through project NANOSKY (No 80146).

## Author information

F.N. conceived the research idea, and initiated, conceptualized and supervised the research project. S.M.P.S. and C.B. have carried out experiments on electrodeposition and V.S.M. S.M.P.S. and E.M.P. have performed MOKE experiments. S.M.P.S. and E.B. have done MFM. F.N. and M.V. guided the experimental measurements. F.N. and S.M.P.S. analyzed the data. A.P. and D.K. performed the numerical modeling. F.N. wrote the manuscript with input from S.M.P.S., M.V., C.B. and D.K.

Correspondence to Farzad Nasirpouri.

## Ethics declarations

### Competing Interests

The authors declare no competing interests.

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Nasirpouri, F., Peighambari-Sattari, S., Bran, C. et al. Geometrically designed domain wall trap in tri-segmented nickel magnetic nanowires for spintronics devices. Sci Rep 9, 9010 (2019). https://doi.org/10.1038/s41598-019-45553-w

• Accepted:

• Published:

• ### Sensing anisotropic stresses with ferromagnetic nanowires

• L. Forzani
• , A. M. Gennaro
• , R. R. Koropecki
•  & C. A. Ramos

Applied Physics Letters (2020)

• ### Microwave devices based on template-assisted NiFe nanowires: fabrication and characterization

• Monika Sharma
•  & Bijoy K Kuanr

Journal of Physics D: Applied Physics (2020)

• ### Magnetic field effect on electrodeposition of CoFe2O4 nanowires

• Nabil Labchir
• , Abdelkrim Hannour
• , Didier Vincent
• , Ahmed Ihlal
•  & Mohammed Sajieddine

Applied Physics A (2019)