Introduction

Organic and inorganic contaminations in the wastewater from textiles, pharmaceutical, metal, refinery and biochemical industries are serious issues in the earthly and aquatic biological communities. Improper disposal of dyes and heavy metal ions into the fresh water causes severe damages in the living and non-living bodies of nature. These pollutants are non-biodegradable and accumulated in the living organism such as animals, plants and human beings.

Wastewater from textile industries also leads uncompromising environmental impact [1]. Textile industries and solar cell industries use various types of organic dyes such as disperse dyes, reactive dyes, mordant dyes, metal-related dyes, anionic (acid) and cationic (basic) dyes for different purposes [2]. A dye discharged without proper purification into the water system causes health risks to living beings, microorganisms and affects the ecosystem. Dyes (colorant) and the auxiliary chemicals of dyes in contact with the skin create allergic reactions (itching, irritations and dermatitis), respiratory issues and also numerous health defects; particularly, MB dye intake leads to mental disorder, fever, nausea and many other diseases which cannot be treated [3,4,5]. The small amount (< 1 mg/L) of dye present in the water is highly noticeable and toxic, which incredibly spoils the quality of the water system. So, the expulsion of colorant from wastewater is necessary than the evacuation of the dissolvable organic substances.

MB (Scheme 1) is one of the complex basic dyes called as methylthioninium chloride; hydrate state because of hygroscopic in nature which is used for biological purpose to find the structure of cells, tissues and industries for high scale dying of nylon, cotton and other wearable materials. MB is a salt of organic base that dissolves in water as cations which are also called as cationic dye. It is nonbiodegradable and has microbial properties.

Scheme 1
scheme 1

Chemical structure of Methylene blue (MB)

Many methods have been established for the removal of pollutants from the aquatic system, such as precipitation, filtration, coagulation, membrane separation, chemical degradation and adsorption process. Among this technical method, adsorption is the most effective, economical, recyclable, reliable method for the removal of the dyes from the wastewater [6,7,8,9]. Past two decades, many adsorbents such as commercial activated carbon (AC) (lignite coal [10]), AC from agricultural wastes (palm kernel shell [11, 12], finger citron [13], coirpith [14], wood apple rind [15], saw dust [16], orange peel [17], corncob [18], apple pomace and wheat straw [19], coconut tree flower and jute fibre carbon [20], rice husk ash [21]) and zeolites have been incorporated for the removal of heavy metal inos and dyes from the industrial effluents [22,23,24]. AC has a limited surface area and lower regeneration capability which cannot be an efficient adsorbent. To enhance the adsorption capacity, new nano and nano composite materials (magnetite/pectin and magnetitie/silica/pectin hybrid nanocomposites [25], alumina nanoparticles [26], nano-silica fabricated silver nano particles [27], graphene oxide sheet integrated with gold nanoparticles [28], cobalt ferrite nanoparticles [29], nano-sized TiO2 [30], amino modified SiO2–Fe3O4 nano material [31], reduced graphene oxide [32]) have been developed in the adsorption process. Although nanomaterials are broadly known as an adsorbent, it is still indistinct of what perils certain material can bring to the environment due to its stability, agglomeration (cluster formation leads to a low surface area) and degradation [33].

Recently, high-performance aromatic polymers (HPAPs) have received more interest as a more stable adsorbent for the removal of various water pollutants from industrial wastewater such as heavy metal ions and dyes [34,35,36,37,38,39,40,41]. Porosity, high surface area and highly accessible networking sites bind the water pollutants by intramolecular interaction, electrostatic forces and conjugation effect. It can be enriched on the surface of HPAPs which have been enhanced with the adsorption capacity. The incorporation of donor–acceptor moieties in the polymer back-bone have influenced and made the chemical bonding (donor–acceptor) between polymeric adsorbent and the adsorbate (metal ions and dyes) [42,43,44].

This work focuses on synthesizing porous poly(imide-ether)s (PIEs) adsorbent materials with imide-ether functional moieties via polycondensation technique, and its application for the removal of MB from the aqueous solution. The structural characterization of synthesised polymers has been characterized by standard spectrum analysis. MB adsorption efficiency onto PIEs have been investigated with adsorption parameters such as solution pH, initial MB concentration, adsorbent dosage, contact time and temperature by batch mode studies. Adsorption isotherms, kinetic and thermodynamic parameters of MB onto PIEs have been evaluated using batch adsorption experimental data. The adsorption interaction and its mechanism have been derived based on the spectrum analysis. The reusability of the MB adsorbed adsorbent has been investigated to reduce the hazardous solid waste.

Materials and Methods

Reagents

4,4′-Oxydianiline (ODA), Pyromellitic dianhydrides (PDA) were purchased from Aldrich-Sigma, India, and purified by sublimation and recrystalisation processes. Toluene, N-Methyl-2-pyrrolidone (NMP) and methanol solvents were procured from Thermo Fisher Scientific, India, and purified by distillation method. MB (CI 52015) was supplied by Merck, India. A dye stock solution of 1000 mg/L was prepared using MB. Experimental standard solutions were diluted from the appropriate amount of stock solution using deionized distilled water. Finally, H2SO4, KNO3, HNO3, HCl and NaOH were procured from Thermo Fisher Scientific, India.

Synthesis of Poly(imide-ether)s

The poly(imide-ether)s (PIEs) adsorbent was synthesized via a two-step process, and the polymerization reaction is shown in the Scheme 2. A double-necked round bottom flask equipped with a Dean-stark distiller and a nitrogen gas inlet and outlet was filled with a homogeneous solid mixture composed of ODA (1 g, 4.994 mmol) dissolved in 20 mL of NMP. Further, (1.089 g, 4.994 mmol) pyromellitic anhydride was added to the reaction flask by adding 40 mL of toluene. The reaction mixture was heated in an oil bath at 160 °C under a stream of nitrogen gas for 6 h, and byproduct (water) was removed during the polymerization. After 1 h, the glass reaction flask was cooled. The solution was filtered, and the filtrate was precipitated by dropwise addition into methanol solvent. The resulting polymer was filtered and dried in a vacuum at 80 °C for 24 h.

