Introduction

Constantly growing demand for energy is undoubtedly one of the challenges facing the world nowadays [1, 2]. With the continued growth in demand for energy, there is a pressing need to develop an eco-friendly alternative power source. Emerged among various energy storage technologies, supercapacitors have drawn a great deal of attention from both the industry and the scientific communities. In addition, they are used in various applications such as space ship, hybrid electric vehicles, digital cameras, portable electronic devices, backup power, and so on [3, 4]. Moreover, supercapacitors are capable of combining the characteristics of conventional batteries and capacitors, which allows them to not only possess a relative higher energy density and power density but also have a longer cycle life [5,6,7]. On the basis of the charge storage mechanism, supercapacitors can be split into two categories: (a) electrical double-layer capacitors (EDLCs), which rely on an electrical double-layer generated at the electrode/electrolyte interface for the storage of charge, and (b) pseudocapacitors (PCs), which store energy through redox reaction, i.e. faradic reaction process.

The most promising design is considered to be the combination of carbonaceous materials, conducting polymers and transition metals. Each component is capable of making a significant contribution to the overall performance of supercapacitors. In carbon materials, we used multiwall carbon nanotubes. Carbon nanotubes are thought to be more advantageous than other carbonaceous materials because they can exhibit high aspect ratio, extraordinary mechanical strength, better charge transfer channels, and greater ease to be intertwined to form durable porous materials [8, 9]. However, the specific capacitance of the original carbon nanotubes is notably low (generally < 100 F g−1) [10]. It is noteworthy that the composites derived from using acid-treated nanotubes are capable of higher conductivity, which makes them easier to process without reducing conductivity and it is critical for the effective utilization of their properties. Conducting polymers exhibit large pseudocapacitance and good conductivity, and it has attracted widespread interest as electrode material for supercapacitors [11]. Out of these conducting polymers, polyaniline (PANI) is widely recognized as the most promising electrode material for supercapacitors because of its mechanical flexibility, high conductivity, and chemical stability [12,13,14]. The main disadvantage of using PANI as supercapacitor electrode is manifested in its low life cycle, which is attributed to the fact that it experiences swelling and shrinkage when charged and discharged, thus causing mechanical degradation of the electrode [15,16,17,18]. However, it could be compensated by the synergy of MWCNTs/PANI composites, within which appropriate functional groups could trigger chemical interaction with the PANI chains. In this case, the specific capacitance and stability of PANI can be significantly improved [19, 20]. On this basis, it is clearly indicated that the combination of carbon materials and pseudocapacitor materials could be effective in boosting the electrochemical performance. Iron-nickel alloy is a sort of material that has been widely applied due to its excellent performance and affordable price. Compared with conventional metals such as Fe, Co, and Ni, FeNi3 particles display better thermal stability [21,22,23,24]. Now, the preparation and research on transition metal-doped conducting polymers remain at the exploratory stage. It is believed that the electrochemical performance is improved due to the effective conductive path achieved by MWCNTs and the synergistic effect of various components in ternary composites. From the study on nanocomposites as electrode materials for supercapacitors, we know the FeNi3 possess unique magnetic properties in the Fe-Ni alloys [25]. We conducted tests on the composites synthesized in this experiment for their magnetic properties. Meanwhile, the magnetic properties shown by different composites have also been compared, which are expected to be applied in magnetic and sensing nanodevices.

Herein, a two-step method was used to prepare the MWCNTs/FeNi3/PANI composites. Firstly, the binary MWCNTs/FeNi3 was synthesized during the hydrothermal process with MWCNTs, FeSO4·7H2O, and NiSO4·6H2O taken as the precursors. As a sort of reducing agent, hydrazine hydrate played a crucial role in the process of binary synthesis. Subsequently, PANI was coated on the MWCNTs/FeNi3 surface by using in situ polymerization methods. An investigation was conducted into the structure, morphology, magnetic properties, and electrochemical performance of MWCNTs/FeNi3/PANI. The results of characterization and performance tests indicated a possibility to maximize the synergistic effects of different components through a sensible selection of functional materials and design of appropriate electrode structures [26,27,28]. To the best of our knowledge, there is no scientific report on the electrochemical properties displayed by MWCNTs/FeNi3/PANI nanocomposites.

