1 Introduction

Heavy metal and toxic element contamination are an emergent issue affecting all living organisms throughout the world. The elimination of non-biodegradable toxic metals such as cadmium (Cd2+), chromium (Cr6+), mercury (Hg2+), cobalt (Co2+), lead (Pb2+), ions using metal plating, tannery, mining, dyeing, printing, pigment, lead smelters, and chemical manufacturing industries causes for environmental and water pollution [1]. In general, Chromium exists in the environment as two forms viz, trivalent and hexavalent forms. The chromium (III) is most important to nutrition conserving glucose levels and risk genotoxicity leads to cancer in human and living organisms. Nature of Chromium (VI) is chronic disorders, mutagenic, teratogenic and toxic against animals and human beings [2]. There are different treatment methods as already available to eliminate the toxic chromium ion such as crystallization, ultrafiltration, reverse osmosis, electro-dialysis, photocatalysis, ion exchange, adsorption, biosorption, and chemical precipitation [3].

Nowadays, nanotechnology produced different types of materials at the nanoscale level which have less than 100 nm [4]. Various multi-responsive magnetic nanocomposites a widely applicable in a numerable sector such as chemical engineering, manufacturing, detection of proteins biotechnology, biomagnetic separations, cosmetics, aquaculture technology, energy electronics, biopesticides, biosensors, anticorrosion, electromagnetic device applications and agriculture and plant sciences [5].

The conducting polymeric chain has shown different properties such as metallic, electronic, magnetic and optical properties which is due to π-conjugation. In 1976 a significant property has also been observed in polyacetylene [6]. The bifunctional polymer of polyaniline presence of the:NH2 (amine) and NH+ (imine) functional groups acting the excellent backbone used as chromium (III) and (VI) ions elimination of contaminated wastewater [7]. Polyaniline doped with sulfuric acid and Fe3O4@polyaniline/manganese dioxide composite using the removal of Cr(VI) metal ion [8, 9]. The PANI coated magnetite NCs and bacterial cellulose mat adsorbent material used exclusion Pb(II) and chromium ion real samples have been studied [10, 11].

Itaconic acid (IA) is a water-soluble white crystalline in nature. The presence of the unsaturated dicarboxylic multifunctional group in the IA has been helped to facilitate the hydrogen bonds with other side ionisable groups [12]. The soluble and conducting polyaniline–poly(itaconic acid) and gold nanoparticles anchored IA based nanocomposite have also been prepared by the chemical polymerization method [13, 14]. The dye adsorption of Poly(AA-co-IA) Hybrid nanocomposites are investigated by isotherm, thermodynamic and kinetic studies [15].

Various kinds of magnetic nanoparticles (MNPs) and their magnetic nanocomposites (MNCs) have been synthesized and used for high chemical stability, nontoxicity, and capacity. Many numbers of studies have been already carried out on MNCs such as; Protein digestion has also been mentioned PANI coated nano-Fe3O4/ CNTs composite [16], magnetic, conductive activities, and catalytic effect of iron oxide NPs and PANI/magnetite NCs [17], LPG and CO2 sensing applications has also been dealed with nanorods of zinc ferrite thin films at room temperature [18], Polyaniline–Fe3O4 magnetic nanocomposite has been removed for acid violet 19 dye [19], magnetic properties and gas sensing applications of ZnxCu1−xFe2O4 nanocomposites were also been examined via sol–gel method [20], multi-responsive applications of polyaniline@Almond shell bio composite [21], and reactive elimination of dye and magnetic separation properties were studied in superparamagnetic graphene based PANI/Fe3O4 and starch based MMT/PANI nanocomposite [22, 23]. Singh et al. also noticed the cobalt ferrite and ferric oxide for magnetic measurements and liquefied petroleum gas sensing behaviors applications [24].