Scheme 2
scheme 2

Synthesis of poly(imide-ether)s

Characterization of the Adsorbent and Adsorbed Materials

The structural properties of PIEs were characterized by 1H-NMR (Bruker 400 mhz) and FT-IR (Perkin Elmer, L1860116) and thermal properties were measured by TGA (Perkin Elmer, TGA 4000). The surface properties of PIEs were confirmed by Scanning Electron Microscopy (SEM), Energy Dispersive X-ray spectrometry (EDX) (Quanta 200 FEG) and X-Ray Diffraction (XRD) (Bruker AXS Kappa APEX II CCD). SEM and EDX are very useful to determine the surface morphology and elemental composition of the adsorbent and adsorbed material from a few nanometer depths of the material surface via the electron Back Scattered Detection (BSD) system attached with a microscope. XRD provides the crystalline or amorphous nature of material. All the SEM and EDX analyses of the PIEs and dye adsorbed PIEs were recorded using the Quanta 200 FEG scanning electron microscope at different accelerating voltages with various working distances. The MB concentration in the solutions was measured by using UV–Vis (Perkin Elmer, LAMBDA 1050) spectrophotometer.

Adsorption Studies

Various adsorption parameters such as solution pH, adsorption dosage, contact time and initial dye concentration were optimized to obtain the maximum adsorption capacity. The adsorption experiments were repeated thrice to check the replication and 0–5% of error was observed by the replication process. The adsorption percentage removal was calculated using the Eq. 1.

$$\% \;{\text{Removal}}=\left( {\frac{{{{\text{C}}_0} - {{\text{C}}_{\text{e}}}}}{{{{\text{C}}_0}}}} \right) \times 100$$
(1)

where, Co and Ce are the initial and equilibrium concentrations (mg/L) of the dye solutions respectively.

Zero point of Charge (pHZPC) of PIs

Zero point of charge (ZPC) of PIEs was determined according to standard procedure. 45 mL of 0.1 M KNO3 solution was taken in a series of 100 mL conical flask. A range of initial pH values of the metal solutions was adjusted at 2, 4, 6, 7, 8, 10 and 12 by using either 0.1 N of HNO3 or NaOH. 100 mg of the PIEs was added to each flask, and the suspensions were intermittently shaken manually and allowed to equilibrate for 48 h. The MB adsorbed PIEs was removed by the filtration and the final pH of the solution was measured [45].

Reuse of MB Adsorbed–Adsorbent

After adsorption process, adsorbed polymeric material is also one of harmful solid waste, which creates the pollution in the terrestrial ecosystem of the environment. To avoid this problem, the solid waste can be reused to make a useful product without the leaching of adsorbate (metal ions or dye) from the product material. To reduce the solid adsorbent waste, MB adsorbed–adsorbent (PIEs-MB) was used for the preparation of polymer composite with commercial polymer by solution casting method. 50 mg of PIEs-MB polymer composite was immersed into the 50 mL of distilled water and solution kept in a mechanical stirred at 180 rpm for 24 h (temperature maintained 28 °C). PIEs-MB polymer composite was removed and MB leaching properties were examined using the UV–Vis Spectrophotometer.

Results and Discussion

Characterization of the PIEs

The structure of the PIEs was confirmed by the analysis of FT-IR and NMR analysis. The FT-IR spectra of MB, PIEs and PIEs-MB are shown in Fig. 1a–c respectively. The assignment peaks are listed in Table 1. The FT-IR assignments of the peaks of MB are: 1594 (C=N + (CH3)2 Stretching vibration), 1490 (heterocycle C=S band of middle intensity), 1421 (asymmetric and symmetric vibration of C–H), 1390 (symmetrical and asymmetrical bending vibrations of the CH3 functional groups of MB), 1334 (Stretching vibrations of the C–N terminal saturated di methyl amino groups), and the lower region becomes difficult to find out the functional group of MB due to rotational structure vibration of C=N and C=C. The FT-IR assignments of PIEs are: FT-IR (ATR) 3122–3638 (end group –NH2), 1775 (–C=O, sym), 1716 (–C=O, asym), 1601 (Conjugated Phenyl ring), 1501 (–C=C–Ar), 1245 (–C–O–Ar sym), 1065 (–C–O–Ar asym) and 794 (Substituted aryl group) cm−1. The adsorption of MB onto PIEs (PIEs-MB) attributing the following peaks 1776 (–C=O, Sym), 1714 (–C=O, asym), 1597 –C=N+ (CH3)2 Stretching vibration, 1498-(heterocycle C=S band of middle intensity) 1376, 1305 (–CO)–O vibration, 1240 (C=O), 1288 weak stretching vibration of aromatic ether group of imide adsorbent.

Fig. 1
figure 1

FT-IR spectra of (a) MB, (b) PIEs and (c) PIEs-MB

Table 1 FT-IR peak assignments of MB, PIEs and MB adsorbed PIEs

From the PIEs-MB (Fig. 1c), the cationic auxo chrome group C=N+ (CH3)2 and the heterocycle –C=S band of MB was observed in the region 1595 and 1490 cm−1 respectively. The FT-IR result could suggest that the specific intermolecular interactions occur between the polymer and dye. The carbonyl group of the polyimides acts as binding sites because imide N atom has a lone pair of electron, which could donate the e to the –C=O group in the imide moieties, and the oxygen becomes more negatively charged. Then the oxygen gains more electron from the nitrogen which behaves as a Lewis base (–N=C–O) that enhances the activity at the bonding sites. Furthermore, the nitrogen atom of an auxo chrome group (–N+(CH3)2) in the MB has positive charge that behaves as a Lewis acid (cationic in nature) in the aqueous solution. In such cases Lewis base acts as an electron donor and Lewis acid acts as an electron acceptor, creating a strong electrostatic attraction (Lewis acid-base) between the N+ and O by intermolecular force and forms the polyimide-dye complex, which is shown in Scheme 3. The FT-IR results could confirm that the MB adsorption occurs on the surface of the PIEs.