Experimental

Materials

Multi-walled carbon nanotubes (MWCNTs) were purchased from Shenzhen Nanotech Port Co. Ltd. (Shenzhen, China). The sample has a diameter of 60–80 nm and a length ranging 5–15 μm based on what is specified by the manufacturer.

Hydrazine hydrate (N2H4·H2O), sodium hydroxide (NaOH), concentrated nitric acid (HNO3), concentrated sulfuric acid (H2SO4), and concentrated hydrochloric acid (HCl) were purchased from Recovery Technology Development Co. Ltd. (Tianjin, China). Ferrous sulfate heptahydrate (FeSO4·7H2O) and nickel sulfate hexahydrate (NiSO4·6H2O) were sourced from Ruijin Tianjin Special Chemical Co. Ltd. (Tianjin, China). Cetyltrimethylammonium bromide (CTAB), ammonium persulfate (APS), and aniline (C6H5NH2) were purchased from Tianjin Kemiou Chemical Reagent Co. Ltd. (Tianjin, China). Toluene and ethyl alcohol (C2H5OH) were purchased from Tianyu Auspicious Technology Co. Ltd. (Beijing, China). All water used in my study was distilled water. All the reagents were applied without further purification in advance.

Treatment of MWCNTs

In order to develop oxidation groups such as carboxyl group and hydroxyl group on the surface of carbon nanotubes, acid treatment of MWCNTs was required. A mixed acid with a 3:1 volume ratio of concentrated sulfuric acid to concentrated nitric acid was prepared. The MWCNTs was blended with mixed acid at the ratio of 1:100. The MWCNTs weighing 0.6 g was added into the mixed acid solution and stirred at 60 °C for 6 h. The resulting solution was then washed with distilled water until being neutral. MWCNTs were dried in a vacuum oven at 50 °C for 24 h.

Synthesis of FeNi3 supported on MWCNTs

A total of 0.34 g FeSO4·7H2O, 0.96 g NiSO4·6H2O, and 0.2243 g acidified MWCNTs (the volume fraction of metal compounds to MWCNTs is about 4.66) [29, 30] were gradually added into 30 mL distilled water. In order to disperse the mixture uniformly, ultrasonic treatment was conducted for 40 min. Then, 2 g NaOH was formulated as a solution, and 10 mL hydrazine hydrate as the reducing agent was added into the mixture while being stirred. The mixture was transferred to a Teflon-lined autoclave for reaction at 180 °C for 18 h. Finally, the as-synthesized black product was isolated by filtration, prior to being washed for multiple times with distilled water and 95% of ethanol and dried in a vacuum oven at 50 °C for 24 h.

Synthesis of the MWCNTs/FeNi3/PANI composites

The composites of MWCNTs/FeNi3/PANI with varying mass ratios were synthesized by in situ polymerization. The mass ratios of PANI to MWCNTs/FeNi3 were variable between 10:1, 5:1 and 10:3, and the product signed as MWCNTs/FeNi3/PANI-n, such as MWCNTs/FeNi3/PANI-20 composite, indicated that the mass ratio of PANI to MWCNTs/FeNi3 was 5:1. The preparation process of MWCNTs/FeNi3/PANI-20 composite was as follows. A total of 0.1 g MWCNTs/FeNi3 and 0.5 mL toluene were mixed and sonicated for 40 min. Subsequently, 1.24 g CTAB dissolved in 75 mL distilled water was added to the suspension and treated by ultrasound for 1.5 h. Hydrochloric acid and aniline (0.5 mL) were mixed and then added into the suspension. Then, 2.5 g APS was dissolved into an 11-mL distilled water solution. This APS solution was added drop by drop to the MWCNTs/FeNi3-doped aniline solution. Then, the entire solution was reacted in an ice bath for 4 h. When the polymerization process was completed, the entire solution was filtered and washed for multiple times with distilled water and ethanol, prior to being dried at 50 °C for 24 h. Pure PANI was prepared by the same method without the addition of MWCNTs/FeNi3. Figure 1 illustrates the preparation process for MWCNTs/FeNi3/PANI composites.

