Introduction

Pharmaceutical compounds play an essential role in preventing and treating human and animal diseases (Huerta-Fontela et al. 2011; Sotelo et al. 2012). Growing population and the search for a cure for new and old diseases have significantly increased the use of pharmaceuticals worldwide (Sotelo et al. 2014). The excessive increase in drug use occurs, an increase in the disposal of these compounds in the environment. These chemical compounds can be released into the environment in a variety of ways (Kummerer 2001; Marques et al. 2017). After administration, a significant part of the original pharmaceuticals and its metabolites is excreted through human and animal urine and feces, reaching in domestic sewage, industrial and hospital effluents, soil, and aquatics ecosystems (Bolong et al. 2009; Taylor and Senac 2014; Pouretedal and Sadegh 2014). The inappropriate disposal of disused and overpowered pharmaceuticals has contributed to the increase in the incidence of it in the environment (European community 2015, Suriyanon et al. 2013).

After dispersed to the environment, these chemical compounds can compromise water and soil quality by compromising human and animal health (European community 2015; Secondes et al. 2014).

The presence of pharmaceuticals on domestic and industrial wastewaters was detected in the waters of different countries (European community 2015; Zuccato et al. 2010; Elmolla and Chaudhuri 2010; Ginebreda et al. 2010; Fatta-Kassinos et al. 2011). Pharmaceuticals are very persistent and poorly biodegradable compounds and may be hazardous in aquatic life even at low concentrations (Homem et al. 2013). For this reason, environmental regulatory agencies around the world have given additional attention in monitoring these chemical compounds in waters (Sotelo et al. 2012; European community 2015).

Thereareseveral treatment methods availablethatcanbe employed fortheremovalof pharmaceutical compounds from aqueous media (Chun et al. 2015; Homayoonfal and Mehrnia 2014; Sophia and Lima 2018; Deegan et al. 2011). The adsorption technique using powdered activated carbon as adsorbent hasbeen considered adequatefortheremovalofvariousorganic contaminants fromwater, including pharmaceuticals (Chayid and Ahmed 2015). Theextensiveutilizationofgranular-activated carboninthe adsorption processisduetoits characteristics such as high surface area, good pore structure, and medium regeneration capacity (Moussavi et al. 2013).

The use of botanical biomasses as a feedstock material for the manufacture of low-cost-activated carbons with specific properties has gained interest in the scientific community (Wong et al. 2018a, b). Studies show that activated coals produced from agricultural biomass are quite competitive when compared with commercial-activated carbon due to low-cost, elevated sorption capacity, and reuse possibility (Kasperiski et al. 2018b; Lima et al. 2019). There are many examples of the use of botanical biomasses employed for the manufacture of activated carbon as an adsorbent for water and wastewater treatments (Sophia and Lima 2018; Liu et al. 2017; Leite et al. 2018).

Tsai et al. (2020) proposed the use of cocoa pod husk as a carbon precursor, and it was chemically activated using KOH using different temperatures (400–800 °C) obtaining activated carbons with BET surface area (SBET) ranging from 6 to 1783 m2 g−1. Briton et al. (2020) developed activated carbons from plantain (Musa × paradisiaca) spike waste using response surface methodology. This biomass was chemically activated using H3PO4 as an activating specie. Bhomick et al. (2020) studied the biomass of Schima wallichii that was doubly pyrolyzed in a conventional furnace. First, it was pyrolyzed at 600 °C under nitrogen flow. Afterward, it was impregnated with ZnCl2 and finally pyrolyzed at 500–700 °C. The activated carbons obtained presented SBET ranging from 269 to 999 m2 g−1. Lima et al. (2019) prepared activated carbon from capsules of cashew of Para using chemical activation with ZnCl2. The biomass was pyrolyzed at 600–700 °C, obtaining SBET ranging from 1419 to 1457 m2 g−1. Based on these works, it is possible to infer that different biomasses using different conditions of pyrolysis and chemical activators can obtain different activated carbons with different surfaces to adsorb different species of interest (Sophia and Lima 2018).

In the context of developing new activated carbons, up to our best knowledge, works reporting the use of lovegrass grass as a carbon feedstock to produce activated carbon by convention pyrolysis, and its application for acetylsalicylic acid and diclofenac has not been found in the literature.

Lovegrass known botanically as Eragrostis plana Nees belonging to the family of Poeacea is an abundant non-toxic and renewable ecological material very commonly found in all Brazilian regions (Filho et al. 2017). This vegetable biomass contains in its composition considerable amounts of cellulose, hemicellulose, and lignin that make this plant interesting precursor material for the manufacture of activated carbon (Wong et al. 2018a, b; Gonzáles-Garcia 2018).