These methods are an affordable and high cost for layer scale treatment for wastewater rich in Cr(VI). Adsorption using the PANI-IA-Fe3O4 magnetic nanocomposite is an efficient technique for the removal of the factory and industrial wastewater contamination of Cr(VI) and well fitted as compared to other techniques. The preparation method and commercial nanocomposite adsorbent are higher which makes the adsorption methodology costly. This kind of point indicates that the simple, convenient, and excellent adsorbent material of the chromium mixed industrial wastewater was desired for the present environmental and world problem.

In the present studies, as focused on the fabrication of Fe3O4@PANI/IA magnetic nanocomposite with different characterization. The type of magnetic nanocomposite is acted a competent adsorbent material for the chromium (VI) ion removal in industrial wastewater. The fabricated nanocomposite was characterized by different technique viz, FT-IR spectra, SEM, TEM, Energy-dispersive X-ray spectroscopy (EDS), thermogravimetric (TGA/DTA) and X-ray diffraction (XRD) analysis and VSM studies. The Fe3O4@PANI/IA magnetic nanocomposite has also performed by Langmuir adsorption and Freundlich adsorption isotherm. Several adsorption issues were examined the effect of pH, concentration, contact time, and dosage. The magnetic nanocomposite for adsorption isotherms dynamic to examine an involves of chromium removal from tannery wastewater.

2 Experimental

2.1 Chemicals

Aniline (ANI), Potassium dichromate (K2Cr2O7) are obtained from Aldrich (India). Itaconic acid (Merck, India), Anhydrous FeCl3 (SISCO, India), hydrochloric acid, ammonia (25% solution), sodium hydroxide, and Ethanol were purchased from Sigma Aldrich chemicals.

2.1.1 Heavy Metals

Potassium dichromate (K2Cr2O7) 0.0023 mol was dissolved in 500 mL of distilled water to prepare stock solution 1000 mg L−1 of chromium (VI). The subsequent dilution stock solution through required concentrations was prepared chromium (VI) solution used for all experiments 100 mg L−1.

2.1.2 Sample of Industrial Wastewater

The wastewater collected from various tannery industries nearby Ranipet, Vellore district, Tamil Nadu, India. The wastewater contains toxic dyes viz., Azo dyes, methyl orange, methylene blue and light green which causes harmful effects to humans and the environment. The development of Fe3O4@PANI/IA MNCs followed by its Cr(VI) adsorption has been shown in Scheme 1.

Scheme 1.
scheme 1

shows the development of Fe3O4@PANI/IA magnetic nanocomposite followed by its Cr(VI) adsorption

2.2 Methods

2.2.1 Preparation of PANI

Initially, 0.03 mol of aniline (ANI) monomer was dissolved in 0.1 M hydrochloric acid solution in a beaker and 0.03 mol of anhydrous Iron(III) chloride were dissolved in distilled water and added dropwise to aniline solution was stirred for 5 h keep maintain temperature 0–5 °C. The product was filtered, washed more than a few times with distilled water ensue via ethanol and 24 h dried sample in the oven at 50 °C.

2.2.2 Preparation of Fe3O4@Polyaniline (PANI)/Itaconic Acid (IA) Magnetic Nanocomposite

To homogenize compounds were obtained and Itaconic acid (0.02 mol) was mixed to double distilled water (50 mL) with continuous stirring for 30 min and added aniline (ANI) monomer (0.02 mol) by the resulting solution was stirred for 1 h. In an ice bath, 0.04 mol of anhydrous Iron(III) chloride was put into the combination with uniform mechanical stirring overnight and mixture gradually sodium hydroxide solution at 10 °C. The washing product through double distilled water followed by ethanol and 24hrs dried nanocomposite in a vacuum oven at 50 °C. This magnetic nanocomposite was included in 50 mL of 0.5 M Ammonium hydroxide (NH4 OH) for entire deprotonation and sample dried at room temperature 48 h used for characterization. Table 1 has been showed the feed composition of Fe3O4@PANI/IA nanocomposites.