Fig. 1
figure 1

Preparation process of MWCNTs/FeNi3/PANI

Characterization

X-ray power diffraction (XRD) patterns were recorded using a Rigaku Electric Company diffractometer with Cu-Kα radiation. Raman spectra were measured using a Raman spectrometer (Jobin Yvon HR 800) at 632.8 nm. The FTIR spectra of pure PANI, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI nanocomposites were performed by using a NEXUS 870 FT-IR (Thermo Nicolet) instrument in the range from 3000 to 500 cm−1. An analysis was conducted of the surface morphology of the composites by scanning electron microscopy (SEM: Hitachi S4800) as well as transmission electron microscopy (TEM: JEOL 2100). By using SSLSSX-100 (Evans Analysis Group LLC) X-ray photoelectron spectrometer as well as monochromatic aluminum Kα excitation radiation (1253.6 eV), the XPS spectra were determined. An investigation was carried out into the magnetic properties by using a vibrating sample magnetometer (Quantum Design VSM).

Electrochemical measurements

Electrochemical studies such as cyclic voltammetry (CV), galvanostatic charge/discharge (GCD), and electrochemical impedance spectroscopy (EIS) were carried out on Chen Hua instrument by using a three-electrode system, where platinum and Hg/HgO electrode were taken as counter and reference electrodes, respectively. The composite was coated onto a nickel foam substrate (1 cm × 1 cm) and taken as the working electrode. KOH solution (6 M) was taken as electrolyte solution to perform electrochemical measurement. The specific capacitance (C, F g−1) of all composites was calculated from GCD curves by using the following equation:

$$ C=\left(I\times \Delta t\right)/\left(m\times \Delta V\right) $$
(1)

where I/m represents the current density in A g−1, Δv is the voltage window, and Δt is the discharge time.

The electrochemical measurements of the assembled symmetric supercapacitor device were performed using a two-electrode system, with the active materials taken as the positive and negative electrodes and polypropylene as a separator. The test was carried out in 6 M KOH electrolyte by using a Land Battery Test System (CT2001A, China). The working electrodes were prepared by the method as mentioned above. All the quality of the electrode materials was controlled about 2 mg cm−2. In the two-electrode system, the specific capacitance, energy density, and power density can be calculated from the GCD curves by using the following equations:

$$ {C}_p=\left(I\times \Delta t\right)/\left(m\times \Delta V\right) $$
(2)
$$ {C}_s=4{C}_p $$
(3)
$$ {E}_p=\left({C}_p\times {\Delta V}^2\right)/7.2 $$
(4)
$$ P=\left(3600\times {E}_p\right)/\Delta t $$
(5)

where Cp (F g−1), Cs (F g−1), Ep (Wh kg−1), and P (W kg−1) denote the total specific capacitance of the assembled symmetric supercapacitor, the specific capacitance of one electrode, as well as the energy density and power density of the symmetric supercapacitor, respectively.

Results and discussion

