1 Introduction

Due to light weight, cost-effective processability, and unique physicochemical properties, polymer nanocomposites have spurred great interest for different applications [1,2,3,4,5,6]. Magnetoresistance (MR) is the electrical resistance change of the materials once the magnetic field is applied. The MR has great potential for many applications such as novel programmable logic devices and magnetoresistive random access memories (MRAM) [7,8,9]. Recently, researchers have done many works on the MR of polymer nanocomposites. For example, Zhu et al. reported the observed MR signal in magnetic carbon nanocomposite fibers [10].

Because of the low manufacturing cost, easy processability, unique mechanical flexibility, controllable electrical conductivity, and chemical functionalization capabilities, the conjugated conductive polyaniline (PANI) has attracted great attention for different applications such as energy storage, environmental remediation, antistatic or anticorrosive coating, electrochromic devices, and coupling agent [11,12,13,14,15,16]. For example, Wang et al. reported the manganese iron oxide/polyaniline nanocomposites for color switching and energy storage [12]. Gu et al. enhanced the mechanical property of silica epoxy nanocomposites with polyaniline as the coupling agent [17]. As the unique advantages of PANI, researchers have done many works about the MR of PANI nanocomposites. For example, Qiu et al. observed the MR signal in polyaniline-modified carbon fibers [13]. Gu et al. studied the MR in poly(p-phenylene-2,6-benzobisoxazole) short fibers/PANI nanocomposites [18].

Adding different nanofillers into the PANI matrix could change the MR signal of PANI nanocomposites, which is very important to develop the MR applications to meet the rigorous requirements in some fields. In order to study the MR behavior of polymer nanocomposites, different models have been developed including excitonic pair mechanism model, electron-hole recombination model, and bipolaron model [19,20,21]. Gu et al. reported the MR signal in the PANI-coated silicon nanocomposites and studied the charge carrier behavior under the magnetic field [22]. Romero et al. reported the increased amount of polarons to explain the improved negative MR in the manganite/polyaniline nanocomposites [23]. Magnetite (Fe3O4) and cobalt ferrite (CoFe2O4) are the traditional magnetic material used in different areas such as magnetic storage media and medical diagnostics [24, 25]. Recently, the MR of Fe3O4/PANI and CoFe2O4/PANI were reported; however, the loading of the Fe3O4 and CoFe2O4 in the PANI composites was different. Until now, there is less work about the MR of Fe3O4/PANI and CoFe2O4/PANI at the same loading level. And the effect of the magnetic particle’s type on the MR of PANI nanocomposites is not reported [26, 27].

In this work, PANI nanocomposites with different magnetic nanoparticles (Fe3O4 or CoFe2O4) were synthesized by the surface-initiated polymerization (SIP) method. The permittivity as a function of frequency at room temperature, temperature-dependent resistivity, and MR of magnetic PANI nanocomposites was systematically investigated. The Mott variable range hopping (VRH) model was applied to study the electrical conduction mechanism of the magnetic PANI nanocomposites. Positive MR of the magnetic PANI nanocomposites was controlled by the magnetic nanoparticles and nanoparticle loading at room temperature. The charge carrier behavior in the magnetic PANI nanocomposites under the magnetic field was studied by the wave function shrinkage model. Meanwhile, the magnetic field's effect on the localization length, density of state at the Fermi level, average hopping length, and average hopping energy were reported. In addition, the morphology of the magnetic PANI nanocomposites were characterized by the scanning electron microscope (SEM), and the dispersion of the magnetic nanoparticle in the PANI matrix was characterized by the transmission electron microscope (TEM). The chemical structure of magnetic PANI nanocomposites was characterized by Fourier transform infrared (FT-IR). The crystallinity of the magnetic PANI nanocomposites was studied by X-ray diffraction (XRD) as well.

2 Experimental

2.1 Materials

The Fe3O4 and CoFe2O4 were obtained from Nanostructured & Amorphous Materials, Inc. The ammonium persulfate (APS, (NH4)2S2O8, 98%) and p-toluene sulfonic acid (PTSA, C7H8O3S, ≥ 98.5%) and aniline (C6H7N, 99.0%) were purchased from Fisher Scientific. All the chemicals were used as-received without any further treatment.

2.2 Fabrication of magnetic PANI nanocomposites