Scheme 3
scheme 3

Intermolecular interaction between MB and PIEs

The 1H-NMR spectrum of PIEs is shown in Fig. 2. The 1H-NMR assignments of the peaks of PIEs are: 1H-NMR (DMSO-d6) δ = 8.34–8.0 ppm (2H, diimide substituted phenyl ring) and δ = 7.61–6.47 ppm (8H, diphenylether ring). The signals at δ = 2.25 and 3.50 ppm are due to DMSO-d6 and moisture respectively. The FT-IR and 1H-NMR analyses confirm that the electron donor and acceptor moieties (Fig. 3) have been successfully incorporated in the structure of PIEs. This could be enhanced with the adsorption behaviour and used for the removal of cationic dyes from the aqueous solution.

Fig. 2
figure 2

The 1H-NMR spectrum of PIEs

Fig. 3
figure 3

Electron donor and acceptor segments structure of PIEs

The FE-SEM that was used to validate the change in the morphology of PIEs and MB adsorbed PIEs (PIEs-MB) is represented in Fig. 4. The PIEs SEM image (Fig. 4a) shows a shape of an orchid nodule, a flower which is stacked with a continuous crosslinking chain-like networks. The different particle size of the petals in the flower shaped PIEs SEM image (Fig. 4b) ascribes that the formation of flower shape is due to the inter–intra particulate aggregation. The SEM image of PIEs-MB (Fig. 4c, d) shows the inhabitation of MB molecules on the PIEs, which suggests that the existence of inter-particulate micropores (active binding sites) present abundantly in between the flower aggregation of the PIEs. The results suggest that the adsorbent PIEs, predominantly microporous in nature, are the plausible reason for the adsorption of MB dye from aqueous solution.

Fig. 4
figure 4

The SEM images of a PIEs, b pore size of PIEs, c and d MB adsorbed PIEs respectively

The EDX spectrum of PIEs and MB adsorbed PIEs (PIEs-MB) are shown in Fig. 5. The process of polycondenzation reaction of a pyromellitic dianhydride (PMDA) and Oxydianline (ODA) to prepare PIEs was noticeable in Fig. 5a with corresponding elemental peaks (C, N, O). Apparently, the removal of MB by PIEs was evident by the spectrum, which is shown in Fig. 5b and the elemental composition of C, N, O, and S further confirms the adsorption is feasible. A peak observed at 2.17 energy intensity (keV) attributes to the gold which is coated on the surface of the polymer material.

Fig. 5
figure 5

The EDX spectra of a PIEs and b MB adsorbed PIEs respectively

The TGA curve of PIEs, shown in Fig. 6, shows that PIEs undergo three stages of degradation. In the first stage, 0.1% of weight loss is observed in the temperature range of 30–120 °C due to the evaporation of the occluded solvent and moisture. Even though the polymers were dried before the thermal analysis, the initial weight loss in the temperature range of 30–120 °C gives evidence of the moisture regaining capacity of the PIEs. At the temperature range 572–642 °C, the second stage of degradation occurs with a weight loss of 0.6–1.7%, which is due the degradation of functional groups in the PIEs. Above 650 °C, a large amount of weight loss was observed, which was due to the decomposition of PIEs. The TG Analysis result suggests that the PIEs is environmentally more stable and adsorption functional moieties or sites could not be affected at ambient temperature.

Fig. 6
figure 6

TG analysis of PIEs

The XRD analysis of PIEs was performed by using Cu Kα radiation in the range of 2θ = 5°–60° and depicted in Fig. 7. The XRD of PIEs shows a broad diffraction pattern centered at 2θ ≈ 20°, which reveals that the PIEs is amorphous in nature.

Fig. 7
figure 7

X-ray diffraction analysis of PIEs

Adsorption Behaviour of PIEs

Synthesized PIEs and stock MB were used as adsorbent and adsorbate respectively in the adsorption process. Initial and final concentrations of MB solutions were determined by UV–Vis analysis. The adsorption parameters were optimized and the data obtained through optimization were evaluated and mechanism of adsorption was predicted with the help of various adsorption (kinetics, isotherms and thermodynamics) models. At first, the adsorption experiment was verified and confirmed with 2, 4, 6 and 8 mg/L of MB concentration solutions and 20 mg of PIEs using UV–Vis analysis, which is shown in the Fig. 8. The MB absorption peaks were observed at the ranges of 608–612 and 658–670 nm, which is in agreement with the theoretical values 609 and 668 nm respectively. After adsorption process, the MB absorption peaks completely disappeared, which confirms that the adsorption occurred on the surface of PIEs.

Fig. 8
figure 8

UV–Vis analysis of MB adsorption onto PIEs

Zero Point Charge (pHZPC) of PIEs

Zero point charge (ZPC) of PIEs was determined by the electrolyte’s pH study. pHZPC curve was plotted by initial pH versus final pH and the result is shown in Fig. 9. From Fig. 9a, the surface electrical charge of PIEs was determined. At pH < pHzpc (below 6.95), the solution pH was increased because the acidic pH solution donates more protons which could be occupied by the adsorbent sites and at pH > pHzpc, the solution pH was decreased due to a reduction of hydroxyl ion by the adsorbent functional moiety in the solution. This result is proposed that the surface charge of the PIEs is negative and positive in nature at lower and higher solution pH respectively. ZPC study also suggests that the PIEs possess the electron donor–acceptor which influence or enhance the adsorption process. The electrical neutral charge (pHZPC) of PIEs is found to be at pH 6.95, which was maintained in the adsorption experiment.