The lovegrass is an invasive species on the farms of Brazil (Barbosa et al. 2013). It presents a low nutritional value and high mechanical traction strength. Therefore it is not appropriate for cattle breeding. Therefore, the lovegrass is unsuitable for grazing (Scheffer-Basso et al. 2016). Its presence on the Brazillian farms brings economic losses for farmers. (Barbosa et al. 2013). This work aims to add valor to lovegrass.

In this context, this study aims to produce activated carbon from lovegrass by conventional pyrolysis using chemical activation and its application as an adsorbent for removal two pharmaceutical compounds, acetylsalicylic acid (analgesic), and diclofenac sodium (anti-inflammatory) both widely used by the world population and frequently detected in aquatic ecosystems. The produced activated carbon produced from lovegrass was characterized by pH of the point of zero charges (pHpzc), Boehm’s titration method, CHN/O elemental analysis, FTIR, N2 adsorption/desorption curves, and SEM. The adsorption studies were performed by the batch process, considering the adsorption capacity. Kinetic and equilibrium studies were also performed, and the effects of pH, contact time, initial concentration, and adsorbent mass were investigated to understand the mechanism of interaction between adsorbate-adsorbent.

Material and methods

Chemicals and biomass source

The acetylsalicylic acid (ASA) and sodium diclofenac (DFC) (see Supplem. Fig. S1 and Fig. S2, respectively) chemical were obtained from Merck and were of analytical grade. The ultrapure water was used to prepare all working solutions.

Ten kilograms of lovegrass leaves were collected on a farm of the University of Federal Pampa, Bagé town, in the State of Rio Grande do Sul, Brazil. The lovegrass leaves were washed abundantly with tap water and dried at 60 °C for 3 days. Afterward, it was milled and sifted to obtain particle size ≤ 250 μm, which will facilitate the reaction during activation. Analytical grade zinc chloride (ZnCl2) was used as an activating agent (Synth, Diadema, Brazil).

Preparation of Cpa-AC-activated carbon

The Cpa-AC material was prepared by chemical activation at an impregnation ratio of 1:1 (biomass precursor:ZnCl2), followed by pyrolysis in a conventional furnace. The activated carbon adsorbent was prepared as follows: dried biomass precursor (particle size between 50 and 60 μm) was impregnated in solution with the chemical activating at 80 °C for 120 min. After, the mixture was pyrolyzed at 700 °C in a horizontal furnace, using a ramp heating of 10 °C/min under N2 flow (200 mL/min) for 1 h. The activated material was cooled and treated with 6 mol/L HCl under reflux at 80 °C, filtered, and washed deionized water several times until the pH neutral (Puchana-Rosero et al. 2016; Umpierres et al. 2018). Then, it was dried in an oven at 100 °C for 24 h. Afterward, the carbon adsorbent was ground and sieved, and it was called as Cpa-AC.

Characterization of Cpa-AC adsorbent

Elemental composition CHN of biomass (Cpa) and activated carbon (Cpa-AC) were obtained by the Elemental Analyzer (Perkin Elmer, Waltham, MA, USA). The difference between total percentage (100wt%) and the sum of percentages (W% dry ash-free) of nitrogen, hydrogen, and carbon was used to obtain the oxygen content (Thue et al. 2016).

The surface composition of biomass precursor (Cpa) and the produced activated carbon (Cpa-AC) were characterized using spectrophotometer model FTIR-8400S (Shimadzu, Japan), combined with the ATR accessory.

The total surface basicity and acidity of Cpa-AC material were quantified by the modified method of Boehm titration (Oickle et al. 2010).

The pore size and surface area of Cpa-AC were calculated by the BJH and BET methods using N2 at − 196 °C utilizing an adsorption analyzer (Micromeritics Instrument, TriStar II 3020) (Pavan et al. 2002; Wamba et al. 2019).

The point of zero charges (pHpzc) of Cpa-AC was obtained as previously described in our study (Umpierres et al. 2018).

Scanning electron microscopy technique (SEM) using a JEOL Electron Microscope operating at 15 kV was employed to verify the morphology biomass precursor (Cpa) and Cpa-AC carbon.

ASA and DFC adsorption onto Cpa-AC