The magnetic (Fe3O4 or CoFe2O4)/PANI nanocomposites were fabricated a facial surface-initiated polymerization method. Firstly, the magnetic nanoparticles were dispersed in the aqueous solution containing PTSA (30 mmol) and APS (18 mmol) in 200 mL deionized water treated by 60-min sonication and mechanical stirring (SCILOGEX OS20-Pro LCD Digital Overhead Stirrer, 300 rpm) in an ice-water bath. Secondly, the aniline solution (36 mmol, 50 mL deionized water) was mixed with the magnetic nanomaterial suspension and mechanically and ultrasonically stirred continuously for additional 120 min in the ice water bath for polymerization. Thirdly, the product was vacuum filtered and washed with deionized water several times to remove any unreacted PTSA and APS, then washed with ammonia solution to de-dope the PANI nanocomposites, then redoped with 1 M PTSA solution. The final synthesized nanocomposites were dried at 50°C in oven overnight. The Fe3O4/PANI nanocomposites with a Fe3O4 loading of 20.0 and 40.0% were synthesized, and CoFe2O4/PANI nanocomposites with a CoFe2O4 loading of 20.0 and 40.0 wt% were synthesized as well. Pure PANI was fabricated following the above procedures without adding any nanoparticles for comparison.

2.3 Characterizations

The morphology of the as-synthesized materials was examined by a FEI Helios NanoLab 600i scanning electron microscopy (SEM, Hillsboro, OR). All the samples were sputter coated with a thin layer of carbon (about 3 nm) to ensure good imaging. The FT-IR spectra of the products were obtained on a Nicolet IS 10 (in the range from 650 to 2000 cm−1 at a resolution of 4 cm−1). The XRD was measured by D/max-rB wide-angle X-ray diffractometer at a Cu kα wavelength of 0.154 nm. The scanning rate is 4° min−1 from 10 to 80°. Dielectric properties were investigated by a LCR meter (Agilent, E4980A) equipped with a dielectric test fixture (Agilent, 16451B) at the frequency of 20 to 2 × 106 Hz at room temperature. The pure PANI and magnetic/PANI nanocomposites were pressed in a form of disk pellet with a diameter of 25 mm by a hydraulic presser. The same samples were also used to measure the resistivity and MR. The temperature-dependent resistivity was measured by a standard four-probe method from 50 to 290 K. The MR measurement of the PANI nanocomposites was carried out using a standard four-probe technique by a 9-T Physical Properties Measurement System (PPMS) by Quantum Design at 290 K. The magnetic properties were also investigated in the 9-T PPMS by Quantum Design.

3 Results and discussion

3.1 SEM and TEM

Figure 1 displays the SEM images of pure Fe3O4 nanoparticles and 20.0 wt% Fe3O4/PANI nanocomposites and TEM image of 20.0 wt% Fe3O4/PANI nanocomposites. The surface of pure Fe3O4 is very smooth, and the Fe3O4 shows cubic shape (Fig. 1a). For the Fe3O4 coated by PANI, the surface of the nanoparticle is rougher which is due to the coating of PANI on Fe3O4 (Fig. 1b). The same result is observed in the 20.0 wt% CoFe2O4/PANI nanocomposites (Fig. S1c). Figure 1c shows the TEM image of 20.0 wt% Fe3O4/PANI nanocomposites; it is obviously observed that Fe3O4 nanoparticles are dispersed in the PANI matrix, which further confirms that nanoparticle is coated by PANI through the SIP method.

Fig. 1
figure 1

(a) SEM image of pure Fe3O4, (b) SEM image of 20.0 wt% Fe3O4/PANI, and (c) TEM image of 20.0 wt% Fe3O4/PANI

3.2 XRD analysis