Table 1 Stoichiometric quantities and physical exterior of Fe3O4@PANI/IA magnetic nanocomposites based on ANI, IA and FeCl3 (unit: mol)

3 Characterization

FT-IR spectrometer was measured by Alpha Bruker-2009 spectrum recorded over the wavelength region 400–4000 cm−1. X-ray powder diffraction of polyaniline based magnetic nanocomposite measured using Bruker AXS D8 Advance powder diffractometer with Cu Kα radiation. Thermal stability was measured through the SDT Q600 model TG/DTA in the temperature range of 1200 °C. The UV–visible spectrophotometer was recorded on 200–800 nm by using (Double beam Shimadzu UV-2550) and pH meter adjusted at (pH 1–10) with appropriate buffer solutions. The morphology of Fe3O4@PANI/IA magnetic nanocomposite is observed using SEM (scanning electron microscope) the JSM-6701S at 0.3–30 kV and TEM and EDS analysis Model of FEI-TECNAI G2-20 TWIN with LaB6 filament at 200 kV. Magnetic properties of the Fe3O4@PANI/IA magnetic nanocomposite were measured using a VSM with Lake Shore 7404.

3.1 Adsorption Experiments

Magnetic nanocomposite Fe3O4@PANI/IA elimination of Cr(VI) from wastewater used as adsorption studies by batch experiment method. The different parameters such as 0.2–1.0 g (dosage), 10–1000 mL (volume), 1−10 (pH) and 15–180 min (contact time) have been studied. A K2Cr2O7 (potassium dichromate) stock solution was taken in an Erlenmeyer flask [25]. The different concentration of chromium (VI) ion stock solution is prepared by the dilution method. A specific amount of magnetic nanocomposite (MNCs) added to 50 mL of concentration of chromium solution in water bath shaker for the time interval for all batch experiments are studied. The UV–Visible spectra characterized by remaining chromium (VI) and solution were making alkaline at pH ≥ 12 end of each adsorption experiment [26]. UV–Visible spectrophotometer is analysed potassium dichromate samples was prepared and each concentration of absorption is measured at λmax 372 nm. The calculated using Eq. (1) of chromium (VI) removal percentage represented as

$$\% {\text{ Removal}} = \frac{{\left( {C_{{\text{o}}} - C_{{\text{e}}} } \right)}}{{C_{{\text{o}}} }} \times 100$$
(1)

The following Eq. (2) was utilized to calculate the equilibrium sorption capacity.

Sorption capacity

$${\text{q}}_{{\text{e}}} = \frac{{\left( {{\text{C}}_{{\text{o}}} - {\text{C}}_{{\text{e}}} } \right){\text{v}}}}{{\text{m}}}$$
(2)

where, C0 and Ce denote initial concentrations and a final concentration of Cr(VI) in (mg L−1), qe is the adsorption capacity of nanocomposite in (mg) of adsorbate chromium (VI) per grams of adsorbent Fe3O4@PANI/IA NCs. V is the volume of solution containing chromium (VI) (m3) and m—weight of adsorbent NCs (Fe3O4@PANI/IA) (g).

3.2 Adsorption Isotherms

The isotherm of adsorption of Cr(VI) in the Fe3O4@PANI/IA MNCs has been investigated. Adsorption isotherm models of Langmuir adsorption isotherm and Freundlich adsorption isotherm were explained by the interaction between adsorbed chromium (VI) and its concentration in solution under equilibrium condition.

3.2.1 Langmuir Adsorption Isotherm

In general, the linear form of Langmuir adsorption isotherm followed by Eqs. (3)

$$\frac{{{\text{C}}_{{\text{e}}} }}{{{\text{q}}_{{\text{e}}} }} = \frac{{{\text{C}}_{{\text{e}}} }}{{{\text{Q}}_{{\text{o}}} }} + \frac{1}{{{\text{Q}}_{{\text{o}}} {\text{b}}}}$$
(3)

