Introduction

Coconut (Cocos nucifera L.) is one of the three most economically important palm species in the world (Nayar 2017), and also one of the major crops providing livelihood security to millions in Asia and Pacific regions (Nampoothiri et al. 2018). Coconut trees provide a large quantity of eco-friendly economical raw materials during their growth and processing, such as inflorescence for sugar and vinegar, husks for coir mats, coconut shells for activated charcoal and ornaments, coconut leaves used for broomsticks, and coconut stems for furniture (Nayar 2017; Nampoothiri et al. 2018). Besides, coconut petioles, which have slight corrosion resistance, exist throughout the life cycle of coconut trees. Scattering such coconut petiole residues on roads or fields causes serious solid waste pollution, and their incineration also leads to air pollution. Although some studies have reported that it can be used as an alternative energy source (Nampoothiri et al. 2018) to isolate cellulose nanofibrils (Xu et al. 2015a) and fabricate cellulose nanofibril films (Zhao et al. 2015), the high value-added utilization of coconut petioles is far from enough compared with other coconut raw materials. Using underutilized coconut petiole residues to obtain high value-added products is not only beneficial to environmental protection, but also has economic benefits.

In theory, coconut petioles are appropriate for fabricating carbon nanomaterials, because they are rich in carbon and mainly composed of cellulose, hemicellulose and lignin (Xu et al. 2015a; Zhao et al. 2015; Bharath et al. 2019; Tejwan et al. 2020). Carbon dots (CDs) are new members of the carbon nanomaterials family, which were accidentally discovered when Xu et al. separated and purified single-walled carbon nanotubes in 2004 (Xu et al. 2004), and were subsequently named by Sun et al. (Sun et al. 2006). As an attractive type of zero-dimensional carbon nanomaterials with a size below 10 nm, CDs consist of an amorphous or crystalline carbon skeleton and a series of surface functional groups (Vandarkuzhali et al. 2017; Fan et al. 2020), which give them special fluorescence performance. Many studies show that CDs have great application potentials in fluorescence anti-counterfeiting (Yang et al. 2019a), bioimaging (Wang et al. 2019c; Atchudan et al. 2017, 2020a, b), detection analysis (Liu et al. 2019; Atchudan et al. 2018a), catalysis (Dhenadhayalan et al. 2020), and drug-delivery systems (Lin et al. 2020) due to their rich raw materials, easy synthesis routes, stable fluorescence performance, low cytotoxicity, and high aqueous solubility. CDs have been successfully derived from a variety of carbon sources, either man-made [e.g., carbon target (Sun et al. 2006) and citric acid (Zhu et al. 2013)] or natural products [e.g., aloe (Xu et al. 2015b), betel (Atchudan et al. 2019), grass (Sabet and Mahdavi 2019), rose-heart radish (Liu et al. 2017), peach (Atchudan et al. 2016), Indian gooseberry fruit (Atchudan et al. 2018c), and Jinhua bergamot (Yu et al. 2015)]. Compared with man-made carbon sources, eco-friendly natural products are cheaper, richer, greener, and easier to convert into high-value materials. In this study, we attempted to synthesize CDs from coconut petiole residues with a “bottom-up” method, hydrothermal method (Sun et al. 2020), which is more suitable for preparing natural products-based CDs because of such advantages as low-cost, eco-friendly, simple operation, sufficient reactions, and the relatively uniform particle size of prepared CDs (Zhang et al. 2018).

Due to industrialization and anthropogenic processes, excessive Fe3+ in the natural environment has become a kind of metal ion threatening the ecological environment and human health (Lin et al. 2019). Now, the concentration of Fe3+ is one of the important parameters for evaluating the quality of water environment and human body health. It is necessary to quantify Fe3+ concentration in water with favorable sensitivity and accuracy in the fields of biology and environment (Yan et al. 2016; Lv et al. 2020; Carvalho et al. 2019). However, compared with the use of CDs for Fe3+ detection, some of detection methods summarized in previous reports suffer from time consuming and complication (Venkatesan et al. 2019; Wei et al. 2019).

