Introduction

The field of flexible electronics flourished over recent years with numerous fundamental discoveries1,2,3,4 which enabled exciting device concepts ranging from flexible displays5,6 and batteries7,8 to implantable devices,9,10,11,12,13 just to name a few. Their success relies on this novel formulation of electronics being compliant, wearable, and matching the mechanics of biological tissues.14,15 For each of these applications specific actuating16,17 and sensing elements are required. In the latter case, diverse types of mechanically reshapeable sensors have been reported, which can detect mechanical,18,19 optical,20 thermal21,22, and bioelectric23,24 stimuli, among others.

Flexible magnetic field sensors have been applied for detecting the presence of magnetic fields of magnetically functionalized objects,25,26,27 for proximity detection in novel touchless human-machine interaction concepts or for augmented and virtual reality applications28,29,30,31 (Supporting Table 1). State of the art flexible magnetoelectronics operate typically with magnetic fields in the mT range, which are easily realizable using small permanent magnets.32 Recent works report on flexible magnetic field sensors sensitive to the geomagnetic field, which is of 50 µT only.33,34,35,36 While flexible, the mechanical performance of the reported devices does not meet the requirements needed for the field of wearable or on-skin electronics. Therefore, although highly demanded for various applications ranging from point of care diagnostics to biomedical magnetic field detection,37,38 there are no highly compliant magnetic field sensors with sub-µT sensitivity. To enable such a high sensitivity in a mechanically compliant form factor, a new fundamental effect towards magnetic field sensing should be introduced in the field of shapeable magnetoelectronics. In this respect, magnetic field sensors based on the planar Hall effect (PHE) are particularly interesting for sensing weak magnetic fields (lower than the geomagnetic field), because they are intrinsically linear around zero field and show great sensitivity39 (Supporting Table 2). Furthermore, these sensors are metal-based and can be easily integrated in an imperceptible electronics platform as needed to assure for superior mechanical performance.40,41,42

Here, we report a highly compliant PHE sensor capable of detecting magnetic fields in the range of sub 200 nT with a limit of detection of 20 nT. Owing to the fabrication on mechanically imperceptible polymeric foils with a thickness of 6 µm only, the sensor is bendable to a radius of 1 mm without any degradation of its electrical resistance. This newly explored sensing mechanism based on the planar Hall effect, allows for an extremely simple sensor design consisting of one magnetic layer (Permalloy) and one contact layer. The sensor shows excellent bending performance with 0.3% resistance variation after more than 150 bending cycles. We report a maximum sensitivity of 0.86 V/T in the linear range of ±50 µT, which makes these sensors sensitive to magnetic fields down to 20 nT. Although prepared on ultrathin polymeric foils, the sensitivity of these sensors meets the state of the art values reported for their rigid counterparts.43,44,45 We showcase the performance of the sensor for two application examples in angle and proximity detection.

Results and discussion

Fabrication

The sensor is realized by microfabricating Permalloy (Py) Hall crosses with a thickness of 20 nm on 6-µm-thick PET foils (Fig. 1a). Optionally, a 2-µm-thick SU-8 layer can be added to reduce the surface roughness of the PET foil. To improve the sensor performance, each stripe of the Hall cross is prepared with a high aspect ratio of 10:1 to induce a preferred magnetization axis of the Py structure by shape anisotropy. This is further facilitated by patterning an elliptically-shaped stripe (Fig. 1b) instead of a rectangular one.46 As the second and final fabrication step, electrical contacts are prepared to interface the Hall cross with the outside electronics. The integrity of the layer stack upon mechanical deformations is characterized by scanning electron microscopy (SEM) imaging (Fig. 1c, d). In addition to the top-view images, the sample cross-section is investigated upon Focused Ion Beam (FIB) milling (Fig. 1e), revealing a firm adhesion of the metallic layer to a polymeric foil.

Fig. 1
figure 1