Figure 2 a presents the XRD patterns of MWCNTs, MWCNTs/FeNi3, pure PANI, and MWCNTs/FeNi3/PANI composites. It can be seen from the figure that the XRD of MWCNTs peak due to the (002) crystalline plane at 2θ value of 26°. Figure 2 a shows the XRD pattern of the MWCNTs/FeNi3 composite, the three characteristic diffraction peaks at 2θ = 44°, 51.3°, and 75.4°, which correspond to Miller indices (111), (200), and (220), respectively, and show the presence of fcc FeNi3 (JCPDS 65-3244). In addition, the peak value of MWCNTs (002) at about 26° still exists. Regarding the pure PANI, the characteristic peaks of PANI at 2θ = 15.6° (011), 20.6° (020), and 25.3° (200) are clearly observed [31]. As demonstrated by the disappearance of the characteristic peaks for MWCNTs/FeNi3 in the XRD patterns of the MWCNTs/FeNi3/PANI, the MWCNTs/FeNi3 is fully interacted with PANI molecules and completely covered by PANI particles. Meanwhile, the characteristic peaks of MWCNTs/FeNi3/PANI are almost similar to that of pure PANI. It means that PANI on the surface of MWCNTs/FeNi3 maintains a similar crystalline order to that of pure PANI. As for the nanocomposites, all the peaks of PANI are presented and no new peak is discovered, suggesting no additional crystalline order in the nanocomposites. The XRD results further evidence the success in deriving MWCNTs/FeNi3/PANI nanocomposites. Figure 2 b shows XRD patterns of pure PANI and MWCNTs/FeNi3/PANI nanocomposites with varying contents of MWCNTs/FeNi3. As indicated by the curves, the characteristic peaks corresponding to the ternary composites bear similarity to pure PANI. The peaks in MWCNTs/FeNi3/PANI are intense as compared to that of pristine pure PANI, which are attributed to the presence of MWCNTs and FeNi3. The diffraction peaks for pure PANI are shown to be weak, suggesting that PANI is in non-crystalline state in the nanocomposites. The presence of non-crystalline PANI weakens the diffraction peaks of FeNi3 on a continued basis. Upon comparison, MWCNTs/FeNi3/PANI-20 is discovered to have a broad crystal peak. Combined with electrochemical characterization, the ratio can lead to a further improvement to crystallinity and conductivity.

Fig. 2
figure 2

a XRD patterns of MWCNTs, MWCNTs/FeNi3, PANI, and MWCNTs/FeNi3/PANI. b XRD patterns of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30

The elemental composition of the MWCNTs/FeNi3/PANI-20 composite is analyzed by EDX (energy-dispersive X-ray spectroscopy), as shown in Fig. 3a. The elemental analysis spectrum demonstrates that C, N, O, Fe, and Ni exist in this composite. The Cu signal comes from the supporting film on the Cu grid. The EDX spectra of all ternary composites are similar, so other samples are not discussed here. Figure 3 b–f shows the element mapping of MWCNTs/FeNi3/PANI-20 composite.

Fig. 3
figure 3

a EDX spectrum of MWCNTs/FeNi3/PANI-20. bf Elemental maps of Fe, Ni, C, N, and O in MWCNTs/FeNi3/PANI-20. All data comes from the selected area in a

Raman spectra are applied to carry out further investigation into the interaction between samples. The Raman spectra of pure PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 are shown in Fig. 4, which reveals pure PANI and ternary composites exhibit two typical bands, including strong D band and weak G band. Normally, the D band (1330 cm−1) is associated with the structural defect, whereas the G band (1560 cm−1) represents the in-plane vibration of sp2 carbon atoms [32]. The ratios of D to G bands (ID/IG) reflect the extent of structural defect. The ID/IG ratios of pure PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 are 1.21, 1.24, 1.43, and 1.52, respectively. Among them, the defect density of ternary composites gradually rose with the increasing in the amount of MWCNTs/FeNi3 [33]. Hereby, the peak of the ternary composites becomes sharper than pure PANI, which is primarily attributed to the π-π* electron interaction between PANI and MWCNTs [34].

Fig. 4
figure 4

Raman spectra of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30