Figures 2 and S2 display the XRD curves of the pure Fe3O4, CoFe2O4, pure PANI, and magnetic CoFe2O4/PANI and Fe3O4/PANI. There are only two board diffraction peaks located at 20.01 and 25.16° observed in pure PANI, corresponding to (100) and (110) crystallographic planes of the partially crystalline PANI [28] (Fig. S2). For pure CoFe2O4, the peaks located at 35.5, 37.1, 43.1, 53.1, 57.1, and 62.7° correspond to (311), (222), (400), (422), (511), and (440) crystallographic planes of CoFe2O4, respectively (Fig. 2A(a)). The observed characteristic peaks were indexed to the face-centered cubic crystal structure of CoFe2O4 [29]. Meanwhile, these characteristic peaks of CoFe2O4 are observed in the 20.0 wt% CoFe2O4/PANI nanocomposites (Fig. 2A(b)). There are 6 characteristic peaks observed in the pure Fe3O4 (Fig. 2B(a)). The peaks located at 2θ = 35.7, 43.3, 53.7, 57.2, 63.3, and 74.3° in the XRD curve of Fe3O4 correspond to (311), (400), (422), (511), (400), and (533) crystallographic planes of the spinel phase of Fe3O4, respectively [30]. The characteristic peaks of Fe3O4 are observed in the Fe3O4/PANI nanocomposites as well.

Fig. 2
figure 2

XRD patterns of (A) (a) pure CoFe2O4 and (b) 20.0 wt% CoFe2O4/PANI, (B) (a) pure Fe3O4 and (b) 20.0 wt% Fe3O4/PANI

3.3 FT-IR analysis

Figure 3 shows the FT-IR spectra of pure PANI and 20 wt% Fe3O4/PANI and 20.0 wt% CoFe2O4/PANI nanocomposites. For pure PANI (Fig. 3a), the peak located at 785 cm−1 is due to the out-of-plane vibration of C–H in the substituted benzenoid ring [31]. The peak at 1239 cm−1 is attributed to the C–H in-plane vibration of the quinoid unit [31]. And the peak at 1281 cm−1 corresponds to the C–N stretching vibration of the benzenoid unit [11]. The peaks located at 1551 and 1462 cm−1 correspond to the characteristic C = C stretching vibration of the quinoid and benzenoid rings, indicating the oxidation state of emeraldine salt state in the PANI [28, 32]. The characteristic peaks of PANI are also observed in PANI nanocomposites with different magnetic nanoparticles (Fig. 3b, c and Fig. S3). Meanwhile, compared with pure PANI, the characteristic peaks of magnetic PANI nanocomposites have a little shift, indicating the interaction between PANI and the nanoparticles. The morphological analysis from SEM and TEM images, crystal structure analysis from XRD, and chemical structure analysis from FT-IR indicate that the PANI nanocomposites with different magnetic nanoparticles (Fe3O4 or CoFe2O4) were successfully fabricated by the SIP method.

Fig. 3
figure 3

FT-IR spectra of (a) PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI

3.4 Dielectric property

Figure 4A displays the real permittivity \(\varepsilon ^{\prime}\) as a function of frequency for pure PANI, 20 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites at room temperature. For all the fabricated samples, the \(\varepsilon ^{\prime}\) decreases with increasing frequency (Fig. 4A). Normally, due to the electric leakage, the \(\varepsilon ^{\prime}\) of dielectric medium decreases with increasing frequency [33]. For pure PANI (Fig. 4A(a)), the \(\varepsilon ^{\prime}\) decreases from 283.51 to 182.67 within the measured frequency. The \(\varepsilon ^{\prime}\) decreases sharply from 1 × 103 to 1 × 104 Hz, which is due to the Maxwell-Wagner-Sillars polarization effect. For the Maxwell-Wagner-Sillars polarization effect, the charge carriers are accumulated at the internal interfaces or at the external electrode-sample interface on a macroscopic scale under the electrical field [34]. After that, the \(\varepsilon ^{\prime}\) decreases slowly with increasing the frequency. At higher frequency, the decreasing of \(\varepsilon ^{\prime}\) is due to the “delay” of the polarization of charge carrier in response to the changing electric field. The magnetic PANI nanocomposites show \(\varepsilon ^{\prime}\) higher than pure PANI, which is due to the more interface areas formed between polymer and nanoparticles in the PANI nanocomposites [1, 30]. Figure 4B shows the imaginary permittivity \(\varepsilon ^{\prime\prime}\) of pure PANI, 20 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites. For all the samples, with increasing the frequency, the \(\varepsilon ^{\prime\prime}\) decreases in the measured frequency range at room temperature. The 20.0 wt% Fe3O4/PANI nanocomposites show higher \(\varepsilon ^{\prime\prime}\) pure PANI and 20.0 wt% CoFe2O4/PANI, indicating a higher dielectric loss which may be due to the conduction loss and polarization loss [35, 36].