Considering the fact that no open reports exist about coconut petiole residues-derived carbon dots (CCDs), we explored the possibility of fabricating carbon dots from coconut petiole residues via a hydrothermal method and using the obtained CCDs to detect Fe3+ in water in this work. Here, we used a hydrothermal method for preparing carbon dots that saved more time and energy than other studies reported (Ma et al. 2019; Huang et al. 2019). The morphology, structure, and optical properties of the CCDs were characterized, and the mechanism of Fe3+ detection using CCDs was also explored. This work provides a new approach for high value-added conversion of coconut petiole residues, which is in favor of environmental protection and agricultural waste utilization. Moreover, the development and use of bio-based CCDs obtained through large-scale, low-cost, and green production for Fe3+ detection may be beneficial to monitoring and protecting public health and environment.

Materials and methods

Materials

Coconut petiole residues powder with a size of 90 mesh was offered by Hainan Kunlun New Material Science and Technology Co., Ltd. (Hainan, China). After being oven-dried at 60 °C, the powder with a moisture content of 12% was sealed in a plastic bag for subsequent use. H2SO4, ZnCl2, KCl and NaCl used in the experiment were purchased from Nanjing Chemical Reagent Co., Ltd. (Nanjing, China). FeCl3 and CaCl2 came from Sinopharm Chemical Reagents Co., Ltd. (Shanghai, China). FeCl2·4H2O, CuCl2, NiCl2·6H2O, and Quinine sulfate (99.0%) were provided by Shanghai Rich Joint Chemical Reagent Co., Ltd. (Shanghai, China), Shanghai Xinbao Fine Chemical factory (Shanghai, China), Xilong Scientific Co., Ltd. (Shantou, China) and Shanghai Aladdin Biochemical Technology Co., Ltd. (Shanghai, China), respectively. All chemicals were analytical grade and used without further purification. Purified water was used throughout the experiment.

Synthesis of CCDs