The adsorption studies of ASA and DFC on Cpa-AC adsorbent were performed using a typical batch procedure at 25 °C. The adsorption studies were carried out as follows: An amount of mass (30.0–200.0 mg) of Cpa-AC was added to solutions of pharmaceutical compounds at different initial concentrations and pH solution values (2.0–10.0). The mixtures were then shaken at 200 rpm and collected at the desired contact time (see details on kinetic assays). After centrifugation, the amounts of pharmaceuticals in the supernatant solution were determined UV spectrophotometry using a UV-Vis spectrophotometer (Agilent, Cary 50 Bio, Santa Clara, USA) at a maximum absorption wavelength of ASA (280 nm) and DFC (275 nm). Eqs. (1) and (2) respectively calculated the sorption capacity (q) of adsorbate adsorbed on Cpa-AC and the percentage of removal.

$$ \mathrm{q}=\frac{\left(\mathrm{Co}\hbox{-} \mathrm{Cf}\right)}{\mathrm{m}}\mathrm{xV} $$
(1)
$$ \%\mathrm{Removal}=100\mathrm{x}\frac{\left(\mathrm{Co}\hbox{-} \mathrm{Cf}\right)}{\mathrm{Co}} $$
(2)

where q is the sorption capacity of Cpa-AC (mg g−1), Cf is final ASA or DFC concentration after adsorption (mg L−1), Co is the initial ASA or DFC concentration in contact with Cpa-AC (mg L−1), m is the mass of Cpa-AC (g), and V is the volume of ASA or DFC solution (L).

Kinetic models

Kinetic adsorption studies were made using 60 mg of Cpa-AC adsorbent for 20 ml of pharmaceutical solution (200.0 and 400.0 mg L−1). The samples were withdrawn at different times varying between 5 and 120 min at pH solution value 4.0 pseudo-first-order, pseudo-second-order, and Avrami fractional-order (Lima et al. 2012) models were used to fit the kinetic data. The mathematical equations of these respective models are shown in Eqs. (3), (4), and (5).

$$ {q}_t={q}_e\mathrm{x}\left[1\hbox{-} \exp \left(\hbox{-} {\mathrm{k}}_1\mathrm{xt}\right)\right] $$
(3)
$$ {q}_t=\frac{q_e^2{k}_2t}{\left[{k}_2\left({q}_e\right) xt+1\right]} $$
(4)
$$ {q}_t={q}_e\mathrm{x}\left\{1\hbox{-} \exp {\left[\hbox{-} \left({\mathrm{k}}_{\mathrm{AV}}\mathrm{xt}\right)\right]}^{\mathrm{nAV}}\right\} $$
(5)

where k1 is the pseudo-first-order rate constant (min−1), k2 is the pseudo-second-order rate constant (g mg−1 min−1), t is contact time (min), qt and qe are the amounts of adsorbate adsorbed at time t and the equilibrium (mg g−1).

Equilibrium models

For the equilibrium studies, an amount of 60 mg of Cpa-AC was added to 20.0 mL solution of pharmaceutical compounds at the concentration ranging from 100.0 to 2000.0 mg L−1, at pH 4.0 value. The mixture was stirred for 60 min, and the concentrations of ASA or DFC remaining in the solution were calculated.

Langmuir, Freundlich, and Liu’s models were employed for analysis of equilibrium data. Equations 6, 7, and 8 show the corresponding Langmuir, Freundlich, and Liu models (Lima et al. 2012).

$$ {q}_e=\frac{Q_{\mathrm{max}}x{K}_Lx{C}_e}{1+{K}_Lx{C}_e} $$
(6)
$$ {q}_e={K}_Fx{C}_e^{1/{n}_F} $$
(7)
$$ {q}_e=\frac{Q_{\mathrm{max}}x{\left({K}_gx{C}_e\right)}^{n_L}}{1+{\left({K}_gx{C}_e\right)}^{n_L}} $$
(8)

where qe is the adsorbate amount adsorbed at equilibrium (mg g−1); Ce is the adsorbate concentration at equilibrium (mg L−1); Qmax is the maximum sorption capacity of the adsorbent (mg g−1); KL is the Langmuir equilibrium constant (L mg−1); KF is the Freundlich equilibrium constant (mg g−1.(mg L−1)−1/nF); Kg is the Liu equilibrium constant (L mg−1); nF and nL are the exponents of Freundlich and Liu model, respectively, (nF and nL are dimensionless).

Statistical evaluation of models and quality control

The preliminary experiments were carried out to ensure reproducibility, reliability, and accuracy of the experimental data. The relative standard deviations of all measurements were below 5% (Lima et al. 1999, b). Blanks were run in parallel and corrected when necessary (Lima et al. 2000).