Figure 5 clearly demonstrates the FT-IR spectra of PANI, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI-20 nanocomposites. The FTIR peaks of pure PANI exhibit quinoid and benzenoid stretching vibration around 1571 cm−1 and 1490 cm−1, respectively. In MWCNTs/FeNi3/PANI-20, these two peaks shift to 1569 cm−1 and 1485 cm−1, indicating that the proton-induced spin unpairing mechanism leads to a higher charge delocalization [35]. The C–N stretching vibration at 1296 cm−1 of pure PANI is observed to shift in ternary composite to 1294 cm−1. The peak at 1136 cm−1 of pure PANI corresponds to the N = Q = N (Q denotes quinoid) stretching, shifting to 1128 cm−1 in the MWCNTs/FeNi3/PANI-20 composite [36]. The peak at 798 cm−1 for pure PANI and at 796 cm−1 for the MWCNTs/FeNi3/PANI-20 composite indicates the C–H out of plane bending vibration. All pure PANI characteristic peaks are exhibited in MWCNTs/FeNi3/PANI-20 composite with a shift of peaks. These shifting peaks indicate the structural changes in the polymer backbone during doping process and also signifies the interaction between MWCNTs/FeNi3 and PANI.

Fig. 5
figure 5

FT-IR spectra of PANI, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI-20

An analysis is conducted of the surface composition of MWCNTs/FeNi3 composite with X-ray photoelectron spectroscopy. Figure 6 a shows the survey spectrum of MWCNTs/FeNi3. The characteristic peaks of C1s, N1s, O1s, Fe2p, and Ni2p elements can be easily identified among the full spectrum. The mass concentrations of the elements present in the MWCNTs/FeNi3 composite are 38.56%, 2.64%, 20.36%, 9.33% and 29.11% for C, N, O, Fe, and Ni, respectively. No other impurities are introduced. As for MWCNTs/FeNi3, the high-resolution C1s spectrum (Fig. 6b) is divided into three components corresponding to carbon atoms in different functional groups: C–C (sp2 carbon), C–N, and O-C=O, and the binding energies are 284.4 eV, 285 eV, and 288.1 eV, respectively. Figure 6 c, d represents the XPS spectra of Fe2p and Ni2p, respectively. The Fe2p level with binding energy peaks of 711.1 and 724.5 eV are attributed to Fe2p3/2 and Fe2p1/2, respectively. The binding energy of core level at 855.6 eV and 873.8 eV are Ni2p3/2 and Ni2p1/2, respectively.

Fig. 6
figure 6

XPS spectra of a survey spectrum of MWCNTs/FeNi3, b C1s XPS spectrum of MWCNTs/FeNi3, c Fe2p, and d Ni2p XPS spectra of the as-prepared MWCNTs/FeNi3

As revealed by the SEM image of a typical MWCNTs/FeNi3 sample, the FeNi3 nanoparticles are uniformly attached to MWCNTs. Figure 7 b presents TEM image of MWCNTs/FeNi3 with a magnification higher than that of Fig. 7a. The morphologies of nanoparticles and MWCNTs are clearly observed and the FeNi3 particles show a sphere appearance. The deposition of nanoparticles uniformly attached to MWCNTs is contributed to by the functional sites on the surface of MWCNTs which are developed as the result of the mixed acid oxidation treatment. Figure 7 c–f shows the SEM images of pure PANI and MWCNTs/FeNi3/PANI composites with varying contents of MWCNTs/FeNi3. Figure 7 c presents the SEM image of pure PANI. Figure 7 d–f indicates the formation of a virgulate-like structure, suggesting that the surface of MWCNTs/FeNi3 is completely covered by PANI. This morphology is capable of improving the electrochemical performance of the ternary composites. From these images, it can be judged that the presence of MWCNTs in the reaction system exerts a substantial influence on the morphology of PANI. In addition, MWCNTs can be applied as a conductive material and a conductive network could be constructed. The uniform MWCNTs, coating ensures a more desirable synergistic effect, thus assisting the composites to exhibit superior electrode material properties.

Fig. 7
figure 7