Fabrication of highly compliant PHE sensors. a Schematics on the fabrication process. An ultrathin polymeric foil is attached to a supporting glass substrate. Optionally, an SU-8 smoothing layer can be added before the first patterning step. The magnetic sensing layer is prepared by photolithography and e-beam evaporation. Contact lines are realized in subsequent lithography and evaporation steps. Finally, the device is detached from the supporting glass slide. SEM imaging of a compliant PHE sensor in a planar b, biaxially bent c, and uniaxially bent d states. e SEM image showing a cross-section of the sample prepared using FIB milling

Magnetoelectrical characterization

To define the favorable magnetic state of the sensor, we applied a magnetic field parallel to the elliptical arm of the Hall cross, performing a magnetic field sweep between ±3 mT. This field is sufficient to saturate the elliptically shaped Py stripe. After this standard initialization process,43 we determine the sensitivity axis of the sensors to be for the fields applied parallel to the elliptical axis. Figure 2 shows the magnetoresistive response of the sensor in the flat state and bent to a radius of 1 mm. In the flat state, the sensor showed a maximum sensitivity of 0.86 V/T when biased with a 5 mA direct current (DC). The actual measurement of the magnetic field strength experimentally detected by the sensor is <200 nT for the flat sensor (error bars shown in Fig. 2a correspond to the standard deviation of 200 nT). Even when bent to 1 mm, the sensors still reveal a remarkably high sensitivity of 0.63 V/T. We relate the observed change in the sensitivity after bending to the modification of the magnetic domain pattern due to magnetostrictive effects. To assure a direct comparison of the measurements of the same sensor between the bent and flat states, we did not reinitialize the magnetic state of the sensor between the measurements in the flat and bent states. The change of the magnetic domain pattern in a magnetic thin film upon bending was investigated elsewhere.47,48,49

Fig. 2
figure 2

Magnetoelectrical characterization in the linear range. Transverse voltage (planar Hall voltage) measured for a compliant PHE sensor a in the flat state (average of 5 measurements) and b bent to a radius of 1 mm (average of 7 measurements). The scale bar in panel a corresponds to 300 µm. Solid lines are linear fits to the experimental data points. Error bars calculated from standard deviation of measurements

Ultimately, the sensitivity of the sensors, namely its ability to measure the smallest fields, is determined by its noise. One of the great advantages of the metal-based PHE sensors is their small resistance, which allows for a very low intrinsic sensor noise. As our compliant PHE sensors have typical resistances of about 100 Ω, their intrinsic thermal noise (Johnson noise) is ~1.3 nV/Hz1/2 (equivalent magnetic field noise of 1.5 nT/Hz1/2). This remarkably low noise figure is compromised by the noise of the read-out electronics. In our experiments, we used electronics with a white noise density of 55 nV/Hz1/2. Considering the maximum integration time of 10 s for the compliant PHE sensor in a flat arrangement (corner frequency of 0.1 Hz in the power spectral density plot; Supporting information), the sensor would be able to discriminate fields down to 20 nT (limit of detection). We note that this number is not generic as it is strongly dependent on the read-out electronics. For instance, the use of a low noise electronics (typical white noise density of low noise electronics is 15 nV/Hz1/2) would boost the limit of detection of a compliant PHE sensor to 10 nT.

Mechanical performance

The key requirement for compliant sensors is that their resistance remains essentially invariant upon mechanical deformations. We carried out extensive mechanical testing of the compliant PHE sensors in a cycling bending apparatus (Figure S2). The sensor was bent for more than 150 times between 4 mm and 2.4 mm bending radii (Movie S1). The electrical resistance parallel to the bending direction was recorded at the initial (4 mm) and final (2.4 mm) positions. Figure 3a shows the evolution of the sample resistance at the final bending position (2.4 mm), showing a variation of 0.3% only during the entire cycling test. With this, we have realized a strain invariant yet mechanically compliant magnetic field sensor relying on the planar Hall effect.