The solutions of ASA and DFC were stored in glass bottles, which were cleaned, rinsed with deionized water, dried, and stored them in a suitable cabinet (Lima et al. 2003).

Standard ASA and DFC solutions (2.0–80.0 mg L−1) were used for calibration in parallel with a blank. The linear analytical calibration curve was performed on the UV-VIS software of the Agilent, Cary 50 Bio spectrophotometer. All the analytical measurements were carried out in triplicate, and the precisions of the standards were better than 3.4% (n = 3) (Lima et al. 1998b).

The detection limits of ASA and DFC were 0.20 and 0.18 mg L−1, respectively, with a signal/noise ratio of 3 (Lima et al. 1998a).

The kinetic and equilibrium data fitness was carried out with nonlinear methods, which were evaluated using the Simplex method and the Levenberg–Marquardt algorithm using the fitting facilities of the Microcal Origin 2018 software [36, 37]. The adequacy of the equilibrium and kinetic models was evaluated using the determination coefficient (R2), the adjusted determination coefficient (R2adj), and the standard deviation of residues (SD) (Lima et al. 2012; Kasperiski et al. 2018a, b; Pavan et al. 2008).

Mathematical expressions for respective R2, R2adj, and SD are presented in Eqs. (9), (10), and 11, respectively.

$$ {\mathrm{R}}^2=\left(\frac{\sum_{\mathrm{i}}^{\mathrm{n}}{\left({\mathrm{q}}_{\mathrm{i},\exp}\hbox{-} {\overline{\mathrm{q}}}_{\mathrm{exp}}\right)}^2\hbox{-} {\sum}_{\mathrm{i}}^{\mathrm{n}}{\left({\mathrm{q}}_{\mathrm{i},\exp}\hbox{-} {\mathrm{q}}_{\mathrm{i},\mathrm{model}}\right)}^2}{\sum_{\mathrm{i}}^{\mathrm{n}}{\left({\mathrm{q}}_{\mathrm{i},\exp}\hbox{-} {\overline{\mathrm{q}}}_{\mathrm{exp}}\right)}^2}\right) $$
(9)
$$ {\mathrm{R}}_{\mathrm{adj}}^2=1\hbox{-} \left(1\hbox{-} {\mathrm{R}}^2\right)\mathrm{x}\left(\frac{\mathrm{n}\hbox{-} 1}{\mathrm{n}\hbox{-} \mathrm{p}\hbox{-} 1}\right) $$
(10)
$$ \mathrm{SD}=\sqrt{\left(\frac{1}{\mathrm{n}\hbox{-} \mathrm{p}}\right)\mathrm{x}\sum \limits_{\mathrm{i}}^{\mathrm{n}}\left(\mathrm{qi},\exp \hbox{-} \mathrm{qi},\mathrm{model}\right)2} $$
(11)

where qi,exp is particular experimental q value; \( \overline{q} \)exp is the average of all experimental q values measured; qi,model is individual theoretical q value predicted by the model; p is the number of parameters in the fitting model, and n is the number of experiments.

Results and discussions

Characterization of the Cpa-AC adsorbent

The elemental composition CHN/O of Cpa and Cpa-AC material was obtained. The results show that Cpa presented 48.25% C, 6.10% H, 2.35% N, and 39.64% O. When the sample was pyrolyzed, the C content increases to 71.77%, while the H, N, and O percentages drastically diminished to 2.59%, 2.33%, and 17.50%, respectively. The increase in the amount of carbon after the pyrolysis process can be explained due to the predominant aromatic structure of the Cpa-AC material whereas losses of H, N, and O are due to the thermal degradation of lignin, hemicellulose, and cellulose present in the Cpa biomass during the pyrolysis (Leite et al. 2018; Cunha et al. 2018).

The number of chemical groups present on the Cpa-AC adsorbent was quantified by the modified method of Boehm titration (Oickle et al. 2010). The total basicity and acidity were quantified with HCl and NaOH solutions, respectively (Umpierres et al. 2018; Cunha et al. 2018). The total basicity of Cpa-AC was 0.05 mmol g−1, and the total acidity of Cpa-AC adsorbent was 1.540 mmol g−1. These results confirm the acidic behavior of the surface of Cpa-AC adsorbent.