Fig. 9
figure 9

a pHZPC plot of PIEs and effect of b pH c initial MB concentration d adsorbent dosage e contact time and f temperature for the adsorption of MB onto PIEs [parameters: pH (2–12), initial MB concentration (100–400 mg/L), adsorbent dosage (10–70 mg), contact time (10–180 min) and temperature (298–318 K)]

Effect of Solution pH on the Adsorption of MB onto PIEs

The solution pH is one of the adsorption parameters, and its effect on PIEs was examined using 50 mL of MB solution (200 mg/L of dye concentration) in the pH range 2–10 with an adsorbent dosage of 50 mg of PIEs. The experiment was performed in a mechanical shaker at 180 rpm for 120 min at 28 °C. After adsorption, the MB adsorbed–adsorbent was removed by filtration, and filtrated concentration was measured using the UV–Vis Spectrophotometer.

The effect of solution pH on MB adsorption onto PIEs is shown in Fig. 9b. The hydrogen ions (H+ in the acidic medium) and hydroxide ions (OH in the basic medium) are influenced by the effect of pH study. A lower percentage removal of MB is observed in the acidic medium (At pH 2) because the PIEs surface charge is more negative at lower pH, which may create a strong electrostatic attraction between the negatively charged PIEs and positively charged H+ ion species. The strong electrostatic attraction cannot be replaced by MB cations, which may be forbidden by the MB cationic adsorption, resulting in lower uptake of MB on the PIEs surface. With an increase in solution pH, the concentration of H+ ions is reduced, which recreates the binding sites on the PIEs adsorbent. Due to this the percentage adsorption of MB gradually increased up to neutral pH 7. At high pH (after pH 7), the surface charge of PIEs is positive in nature. In the situation, electrostatic repulsion is enhanced between the positively charged PIEs and MB cations, which ultimately reduced the adsorption rate on the surface of PIEs. The maximum adsorption was observed (90%) at neutral pH (approximately 6.95). Hence, the optimum pH value 6.95 was fixed in all the batch adsorption experiments.

Effect of Initial Dye Concentration on the Adsorption of MB onto PIEs

The effect of initial dye concentration was examined using 50 mL of various concentrations of MB solution (100–400 mg/L), and 50 mg of PIs at pH of 6.95 for 120 min and temperature maintained at 28 °C. After adsorption process, the filtrate dye concentrations were measured using the UV–Vis Spectrophotometer. The obtained experimental data were used to evaluate the adsorption isotherm studies.

The effect of initial dye concentration on MB adsorption onto PIEs is shown in Fig. 9c. The adsorption capacity (qe) and percentage removal of MB was calculated which could be dependent on the active sites on the PIEs and MB concentration. At lower MB concentrations, maximum percentage removal and less qe of MB onto PIEs were observed. The percentage removal decreased from 89 to 48% and qe increased from 89 to 195 mg/g with the increase of the MB concentration. At higher MB concentrations, the percentage of MB removal decreased due to the constant and saturation of adsorption sites on adsorbent. After the equilibrium or saturation, more MB was found away from the surface of PIEs in the solution. So, the percentage removal is decreased. Increase in qe could suggest that the monolayer adsorption occurs on the surface due to the adsorbent–adsorbate interaction (interaction between the functional moieties of PIEs and MB) and followed by multilayer adsorption due adsorbate–adsorbate interaction. It could be concluded that the physisorption and chemisorption takes place on the surface of the PIEs, and it could be further confirmed by evaluation of adsorption isotherm models.

Effect of Adsorbent Dose on the Adsorption of MB onto PIEs

The effect of adsorbent dosage was studied with different adsorbent dosages ranging from 10 to 70 mg of PIEs. These studies were carried out with a 50 mL of MB solution (200 mg/L of dye concentration) in a mechanical shaker at 180 rpm for 120 min. The solution was maintained at 6.95 pH and 28 °C. The final MB concentration was measured using the UV–Vis Spectrophotometer.

The adsorbent dosage also influences the adsorption process and the results are shown in Fig. 9d. The percentage removal of MB onto PIEs increases from 24 to 96% for an increase in the adsorbent dose from 10 to 70 mg. This is due to an increase in the availability of binding sites on the PIEs surface with an increase in the adsorbent dosage. The maximum percentage removal was obtained and saturation occurred with an adsorbent dosage of 50 mg. After saturation, no changes in the adsorption capacity were observed because of the absence of MB in the solution, and the active sites remained vacant for further adsorption with increasing adsorbent dosage. The findings of the study suggest that the maximum adsorption could be attained with 50 mg of PIEs dose.

Effect of Contact Time on the Adsorption of MB onto PIEs

The effect of contact time is one of the most important adsorption parameters, which was used to evaluate the adsorption kinetic parameters. These studies were also carried out at various contact times between 10 and 180 min with 50 mL of MB solution (200 mg/L of dye concentration) at 6.95 pH. In this study, 50 mg of PIs was stirred at 180 rpm and the temperature was maintained at 28 °C. At regular time intervals between 10 and 180 min, the dye concentration was measured using the UV–Vis Spectrophotometer.

The effect of the contact time for the adsorption of MB onto PIEs is shown in Fig. 9e. The percentage of MB adsorption onto PIEs increased as the contact time was increased and the equilibrium was attained at 120 min. Initially, the rate of adsorption is higher due to a large number of adsorption sites being available for the uptake of the MB from the aqueous medium. After equilibrium, all the adsorption sites were occupied and saturated by the adsorbate. Beyond this, no adsorption was noticed. Hence, in the present study, the optimum adsorption occurred at 120 min, it was chosen as the equilibrium time. The experimental data were further evaluated using adsorption kinetic equations.