where, Ce is the equilibrium concentration of metal ion (mg L−1), qe is the quantity of metal ion adsorbed per unit weight of sorbent (mg g−1), Q0 (mg g−1) and b (L mg−1) are Langmuir isotherm constants related to adsorption capacity [27].

3.2.2 Freundlich Adsorption Isotherm

The Eq. (4) is a linear form of Freundlich adsorption isotherm described a given below,

$$\log {\text{q}}_{{\text{e}}} = \log {\text{K}}_{{\text{f}}} + \frac{1}{{\text{n}}}\log {\text{C}}_{{\text{e}}}$$
(4)

where Kf and n Freundlich constants and indicates the favourably conditions for adsorption magnitude of the promoter 1/n lies between (0 and 1). The temperature increases with an increase in Kf values as an endothermic nature of the adsorption process [27].

3.2.3 Desorption and Regeneration Experiments

The adsorbents regeneration and reusable test conducted to desorption media for removal of chromium (VI) batch experiments. Adsorbent materials (1 g) added to 50 mL of chromium (VI) ions solution of the initial concentration of 300 mg L−1 for 3 h, at pH 2–4 with study of desorption and effluent of industrial heavy metal ion and organic dye specific impurity was examined. After the adsorption process, desorption of metal ion from Fe3O4@PANI/IA was accomplished by treated nanocomposite (1 M HCl and 1 M NaOH) and after adsorbent washed with double distilled water. Correspondingly, to determine the reusability of Fe3O4@PANI/IA MNCs for elimination chromium (VI) used to adsorption and desorption process repeated in batch experiments.

4 Results and Discussion

4.1 FT-IR Spectra Analysis

Figure 1. has been shown the FTIR spectrum of (a) polyaniline (PANI), (b) itaconic acid (IA), a polymeric magnetic nanocomposite of (c) A2I2F4, (d) A1I3F4, (e) A3I1F4. PANI absorption peaks at 1555 cm−1 and 1448 cm−1, 1317 cm−1 and 1220 cm−1, 1092 cm−1 and 852 cm−1 relates C=C stretching of quinonoid and benzenoid, C–N stretching vibration, C–H bending stretching vibrations of in-plane and out plane respectively (Fig. 1a) [28, 29]. The peak around 3010 cm–1 assigned to O–H stretching vibrations of IA and peak at 1686 cm–1, 1430 cm–1 and 1210 cm–1 assigned to C=O, C–O–H in-plane and C–O the stretching vibrations (Fig. 1b).

Fig. 1
figure 1

FTIR spectra of a PANI, b IA, c A2I2F4 d A1I3F4 e A3I1F4 magnetite nanocomposite

The spectrum of A2I2F4 magnetic nanocomposite showed a peak at 3160 cm−1 and 2633 cm−1 interaction between polyaniline and itaconic acid. The new peak observed at 1641 cm−1 and 1688 cm−1 attributed to A2I2F4 magnetic nanocomposite formation which supports the disappearance of peaks (Fig. 1c) [13]. Itaconic acid doped polyaniline has shown the redshift broader shape undoped one sharp two peaks at 1305 cm−1 and 830 cm−1. The absorption peaks at 1579 cm−1, 1398 cm−1, and 1163 cm−1 correspond to quinoid and benzene rings of C–N stretch vibration and a new peak has been absorbed in 1240 cm−1 itaconic acid doped polyaniline NCs [30]. The band at 580 cm−1 and 464 cm−1 observed to the pristine magnetite and new absorption peaks appear at 550 cm−1 and 447 cm−1 of Fe–O bond vibration in Fig. 1c. Shifting of the magnetite peaks has been displayed for the interaction of magnetite through polyaniline/itaconic acid [28]. Similar structural frequencies were also been observed in A1I3F4 (Fig. 1d) and A3I1F4 (Fig. 1e) magnetite nanocomposite supporting our mechanism of fabrication a unique structure of Fe3O4@PANI/IA magnetic nanocomposite.