In this study, the FITR analysis was performed for to confirm the conversion of biomass precursor (Cpa) to derived activated carbon (Cpa-AC) and thus for to determine the chemical groups on (Cpa-AC) after the pyrolysis and chemical activation processes that may help on the ASA and DFC adsorption. Based on Fig. 1, if we compare the absorption spectra of the Cpa and the Cpa-AC, it is possible to verify that a difference exists between them. Fig. 1 shows that the absorption spectrum of Cpa-AC presents fewer and less intense absorption bands when compared with the spectrum of Cpa. The elimination of the chemical groups and created aromatic ring verified in the Cpa-AC spectrum is indicative of the conversion satisfactory of the biomass precursor to activated carbon.

Fig. 1
figure 1

FTIR spectra of the Cpa and Cpa-AC adsorbent

For the Cpa biomass, the strong band at 3323 cm−1 is attributed to O-H and N-H groups (Kasperiski et al. 2018a; Cunha et al. 2018). The two bands at 2850 and 2918 cm−1 were assigned to symmetric and asymmetric stretching of the C–H group, respectively (Umpierres et al. 2018). These two bands disappeared in the Cpa-AC carbon material. The band at 1732 and 1367 cm−1 was assigned to the O=C stretching of carboxylic groups (Umpierres et al. 2018; Thue et al. 2016). The small bands at 1423 and 1369 cm−1 are assigned to ring modes of the benzene ring (Umpierres et al. 2018; Kasperiski et al. 2018a, b). The small band at 1242 cm−1 could be assigned to the C-N stretch (Pavan et al. 2008; Cunha et al. 2018). The peaks at 1160 cm−1 correspond to the C-O stretch of secondary alcohols or ethers (Kasperiski et al. 2018a; Pavan et al. 2008); the band at 1030 cm−1 corresponds to the C-O stretch of primary alcohols (Kasperiski et al. 2018b; Yacob et al. 2015). The bands at 900 cm−1 are assigned to the bending of out-of-plane of H-C groups (Kasperiski et al. 2018a; Pavan et al. 2008).

In the characteristic spectrum of the Cpa-AC, it is possible to identify some adsorption bands corresponding to chemical groups such as alcohols and phenols, esters and carboxylic acids, and mainly aromatics remaining after the pyrolysis process. The absorption peak at 3354 cm−1 was attributed to the O-H and N-H vibrations (Filho et al. 2017; Cunha et al. 2018; Yacob et al. 2015). The band at and 1563 cm−1 is assigned to an asymmetric stretch of carboxylate (O-C=O) (Filho et al. 2017; Cunha et al. 2018; Yacob et al. 2015); the shoulder at 1367 cm−1 is due to the aromatic ring modes (Umpierres et al. 2018; Thue et al. 2016). The bands at 1106 cm−1 correspond to the C-O stretch of secondary alcohols (Umpierres et al. 2018; Kasperiski et al. 2018a); the band at 1050 cm−1 corresponds to the C-O stretch of primary alcohols (Pavan et al. 2008; Yacob et al. 2015). The bands at 808 cm−1 correspond to C-H out-of-plane bends of aromatic rings (Pavan et al. 2008; Yacob et al. 2015). FTIR analysis confirms the functional groups measured by the Boehm’s titration method.

Pore size distribution is a factor essential for the better comprehension of the kinetic and equilibrium adsorption mechanism between adsorbent and adsorbate with distinct dimensions. The average pore diameter distribution of Cpa-AC, as well as the isotherm of adsorption and desorption of nitrogen, is presented in Fig. 2 a and b, respectively. Figure 2a shows that Cpa-AC adsorbent presents a pore size distribution between 2.8 and 50.6 nm of pore diameter. Fig. 2b reveals that the isotherm of adsorption and desorption of N2 presents a hysteresis of type IV, typical of the mesoporous materials (Pavan et al. 2002).

Fig. 2
figure 2

N2 adsorption-desorption isotherm (a) BJH and (b) BET of Cpa-AC adsorbent

The specific surface area (SBET) of Cpa-AC adsorbent was 1040 m2 g−1. From this value, the micropore area is 304.56 m2 g−1, and the external surface area of Cpa-AC adsorbent is 732.55 m2 g−1, which corresponds to 29.28% (micropore area) and 70.43% (external pore area) of the total SBET. Moreover, Cpa-AC material exhibits a mesopore volume of 0.4675 cm3 g−1 and a micropore volume of 0.1354 cm3 g−1. The percentages of the mesopore and micropore volume concerning the total pore volume are 77.52% and 22.45%, respectively (Cunha et al. 2018). Analyzing the results, it is possible to conclude that 77.52% of pore volume and 70.43% of the surface area are due to mesopores present on the structure of the novel Cpa-AC material.