Effect of Temperature on the Adsorption of MB onto PIEs

The effect of temperature studies was carried out with different temperatures (298, 303, 308, 313 and 318 K) to evaluate the thermodynamic parameters. The experiment was conducted with 50 mL of MB solution (200 mg/L) and 50 mg of PIEs at pH of 6.95 for 120 min. After the adsorption process, the filtrate dye concentrations were measured using the UV–Vis Spectrophotometer.

Temperature is an important parameter for the adsorption of MB onto PIEs which affects the adsorption capacity. The results are shown in Fig. 9f. From Fig. 9f, it could be observed that the percentage removal increased with increasing temperature upto 308 K. No change was observed in the adsorption percentage after 308 K which suggests that the surface adsorption functional moieties are activated by appropriated temperature and have attained equilibrium. The experimental data were used to further define the thermodynamic parameters such as ∆G°, ∆S° and ∆H° and to evaluate the thermal behaviour of MB adsorption onto PIEs.

Adsorption Kinetic Studies

The study of adsorption kinetics is one of the important tools to predict what types of adsorption mechanism takes place on the surface of adsorbent in the adsorption system. The effect of contact time experimental data was used for the investigation of different adsorption kinetic models. The adsorption kinetics studies of MB onto PIEs were evaluated using Pseudo-first order, Pseudo-second order, Elovich and Intra-particle diffusion kinetic models [46,47,48]. The maximum adsorption capacity of MB onto PIEs at equilibrium (qe) and time (qt) mg/g were calculated using the Eqs. 2 and 3 respectively.

$${{\text{q}}_{\text{e}}}=\left( {{{\text{C}}_0} - {{\text{C}}_{\text{e}}}} \right) \times \frac{{\text{V}}}{{\text{m}}}$$
(2)
$${{\text{q}}_t}=\left( {{{\text{C}}_0} - {{\text{C}}_t}} \right) \times \frac{{\text{V}}}{{\text{m}}}$$
(3)

where, Ct is the concentration of dye in the solution at any time t (mg/L), V is the volume of the solution (L); and m is the mass (g) of the adsorbent.

Pseudo-First Order Kinetic Model

The pseudo-first order equation as is given by Lagergren relates the adsorption rate to the dye adsorbed amount at time t is given in the Eq. 4,

$$\frac{{{\text{d}}{{\text{q}}_{\text{t}}}}}{{{\text{dt}}}}={{\text{k}}_1}\left( {{{\text{q}}_{\text{e}}} - {{\text{q}}_{\text{t}}}} \right)$$
(4)

where, qe and qt are the adsorbed amounts of the dye at equilibrium and time (t) respectively, expressed as mg/g, and k1 is the pseudo-first order kinetic rate constant, expressed as (min−1). The equation integration and rearrangement yield the linear form is given in the Eq. 5.

$$\log ({{\text{q}}_{\text{e}}} - {{\text{q}}_{\text{t}}})=\log {{\text{q}}_{\text{e}}} - {{\text{k}}_1}{\text{t}}/2.303$$
(5)

The adsorption experimental data of the effect of contact time were used to evaluate pseudo first order kinetic parameters using empirical equation and the results are shown in Fig. 10a. The pseudo-first order equilibrium rate constant (kad), correlation coefficient (R2) and equilibrium adsorption capacity (qe) were calculated from the slope and intercept of the plots of ln (qe–qt) Vs t and the constants are listed in Table 2. The R2 value of the pseudo-first-order kinetic model was found to be 0.9258, which indicates that the adsorption system of PIEs-MB is not fitted well with the experimental data and a slight deviation was observed in the straight line. The qe value of pseudo-second-order kinetic did not match with the experimental qe value.

Fig. 10
figure 10

a Pseudo-first order kinetic b Pseudo-second order kinetic c Elovich model kinetic d Intraparticle diffusion model kinetic for adsorption of MB onto PIEs [optimum parameters: pH (6.95), initial MB concentration (200 mg/L), adsorbent dosage (50 mg), contact time (10–180 min) and temperature (303 K)]

Table 2 Kinetic model statistical parameters for adsorption of MB onto PIEs (optimum parameters: pH (6.95), initial MB concentration (200 mg/L), adsorbent dosage (50 mg), contact time (10–180 min) and temperature (303 K)]

Pseudo-Second Order Kinetic Model

Ho’s pseudo-second order kinetic equation is represented in the Eq. 6,

$$\frac{{{\text{d}}{{\text{q}}_{\text{t}}}}}{{{\text{dt}}}}={{\text{k}}_2}{\left( {{{\text{q}}_{\text{e}}} - {{\text{q}}_{\text{t}}}} \right)^2}$$
(6)

where, k2 (g/mg/min) is the second order kinetic rate constant; the differential equation is usually integrated and transformed in its linear form and given in the Eq. 7.

$$\frac{{\text{t}}}{{{{\text{q}}_{\text{t}}}}}=\frac{1}{{{{\text{k}}_2}{{\text{q}}^2}}}+\frac{{\text{t}}}{{{{\text{q}}_{\text{e}}}}}$$
(7)

The pseudo-second-order kinetic study was evaluated with the experimental data of the effect of contact time. The parameters (k2, R2 and qe) were derived from the plot of t/qt against t. The results are shown in Fig. 10b. The value of qe, k2 and R2 are listed in Table 2. The obtained R2 (0.9834) from the straight line defined that the adsorption process of the PIEs- MB system well fitted with the experimental results. Moreover, the obtained qe value of pseudo-second-order kinetic was relatively close to the experimental qe value. The R2 and qe value of pseudo-second order kinetic agrees well with the experimental results, which suggests that the adsorption process is dependent on the surface of the adsorbent (PIEs) and the adsorbate (MB).