Fig. 3
figure 3

Mechanical integrity tests. a Dynamic cycling of a compliant PHE sensor. The top dataset represents the measured longitudinal resistance along the bending direction. The bottom dataset shows the measured transversal voltage (Hall voltage) perpendicular to the bending direction. b SEM images of a bent sensor. The radius of curvature is gradually changing from about 100–300 µm. The close-up images of the regions indicated in panel b are shown for the case of the bending radius of c 290 µm and d 110 µm

Furthermore, we recorded the transverse voltage of the sensor during the cyclic bending experiment. The results are shown in Fig. 3a for the case when the sensor is bent to a radius of 2.4 mm. Only a small variation of the transversal voltage upon cycling is observed. The voltage variation in this dynamic bending test is attributed to the change of the voltage offset, which is not related to any magnetic effect but to the sensor contact geometry. Still, no degradation of the sensor output is found in the data.

The critical bending radius of the functional Py layer was characterized using SEM. We folded a sensor device to different bending radii down to about 100 µm (Fig. 3b). The examination of the morphology of the bent sensor reveals that the surface remains continuous without evident film fracturing if the bending radius exceeds 290 µm (Fig. 3c). For smaller bending radii, cracks start to evolve as demonstrated for the case when the bending radius is 110 µm (Fig. 3d). These experimental results are in a good quantitative agreement with analytical estimations revealing a critical bending radius of 265 µm. The corresponding strain experienced by the Permalloy film is calculated to be 1.7 × 10−1 for a bending radius of 290 µm and 4.5 × 10−1 for a bending radius of 110 µm. We note that this remarkable mechanical performance is achieved due to the use of ultrathin polymeric foils. For comparison, the use of standard 100-µm-thick polymeric substrates would result in a critical bending radius of about 1 order of magnitude higher (5 mm, as typically observed experimentally34).

Compliant PHE sensors for detecting magnetic stray fields

Due to their excellent mechanical properties, the sensor devices can be bent around curved objects and provide information of tiny magnetic fields emanating from them. In this way, the sensor can be placed in close proximity to a signal source. For example, it could be implemented to detect magnetic functionalized objects flowing in a fluidic channel or the stray magnetic field generated by a current-carrying wire. As a proof of principle, the performance of compliant PHE sensors was evaluated by measuring the magnetic field generated by a pulsing DC current in a stranded copper wire with an outer diameter of 2 mm (nominal thickness of the insulation is 0.45 mm). For the measurement, the sensor was wrapped around the wire to be in the closest proximity to the source of magnetic field (Fig. 4a). To determine the magnetic field around the wire, we carried out finite element simulations (Finite Element Method Magnetics v4.2) taking into account the stranded structure of the inner copper threads (Fig. 4b). It was found out that the field on the surface of the wire is only about 20 µT when a DC current of 100 mA is supplied to it. We note that this field is similar to the one typically obtained in a magneto-fluidic experiments.25

Fig. 4
figure 4

Detection of magnetic stray fields. a A compliant PHE sensor is wrapped around a copper wire with a radius of 1 mm. White arrows represent schematically DC current pulses in the wire. b Finite element simulations reveal a density plot of the magnetic flux, generated by the wire upon applying DC current pulses of 100 mA. c A profile of the magnetic flux density from the wire surface indicating an intensity of 20.4 µT at the sensor location. d Transverse voltage measured by the sensor, clearly separating the incoming current pulses of different polarity

For the experiment, we recorded the PHE voltage while manually switching the DC current circulating through the wire ON and OFF (Movie S2). A clear jump in the readout voltage is produced when the current is turned on (Fig. 4d). Furthermore, the linearity of our sensor is preserved, as seen by the magnitude of the voltage change when the current is reversed. This confirms that the magnetic field effects are being measured instead of a temperature variation upon Joule heating of the wire. We note that the performance of the compliant PHE sensors is at least 10 times better compared to the conventional bulky and rigid clamp meters applied for current sensing.50