SEM was used to study the morphology of the biomass before (Cpa) the carbonization and the Cpa-AC activated carbon after the carbonization. The electronic photomicrography of the Cpa and Cpa-AC materials are shown in Fig. 3 a and b, respectively. When analyzing the photos shown in Fig. 3 a and b, it is clear that there were significant differences morphological in the two materials. SEM photo of Cpa biomass (Fig. 3a) shows fiber and homogenous surface without cavities of the biomass. The SEM image of the Cpa-AC surface (Fig. 3b) reveals the presence of irregular pores and cavities over the surface of the material. These cavities and pores formed can be attributed to the chemical activation with ZnCl2 (Lima et al. 2019; Wang et al. 2009). The SEM results confirm the stage of the carbonization with ZnCl2 activation of the Cpa (Lima et al. 2019; Wang et al. 2009).

Fig. 3
figure 3

SEM fotomicrographs (a) Cpa precursor and (b) Cpa-AC adsorbent

The point of zero charges (pHpzc) is defined as the pH of the solution that lets the net charge of the solid surface as zero. This happens when the summation of all negative and positive charges on the solid surface is equivalent (Umpierres et al. 2018). The Cpa-AC surface will be positively charged when the pH of solutions is lower than pHpzc (Cunha et al. 2018), and it will be negatively charged for the pH of solutions higher than pHpzc. Figure 4 provides the plot of ΔpH versus initial pH values. The obtained value of pHpzc for Cpa-AC adsorbent was 4.96. These results show the acidic behavior of the Cpa-AC surface, which is in agreement with the total acidity groups obtained by the Boehm titration method (the “Characterization of the Cpa-AC adsorbent” section).

Fig. 4
figure 4

pHPCZ of Cpa-AC adsorbent

Optimization of batch contact adsorption conditions

The adsorption experiments were carried out with ASA and DFC molecules in aqueous media. Different adsorbent masses (10–120 mg) of Cpa-AC material were mixed with 20.0 mL of the two pharmaceuticals solutions (10.0 to 1000.0 mg L−1) with an initial pH of adsorbate solutions ranging from 2.0 to 10.0.

The effect of the initial pH of ASA and DFC solutions on adsorption capacity onto Cpa-AC adsorbent was evaluated (see Fig. 5). These results show that the values of adsorption capacities (qe) of Cpa-AC adsorbent of practically do not change from pH values between 2.0 and around 4.5 for both pharmaceutical compounds, while at pH values between 5.0 and 10.0, a decrease on adsorption capacities were observed. The behavior can be discussed considering the point of zero charges (pHpzc) of Cpa-AC adsorbent, negative, and the positive charges of pharmaceutical compounds at pH values. Depending on the charges of both Cpa-AC adsorbent and ASA or DFC molecules, we will have an attraction or repulsion forces. The pHpzc of Cpa-AC adsorbent is acid (4.96) due to a large quantity of acidic functional groups present on the surface of the adsorbent. When pH < pHpzc value, the surface of Cpa-AC adsorbent is charged positively while ASA and DFC are charged negatively (pKa 3.41 and 4.00 for ASA and DCF, respectively) and contribute to the electrostatic attraction between then. Otherwise, for pH values between 5.0 and 10.0 (pHs > pHpzc), a strong electrostatic repulsion between the negative surface of the adsorbent and the negative charges of ASA and DFC results in a decrease of adsorption capacities. However, other possibilities adsorption of ASA and DFC onto Cpa-AC adsorbent, such as π − π interactions and hydrogen bonds, van der Waals forces should not be neglected (Filho et al. 2017; Kasperiski et al. 2018b; Cunha et al. 2018). Based on these results for the other adsorption studies of ASA and DFC on Cpa-AC adsorbent, the pH of the solutions was adjusted to 4.0. The final pH of all the solutions was measured after the adsorption procedure. Considering that the Cpa-AC adsorbent presents an acidic behavior, all final pH of the solutions have a decrease of initial pH ranging from 0.5 to 2.0, when compared with the initial values of the adsorbate solutions.

Fig. 5
figure 5

Effect of pH of the pharmaceuticals adsorption onto Cpa-AC (a) ASA and (b) DFC. Conditions: C0 = 2000.0 mg L−1; T = 25 °C; adsorbent mass = 60.0 mg, and t = 60 min. The final pH of all the solutions was measured, and considering the acidic behavior of Cpa-AC, the final pH of the solutions decreases by 0.5 to 2.0 concerning the initial pH