Elovich Kinetic Model

The experimental data were applied to the Elovich kinetic model, which is given in the Eq. 8,

$${{\text{q}}_{\text{t}}}=~\frac{1}{\upbeta }\ln \left( {\upalpha \upbeta } \right)+~\frac{1}{\upbeta }\ln ({\text{t}})$$
(8)

where, α is the initial adsorption rate constant [mg/(g/min)], and the parameter β is related to the extent of the surface coverage activation energy for chemisorptions (g/mg).

The Elovich kinetic equation was used to evaluate the experimental data of the effect of contact time on the adsorption of MB onto PIEs. The values of qt and ln(t) were calculated and the results are shown in Fig. 10c. The values of α, β and the correlation coefficient (R2) were calculated from the slope and the intercept of the plot, and the values are listed in Table 2. In the Elovich kinetic plot, the obtained R2 (0.9460) deviated slightly from pseudo-first and pseudo-second order kinetics. The initial adsorption rate (α) found to be 11.72, could suggests that the MB adsorption onto PIEs is a chemisorption process. The surface coverage activation energy (β) was also found to be 0.0134 g/mg. The derived parameters α and β results could confirm that the adsorption process is more favourable chemisorption followed by physisorption process.

Intraparticle Diffusion Kinetic Model

Weber and Morris derived an equation to express the intraparticle diffusion model and given in the Eq. 9.

$${{\text{q}}_{\text{t}}}={{\text{k}}_{\text{p}}}{{\text{t}}^{1/2}}+{\text{C}}$$
(9)

where, kp is the intra-particle diffusion rate constant (mg/g min), and t is the time (min).

The Intraparticle diffusion kinetic equation was also applied to the effect of contact time on the adsorption of MB onto PIEs, and the results are shown in Fig. 10d. The intraparticle diffusion kinetic parameters (kp, R2 and C) were derived from the plots of qt versus t1/2 and are listed in Table 2. The double-linear straight line was observed from the plots of qt versus t1/2 and also, this line did not pass through the origin. It seems that the adsorption of MB onto PIEs is feasible, and three stages occur in the adsorption system. In the first stage, the external surface adsorption was attained, and in the second stage, intraparticle diffusion was observed. Finally, the adsorption equilibrium was obtained after the second stage.

From the adsorption kinetic study, the observed result of calculated qe value of pseudo-first-order kinetic deviated from the experimental qe value. The R2 value was found to be 0.9258, which shows that this kinetic model does not fit well with the experimental results. In the pseudo-second-order kinetic model, the obtained qe value was closer to the experimental qe values. The R2 value suggests that the experimental data could be well fitted with pseudo-second-order kinetic model. The rate of initial chemisorption and the surface coverage of adsorbent were defined by the Elovich kinetic parameter of α and β values respectively. The three-stage adsorption diffusion mechanism was derived using the Intraparticle diffusion model. The maximum adsorption capacity (qe) was found to be 203 mg/g by pseudo-second-order kinetic model, and this model well fits to the experimental data which suggest that the adsorption process of PIEs-MB system follows the second-order kinetic model. Types of adsorption process and the adsorption mechanism were predicted using all four kinetic models. Based on the observed kinetic results, it could be suggested that the PIEs are promising adsorbents for the removal of cationic dye from industrial wastewater.

Adsorption Isotherm Studies

The study of adsorption isotherm is the most important key to identify the type of adsorption process on the surface of adsorbent in the adsorption process. The effect of initial MB concentration date was used to evaluate the non-linear forms of the adsorption isotherm studies. Langmuir, Freundlich, Redlich–Peterson and Sips isotherm parameters were derived with empirical equations using MATLAB R2009a [49].

Langmuir Isotherm Model

The Langmuir isotherm model is very useful tool to determine the characteristics of homogeneous surface and monolayer interaction between adsorbent and adsorbate molecules. The interaction between the adsorbed molecules is negligible. The non-linear equation of the Langmuir isotherm model is expressed in the Eq. 10.

$${{\text{q}}_{\text{e}}}=\frac{{{{\text{q}}_{\text{m}}}{{\text{K}}_{\text{L}}}{{\text{C}}_{\text{e}}}}}{{1+{{\text{K}}_{\text{L}}}{{\text{C}}_{\text{e}}}}}$$
(10)

where, Ce is the equilibrium concentration of the MB in the solution (mg/L), qe is the adsorbed value of the MB at an equilibrium concentration (mg/g), qm is the maximum adsorption capacity (mg/g) and KL is the Langmuir binding constant, which is related to the energy of adsorption.

The Langmuir isotherm dimensionless constant of the separation factor (RL) values can be used to predict behaviour of the adsorbent in the adsorption process which is derived using the Eq. 11.

$${{\text{R}}_{\text{L}}}=\frac{1}{{1+{\text{b}}{{\text{C}}_0}}}$$
(11)

where, b is the Langmuir adsorption equilibrium constant, and Co is the initial MB concentration.

The Langmuir isotherm model is used to describe the formation of monolayer on the uniform surface of the adsorbent, where the adsorption happens in homogenous active sites. The qe and Ce experimental data obtained from the study of the effect of initial concentration were fitted with the Langmuir adsorption isotherm equation. R2 (0.9566), KL (0.121) and qm (166.8 mg/g) values were calculated from the plot Ce against qe by taking intercept, shown in Fig. 11 which showed that the curve well fitted with the experimental data. All the parameters of the experimental data are listed in Table 3. The RL values (0 < RL < 1) indicate that the adsorption process is irreversible and support favourable adsorption on PIEs. The RL (0.02–0.08) and R2 value suggests the adsorption process of PIEs is monolayer and is a favorable one. The data further suggest the PIEs are better adsorbents for the adsorption of MB.

Fig. 11
figure 11