4.2 X-Ray Diffraction Analysis (XRD)

The magnetic nanocomposite crystallinity has been investigated using the XRD spectra of polyaniline, Fe3O4@PANI/IA magnetic nanocomposite. The (Fig. 2a) characteristic peaks at 2θ of 15.4°, 20.7°, 25.2° and 35.7° corresponding to [011], [100], [110] and [200] crystal planes of polyaniline confirm that PANI is a retentive structure of crystalline [31]. Figure 2b has been shown the diffractogram of the synthesized Fe3O4@PANI/IA MNCs appear two peaks at 14.3° and 33.2° through a distance of 6.2 Å and 2.7 Å, respectively. Polyaniline–itaconic acid–matrix has been indicated the interaction between PANI and PANI-IA [13]. The Fe3O4@PANI/IA MNCs characteristic peaks appeared at 2θ of 15.2°, 21.4°, 32.9°, 42.8°, 53.9°, 57.1°, 64.3° and 84.2° corresponding to [111], [220], [311], [400], [422], [511], [440], and [642], respectively. The corresponding to magnetite (Fe3O4) has noticed as JCPDS number 19–0629 [32].

Fig. 2
figure 2

XRD pattern of a PANI, b Fe3O4@PANI/IA magnetic nanocomposites

4.3 Thermal Analysis (TGA-DTA)

The TGA-DTA curves for Fe3O4@PANI/IA magnetic nanocomposite are presented in Fig. 3. The stage I decomposition of PANI occurs at 40 to 150 °C which is owing to the bounded water molecules is 21.9%. The stage II starting at around 150 to 545 °C almost 10.8% substance weight loss due to degradation backbone of itaconic acid and almost 28.2% weight loss for polyaniline nanocomposite decomposition at 780 °C in stage III. The nanocomposite total weight loss (61.0%) and iron oxide NPs (38.9%) and increase the thermal stability with addition of itaconic acid were used [22, 31, 33]. DTA curve for nanocomposite was observed an endothermic peak (320 to 390 °C) is removal of water molecule and exothermic peak (50 to 120 °C) is crosslinking of a polyaniline-itaconic acid polymeric matrix and sharp endothermic peak noticed at 700 to 720 °C (Fig. 3).

Fig. 3
figure 3

TGA/DTA curves of Fe3O4@PANI/IA magnetic nanocomposite

4.4 Magnetism (VSM) Analysis

VSM analysis used to examine the magnetic properties of Fe3O4@PANI/IA magnetic nanocomposite. Figure 4 has shown the magnetic hysteresis loop of Fe3O4@PANI/IA MNCs at room temperature that confirms the weak paramagnetic properties of materials. The remanence or non-coercive force and linear relationship between applied filed and magnetization through positive (+ ve) slope of materials at room temperature and characteristic of the paramagnetic properties via saturation magnetization of Fe3O4@PANI/IA value were found to be 0.930 emu g−1 examined range of magnetic field (− 25,000 to + 25,000 KOe) in Fig. 4 [18, 34]. The surface morphology of Fe3O4@PANI/IA MNCs nanocomposite magnetization has been reduced due to the surface effect. PANI/IA based nanocomposite of a net magnetization has been reduced due to further reduction and well-known M–H curves performance character of nanocomposites matrix [20, 35].

Fig. 4
figure 4

Magnetization curves of Fe3O4@PANI/IA magnetic nanocomposite

4.5 SEM and TEM Morphologies

The SEM surface morphology of Fe3O4@PANI/IA magnetic nanocomposite has shown in Fig. 5a. This image has been revealing the prepared nanocomposite possess triangle and bar shape of nanostructures (Fe3O4) without aggregation on the polyaniline–itaconic acid matrix through a size of the particle about 5 μm [28, 33]. The above SEM image sizes have well supported the fabrication of nanoparticles within the polymeric matrix surface.

Fig. 5
figure 5