a SEM image and b TEM image of MWCNTs/FeNi3. SEM images of c PANI, d MWCNTs/FeNi3/PANI-10, e MWCNTs/FeNi3/PANI-20, and f MWCNTs/FeNi3/PANI-30

In order to validate the electrochemical performance of pure PANI and MWCNTs/FeNi3/PANI composites, CV analysis is performed. The CV displays 0–0.8 v in the potential window. Figure 8 a shows the CV curves of pure PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 at a scan rate of 200 mV s−1. The CV curves exhibit apparent redox peaks, which are largely attributed to the leucoemeraldine/emeraldine and emeraldine/pernigraniline redox reactions of PANI. As revealed by the figure, pure PANI and ternary composites have the identical type of peaks, except that some shifting occurs. This peak shift results from the electrode resistance. Generally speaking, the specific capacitance is proportional to the area of their CV curve. As shown by the figure, the CV area of all ternary composites is larger than pure PANI, which suggests the ternary composites exhibit more pseudocapacitance when MWCNTs/FeNi3 is added. Moreover, the CV area of MWCNTs/FeNi3/PANI-20 composite is found to be larger than that of other ternary composites. The results show that the synergistic effects of the MWCNTs, FeNi3, and PANI result in better contact among all the components. Figure 8 b presents the CV curves of MWCNTs/FeNi3/PANI-20 ternary composite at varying scanning rates. The redox current increases with the increasing scan rates and shows an excellent rate capability. The overall shape of MWCNTs/FeNi3/PANI-20 composite is similar at different scanning rates, suggesting that the electrode material has a desirable reversibility. Based on this, the electrochemical performance of the ternary composite is considered as ideal.

Fig. 8
figure 8

a CV curves of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 at 200 mV s−1. b CV curves of MWCNTs/FeNi3/PANI-20 nanocomposite at different scanning rates. All data are obtained under the three-electrode testing system

To ensure a better evaluation of the electrochemical performance of the electrode materials, the galvanostatic charge/discharge method is applied. Figure 9 a presents the galvanostatic charge/discharge curves of pure PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 composites at 1 A g−1 current density. With the use of Eq. (1), the specific capacitance values of pure PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 at 1 A g−1 current density are calculated to be 122.5, 246.3, 356.2, and 321.8 F g−1, respectively. As demonstrated by the data, the specific capacitance of the ternary composites is higher than that of pure PANI, indicating that the synergistic effect between MWCNTs/FeNi3 and PANI are crucial to improving the specific capacitance performance. Meanwhile, the specific capacitance of the MWCNTs/FeNi3/PANI-20 is higher than that of other ternary compositesl the best performance is achieved and conforming to the CV results. Figure 9 b shows the GCD curves of the MWCNTs/FeNi3/PANI-20 at the current densities of 0.5, 1, 2, 3, 5, and 10 A g−1. As the current density is raised, the discharge time of the ternary composites is reduced, causing the specific capacitance value to be lower. The specific capacitance values of the MWCNTs/FeNi3/PANI-20 nanocomposite is 398.1, 356.2, 295.0, 243.8, 212.5, and 178.7 F g−1 at the current density of 0.5, 1, 2, 3, 5, and 10 A g−1, respectively. The specific capacitance changes with current density as shown in Fig. 9c, which suggests the composite is capable of excellent capacitive behavior and charge/discharge performance. A comparison is performed between the specific capacitance values calculated from the GCD curves and the electrochemical performance of PANI-based materials reported previously, as shown in Table 1.

Fig. 9
figure 9

a GCD curves of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20 and MWCNTs/FeNi3/PANI-30 at 1 A g−1. b GCD curves of MWCNTs/FeNi3/PANI-20 at different current densities. c Specific capacitance of MWCNTs/FeNi3/PANI-20 with different current densities. d Cycle test of the MWCNTs/FeNi3/PANI-20 electrode at 50 mV s−1. e EIS curves of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30. f Equivalent circuit used for fitting the Nyquist plot. All data are obtained under the three-electrode testing system