The influence of the mass of Cpa-AC on ASA and DFC adsorption was performed with the increases of the quantity of adsorbent (10.0 to 120.0 mg) maintaining other parameters fixed as initial ASA and DFC initial pH 4.0, contact time (60.0 min), concentrations (400.0 mg L−1), and shaker speed (150.0 rpm). The sorption capacity and the percentage of removal (%Rem) of ASA and DFC onto Cpa-AC adsorbent are shown in Fig. 6.

Fig. 6
figure 6

Effect of the mass of the Cpa-AC on the adsorption. a ASA. b DFC. C0 = 2000.0 mg L−1; T = 25 °C; t = 60 min; and initial pH = 4.0. The final pH of the solutions was 3.5–3.8

If we examine, Fig. 6a and b are possible to verify that when adsorbent mass was augmented from 10.0 to 60.0 mg, the %Rem of ASA rose from 32.50 to 97.80% (Fig. 6a) and the percentage of DCF removal increased from 41.60 to 98.08% (Fig. 6b). For adsorbent masses higher than 60.0 mg, the percentage of removal was practically constant (see Fig. 6). On the other hand, the sorption capacity (q) of both pharmaceuticals decreased for the increase of adsorbent mass from 10.0 to 120.0 mg. For this reason, 60 mg of Cpa-AC was chosen for the other experiments reported in this work. The sorption capacities were 202.84 mg g−1 for ASA and 252.36 mg g−1 for DCF, using 60 mg of Cpa-AC adsorbent.

Increases in %Rem of the ASA and DFC with masses of Cpa-AC material up to 60.0 mg could be attributed to an increase in the surface areas of the adsorbent available for sorbing the adsorbate (Pavan et al. 2008; Cunha et al. 2018). The most likely hypothesis for decreasing q with increased adsorbent mass is due to particulate aggregation of the solid adsorbent. Such aggregation of solid particles would cause a diminishing of the surface area of the adsorbent available for adsorption and augmentation in diffusional path length for the adsorbate to reach the active adsorbent sites (Pavan et al. 2008; Cunha et al. 2018).

Adsorption kinetics

The data of kinetics of adsorption of the ASA and DFC onto Cpa-AC adsorbent were assessed using the nonlinear kinetic models of the Avrami fractional-order, pseudo-first-order, and pseudo-second-order (Lima et al. 2012). The kinetic adsorption curves and the parameters of the kinetic model are depicted in Fig. 7 and Table 1.

Fig. 7
figure 7

Kinetic adsorption curves of (a) ASA 200.0 mg L−1, (b) ASA 400.0 mg L−1, (c) DFC 200.0 mg L−1, and (d) DFC 400.0 mg L−1 using Cpa-AC adsorbent. Initial pH of adsorbate solution was fixed at pH 4.0, temperature of 25 °C, and mass of adsorbent of 60 mg. The final pH of the solutions was within 3.5–3.8

Table 1 Kinetics parameters, R2adj, and SD for ASA and DFC adsorption onto Cpa-AC adsorbent. All numeric values are expressed with four significant digits

The standard deviation (SD) and the adjusted determination coefficient (R2adj) were used to statistically evaluate the fitting of the kinetic data (Thue et al. 2016). The smaller discrepancy between the theoretical (calculated by the models) and experimental q values are obtained with lower SD and higher R2adj values (Thue et al. 2016). The kinetic parameters, SD, and R2adj are shown in Table 1. According to the results shown in Table 1, the best fitted kinetic model was the Avrami fractional-order. The Avrami fractional-order exhibited lower SD values (ranging from 0.5811 to 0.6818 (mg g−1) for ASA and from 0.7464 to 1.352 for DFC) and highest R2adj values (0.9992–0.9998, for ASA and 0.9984–0.9998 for DFC, see Table 1). It was verified that the sorption capacity at any time (qt) calculated by the Avrami fractional-order model is closest to the experimental values of qt for both ASA and DFC pharmaceuticals.

Figure 7 shows the relationship between the sorption capacities at any time (qt) of ASA and DFC (mg g−1) with the contact time (min). The equilibrium time was 45 min for ASA (molecular volume 154.95 A3) and 60 min for DFC (molecular volume 234.43 A3). These results show that kinetic adsorption on Cpa-AC is relatively fast and that it depends on molecular volume. The smaller volume of the chemical molecule leads to fast kinetics. The majority percentage of the mesopore (77.52%) present on Cpa-AC favors the fast diffusion of smaller molecules such as ASA and DFC into its network. The estimation of time to attain the equilibrium was based on the t0.95 (Umpierres et al. 2018; Kasperiski et al. 2018b) calculated based on the best fitted kinetic model (Avrami fractional-order). The t0.95 means the time to arrive at 95% of the saturation, making an interpolation of the modeled kinetic curve. Also, values of t0.5 are available in Table 1. This time is useful to estimate the time necessary to achieve 50% of saturation (Umpierres et al. 2018; Kasperiski et al. 2018b). It gives an idea of the initial sorption rate.