a SEM image of Fe3O4@PANI/IA magnetic nanocomposite, b TEM image of Fe3O4@PANI/IA magnetic nanocomposite, c HRTEM image of Fe3O4@PANI/IA magnetic nanocomposite, d SAED of Fe3O4@PANI/IA magnetic nanocomposite, e EDS images of Fe3O4@PANI/IA magnetic nanocomposite

The TEM image of nanoparticles in Fe3O4@PANI/IA magnetic nanocomposite is presented in Fig. 5b–d. The Iron NPs found that various images of homogeneous distribution in Fig. 5b have shown the dispersion of Fe3O4 with polyaniline–itaconic acid matrix with low aggregation and typical images of HRTEM with high magnification resolution 50 nm at low aggregation (Fig. 5c). The bright circles which explain the crystalline structure of the iron nanoparticles by selected area electron diffraction (SAED) in (Fig. 5d). The obtained TEM images were revealed the formation of nanoparticles in the composites [28, 32].

4.6 EDS Analysis

The EDS spectra of Fe3O4@PANI/IA were used to measure and classify the elemental composition of the inclusion carbon (C), oxygen (O), and iron (Fe) (Fig. 5e). The nanocomposite clarified the distribution of iron NPs inside the PANI-IA matrix by SEM image. Figure 5e has been showed the nanocomposite percentage of iron 4.52%, 90.47% of carbon, 3.81% of oxygen, and 1.20% of copper. The intensity of the iron peak is proportional to the metal concentration of the iron nanocomposite has been confirmed by the iron nanoparticles in the conducting polymeric network.

4.7 Batch Experiments

The Chromium (VI) ion removal adsorption process was done by batch experiments and calibrated curves were plotted with various concentrations of Cr(VI) ion solution. To determine the optimum condition with various parameters were presented in Fig. 7.

4.8 Adsorption isotherms

Figure 6a, b have shown in the adsorption studies were using Freundlich and Langmuir adsorption isotherms plotted to the experimental data were studied. Freundlich limits Kf (intercept) and n (slope) have mentioned as a value (n = 0.925) found after the graph are less than unity and signifying taking place of physisorption and graph plotted log qe versus log Ce. Low n value proposes a low affinity among the Cr(VI)ion adsorbate and Fe3O4@PANI/IA MNCs adsorbent. Langmuir adsorption isotherm excellent results found that sorption studies proposed through the value of regression R2 = 0.968 were studied and a graph plotted between 1/Ce versus 1/qe. The Cr(VI) removal of magnetic nanocomposite of Fe3O4@PANI/IA obtained maximum adsorption capacity (Q0) is 218 mg g−1. Table 2. has been shown on the Langmuir and Freundlich adsorption isotherms value. The type of adsorbent material has been mostly used for dye and toxic heavy metal ion removal applications [11]. The chromium (VI) ions removal using several adsorbents was described in given Table. 3. The Fe3O4@PANI/IA MNCs obtained adsorption capacity is significantly greater than other adsorbents. Moreover, it required cheap and less time duration to attain equilibrium of chromium (VI) removal MNCs and results are measured adsorbent used for chromium ion removal for industrial wastewater.

Fig. 6
figure 6

a Freundlich adsorption isotherm of Cr(VI) by Fe3O4@PANI/IA magnetic nanocomposite, b Langmuir adsorption isotherm of Cr(VI) by Fe3O4@PANI/IA magnetic nanocomposite

Table 2 Freundlich and Langmuir adsorption isotherm parameters of Fe3O4@PANI/IA magnetic nanocomposite for the removal of Cr(VI) ions
Table 3 Comparison of room temperature adsorption capacity and equilibrium time for the Fe3O4@PANI/IA magnetic nanocomposite with different adsorbents reported in the literature

4.9 Adsorption Study

Chromium ion removal of the adsorption process using different parameters of pH, dosage, concentration, and contact time. The magnetic nanocomposite of Fe3O4@PANI/IA on the adsorption process is shown in Fig. 7.