Non-linear adsorption isotherm for MB adsorption onto PIEs [optimum parameters: pH (6.95), initial MB concentration (100–400 mg/L), adsorbent dosage (50 mg), contact time (120 min) and temperature (303 K)]

Table 3 Isotherm model statistical parameters for MB adsorption of PIEs [optimum parameters: pH (6.95), initial MB concentration (100–400 mg/L), adsorbent dosage (50 mg), contact time (120 min) and temperature (303 K)]

Freundlich Isotherm Model

The Freundlich isotherm is an important model to predict characteristics of the heterogeneous surface and multilayer adsorption onto the adsorbent. Sorption energy and interaction between the adsorbed molecules also evaluated using this isotherm model. The empirical isotherm equation can be employed to describe the heterogeneity of the adsorption systems and is expressed in the Eq. 12.

$${{\text{q}}_{\text{e}}}={{\text{K}}_{\text{F}}}{\text{C}}_{{\text{e}}}^{{1/{{\text{n}}_f}}}$$
(12)

where, KF is the Freundlich constant [(mg/g) (L/mg)1/2] indicates the adsorption capacity and represents the strength of the adsorption bond, and nf is the heterogeneity factor which represents the bond distribution. The values of nf between 1 and 10 indicate favorable adsorption.

The Freundlich isotherm model is not restricted to the monolayer. This is applicable to multilayer adsorption and defines the active site distribution of the adsorbent and surface heterogeneity. The curve was plotted from the adsorption experimental data (qe and Ce) of the effect of initial concentration using the Freundlich isotherm equation. The isotherm experimental data well fitted with the isotherm expression. The R2, Kf and n were derived from the plot which is shown in Fig. 11. The value of nf ˃1shows that the adsorption of PIEs is favorable. All the parameters of the Freundlich isotherm models are listed in Table 3. The R2 (0.9477) and nf (4.575) indicate the Freundlich equation is well fitted with the experimental equilibrium data and show the surface heterogeneity of PIEs. The obtained adsorption isotherm results suggest that the multi-layer adsorption occurs on the surface of PIEs.

Redlich–Peterson Isotherm Model

The Redlich–Peterson isotherm is a useful model to predict the homogeneity and heterogeneity of the adsorption system which means a combination of the Langmuir and Freundlich models. It approaches the Freundlich model at higher concentration, and is in accordance with the Langmuir equation at lower concentration. The empirical expression is given in the Eq. 13.

$${{\text{q}}_{\text{e}}}=\frac{{{{\text{K}}_{\text{R}}}{{\text{C}}_{\text{e}}}}}{{1+{\alpha _{\text{R}}}{{\text{C}}_{\text{e}}}^{\beta }}}$$
(13)

where, KR is the Redlich–Peterson isotherm constant (L/g), αR is the Redlich–Peterson isotherm constant (L/mg), and β is the exponent which lies between 0 and 1.

The Redlich–Peterson equation derived from the combination of Langmuir and Freundlich constants suggests that the homogenous and heterogeneous nature of the adsorbent, and it is useful for evaluating the equilibrium data for various concentrations. A plot of Ce against qe in Fig. 11 is used to determine the Redlich–Peterson parameters (α, K, β) using empirical equation. All the parameters and constants are listed in Table 3. If (1 −β) = 1/nf, the adsorption process approaches to the multilayer adsorption of Freundlich isotherm at higher concentration. If β = 1, the adsorption process approaches to the monolayer adsorption of the Langmuir model at lower concentration. In this model, then β (0.8856) value is nearer to 1, and this confirms that the monolayer adsorption occurred on the surface. The 1- β (0.1144) value is closed to 1/n (0.2815) of Freundlich isotherm model; this confirms the multilayer adsorption is observed on the surface of adsorbent. Based on the analysis of isotherm parameters, large amount of monolayer adsorption and less amount of multilayer adsorption of MB occurred on the surface of PIEs due to its surface heterogeneity, which was confirmed by qm values of Langmuir (166.8 mg/g) and Sips (36.7 mg/g) isotherm models. The obtained R2 (0.9923) value confirms, the Redlich–Peterson model is well fitted with the experimental data and follows both the Langmuir and Freundlich isotherm models.

Sips Isotherm Model

The Sips isotherm equation is also the combination of the Langmuir and Freundlich isotherm models. The Sips isotherm model is commonly used to determine the limiting behavior of the adsorbate concentration. The Sips isotherm model equation can be expressed by Eq. 14.

$${{\text{q}}_{\text{e}}}=\frac{{{{\text{q}}_{\text{m}}}{{\left( {{{\text{K}}_S}{{\text{C}}_{\text{e}}}} \right)}^{1/{{\text{n}}_s}}}}}{{1+{{\left( {{{\text{K}}_S}{{\text{C}}_{\text{e}}}} \right)}^{1/{{\text{n}}_s}}}}}$$
(14)

where, KS is the Sips isotherm constant, qm is the maximum amount of the adsorbed dye per unit weight of the adsorbent (mg/g), and (1/ns) is the Sips isotherm exponent. The Sips isotherm model is a fusion of Langmuir–Freundlich adsorption model which is applied to determine the restrictive performance of the adsorbate concentration. This model predicts the surface heterogeneity of the adsorption process. According to the adsorbate concentration, this model reduced to Freundlich (multilayer adsorption) isotherm model at lower concentration, but it predicts the Langmuir (monolayer adsorption) isotherm at higher concentration. A plot of Ce against qe was drawn from the experimental data of effect of initial concentration and shown in Fig. 11. Sips isotherm parameters (KS, qm, ns) were obtained and represented in Table 3. The Sips isotherm exponent (1/ns) values are found to be 0.4351, which is between 0 and 1. The result of Sips exponent showed that the Langmuir isotherm is more favorable in the adsorption of MB on the surface of PIEs from an aqueous solution, rather than the Freundlich isotherm, which was also confirmed by both the isotherm constants and parameters. The mono and multilayer adsorption capacity (qm) was observed to 203.5 mg/g and the R2 (0.9845) value suggests that Sips isotherm is well fitted with the adsorption experimental data. Sips isotherm parameter results also confirmed that the adsorption of MB onto PIEs is a favorable process with heterogeneous surface.