Carbon dots derived from coconut petiole residues were synthesized by a hydrothermal method (Sun et al. 2020) according to Scheme 1. Firstly, dry coconut petiole residues powder (1.0 g) was added into purified water (60 mL). After being stirred for 15 min at room temperature, the mixture was transferred into a polytetrafluoroethylene-equipped stainless-steel autoclave (100 mL) and heated at 180 °C for 10 h. After being cooled to room temperature naturally, the dark brown mixture taken from the autoclave was centrifuged (H-1650, Cence, China) at 9000 rpm for 10 min to remove the precipitation and retain the supernatant. Brown-yellow CCDs solution with a concentration of 2.33 mg/mL [calculated by a solution drying method (Xu et al. 2020) was obtained by filtering the centrifuged supernatant through a piece of filter membrane (0.22 μm). The solid CCDs for subsequent characterizations were prepared though vacuum freeze-drying (Alpha 1-2 LDplus, BMH, China).

Scheme 1
scheme 1

Synthesis process of CCDs by a hydrothermal method

Characterization of the CCDs

Morphological characterization

The morphology of the CCDs and their dispersion in water were analyzed by a high-resolution transmission electron microscope (HRTEM) (JEM-2100 UHR, JEOL, Japan) operated at an accelerating voltage of 200 kV. The sample for the test was obtained via drying an ultrathin carbon-coated copper grid coated with CCDs aqueous dispersion.

Structural studies

Fourier transform infrared spectroscopy (FTIR) spectra of the CCDs were recorded by an infrared spectrometer (VERTEX 80 V, Bruker, Germany). The mixture of solid CCDs powder and KBr (volume ratio 1:200) were ground and pressed into a transparent disk (Liu et al. 2017), and then scanned in the range of 4000–400 cm−1. The X-ray photoelectron spectroscopy (XPS) spectra of the prepared solid CCDs were carried out on an AXIS UltraDLD spectrometer (Shimadzu, Kyoto, Japan).

Optical properties studies

In this paper, the optical properties of the prepared CCDs were evaluated by ultraviolet–visible (UV–vis) absorption spectra, fluorescence (FL) spectra, fluorescence stability, and quantum yield (QY) analysis. The UV–vis absorption and FL spectra were recorded by a Lambda 950 UV–vis spectrophotometer (Perkin Elmer, USA) and a LS55 fluorescence spectrophotometer (Perkin Elmer, USA), respectively. In detail, the UV–vis absorption spectra were obtained with a scanning speed of 654.92 nm/min in the range of 200 to 800 nm, and the FL spectra were acquired with both excitation and emission slits of 5 nm, as well as a scanning speed of 300 nm/min. Fluorescence stability of the CCDs was also studied by exploring the effects of pH, ultraviolet irradiation duration, and NaCl concentration on the fluorescence intensity of CCDs. Specifically, the maximum fluorescence intensity of the CCDs under different acid–base (pH = 3–11) environmental media was recorded in sequence by using a fluorescence spectrophotometer (LS55, Perkin Elmer, USA) with the same test conditions as that of FL spectra investigation. Similarly, the maximum fluorescence intensity of the CCDs in the case of disparate ultraviolet irradiation duration (with the irradiation duration from 10 to 60 min) and diverse NaCl concentration (with the concentration of NaCl from 0 to 1.0 M) was also recorded by the above way. The QY of the CCDs was obtained by a sample reference method according to Eq. (1) (Zhang et al. 2016). Quinine sulfate (QY = 54%, λex = 360 nm) dissolved in H2SO4 (0.1 M) was chosen as the standard reference to calculate the QY of the CCDs in purified water. All absorbance values were controlled under 0.1 with an excitation wavelength of 360 nm (λex = 360 nm) to avoid re-absorption, and all the FL spectra in QY determination were obtained by exciting at 360 nm with an excitation slit and an emission slit of 15 and 2.5 nm, respectively.

$$ {\text{Q}}_{\text{sam}} {\text{ = Q}}_{\text{ref }} \cdot ( {\text{Slop}}_{\text{sam}} /{\text{Slop}}_{\text{ref}} ) \cdot ( {\text{N}}_{\text{sam}} /{\text{N}}_{\text{ref}} )^{ 2} $$
(1)

where Qsam and Qref refer to the QY of the sample and the reference, respectively. Slopsam and Slopref are the slopes from the plots of integrated fluorescence intensity versus absorbance of the sample and the reference, respectively. Nsam and Nref represent the refractive indexes of the sample and the reference substance, respectively. In this work, Nsam and Nref are the refractive index with 1.33 as the default for both CCDs and quinine sulfate.

Fluorescence detection of Fe3+ by CCDs

The detection of Fe3+ with the CCDs was performed by recording the fluorescence emission spectra. In detail, 1.0 mL of the prepared CCDs dispersion with a concentration of 0.2 mg/mL was first dispersed into 1.0 mL of phosphate-buffered saline (PBS, pH = 7), and then 1.0 mL of Fe3+ with different concentrations (0–1.0 M) was added into the mixture. The corresponding blank sample was also obtained by replacing Fe3+ with an equivalent amount of purified water. And then, the maximum fluorescence intensities excited at 360 nm of the above mixture samples and corresponding blank samples were respectively recorded as F and F0 value (LS55, Perkin Elmer, USA). The excitation and emission slits were 5 nm, and the scanning speed was 300 nm/min.

The limit of detection (LOD) was calculated according to Eq. (2) (Atchudan et al. 2018b).

$$ {\text{LOD}} = 3\upsigma / {\text{s}} $$
(2)

where σ refers to the standard deviation of the fluorescence intensities at the blank (the replica is 11), and s stands for the slope of the linear working curve.

Real water samples including tap and lake water samples were collected from our lab (Nanjing Forestry University, China) and Xuanwu lake (Nanjing, China), respectively. Firstly, the purified real samples were obtained by centrifuging the primary water samples at 9000 rpm for 15 min, followed by filtering with a piece of microporous membrane (0.22 μm) to remove suspended particles. Next, the CCDs solution (1.0 mL, 0.2 mg/mL), the purified real samples (1.0 mL), and Fe3+ (1.0 mL, with a concentration of 0, 30 and 40 μM, separately) were mixed for detection and recovery calculation according to Eq. (3) (Liu et al. 2017).

$$ {\text{Recovery }} = \left[ { ( {\text{C}}_{ 2 } - {\text{C}}_{ 1} ) / {\text{C}}_{ 0} } \right] \times 100\% $$
(3)

where C0 represents the concentration of Fe3+ added into the purified real samples. C1 and C2 are the concentration of Fe3+ in purified real samples before and after adding Fe3+ with a known concentration, respectively.

Results and discussion

Structure and properties of CCDs

Morphology and structure of CCDs

The inset in the upper-right corner of Fig. 1a shows that the CCDs solution is light brown-yellow and bright blue under daylight and ultraviolet irradiation (UV, 365 nm), respectively. As also shown in Fig. 1a, the nanoparticles CCDs are spherical shape and well dispersed in aqueous solution without any aggregation. Meanwhile, the average diameter of the prepared CCDs is calculated to be (1.39 ± 0.22) nm (the inset in the lower-left corner of Fig. 1a), which is lower than 10 nm. The above results indicate that the CCDs with blue-emission fluorescence performance and good water solubility are successfully synthesized from coconut petiole residues through a simple hydrothermal method.

Fig. 1
figure 1

a Morphology graph of the CCDs obtained by HRTEM, in which the inset in the upper-right corner are optical images under daylight (left) and UV light (right), respectively, and the inset in the lower-left corner is the particle size distribution of CCDs. b FTIR spectra of CCDs and their corresponding carbon source (coconut petiole residues). XPS full-scan spectrum (c) and their corresponding high-resolution spectrum of C1s (d), N1s (e), and O1s (f) of CCDs

FTIR spectra are used to speculate the molecular structure and functional groups of the CCDs, as shown in Fig. 1b. In the FTIR spectrum of CCDs (the blue line, Fig. 1b), the strong and broad absorption peak appears at 3429 cm−1, which is mainly due to the stretching vibration of O–H and N–H bonds (Ahn et al. 2019). The band at 2972–2920 cm−1 results from C–H stretching vibration (Sabet and Mahdavi 2019). The weak peaks at 1749 cm−1 and 1157 cm−1 are caused by the presence of C=O and C–O–C bonds, respectively (Wei et al. 2019). The strong band at 1612–1517 cm−1 is related to the stretching vibration of C=C, indicating that there exist sp2 structures in the CCDs (Huang et al. 2019). The absorption peak at 1400 cm−1 is attributed to the C–N stretching vibration, and the sharp peak located at 1055 cm−1 corresponds to C–O bonds (Ahn et al. 2019). To further explore the structural composition of the CCDs, the FTIR spectrum of their carbon source (the yellow line, Fig. 1b), coconut petiole residues, was also carried out. The wavenumber and corresponding ascription in the FTIR spectra of coconut petiole residues and CCDs were summarized in Table 1. There are similarities in general and subtle differences in details between the two FTIR spectra. Their resemblances, analogical absorption peaks caused by C–H (2972–2848 cm−1), C=O (1749–1735 cm−1), C=C (1631–1612 cm−1 and 1517–1515 cm−1), C–N (1400 cm−1), C–O–C (1243–1155 cm−1), as well as C–O (1064–1055 cm−1) bonds, suggest that there also exist chemical structures similar to their carbon source in CCDs (Zhao et al. 2015). However, compared with the FTIR spectrum of coconut petiole residues, the intensities of absorption peaks attributed to C=C (1612 cm−1), C–N (1400 cm−1), and C–O (1055 cm−1) bands in that of CCDs are stronger. Furthermore, obvious peaks belong to stretching vibration (2972 cm−1) and bending vibration (897 and 781 cm−1) of C–H bond merely appear in the FTIR spectrum of CCDs. It can be explained by the fact that coconut petiole residues powder generally undergoes several changing stages during hydrothermal treatment, including dehydration, condensation, polymerization, and carbonization or aromatization to form numerous carbon skeleton and surface functional groups of CCDs (Tejwan et al. 2020; Wang et al. 2019c). More specifically, the hydrothermal treatment allows hot compressed water to access the inner structure of coconut petiole residues, leading the crystalline-to-amorphous transformation of cellulose and then to fast reaction rates to form oligomers (Paksung et al. 2020). Hemicellulose, a light component, can decompose at 160 °C (Sulaiman et al. 2016). In addition, lignin may undergo wet oxidation at elevated temperature (100–320 °C) and pressure (0.5–20 MPa). In the wet oxidation of lignin, the aromatic aldehydes can be produced by cleavage of ether bond and appropriate oxidation of α C in phenylpropane (Kang et al. 2013). Above analyses show that the CCDs contain sp2 structures similar to the benzene ring, and have lots of –OH as well as –COOH, and a small number of –NH2 groups on the surface.

Table 1 Wavenumber and the corresponding ascription in the FTIR spectra of coconut petiole residues and CCDs

XPS spectra are introduced to further explore the elemental composition and chemical state of the CCDs surface, as shown in Fig. 1c. Three signal peaks at 284.8, 399.8, and 532.3 eV in the XPS full-scan spectrum of CCDs, are ascribed to C, N, and O elements with the relative atomic ratios as 66.8, 2.3, and 30.9%, respectively (Wang et al. 2019c). By peak fitting, the high-resolution XPS spectrum (Fig. 1d) of C1s displays four peaks at 284.2, 284.8, 286.1, and 287.9 eV, which can be assigned to C=C/C–C, C–N, C–OH, and C=O, respectively (Atchudan et al. 2018b; Wang et al. 2019b). Similarly, the high-resolution spectrum of N1s (Fig. 1e) contains C–N–C (399.7 eV) and N–H (401.0 eV) (Zhang et al. 2019a). Additionally, the high-resolution spectrum of O1s presents three peaks at 531.3, 532.2, and 532.8 eV (Fig. 1f), corresponding to the binding energies of O–H, C=O, and C–O, respectively (Zhang et al. 2019a; Yang et al. 2019b). The founding in the XPS spectra reveals that the CCDs are carbon-rich with nitrogen and oxygen, which confirms the result of the above FTIR analysis.

In brief, both FTIR and XPS investigation show that coconut petiole residues are decomposed and carbonized to form CCDs with a carbon skeleton dominated by benzene ring structure and surface functional groups such as –COOH, –OH, –NH2 by hydrothermal carbonization. The CCDs possess good water solubility because of these hydrophilic groups, which is consistent with the results of TEM analysis. Besides, as summarized in the previous report, the selectivity of CDs towards Fe3+ is related to the interaction between Fe3+ and carboxyl, hydroxyl or amino groups on the surface of CDs (Wang et al. 2019b). Therefore, it is expected that the CCDs should have potential applications in Fe3+ detection in water.

Optical properties of CCDs

The QY of the prepared CCDs is determined by the sample reference method. Figure 2a shows that the Slopsam and Slopref are 20,122.12 and 780,792.98, respectively. According to Eq. (1), the QY of CCDs without any dopant is 1.39%.

Fig. 2
figure 2

a The QY determination of CCDs. FL emission spectra excited at the wavelength from 320 to 400 nm (b), UV–vis absorption, optimal FL excitation and emission spectra (c), FL emission spectra with the concentration from 2.0 to 0.1 mg/mL excited at 360 nm (d), and the effect of pH (e), ultraviolet irradiation duration (f), and NaCl concentration (g) on FL intensity of CCDs

In Fig. 2b, the central position of the fluorescence emission peak of the CCDs gradually red-shifts from 437 (corresponding to blue light) to 493 nm (corresponding to cyan light) when the excitation wavelength varies from 320 to 400 nm. It indicates that the fluorescence emission performance of CCDs is related to excitation wavelength, which is similar to some previous reports (Ahn et al. 2019; Wang et al. 2019b). Generally, the excitation-dependent emission behaviors of CDs may attribute to two commonly accepted fluorescence mechanism, size-dependent quantum confinement effect and surface state emission effect (Tejwan et al. 2020; Wang et al. 2019b). As shown in the lower-left corner inset of Fig. 1a, the particle size of the CCDs with a small distribution range of 0.93 to 2.01 nm is homogeneous (Sun et al. 2020), demonstrating that this excitation-dependent emission phenomenon is not mainly due to size-dependent quantum confinement effect. Moreover, the surface functional groups of CCDs (such as –COOH, –OH, and –NH2) may serve as capture centers for excitons to form multiple emission sites or defect sites, giving rise to surface-state-related fluorescence of the CCDs (Ding et al. 2016). Therefore, the excitation-dependent behavior of the CCDs is mainly affected by the distribution of different surface states and particle size, and the surface state is the dominant factor. It’s worth noting that the fluorescence intensity of CCDs exhibits a maximum value excited at 360 nm, and the corresponding emission wavelength is 437 nm. So, we choose 360 nm as excitation wavelength in the subsequent CCDs application experiments for detecting Fe3+ in water.

Figure 2c shows the UV–vis absorption, optimal FL excitation and emission spectra of the prepared CCDs. The CCDs possess optical absorption capacity in the ultraviolet region, which is consistent with other literature reports (green line) (Ahn et al. 2019; Jia et al. 2019). Their absorption peak mainly exists in the ultraviolet region with a wavelength of 245 to 290 nm, and the maximum peak corresponds to 278 nm, which is assigned to π–π* electronic transitions of C=C bond (Jia et al. 2019; Yang et al. 2020a). The orange and blue lines respectively correspond to the optimal FL excitation (360 nm) and emission (437 nm) spectra of the CCDs, which also confirms that the CCDs emit blue fluorescence under ultraviolet irradiation.

In order to determine the most appropriate CCDs concentration suitable for the subsequent application, the effect of CCDs concentration on the fluorescence intensity was also investigated, and the result was shown in Fig. 2d. As the concentration of CCDs decreased from 2.0 to 0.2 mg/mL, the corresponding fluorescence intensities demonstrate a gradually increasing trend; however, further decreasing the concentration from 0.2 to 0.1 mg/mL leads to a reduction in fluorescence intensity. In a word, the maximum value appears in the CCDs concentration of 0.2 mg/mL under the excitation wavelength of 360 nm. Such a concentration-dependent emission phenomenon indicates that too high or too low concentration of CCDs is not suitable for satisfactory optical properties. In the case of high concentration of CCDs, hydrogen bonds are easily formed between CCDs molecules due to their surface structure, forming non-fluorescent emission associations molecular, and then leading to fluorescence self-quenching effect. At the same time, the decrease in CCDs content in low concentration will also weaken the fluorescence emission intensity. In the subsequent CCDs application experiments for detecting Fe3+ in water, the concentration of CCDs is selected as 0.2 mg/mL.

As revealed in Fig. 2e–g, the fluorescence emission intensities of the prepared CCDs hardly change with the change of acid–base environment, ultraviolet irradiation duration, and the concentration of NaCl. In other words, the CCDs demonstrate favorable stability to tolerate the changes in pH, photobleaching, and high NaCl concentration, which is needed for Fe3+ detection in complex circumstances.

Based on the optical properties and structural composition, it can be concluded that the fluorescence emission mechanism of CCDs is jointly established by the surface state effect, the carbon skeleton structure, and the size effect, in which the surface state is the dominant factor.

Application of the prepared CCDs in detecting Fe3+

Mechanism of Fe3+ fluorescence detection by the CCDs

The fluorescence intensities of the CCDs with and without a certain concentration of Fe3+ (1.0 M) were measured. As revealed in Fig. 3a, compared with the Fe3+-free CCDs, the CCDs containing Fe3+ shows a significantly weaker fluorescence intensity. Here, the quenching mechanism was investigated for understanding the interaction between Fe3+ and CCDs. Usually, the fluorescence quenching mechanism includes static quenching and dynamic quenching (Yang et al. 2020b). And more specifically, static quenching refers to the formation of complexes by combining ground-state molecules of CCDs with Fe3+, while dynamic quenching means the collision of excited-state CCDs with Fe3+ (Yu et al. 2015). Static quenching will generate new ground-state substances, causing the change of absorption spectrum of CCDs, but does not affect the fluorescence lifetime of CCDs, while dynamic quenching is the opposite. To further explore the quenching mechanism of the CCDs with Fe3+, UV–vis absorption spectra and fluorescence decay curves were also performed (Fig. 3b). Compared with the spectrum of CCDs (blue dotted line), the absorption peak of CCDs + Fe3+ (red line) shows a blue shift, indicating the formation of new ground-state substances (Wang et al. 2019a). Moreover, the experimental curve (the absorption spectrum of CCDs + Fe3+, red line) does not coincide with the theoretical one (the physical addition of the spectra of CCDs and Fe3+, green line), demonstrating the formation of stable CCDs/Fe3+ complexes and also supporting the static quenching explanation in the quenching process (Gao et al. 2018). The above results provide evidence for the static quenching mechanism existing in the interaction between Fe3+ and CCDs. Nevertheless, in terms of the average fluorescence lifetime, they are 3.09 ns and 1.05 ns (Fig. 3c) for CCDs and CCDs + Fe3+, respectively. Such a decrease in fluorescence lifetime indicates that the phenomenon of fluorescence quenching is also the result of electron transfer in dynamic quenching between Fe3+ and the excited state of CCDs (Carvalho et al. 2019). In conclusion, the synergetic effect of both static and dynamic quenching between CCDs and Fe3+ is responsible for the fluorescence quenching of CCDs with Fe3+. The possible mechanism diagram of Fe3+ detection with CCDs is shown in Fig. 3d.

Fig. 3
figure 3

a The FL spectra of CCDs with and without a certain concentration of Fe3+. b UV–vis absorption spectra of CCDs, Fe3+, as well as CCDs/Fe3+ in the experimental and theoretical (inset: normalized UV–vis absorption spectra). c The fluorescence decay curves of CCDs in the absence and presence of Fe3+. d The possible mechanism schematic diagram of Fe3+ detection with CCDs

Fluorescence analysis of detecting Fe3+

Based on the synergetic effect of static and dynamic quenching between Fe3+ and CCDs, Fig. 4 reveals the different degree of fluorescence quenching of CCDs by Fe3+ (Fig. 4a), the quenching efficiency (F0/F) (Fig. 4b), and the corresponding linear fitting curves for Fe3+ detection (Fig. 4c–d). As illustrated in Fig. 4a, the fluorescence intensities of CCDs excited at 360 nm gradually decrease with increasing the Fe3+ concentration from 0 to 1.0 mM, demonstrating that the prepared CCDs are sensitive to the concentration of Fe3+ and suitable for quantitative determination. The relationship between F0/F and the concentration of Fe3+ (Fig. 4b) displays a good linear correlation within the concentration range of 0.005 to 0.2 mM and 0.2 to 1.0 mM, respectively. Hence, two working curves for quantitative Fe3+ detection in different operating conditions were obtained. One is y = 4.9374x + 1.02473 (R2 = 0.994) with the measuring range of 0.005 to 0.2 mM (Fig. 4c), and the other is y = 1.65344x + 1.72306 (R2 = 0.997) over the measuring range of 0.2–1.0 mM (Fig. 4d). And the LOD was calculated to be 2.3 μM according to Eq. (2). As summarized in Table 2, compared with some previous reports, the LOD of our CCDs for Fe3+ detection is smaller, indicating that the CCDs derived from coconut petiole residues also possess a higher sensitivity in Fe3+ detection. According to the “Secondary Drinking Water Standards: Guidance for Nuisance Chemicals” (Sarih et al. 2020) issued by Environmental Protection Agency (EPA) and the “Standards for drinking water quality (GB5749-2006)” currently implemented in China, the concentration of iron in drinking water should be less than 0.3 mg/L (~ 5.36 μM). Therefore, the CCDs for Fe3+ determination with a detection limit of 2.3 μM may be useful for detecting Fe3+ in real samples of biological and environmental systems (Zhang et al. 2020).

Fig. 4
figure 4

a FL spectra of the CCDs with different concentrations of Fe3+. b The relationship between F0/F and concentration of Fe3+. Two working curves of CCDs for Fe3+ detection based on linear fitting with the concentration of Fe3+ in 0.005–0.2 mM (c) and 0.2–1.0 mM (d). Note Error bars indicate the standard deviation of 3 replicas from each testing specimens

Table 2 Comparison of different fluorescent CDs for Fe3+ detection

To investigate the selective recognition capability of the CCDs towards Fe3+ in environmental conditions, various common metal ions (Fe2+, Ca2+, Cu2+, Ni2+, Zn2+, K+, and Na+) were selected as interference ions for control experiments. In Fig. 5a, c, compared with the blank sample (the fluorescence intensity of CCDs without metal ions), the fluorescence intensity of CCDs decreases and increases obviously after adding Fe3+ and Fe2+, respectively, while introducing other ions into CCDs does not cause significant changes. In general, excited-state molecules have stronger redox properties than ground-state ones. The excited-state CCDs reveal reducibility when Fe3+ exhibits oxidation performance. The existence of electron transfer between the excited-state CCDs and Fe3+ causes a decrease in the fluorescence lifetime of CCDs, displaying the fluorescence quenching phenomenon. Similarly, the electron transfer between Fe2+ with reducibility and the excited-state CCDs with oxidation properties leads to an increase in the fluorescence intensity of CCDs. This also confirms that there exists dynamic quenching between Fe3+ and the excited-state CCDs with oxidation–reduction ability. In addition, the CCDs still shows well recognizability toward Fe3+ in the case of other metal ions interference. As shown in Fig. 5b, d, the fluorescence intensity of the mixture with Fe3+ (CCDs + Mn++Fe3+, yellow columns, Mn+: Fe2+, Ca2+, Cu2+, Ni2+, Zn2+, K+, or Na+) is obviously lower than that of the mixture without Fe3+ (CCDs + Mn+, blue columns), which indicates that the CCDs are selective to Fe3+ in the mixture. Theoretically, Fe3+ has a stronger binding affinity and faster chelating kinetics with amino and carboxylic groups on the CCDs surfaces in comparison with the other metal ions (Yu et al. 2015), which causes fluorescence quenching of CCDs, and also provides a basis for static quenching. In summary, the prepared CCDs are able to eliminate the interference of other metal ions such as Fe2+, Ca2+, Cu2+, Ni2+, Zn2+, K+, and Na+ in the complex environment, and realize the selective recognition of Fe3+. Thus, a conclusion is made that the CCDs prepared from coconut petiole residues have the potential to develop efficient fluorescence sensors for Fe3+ detection.

Fig. 5
figure 5

a Fluorescence response between CCDs and the selected interference ions (Fe3+, Fe2+, Ca2+, Cu2+, Ni2+, Zn2+, K+ and Na+). b Fluorescence intensities of CCDs containing metal ions before and after adding Fe3+, and the corresponding experimental pictures (cd)

Fe3+ detection in real samples

In order to verify the practicability of CCDs in detecting Fe3+, the CCDs have been extended to Fe3+ determination in real water samples covering tap and lake water. The results are shown in Table 3. The recoveries of all samples are between 99.00 and 112.00% according to Eq. (3), and the relative standard deviations (RSDs) are from 2.10 to 13.80%. The above results demonstrate that it is feasible to detect Fe3+ in real environmental water using the CCDs. All advantages of this research, including abundant and renewable coconut resources, eco-friendly synthesis process of CCDs, simple Fe3+ detection process, as well as reliable detection results, confirm the potential and feasibility of further development and application of CCDs for Fe3+ detection.

Table 3 Analysis of Fe3+ detection using the prepared CCDs in real samples (n = 3)

Conclusion

In summary, as a green carbon source, the underutilized coconut petiole residues were decomposed, carbonized, and successfully converted into the high value-added CCDs via a simple hydrothermal method. The obtained spherical CCDs with an average diameter of 1.39 nm and a carbon skeleton dominated by the benzene ring structure have such surface functional groups as –COOH, –OH, –NH2 that give them good water solubility. Due to the fluorescence mechanism dominated by surface state, the CCDs with a QY of 1.39% show the excitation-dependent and concentration-dependent emission behaviors, and exhibit blue fluorescence under ultraviolet radiation (365 nm). Besides, the CCDs demonstrate favorable fluorescence stability to tolerate the changes in pH, photobleaching, and high NaCl concentration. Based on the synergetic effect of static and dynamic quenching, the CCDs exhibit favorable selectivity and sensitivity toward Fe3+ with a linear range from 0.005 to 0.2 mM and a LOD of 2.3 μM, and also display the practicality of Fe3+ detection in real water samples. The present work provides a new way for high value-added conversion of coconut petiole residues, which is in favor of environmental protection and agricultural waste utilization. In addition, the development and use of bio-based CCDs obtained through large-scale, low-cost, and green production for Fe3+ detection may be beneficial to monitoring and protecting public health and environment in complex circumstances. Moreover, fluorescent sensors developed on CCDs are also expected to be used for other ion or molecular detection.