Compliant PHE sensors as angular sensors

We demonstrated the performance of the compliant PHE sensor in the linear regime to detect weak magnetic fields. Still, the PHE sensors can also be used for the detection of an angle. In this case, we take advantage of the angular dependence of the PHE sensor output with the relative orientation of the magnetization with respect to the biasing current. We evaluated the angular dependence of the compliant PHE sensors by applying a saturating field of 4 mT. A sin(2θ) angular dependence is expected according to the off-diagonal terms of the resistivity tensor for anisotropic ferromagnetic materials (detailed calculations in SI). In this demonstrator, the sample was placed on a rotating stage in the center of a pair of Helmholtz coils (Figure S4) and the PHE voltage was measured. Figure 5 shows the measured transverse voltage as a function of the angle between the sensor axis and the applied field (azimuthal angle) for a sample bent to a radius of 1 mm. The detected response verifies the sin(2θ) angular dependence. When used within its linear range, the sensor could be used as an angular sensor to provide orientation information in soft robotics applications, benefiting from the high conformability of the ultrathin polymeric substrate.

Fig. 5
figure 5

Angular sensor application. The angular dependence of the transverse voltage was measured using a compliant PHE sensor exposed to a saturating field of 4 mT. Solid line is a guide to the eye

Here, we applied a new fundamental physical principle of magnetic field sensing for shapeable magnetoelectronics. By doing this, we realized a compliant yet high-performance magnetic field sensor relying on the planar Hall effect in magnetic thin films. Even when prepared on mechanically imperceptible 6-µm-thick polymeric foils, the sensor elements revealed a remarkable sensitivity to magnetic fields of 0.86 V/T, which allows us to detect magnetic fields as small as 200 nT in the flat state. Owing to the ultra-thin supporting layer, the compliant planar Hall effect sensors do not reveal any sign of degradation in a cyclic bending experiment with a tiny resistance variation of <0.3% when bending the devices down to a radius of 2.4 mm. The application potential of the device is showcased in two examples of an angle and proximity sensors. For the latter, we demonstrate that the compliant PHE sensor is able to detect small magnetic stray fields of magnetically functionalized objects as needed for conventional metrology as well as point of care diagnostics. High sensitivity of the prepared sensing devices at field ranges lower than the geomagnetic field combined with a remarkable simplicity of fabrication, is a step forward in the realization of cost efficient flexible magnetoelectronic devices, with possible application in soft robotics, interactive devices for virtual- and augmented reality and point of care platforms for the detection of magnetic objects.

Materials and methods

Substrate preparation

For preparing the compliant PHE sensors, we used commercial polyethylenterephthalat (PET) foils (Chemplex Inc., USA) with a nominal thickness of 6 µm. The foils were attached to a rigid support, i.e. glass slides, to allow for a convenient manipulation upon lithography and metal evaporation steps. We prepared the samples in two ways: by direct patterning onto PET foils or by adding an extra smoothing layer to reduce the surface roughness. For the latter case, we spin coated a layer of epoxy-based photoresist SU-8 (Microchem Corp., USA) for 30 s at 2000 rpm, resulting in a nominal thickness of 2 µm. Then, the samples were soft baked (1 min at 65 °C followed by 3 min at 95 °C) and exposed to a UV light (365 nm wavelength) for 10 min. Finally, the resist was cured for 10 min at 150 °C. The overall thickness of the flexible support was 8 µm including the SU-8 layer.

Sensor fabrication