All adsorption isotherm models fitted well with experimental data, which was confirmed by the correlation coefficient (R2). The monolayer (166.8 mg/g) and multilayer (36.7 mg/g) maximum adsorption capacity (qm) were determined from Langmuir and Sips isotherm model respectively, which suggests that the PIEs is a better adsorbent for the removal of MB from aqueous solution. The adsorption efficiency of MB onto PIEs is very high when compared to earlier literature (Table 4).

Table 4 Comparison of reported adsorbents and its MB adsorption capacity

Adsorption Thermodynamic Studies of PAC

The thermodynamic parameters (∆G°, ∆S° and ∆H°) of the adsorption process were evaluated using the experimental data of the effect of temperature [56,57,58]. This study is very important to solve the practical significant problems in the adsorption process. The change in free energy (∆G°) of the adsorption system can be estimated with the equilibrium constant using the Eq. 15.

$$\Delta {\text{G}}^\circ = - {\text{RT}}\ln {{\text{K}}_{\text{c}}}$$
(15)

where Kc is the equilibrium constant (L/g), R is the universal gas constant (8.314 kJ/mol K) and T is the absolute temperature (K). Kc can be determined using the Eq. 16.

$${{\text{K}}_{\text{c}}}=\frac{{{{\text{C}}_{\text{a}}}}}{{{{\text{C}}_{\text{e}}}}}$$
(16)

where Ca is the equilibrium dye concentration removed from the solution which assumed as adsorbed on the adsorbent (mg/L), Ce is the equilibrium dye concentration (mg/L).

A straight line is obtained from the plots of ln Kc versus 1/T and the change in enthalpy (∆H°) and the change in entropy (∆S°) were observed from the slopes and intercepts of the straight line of plot respectively. ∆H° and ∆S° were derived from the Eqs. 17 and 18.

$$\Delta {\text{G}}^\circ =\Delta {\text{H}}^\circ - {\text{T}}\Delta {\text{S}}^\circ$$
(17)
$$\ln {{\text{K}}_{\text{c}}}=\frac{{\Delta {\text{S}}^\circ }}{{\text{R}}} - \frac{{\Delta {\text{H}}^\circ }}{{{\text{RT}}}}$$
(18)

The adsorption thermodynamic study of MB onto PIEs was examined with the effect of temperature data. The thermodynamic parameters, such as Gibbs’ free energy change (∆G°), enthalpy change (∆H°) and entropy change (∆S°) were derived using thermodynamic equations (Eqs. 1114). ∆H° and ∆S° were defined from the slope and the intercept of the plot of lnCe versus 1/T and lnKc versus 1/T (Fig. 12a, b). The obtained thermodynamic parameters are listed in Table 5. From the thermodynamic study, the positive enthalpy changes were observed, which reveals that the adsorption process is an endothermic in nature. The negative ∆G° values were observed, which indicate that the adsorption of MB onto PIEs is feasible and spontaneous. The ∆G° value decreased and adsorption capacity increased when temperature increases. From the result of ∆G°, it seems that the PIEs adsorption sites are more active when temperature increases due to decreasing activation energy on the surface of PIEs, which made a fast adsorption interaction between MB and PIEs, So, this adsorption process is more favourable at slightly higher temperature (35 °C). The results of thermodynamic studies suggest that the PIEs could be a promising adsorbent for the removal of cationic dye from the aqueous solution and is more favourable at higher temperatures.

Fig. 12
figure 12

a Plot of lnCe against 1/T b Plot of lnKc against 1/T for MB adsorption onto PIEs [optimum parameters: pH (6.95), initial MB concentration (200 mg/L), adsorbent dosage (50 mg), contact time (120 min) and temperature (298–318 K)]

Table 5 Thermodynamic parameters for the adsorption of MB onto PIEs [optimum parameters: pH (6.95), initial MB concentration (200 mg/L), adsorbent dosage (50 mg), contact time (120 min) and temperature (298–318 K)]

Conclusion

In this study, anionic chelating (imide and ether groups) PIEs was successfully synthesized and used for the removal of cationic MB dye from the aqueous solution. The anionic chelating functional groups enhanced the adsorption efficiency and it could be dependent upon the adsorption parameters such as solution pH, adsorbent dosage, contact time and initial MB concentration. It was optimized. The adsorption kinetic results showed that the qe value derived from the pseudo second order kinetic was very close with experimental qe value and obtained experimental data well fitted with pseudo second order kinetic. It could be suggested that the adsorption of MB onto PIEs followed the pseudo second order kinetics. Two (Langmuir and Freundlich) and three (Redlich–Peterson and Sips isotherms) parameter isotherm was derived with the effect of initial MB concentration experimental results. It could be suggested that the PIEs has heterogeneous surface. The monolayer (adsorption capactiy 166.8 mg/g) and multilayer (adsorption capactiy (32.7 mg/g) adsorption efficiency were observed from Lanmuir and Sips parameters respectively. The negative ∆G° and positive ∆H° and ∆S° values of adsorption thermodynamic study indicate that the nature of adsorption of MB onto PIEs is an endothermic reaction and the process is feasible and spontaneous. High adsorption efficiency was observed when compared to earlier reports and adsorbed waste material could be converted into a useful polymer composite to avoid solid waste in the environment. Based on the adsorption experimental results, we suggested that the PIEs could be a considerable potential adsorbent for the removal of cationic dyes from the aqueous solution due to its adsorption efficiency and reusability.