Fig. 4
figure 4

(A) Real permittivity of (a) pure PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI. (B) Imaginary permittivity of (a) pure PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI

3.5 Electrical conductivity

The temperature-dependent resistivity of pure PANI, 20.0 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites were measured from 150 to 290 K to determine the electrical conduction mechanism. In Fig. 5A, the resistivity of all the samples decrease with increasing the temperature, indicating a typical behavior of semiconductor [35]. The magnetic PANI nanocomposites show relatively larger resistivity than pure PANI. This is because the insulated magnetic particles deteriorated the electrical conduction network of PANI and impeded the movement of charge carriers. And the resistivity of CoFe2O4/PANI is larger than that of Fe3O4/PANI at the same particle loading level (Fig. 5A). Therefore, the resistivity of the PANI could be adjusted by the assistance of the magnetic nanoparticles. For the conjugated conductive polymers, the behavior of charge carriers depends on the amount of disorder including variations in conjugation length, rotations, and kinking of polymer chain interaction with neighboring molecules, impurities, and dipoles from residual solvent molecules [35, 37]. Normally, resistivity ratio (ρr, \(\rho_{{\text{r}}} = \rho_{{1{50}}} /\rho_{290}\)) can be used to express the disorder for conductive polymers [28, 30]. The calculated disorder for pure PANI, 20.0 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites is summarized in Table 1. Compared with pure PANI, the 20.0 wt% Fe3O4/PANI and 20.0 wt% CoFe2O4/PANI show higher disorder degree. The adding of magnetic nanoparticles affects the disorder of PANI matrix.

Fig. 5
figure 5

(A) Temperature-dependent resistivity of (a) pure PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI. (B) ln(σ) as a function of T−1/4 of (a) pure PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI

Table 1 ρr, σ0, and T0 for the pure PANI and magnetic PANI nanocomposites with different magnetic nanoparticles

For pure PANI, 20.0 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites, the Mott variable range hopping (VRH) model is applied to study the electron transport mechanism [38] and represented as Eq. 1

$$\sigma = \sigma_{{0}} {\text{exp}}\left[ { - \left( {\frac{{T_{0} }}{T}} \right)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {1 + n}}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${1 + n}$}}}} } \right]\,n = 1,\,2,\,3$$
(1)

where the n value of 3, 2, and 1 is for three-, two-, and one-dimensional systems, respectively [39]. The pre-exponential factor \(\sigma_{{0}}\) is constant which represents the conductivity at infinite low temperature limit. T is the Kelvin temperature (K), and To is the characteristic Mott temperature (K) and expressed as Eq. 2 [40]:

$$T_{0} = 24/[\pi k_{{\text{B}}} N(E_{{\text{F}}} )a_{0}^{3} ]$$
(2)

where ao, kB, and N(EF) stand for the localization length of the localized wave function of charge carriers, Boltzmann constant, and the density of states at the Fermi level, respectively [39]. Normally, To is related to the localization length and the density of states at the Fermi level. The Eq. 1 can be rearranged to Eq. 3:

$$\ln \sigma = \ln \sigma_{0} - \left( {\frac{{T_{0} }}{T}} \right)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 {1 + n}}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${1 + n}$}}}} \,n = 1,\,2,\,3$$
(3)

So, σ0 and T0 can be obtained from the intercept and slope of the plot of ln (σ) ~ T−1/(1+n), respectively. The plot of ln (σ) ~ T−1/(1+n) for all the samples is shown in Fig. 5B. The pure PANI, 20.0 wt% Fe3O4/PANI, and 20.0 wt% CoFe2O4/PANI nanocomposites follow a ln (σ) ~ T−1/4 linear relationship, which indicates a quasi 3D VRH electrical conduction mechanism. The calculated σ0 and T0 values are summarized in Table 1. The T0 of pure PANI is lower than that of magnetic PANI nanocomposites. Generally, the To is strongly dependent on the disorder of PANI, which means the random sequence of quinoid-benzenoid groups in PANI presented in the samples [41, 42]. The To displays the same trend as ρr as observed in Table 1.

3.6 Magnetic property