Permalloy structures with a Hall cross geometry were patterned in a first lithography step. We spin coated a layer of adhesion promoter TI Prime (Microchemicals GmbH) at 4000 rpm for 30 s, followed by soft bake for 2 min at 120 °C. Then, image reversal photoresist AZ5214E (Microchemicals GmbH) was spin coated for 30 s at 4000 rpm. The samples were soft baked for 50 s at 110 °C and then exposed with a UV laser writer machine (Heidelberg DWL66). After the first exposure, image reversal bake followed, heating the samples for 2 min at 120 °C. Once the samples cooled down, they were exposed for the second time to a UV light (365 nm wavelength) for 5 min. Finally, the samples were developed in AZ351B (Microchemicals GmbH) with a dilution of 1:4 in deionized (DI) water. The development time was 40 s with minimal agitation. After patterning, a 20-nm-thick layer of Permalloy (Ni80Fe20) was deposited by electron beam evaporation (pressure: 8 × 10−8 mbar; deposition rate: 0.13 nm/s), followed by the evaporation of a protecting 3-nm-thick Au capping layer (pressure: 6.2 × 10−8 mbar; deposition rate: 0.24 nm/s). In the second fabrication step, we evaporate and pattern electrical contact pads consisting of [Au(100 nm)/Ti(3 nm)] bilayers (pressure: 2.2 × 10−8 mbar (Ti) and 5.5 × 10−8 mbar (Au); deposition rate: 0.02 nm/s (Ti) and 0.55 nm/s (Au)).

Magnetoelectrical chararacterization

To evaluate the magnetotransport properties of the fabricated sensors, we placed a sample in the center of a pair of Hemholtz coils, which were supplied with a DC current using a Keysight B2902A precision sourcemeter. The magnetic field produced by the Helmholtz coils was calibrated using a Gaussmeter (Goudsmith Magnetic Systems, Netherlands). A Keysight B2902A sourcemeter was used to set a DC current bias of 5 mA to the sensor for magnetotransport measurements. A Keysight 34461 A multimeter was used for DC voltage readout. For angular dependence measurements, we placed the sample on a rotating stage controlled by a stepper motor. Full hysteresis loops were also measured for a field range of ± 3 mT and different bending radii (Figure S3).

Mechanical performance

A custom-built cyclic bending machine was employed to dynamically bend the sensor and simultaneously measure its resistance. The compliant PET foils were adapted to fit into a commercial Flexible Printed Circuit (FPC) socket (Figure S2b) to ensure mechanically robust contacts during cycling. The socket was soldered to a printed circuit board (PCB), which was attached to the moving part of the bending apparatus. On the stationary side, we fixed a small plastic press to hold the other side of the sample (Figure S2a).

Calculations of critical bending radius

The smallest bending radius tolerable by a Permalloy thin film can be estimated relying on the formalism developed in:51

$$\varepsilon _{top} = \frac{{(d_f + d_s)}}{{2R}}\frac{{(1 + 2\eta + \chi \eta ^2)}}{{(1 + \eta )(1 + \chi \eta )}}$$
(1)

Where η = df /ds, and Χ = Yf/Ys. df is the total thickness of the active metallic layers (20 nm Py and 3 nm Au) and ds is the substrate thickness (6-µm-thick PET). Yf and Ys are the Young’s moduli of the metallic films and substrate, respectively. εtop is the surface strain when the structure is bent to a radius R. In ref. 52 it was found that the critical strain before the first fractures in 60-nm-thick Py film are observed, is in the range of 0.85 to 1%. Using this data with Equation 1, we estimated that the critical radius for our device is about 265 μm.

Electrical output of planar Hall effect sensors

Referring to the geometry in Figure S1, a uniform current Ix circulating through a bar-shaped ferromagnetic thin film of thickness t will produce a transverse voltage Vy given by:53

$$V_y = \frac{{I_x\Delta \rho \,{\mathrm{sin}}(2\theta )}}{{2t}}$$
(2)

With Δρ = ρ||ρ, where ρ|| and ρ are the resistivities parallel and perpendicular to the magnetization direction. A magnetic thin film in a single domain state is assumed with in-plane magnetization along the unit vector \(\hat M = (\cos \theta ,\sin \theta )\). This expression is strictly valid for a Hall bar with infinitesimal voltage probes, but it reflects the expected angular dependence for our sensors.