Equilibrium experimental studies

The Freundlich, Langmuir, and Liu isotherm models were employed to explore the equilibrium adsorption data (Lima et al. 2012; Kasperiski et al. 2018b). The experimental studies were done employing the best adsorption conditions previously obtained, 60.0 min of contact time, the temperature of 25 °C, a mass of adsorbent of 60.0 mg, and initial pH of pharmaceuticals fixed at 4.0 (see Fig. 8 a and b for ASA and DFC, respectively).

Fig. 8
figure 8

Equilibrium isotherm curves of (a) ASA and (b) DFC on Cpa-AC. Conditions: pH = 4.0; T = 25 °C; t = 60 min; and mass = 60 mg

The Liu isotherm presented R2adj closer to 1.000 and lower SD values (see Table 2), suggesting being the best fitted isotherm model. The SD values were 7.871–9.952 (Liu), 11.52–17.23 (Langmuir), and 22.58–24.97 mg g−1 (Freundlich) for ASA and DCF, respectively. Thus, the mathematical model that best describes the equilibrium data of the ASA and DFC was the Liu isotherm model. The maximum sorption capacities (Qmax) obtained by the Liu model were 221.7 mg g−1 (ASA) and 312.4 mg g−1 (DFC).

Table 2 Isotherm parameters, R2adj, and SD for ASA and DFC adsorption onto Cpa-AC

In order to compare the maximum sorption capacities (Qmax) of different adsorbents for acetylsalicylic acid (ASA) and sodium diclofenac (DFC), Table 3 presented a list of different adsorbents that brings this comparison (Bó et al. 2019; Hoppen et al. 2019; Moaca et al. 2019; Jung et al. 2019; Elamin et al. 2019; Gil et al. 2018; Wong et al. 2018a, b; Bhadra et al. 2016; Larous and Meniai 2016; Sathishkumar et al. 2015; Baccar et al. 2012; Saucier et al. 2015; dos Reis et al. 2016a, b; Zhuanga et al. 2020). For ASA, out of ten different adsorbents, including Cpa-AC, the proposed adsorbent presented a higher sorption capacity than eight. For DCF for ten different adsorbents (considering Cpa-AC), the proposed adsorbent presented the highest sorption capacity. This table is an indication that the Cpa-AC could be successfully used in real wastewater treatment.

Table 3 Comparison of maximum sorption capacities (Qmax) for adsorption of ASA and DCF

Conclusions

In this work, an efficient and new activated carbon was produced from Annoni grass (Cpa) botanically known as Eragrostis plana Nees by conventional pyrolysis and ZnCl2 activation. The derived activated carbon called Cpa-AC exhibits 71.77% carbon, 2.69% hydrogen, 2.33% nitrogen, and 17.50% oxygen. The Cpa-AC material presented the eminent total pore volume (0.6030 g cm−3) and specific surface area (1040 m2 g−1). FTIR analysis reveals that the chemical groups such as O-H, (C=O) O, N-H, C-O, and aromatic ring are present in the bulk and surface of Cpa-AC adsorbent. The Cpa-AC adsorbent has 77.52% of mesopores and 22.52% of micropores. The pore size distribution analysis confirms the pores region of mesopores. Boehm titration showed the predominance of acid groups (1.540 mmol g−1) on the surface of Cpa-AC adsorbent. The Cpa-AC adsorbent presents irregular pores and cavities over the surface. The value of pHPCZ of Cpa-AC adsorbent found was 4.96.

The adsorption of ASA and DFC onto Cpa-AC adsorbent occurs due to electrostatic interactions and π-π interactions between the Cpa-AC and the adsorbate from the solution. Kinetics studies found that the time necessary to reach equilibrium was 45 and 60 min for ASA and DFC, respectively. The isotherm and kinetic adsorption model that best fitted the experimental data were Liu isotherm and Avrami fractional-order kinetic model, respectively. The maximum sorption capacities (Qmax) were 221.7 mg g−1 (ASA) and 312.4 mg g−1 (DFC) using the best adsorption conditions. The results showed that Cpa-AC could be used as an alternative and efficiency adsorbent to the existing adsorbent for ASA and DFC removal. Therefore, this work collaborates in research to develop new adsorbent materials employed for the removal of pharmaceutical contaminants from aqueous media.