Table 1 Comparison of the specific capacitance of the reported PANI-based electrodes and the similar work

Regarding supercapacitors, the cyclic stability of electrode materials is known as a significant part of its practical application. Figure 9 d shows the graph of cycle times of the MWCNTs/FeNi3/PANI-20 composite at a scanning rate of 50 mV s−1. The results reveal a sharp decline in the specific capacitance of the composite during the initial cycles; however, this phenomenon does not occur with the increasing of cycle times. The fast-paced decrease in the initial specific capacitance can be attributed to the degradation of PANI, which results from swelling and shrinkage of the polymers during the charge/discharge process. This leads to the deterioration in cycle stability. Owing to the combination of MWCNTs/FeNi3 and PANI, the mechanical strength of the composite is improved, and it is conducive to enhance the electrochemical stability. After 2000 cycles, the specific capacitance retention of the MWCNTs/FeNi3/PANI-20 composite is 88.4%, suggesting a long-term electrochemical stability.

EIS spectroscopy is used to assist with the analysis of the resistance information about electrode materials. The impedance measurements are performed in the frequency range of 0.01–1 × 105 Hz. For the composites, the Nyquist plot is represented in Fig. 9e after fitting with an equivalent electrical circuit, with the circuit illustrated in Fig. 9f. The Nyquist plot consists of two parts, including a semicircle in the high-frequency region and a straight line in the low-frequency region. The semicircle diameter denotes the charge transfer resistance (Rct) of the composites. In accordance with the figure, a conclusion can be drawn that the MWCNTs/FeNi3/PANI-20 composite is the smallest semicircle diameter. A smaller diameter of the semicircle leads to a better charge transfer performance that can be achieved with the increase in the available surface area. According to the fitted Nyquist plot, the charge transfer resistances of PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 are 0.97 Ω, 0.50 Ω, 0.31 Ω, and 0.39 Ω, respectively. The intuitive Rct values illustrate the advantages of MWCNTs/FeNi3/PANI-20. Moreover, the solution resistance (Rs) is obtained by the intercepts of the curves with the X-axis. The solution resistances of 0.57 Ω, 0.54 Ω, 0.46 Ω, and 0.51 Ω are obtained for PANI, MWCNTs/FeNi3/PANI-10, MWCNTs/FeNi3/PANI-20, and MWCNTs/FeNi3/PANI-30 nanocomposites, respectively. The lowest Rs value of MWCNTs/FeNi3/PANI-20 improves its superior conductivity and specific capacitance. The presence of a more vertical line indicates that the composite has better electrochemical behavior. At low-frequency region, the slope of MWCNTs/FeNi3/PANI-20 is larger than that of other composites, which suggests the excellent capacitance behavior of the MWCNTs/FeNi3/PANI-20 composite. The time constant is another important indicator for the evaluation of the charge/discharge time of supercapacitors. Composites with low time constant is the first choice for supercapacitor electrode materials [38, 45]. The obtained time constant of MWCNTs/FeNi3/PANI-20 is 2.84 s, which is lower than PANI (5.56 s), MWCNTs/FeNi3/PANI-10 (4.19 s), and MWCNTs/FeNi3/PANI-30 (3.43 s), indicating that MWCNTs/FeNi3/PANI-20 exhibits better fast-charge/discharge properties. Therefore, it concludes that the addition of MWCNTs/FeNi3 can effectively improve the electrochemical performance of PANI.