Fig. 7
figure 7

Adsorption studies with Fe3O4@PANI/IA magnetic nanocomposite

4.9.1 Effect of pH

The consequence pH of chromium (VI) ion solution shows a vital character in the adsorption process. This surface charge and protonation functional groups on acted an adsorbent and adsorbate were absorbing chromium ions. Figure 8a has been displayed on the adsorption behavior of chromium (VI) in various pH of the solution has been studied from pH 2 to pH 10 by Fe3O4@PANI/IA magnetic nanocomposite. However, sorption study on the chromium (VI) by PANI based MNCs has been examined more 75–100 mg g−1 an acidic medium of pH 2–6 and alkaline medium of pH 8–10 and removal of dichromate (Cr2O72–) lesser pH levels of chromium (VI).

Fig. 8
figure 8

a Effect of pH, b Adsorbent dose, c Contact time and d Chromium concentration on adsorption process of Cr (VI) by Fe3O4@PANI/IA magnetic nanocomposite

Adsorbent reaches a positive charge due to amine groups protonation of Fe3O4@PANI/IA magnetic nanocomposite. It removes dichromate (Cr2O72–) anions with electrostatic attraction. The Acidic pH of polyaniline presence in Fe3O4@PANI/IA magnetic nanocomposite attains its condensed naturally electrons transfer through chromium (VI) ions. The Comparable, trends have also been observed in PANI/PVA and Polyaniline/humic acid nanocomposite by removal of Cr(VI) sorption capacity high at acidic region and occurrence of oxygen and nitrogen atom adsorbed chromium (VI) reduced to low poisonous chromium (III) ions [42]. A competition occurred between the Cr2O72− ions and OH ions on the sorption positions of the adsorbent surface found that lower at higher pH. The dissolution amphoteric solid occurred in the low and high pH 2–10 and iron oxide solubility of adsorbents aqueous solution value seeing. Among, the activity of magnetite mostly dissolves greater than iron (III)oxide due to iron (II) oxide. The dissolved iron (III) oxides leftovers less (11−4 mol dm3) between pH (2–10) and so neglected in the pH range of adsorption on magnetite examined [43].

4.9.2 Effect of Adsorbent Dose

Figure 8b. has been shown on the different adsorbent dosage ranging (0.2–1.0 g) used to Fe3O4@PANI/IA magnetic nanocomposite and adsorption of chromium (VI) solution enhanced through the increase of MNCs dosage because available of adsorption sites is very high and removal percentage has been increased from 38 to 93% at a dose of 0.2–1.0 g. The adsorbent 1.0 g was initiate optimal dosage of chromium (VI) ions removal 93% [8]. Hence, more than 99% of removal chromium (VI) ion attained via synthetic Fe3O4@PANI/IA magnetic nanocomposite.

4.9.3 Effect of Contact Time

The increases with the increase retention time an adsorption is a removal of chromium (VI) in the magnetic nanocomposite have been carried out for the various time intervals of 15–180 min [8]. Removal percentage of chromium (VI) gradually increases with time 15–60 min. The effectively 60 min more than 92% were removed by the adsorption process thereafter it becomes increases gradually and also discussed by Jahan et al. (Fig. 8c) [11]. However, the range equilibrium in chromium (VI) sorption on polyaniline based humic acid and chitosan nanocomposite has been required at 120–240 min [42, 44]. This type of MNCs used to remove toxic metal ion from wastewater by quickly and its attained adsorption equilibrium much less retention time at 60 min. Further mixing of polyitaconic acid (PIA) is increasing sorption capacity left out altering the sorption model on polyaniline.

4.9.4 Effect of Concentration