Magnetization (M) is a phenomenon that describes the response of the magnetic materials to an external magnetic field. The magnetic domains separated by the domain walls are responsible for the magnetic behavior of the ferromagnetic material [43]. Because of the unpaired electrons, the atoms have net magnetic moment formed by the exchange interaction in the ferromagnetic material. In a single magnetic domain, the atoms’ magnetic moment is aligned parallel in the same direction. The magnetic domains are randomly organized without the applied magnetic field. Once the magnetic field applied, the magnetic moment in these domains will be aligned in the same direction, and the alignment depends on the strength of the applied magnetic field [44]. This is the magnetization process of the ferromagnetic material, and the magnetization increases with increasing the magnetic field until it reaches the saturation magnetization (Ms) [30]. Figure 6 shows the magnetization curves of the pure magnetic nanoparticles and the magnetic PANI nanocomposites at room temperature. The remanence (the magnetization left behind in the ferromagnetic material when the applied magnetic field becomes 0 H) of pure Fe3O4 is 9.0 emu/g (Fig. 6A(a)); then, the remanence decreases to 2.5 emu/g for 20.0 wt% Fe3O4/PANI nanocomposites (Fig. 6A(b)). Normally, coercivity of magnetic material greater than 200 Oe is defined as ferromagnetic hard, while coercivity smaller than 200 Oe is defined as ferromagnetic soft [45]. It is obvious that the coercivity of pure Fe3O4 and 20.0 wt% Fe3O4/PANI is smaller than 200 Oe indicating that these two materials are ferromagnetic soft (Fig. 6A). However, the coercivity of pure CoFe2O4 and 20.0 wt% CoFe2O4/PANI is greater than 200 Oe, reflecting the ferromagnetic hard materials (Fig. 6B). Compared with pure magnetic nanoparticles (Fe3O4 and CoFe2O4), the Fe3O4/PANI and CoFe2O4/PANI nanocomposites show greater coercivity. It can be concluded that the coercivity of the magnetic nanoparticles can be controlled by the PANI modification through the SIP method. It is observed that the M of all the samples did not reach saturation within the measured magnetic field. The Ms could be determined by the extrapolated Ms obtained from the intercept of M ~ H−1 at high magnetic field [1]. The obtained Ms of Fe3O4 and CoFe2O4 are 82.75 and 67.05 emu/g, respectively. The calculated Ms of 20.0 wt% Fe3O4/PANI and 20.0 CoFe2O4/PANI nanocomposites are 21.93 and 16.75 emu/g. Based on the results of Ms, the weight percent of magnetic PANI nanocomposites could be calculated. The calculated weight percent of 20.0 wt% Fe3O4/PANI and 20 wt% CoFe2O4/PANI is 26.5 and 25.0%, respectively. This may be because the pyrrole monomer formed the oligomer during the polymerization [26].

Fig. 6
figure 6

Room temperature magnetization as a function of magnetic field for (A) (a) pure Fe3O4 and (b) 20.0 wt% Fe3O4/PANI; (B) (a) pure CoFe2O4 and (b) 20.0 wt% CoFe2O4/PANI

3.7 Magnetoresistance

MR can be expressed by using Eq. 4:

$${\text{MR}}\% = \frac{R(H) - R(0)}{{R{(0)}}} \times 100$$
(4)

where R(0) is the resistance without magnetic field and R(H) is the resistance under the magnetic field H. Positive MR are observed in all the samples and MR signal increase sharply at lower magnetic field; meanwhile, MR increases slightly at higher magnetic field (Fig. 7). The MR of pure PANI is 22.5% at 5 T (= 50,000 Oe) which is higher than the magnetic PANI nanocomposites (3.4% for Fe3O4/PANI and 17.5% for CoFe2O4/PANI), and the MR of CoFe2O4/PANI (17.5% at 5 T) is higher than that of Fe3O4/PANI (3.4% at 5 T) nanocomposites at room temperature. Compared with pure PANI, the reduced MR in PANI nanocomposites indicates that magnetic nanoparticles could improve the electron transport in the PANI matrix under the external magnetic field. Generally, the wave-function shrinkage model is designed to explain the positive MR of highly disorderedly localized systems in the VRH regime [46]. Since the pure PANI and magnetic PANI nanocomposites show quasi 3D Mott VRH electrical conduction mechanism, so the wave-function shrinkage model can be used to study the MR of the pure PANI and magnetic PANI nanocomposites, and the positive MR could be expressed as Eq. 5 [28]:

$${\text{MR}} = \frac{{R(H,T) - R\left( {0,T} \right)}}{R(0,T)} \approx t_{2} \frac{{H^{2} }}{{P_{{\text{C}}}^{{2}} }}\left( {\frac{{T_{{0}} }}{T}} \right)^{{{1 \mathord{\left/ {\vphantom {1 4}} \right. \kern-\nulldelimiterspace} 4}}} = t_{2} \frac{{e^{2} a_{0}^{4} }}{{36\hbar^{2} }}(\frac{{T_{0} }}{T})^{{{\raise0.7ex\hbox{$3$} \!\mathord{\left/ {\vphantom {3 4}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$4$}}}} H^{2}$$
(5)

where H, Pc, e, and h indicate the magnetic field, the fitting parameter, electron charge, and the reduced Planck’s constant, respectively. And numerical constant t2 is 5/2016. The localization length a0 can be described as Eq. 6:

$$a_{0}^{4} = \frac{{36h^{2} MR}}{{t_{2} e^{2} }}(\frac{{T_{0} }}{T})^{{ - {\raise0.7ex\hbox{$3$} \!\mathord{\left/ {\vphantom {3 4}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$4$}}}} H^{ - 2}$$
(6)
Fig. 7
figure 7

MR of (a) pure PANI, (b) 20.0 wt% Fe3O4/PANI, and (c) 20.0 wt% CoFe2O4/PANI at 290 K

Then, the density of states at the Fermi level N(EF) for all the samples can be calculated from Eq. 7 [30]:

$$N(E_{{\text{F}}} ) = 24/[\pi k_{{\text{B}}} T_{0} a_{0}^{3} ]$$
(7)

The obtained N(EF) is summarized in Table 2 as well. Generally, the higher N(EF), the more hopping probability of charge carriers to hope between the localized states. The average hopping length Rhop can be calculated from Eq. 8 [39]:

$$R_{{{\text{hop}}}} = (3/8)(T_{0} /T)^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 4}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$4$}}}} a_{0}$$
(8)
Table 2 The calculated ao, N(EF), and Rhop for the pure PANI, 20.0 wt% Fe3O4/PANI, and 20.0% CoFe2O4/PANI nanocomposites

The obtained a0, N(EF), and Rhop are summarized in Table 2. For all the samples, the a0 and Rhop decrease with increasing the magnetic field, while the N(EF) increases with increasing the magnetic field. For pure PANI, the charge carrier could hop between the “metallic islands” in the PANI matrix. As a half-metallic ferromagnetic material, Fe3O4 is a promising material to serve as a spin-polarized electron source [47, 48]. In the 20.0 wt% Fe3O4/PANI nanocomposites, the Fe3O4 nanoparticles can form a spin-polarized current under the magnetic field, which increases with increasing the magnetic field strength [43]. Therefore, an increased electrical conductivity should be achieved, and a decreased positive MR is observed in 20.0 wt% Fe3O4/PANI nanocomposites. However, the MR of 20.0 wt% Fe3O4/PANI nanocomposites still increases with increasing magnetic field; this is due to the decreasing of localization length and average hopping length for the charge carrier with increasing magnetic field strength in the PANI matrix. The MR of 20.0 wt% CoFe2O4/PANI nanocomposites is higher than that of 20.0 wt% Fe3O4/PANI nanocomposites, but still lower than that of pure PANI, which may be due to less-generated spin-polarized electrons from CoFe2O4 in comparison with Fe3O4. When the nanoparticle loading further increased to 40.0 wt%, the increased positive MR is achieved in the 40.0 wt% CoFe2O4/PANI nanocomposites, as observed in Fig. S4.

4 Conclusion

The results of SEM, TEM, FT-IR, and XRD indicate that the magnetic PANI nanocomposites have been successfully synthesized. For the samples, the resistivity decreases with increasing temperature exhibiting a semiconducting behavior. And a quasi 3D VRH mechanism is observed in the Fe3O4/PANI and CoFe2O4/PANI through Mott VRH model. The positive MR is observed in all the PANI nanocomposites, and the MR signal is controlled by the type of magnetic particles. For the positive MR, with increasing the magnetic field, the localization length and average hopping distance decrease, while the density of state at Fermi level decreases. The enhanced dielectric property is observed in the magnetic PANI nanocomposites.