To conduct an in-depth investigation into the electrochemical performance of MWCNTs/FeNi3/PANI-20 composite, a symmetric supercapacitor is assembled and tested by the two-electrode system in 6 M KOH electrolyte (Fig. 10a). Figure 10 b shows the GCD curves of the MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20 at different current densities. According to these GCD curves, the total specific capacitance values in the two-electrode setup can be calculated by the Eq. (2) as 65.7 F g−1 (1 A g−1), 60.2 F g−1 (2 A g−1), 54.6 F g−1 (3 A g−1), 48 F g−1 (5 A g−1), 43.4 F g−1 (7 A g−1), and 40 F g−1 (10 A g−1), respectively. When the current density increases from 1 to 10 A g−1, the capacitance is shown to remain 60.8% of the initial value (Fig. 10c), indicating the composite has excellent rate capability. Figure 10 d depicts the corresponding Ragone plot of the symmetric supercapacitor at different current densities. When the power density is 500 W kg−1, the energy density is up to 9.1 Wh kg−1, and when the energy density drops to 5.6 Wh kg−1, the power density is 5004 W h kg−1. Concerning the comprehensive performance of power and energy densities, the composite is found to be superior to the previous results as reported, for instance RGO/UCNTs/PANI//RGO/UCNTs/PANI SC (6.6 Wh kg−1 at 1957.7 W kg−1) [33], CNFs/PANI//CNFs/PANI SC (4.5 Wh kg−1 at 103 W kg−1) [46], TCPs/PANI//TCPs/PANI SC (5.8 Wh kg−1 at 530 W kg−1) [47], etc. Figure 10 e shows the capacitance retention of composite at a constant current density of 5 A g−1 with 2000 charge/discharge cycles. After continuous charging-discharging cycles, the capacitance retention of the ternary composite reaches about 80.9%, further demonstrating its high rate performance and excellent long-term stability.

Fig. 10
figure 10

a Schematic illustration of the assembled structure of the MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20. b GCD curves of MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20 at different current densities. c Rate capability at different current densities. d Ragone plot of the MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20 supercapacitor. e Cycling performance of the MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20 supercapacitor at a current density of 5 A g−1. All data are obtained under the two-electrode testing system

The magnetic properties of FeNi3, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI-20 nanocomposites are characterized by vibrating sample magnetometer (VSM) at room temperature, as shown in Fig. 11. Because of FeNi3 nanoalloy possesses typical soft magnetic characteristics, its magnetic hysteresis loop resembles S-like. According to the M-H curves, the nanocomposites containing FeNi3 particles demonstrate ferromagnetic behavior. The saturation magnetization values of FeNi3, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI-20 are 3.39, 2.29, and 0.0056 Nβ, respectively. Therefore, this study confirms that the synthesized binary and ternary composites continue to possess acceptable magnetic properties, which means that nanocomposites are capable of quick response to the external magnetic field and have a certain degree of dispersion.

Fig. 11
figure 11

Magnetization curves of FeNi3, MWCNTs/FeNi3, and MWCNTs/FeNi3/PANI-20

Conclusions

In summary, MWCNTs/FeNi3/PANI nanocomposites had been synthesized by in situ polymerization method. Due to the synergistic effect of the three components, the ternary composites exhibit superior electrochemical performance to pure PANI. Spectroscopic results revealed the interaction among MWCNTs, FeNi3 and PANI. The uniform coating of PANI on the surface of MWCNTs/FeNi3 was analyzed by SEM and TEM. VSM demonstrated that different nanocomposites remain in possession of certain magnetic properties. The MWCNTs/FeNi3/PANI-20 nanocomposite achieved a specific capacitance of 398.1 F g−1 when the current density was 0.5 A g−1. The ternary composite maintained 88.4% specific capacitance following 2000 charge/discharge cycles. Meanwhile, the as-assembled MWCNTs/FeNi3/PANI-20//MWCNTs/FeNi3/PANI-20 symmetric supercapacitor also displayed a high energy density (9.1 Wh kg−1 at a power density of 500 W kg−1) and an excellent electrochemical stability (80.9% capacitance retention after 2000 charge/discharge cycles). Therefore, the MWCNTs/FeNi3/PANI composites can be viewed as a sort of desirable electrode materials for supercapacitors.