The adsorption properties of different concentrations of Fe3O4@PANI/IA magnetic nanocomposite as a removal percentage of chromium metal ion like 10–1000 mg L−1 through an optimum (pH 2) and contact time (60 min) correspondingly (Fig. 8d). Addition of (1.0 g) dry adsorbent into (50 mL) chromium ions solution by the various concentrations. The results obtained as clearly explain at low concentration maximum adsorption takes place. The increases concentration and decreases chromium (VI) removal percentage due to the all vacant on cavities were filled to allow the saturation. The nanocomposite various concentrations from involved in maximum removal tendency Cr(VI) for 95% with 100 mg L−1 of optimal value [7, 45].

4.10 Industrial Wastewater Samples for Adsorption Experiment

Industrial wastewater was tested by synthesized Fe3O4@PANI/IA magnetic nanocomposite can be used an adsorbent for 3 h by batch adsorption experiments method. Figure 9 has been observed results percentage 92.2% of removal toxic heavy metal into Chromium (VI) ions. Table. 4 has been summarized results for MNCs using before and after wastewater treatment.

Fig. 9
figure 9

Absorption spectrum for before and after treatment of industrial wastewater sample

Table 4 Before and after treatment of waste water samples using Fe3O4@PANI/IA magnetic nanocomposite

4.11 Mechanism Removal of Chromium (VI) from Wastewater

Hexavalent chromium removal from the wastewater mechanism was scrutinizing the determination of pH solution. The pH range of (8–10) improves adsorption (%) of Cr(VI) ions gradually. The maximum removal has shown at pH 10 above that pH yielded an a constant in adsorption case chromium ions, which appear at lower pH of Van der Waals forces attraction leads to form precipitation residue a toxic chromium ion and higher pH of magnetic nanocomposite (−ve) charged places attract (+ve) charged toxic metal cations by electrostatic interaction has greater compared to acidic pH. The dia functionalized polyaniline polymeric matrix has contributed an actual chromium ions removal from the aqueous system [11].

4.12 Re-Usability Studies

In general, after the usage of adsorbent were throughout the environment which leads to taking pollutant. To concentration, the above issue, the recovery of adsorbent of Fe3O4@PANI/IA magnetic nanocomposite was done by regeneration studies (Fig. 10). The nanocomposite observed various concentrations through desorption reagents like an acidic, basic and neutral medium. Fe3O4@PANI/IA magnetic nanocomposite (0.05 g) was filled by chromium ions used to 50 mL solution at 25 °C, a contact time of 5 h, pH 2.0, and agitation rate (200 rpm). The pollutants of toxic metal less than 5% recovered used to basic media adsorbent and more than 94% acidic media desorption produce rapidly. A calibrated pH 2.0–4.0 after desorption with acid medium and resolve of the reusability of sorbents of five times for desorption cycles was repetitive successively. These categories of the reusable study utilized for the elimination of various metal ion, heavy metal, and hazardous dye. Hence this kind of recycle method used for different industrial, environmental and chemical applications.

Fig. 10
figure 10

Reusability of Fe3O4@PANI/IA magnetic nanocomposite

5 Conclusions

In this work, a simple steps and in-situ polymerization method for the preparation of Fe3O4@PANI/IA nanocomposite has been developed. The nanocomposite has a surface morphology and the shape of particle was studied by SEM and TEM techniques. The structure, elemental analysis, thermal and magnetic properties, and of the nanocomposites were investigated by FT-IR, EDS, TGA/DTA, and VSM. The maximum Cr (VI) ions removal percentage (92.2%) were studied by the adsorption process. The well supported experimental results data achieved from Langmuir and Freundlich adsorption isotherm model at different parameters. A new as-fabricated nanocomposite from PANI (conducting polymer) and IA (natural) one with iron nanoparticles can be considered eco-friendly adsorption that is characterized by its comfort of fabrication as well as its magnetic properties. Present research proved that Fe3O4@PANI/IA nanocomposites were reliable low cost and efficient adsorbent. Believing today’s economic features of wastewater treatment and reducing water pollution, this adsorbent materials composite using capable and consistent sorbent for effective removal of chromium (VI) ion from wastewater.