Introduction

Ultra-sensitive detection is important for biochemical analysis [1, 2], food safety [3, 4], health diagnosis [5, 6], and environmental protection [7, 8]. These include the early recognition of viruses (e.g., SARS-CoV-2) that cause illnesses, the powerful detection of negligible contents of deadly toxins and poisons (e.g., aflatoxin, botulinum toxin, and biological hallucinogens in certain poisonous mushrooms), and the sensitive perception of trace elements with increasingly serious implications and pesticide residues in the environment [9]. Glyphosate (GP) is a widely used herbicide; its continuous use in agricultural production has led to its persistent presence in the soil, which has serious effects on biological health and causes environmental degradation. Currently, GP detection technologies mainly include gas chromatography, high-performance liquid chromatography, ion chromatography, gas chromatography tandem mass spectrometry, high-performance liquid chromatography tandem mass spectrometry, and immunoassays [10, 11]. These methods have high detection efficiency and sensitivity; however, the detection process is cumbersome and costly.

With good biocompatibility [12, 13], low toxicity [14, 15], and low preparation cost, carbon dots (CDs) have a wide range of applications for detection [16, 17], catalysis, and biochemical analysis [18, 19]. CD-based detection systems have been widely used for the sensing of metal ions and related anions [19,20,21], and have also been studied for applications in pesticide residue analysis [22,23,24]. The screening for GP using CDs has been reported in previous studies. Guerrero-Esteban et al. [25] published an impressive value on GP detection value of 8.66 pg·mL−1, which was the lowest detection limit to the best of our knowledge. However, their results were derived from a CD-based electrochemiluminescence immunosensor, which created obstacles for portable practice through electrification, control modules, and precious immunosensor. The detection techniques of GP, with relatively high cost-efficiency, such as fluorescence detection have been reported. Bera et al. [26], Jiménez-López et al. [27] and Wang et al. [28] explored the fluorescent detection of GP using intertwining CDs-X where X = CdTe quantum dots, X = Ag nanoparticles, and X = Ag nanoparticles. These studies all reported high sensitivity, up to ng level in detection limits; however, CdTe and Ag are not eco-friendly.

New toxicity-free solutions have been proposed. Yuan et al. [29] developed a GP detection, based on blue-emitting CDs from citric acid and tris(hydroxymethyl)methylaminomethane with a detection limit of 0.6 μmol·L−1, which was a relatively low sensitivity and did not require hazardous heavy metals. Wang et al. [30] improved the sensing sensitivity to 16 ng·mL−1, using blue fluorescent CDs obtained from thiourea and diethylene glycol systems. Notably, Wang et al. [31] and Hou et al. [32]. achieved a resolution of 8.0 ng·mL−1 through a precious immune-related CD-based detection GP and a resolution of 8.65 ng·mL−1 through a sophora-japonica-leaves-based CD. These studies avoided the use of environmentally hazardous species; however, the end products were derived from multiple precursors, resulting in heterogeneities in the carbon core, which broadened the CD emission spectrum and led to poor consistency in CD production. In addition, these CDs exhibit blue fluorescence, which limited biological applications because of photonic toxicity and autofluorescence interference from biological tissues. Consequently, single precursor-based, long-wavelength emissive CDs for GP detection are in high demand.

In this study, a CD/Cu2+ fluorescent nanoprobe was constructed for the ultra-sensitive determination of GP based on the fluorescence of CDs that are quenched by the dynamic and static action of Cu2+. The concentration of GP showed good linearity with F/F0 in the range of 50–300 ng·mL−1 with a maximum detection limit of 0.8 ng·mL−1 (5 nM), which was an order of magnitude lower than existing fluorescent CD-based methods for the detection of GP residues. Detailed structural and property analyses were conducted, which confirmed that these CDs were excitation-independent and their luminescence originated from the carbon core with a large sp2 conjugation domain from graphitic carbon and nitrogen. To further demonstrate the engineering value of the developed CDs, we developed a conceptual smart package for the self-reporting of GP residues on vegetables. The results provide a new solution for ultra-sensitive GP detection and self-reporting smart kits, and further contribute to safer food and the environment.

Experimental section

Materials

1,4-dihydroxyanthraquinone, CoCl2, NaCl, CuSO4, ZnCl2, MgCl2, HgCl2, Ni(NO3)2, MnCl2, NH4Cl, Al2(SO4)3, CoCl2, formamide, ethanol, dichloromethane (DCM), glyphosate (GP), trichlorfon, 1-naphthofen, carbaryl, carbendazim, polyvinyl alcohol (PVA), acrylamide, ammonium persulphateetc, and all of the reagents were purchased from Shanghai Macklin Biochemical Co., Ltd (http://www.macklin.cn/) and were used without further treatment.

Synthesis of green fluorescent CDs

Green fluorescent carbon dots (G-CD) were synthesized by a solvent thermal method using 1,4-dihydroxyanthraquinone as a precursor. In general, 5 mg of 1,4-dihydroxyanthraquinone was dissolved in 10 mL of formamide solvent, sonicated for 5 min, and then transferred into a 25 mL stainless steel reactor with polytetrafluoroethylene liner, reacting at a constant temperature oven at 180 °C for 8 h. After the reactor had cooled to room temperature (25 °C), the purification was carried out by extraction, using DCM as an extractant for 3 times. After extraction, the resulting solution was washed 5 times with distilled water to remove the impurities. Then, the resulting solution was dried in an oven at 60 °C to remove the solvent, resulting in a brownish-yellow powder.

Physical characterization

The dimensions of the G-CD were measured using a transmission electron microscope (TEM, JEM2100F https://www.jeol.co.jp/). The chemical composition and bonding structure of the G-CD were determined by X-ray photoelectron spectroscopy (XPS, Thermo Fisher Escalab 250** https://www.jp.xpssimplified.com); the fluorescence quantum yield (QY) of the G-CD solutions was determined by a fluorescence spectrometer (Edinburgh FLS1000 https://www.edinst.com), and the Raman spectra by a Raman spectrometer (https://www.jp.xpssimplified.com), the Fourier transform infrared spectra (FTIR) on a Nicolet 5700 IR spectrometer (https://www.acap.net.au/), and the fluorescence spectra and UV absorption spectra by a fluorescence spectrometer F-7000 (Hitachi, Japan https://www.hitachi.co.jp) and a Volmer (Lambda 35), respectively. (Please refer to ESM for experimental data results.)

Fluorescence assay of Cu2+ and GP

The detection of Cu2+ by G-CD was performed at room temperature (25 °C): taking 3 mL of ethanolic dispersion of G-CD at 0.5 mg·mL−1, then adding different concentrations of Cu2+ standards, stirring and mixing the resultant solution thoroughly, and measuring and recording the fluorescence spectrum of the dispersion after 1 min. (Number of experiments n = 5.)

The detection of GP was performed at room temperature: 9.6 μg of Cu2+ standard was added to 3 mL of an ethanolic dispersion of 0.5 mg·mL−1 and stirred until the fluorescence of the dispersion was completely quenched. The standard concentration of GP was dropped into the above-mentioned dispersion, stirred and mixed thoroughly, and after 1 min the fluorescence spectrum of the dispersion was measured and recorded. All assays were performed under identical conditions. (Number of experiments n = 5.)

Applications in real samples

Different concentrations of GP (0, 1, 3, 5, and 10 μg) were added to five 100 g portions of different cucumber and lettuce parts. Thereafter, they were crushed in a juicer, and 100 mL each of water and DCM were added. After sonication for 30 min, the supernatant was centrifuged at 8000 rpm for 20 min, and the supernatant was concentrated to 5 mL. The detection method was similar to that described in “Materials.” (Number of experiments n = 5.)

Result and discussion

Choice of materials

1,4-dihydroxyanthraquinone has abundant ‘-OH’ and ‘=O’ groups, and a large conjugated structure can be formed by the solvent thermal method, thus realizing the preparation of long-wavelength emitting carbon dots. Moreover, it has high antitumor activity, is a bio-friendly raw material, and is inexpensive. Polyvinyl alcohol (PVA) is a biodegradable polymer material that does not pollute the environment and is inexpensive. Its oil resistance, solvent resistance, and gas barrier properties are outstanding, and it has unique advantages in food and pharmaceutical packaging. The polyacrylamide (PAM) structural unit contains an amide group, which is easy to form hydrogen bonds, so that it has good water solubility and high chemical activity, and can form hydrogen bonds with the amino group of G-CD.

Detection of Cu2+ and GP

“Off” and “off/on” sensors were prepared to detect Cu2+ and GP, respectively, based on the ability of Cu2+ to quench the fluorescence of G-CD and the subsequent restoration of G-CD fluorescence by GP.

Using a syringe needle, 0.01 M Cu2+ was added to the ethanol dispersion of G-CD. The solution gradually turned from green to yellow in color, with the addition of Cu2+, and the fluorescence of the solution changed from green to blue (at 365nm UV light). Figure 1a and 1b show that there was a good linear relationship between F/F0 and Cu2+ concentration when the concentration of Cu2+ is in the range of 50–800 ng·mL−1, with a linear equation of y = −0.0113x + 1.0716 (R2 = 0.993). The limit of detection (LOD) was determined by 3σ/K, where σ is the standard deviation of the lowest signal (n = 5) and K is the slope of the linear calibration plot. The experimental results indicated that the detection limit of Cu2+ is 22.65 nM.

Fig. 1
figure 1

Detection of Cu2+ by G-CD at 460 nm. a Fluorescence spectra of solutions with increasing Cu2+ concentration. b Linear relationship between Cu2+ and F/F0. Detection of GP with G-CD. c Fluorescence spectrum of the solution with increasing GP concentration. d Linear relationship between GP concentration and F/F0

It was found that GP could restore the fluorescence of G-CD that was quenched by Cu2+. Based on the experimental results of the previous steps, 9.6 μg of Cu2+ was chosen to completely quench the G-CD.

As shown in Fig. 1c, the fluorescence of the G-CD was quenched by adding 9.6 μg of Cu2+ with a syringe needle at an excitation wavelength of 460 nm. Under the same experimental conditions, a standard sample of 0.01 M GP was added to the quenched G-CD dispersion and the fluorescence spectrum of the dispersion was measured and recorded. When 15.21 μg of GP was added, the fluorescence of the G-CD was almost restored to its original intensity, with a recovery rate of 98%, while the color of the solution gradually changed from yellow to green. When the concentration of GP was in the range of 50–1300 ng·mL−1, F/F0 and the concentration of GP had a good linear relationship (Fig. 1d), and the linear equation was y = 0.1961x + 0.0487 (R2 = 0.993). Therefore, the LOD of the GP was 0.8 ng·mL−1 (5 nM), which was significantly lower than the existing minimum detection limit of 2 ng·mL−1 for fluorescence analysis.

To understand this impressive LOD, the binding constants of the G-CD/Cu2+ and Hou et al.’s [32] CD/Fe3+ system were calculated and compared (Table 1). The formula was as follows: \(\log \frac{F_0-F}{F}=\log {K}_{\mathrm{a}}+n\log \left[Q\right]\). F0 is the fluorescence intensity without a quencher, F is the fluorescence intensity with the addition of a quencher, Ka is the corresponding binding constant, Q is the concentration of the quencher substance, and n is the number of binding sites. It was found that the G-CD/Cu2+ system had a significantly larger binding constant and binding numbers than Hou et al.’s [32] CD/Fe3+ system and Tafreshi et al. [33]. We believe that because G-CD and Cu2+ are bound by strong binding forces, they can bond well to Cu2+ even in extremely dilute Cu2+ solutions. Therefore, the G-CD/Cu2+ system is more sensitive to fluorescence switching, resulting in the relatively high sensitivity of our nanosensor.

Table 1 Comparison of the GP detection limit of the sensor with previously reported results for other sensors

To understand the detection mechanism of G-CD on Cu2+ and GP, a fluorescence lifetime test was performed on G-CD and its mixtures (Fig. 2a). The fluorescence lifetime of the G-CD was 6.67 ns, while the fluorescence lifetime of the G-CD/Cu2+ system was 7.65 ns. The fluorescence lifetime variation indicated that Cu2+ might quench the fluorescence of G-CD through dynamic effects. To further understand the mechanism of quenching, UV-vis absorption spectra before and after G-CD fluorescence quenching were measured. A strong absorption peak in the range of 442–470 nm appeared in the G-CD solution and blue-shifted to 430–459 nm after the addition of Cu2+, meaning that a new complex was formed due to possible complexation between Cu2+, –NH2, and –OH on the G-CD surface (Fig. 2c). Further observations were observed in the FTIR spectra. As shown in Fig. 2b, the C–N peak at 1433 cm−1 was notably reduced and the –NH2 peak at 3315 cm−1 disappeared, indicating that Cu2+ complexed with –NH2. From these spectrographic pieces of evidence and fluorescence lifetimes, it could be inferred that the quenching might be a combination of static and dynamic. When GP was gradually added, the fluorescence intensity of the solution gradually recovered, and the fluorescence lifetime of G-CD + Cu2+ +GP was 6.86 ns, which was not significantly changed compared with the initial fluorescence lifetime of G-CD (Fig. 2a). This resulted from the stronger interaction between GP and Cu2+ than between G-CD and Cu2+; thus, Cu2+ could be completely stripped from the G-CD/Cu2+ system. In addition, the fluorescence of G-CD was restored because of the GP structure (-COOH and -NH2) and the high binding constants of Cu2+ in GP. The Stern-Volmer equation for dynamic quenching is F0/F = 1 + Kd[Q] and the equation for static quenching is F0/F = 1 + Ks[Q]. F0 is the fluorescence intensity before quenching. F is the fluorescence intensity after quenching, Kd is the dynamic quenching constant, Ks is the static quenching constant, and Q is the concentration of the quencher. The Stern-Volmer plot is a linear line if the quenching mechanism of carbon sites is static or dynamic. But the Stern-Volmer diagram is curved and conforms to the modified equation F0/F = (1 + Kd[Q])(1 + Ks[Q]), the quenching mechanism of G-CD is a combination of dynamic and static quenching (Fig. S6). The mechanism is shown in Scheme 1.

Fig. 2
figure 2

a Fluorescence lifetimes of G-CD, G-CD+Cu2+, and G-CD+Cu2++GP. b FTIR spectra of G-CD and G-CD+Cu2+. c UV-Vis absorption spectra of G-CD and G-CD after quenching

Scheme 1
scheme 1

Synthetic methods for carbon dots and detection mechanisms for glyphosate

Hou et al. [34], Hou et al. [32], Tafreshi et al. [33], and Yuan et al. [29] used their fluorescent probes for the detection of GP (Table 1). Although their fluorescent probes had a wide linear detection range and high detection limit, they were not portable. In contrast, we prepared fluorescent films based on synthetic G-CD that have better portability while maintaining excellent detection.

Selectivity and interference studies

The ion selectivity of G-CD was tested in the presence of K+, Cd2+, Mg2+, Mn2+, Al3+, Cr3+, Ni2+, Ag+, Na+, Co2+, Zn2+, and Cu2+ ions at quenching concentrations significantly higher than Cu2+ (64 μg), and the test results showed that G-CD had good selectivity (Fig. 3a). Subsequently, tests on the selectivity of the G-CD were executed on pesticides. Nine pesticides (carbendazim, trichlorfon, clothianidin, carbaryl, 1-naphthol and GP, paratahion, dimethoate malathion, and parathion) were selected and tested under the same conditions. The experimental results showed that G-CD/Cu2+ had the most sensitive response to GP, while the response to other non-organophosphorus and organophosphorus pesticides reduced and was less sensitive (Fig. 3b). This resulted from Cu2+ having more binding sites with GP than other non-organophosphorus and organophosphorus pesticides, which easily generated stable complexes and had a stronger binding ability compared with other pesticides. The sensor has good reversibility and reusability. As shown in Fig. S7, 9.6 μg of Cu2+ standard was added to 3 mL of 0.5 mg·mL−1 GP ethanol dispersion. And stirring until the fluorescence of the dispersion was completely quenched. Then, the standard concentration of GP was dropped into the dispersion, stirring until the fluorescence of the dispersion was completely recovered. The above experimental procedure was repeated 6 times. The high sensitivity of G-CD/Cu2+ for the detection of GP was still observed after 6 times of use (Fig. S7). It indicates that our fluorescent sensor can be used repeatedly.

Fig. 3
figure 3

G-CD selectivity test for a ions and b pesticides at an excitation wavelength of 460 nm

When the G-CD are dispersed in an ethanol medium, the addition of trace amounts of water (20 μL) does not affect the fluorescence intensity of the G-CD. In contrast, the fluorescence intensity of the solution was significantly reduced when a small amount of aqueous Cu2+ solution (20 μL) was added to the dispersion. The ethanol solution of 0.01 M Cu2+ was added dropwise to the ethanol dispersion of G-CD, and the same result was obtained as that of an aqueous solution of Cu2+ added to the ethanol dispersion of G-CD. In two cases, the binding constant of Cu2+ was calculated to be 3×108, quantificationally demonstrated the good affinity between G-CD and Cu2+ (Fig. S8).

After the G-CD fluorescence was quenched by Fe3+, it required the addition of 1 mg of GP to recover, which was 100 times the amount needed to be added after Cu2+ quenching. As shown in Fig. S4, after storing the G-CD at room temperature (25 °C) for 120 days, they still have good luminescence performance and the fluorescence intensity is basically unchanged compared with that before. It shows that our sensors have good stability. As shown in Fig. S5, the presence of other ions did not affect the detection of GP. The experimental results show that G-CD/Cu2+ has good selectivity.

Detection of Cu2+ and GP in real samples

The fluorescence of G-CD was first quenched by Cu2+, and thereafter the unlabeled cucumber solution to be tested was added. A 5 μL sample of the solution was measured and 0.01 mol·L−1 of GP added to it until the fluorescence of the solution was restored (Fig. S6). The residual amount of GP in cucumber was calculated as 0.084 mg·kg−1, which was significantly lower than the maximum residual amount of 1 mg·kg−1 (GB 2763-2021), indicating that our fluorescent probe was equally significant for the detection of real samples.

Based on the above experimental results, the probe was used to detect Cu2+ in water and GP residues in vegetables (Table 2). As shown in Table 2, the recoveries of these samples ranged from 93.3 to 110.0%; the results indicated that the constructed nanosensor was sensitive and reliable for the detection of Cu2+ and GP in real samples.

Table 2 Spiked determination and detection of GPin cucumber and lettuce samples of Cu2+ in water

GP portable sensors and smart packaging applications

In addition, G-CD fluorescent films were prepared using in situ polymerization. As shown in Fig. 4, the prepared fluorescent films still exhibited good luminescence properties. Consequently, a fluorometric and colorimetric dual-mode, fluorescent film–based array was developed for inspecting Cu2+ and GP, based on Cu2+ induction the color and fluorescence intensity changes in G-CD while GP inversely transforms the changes. The dual-mode sensing results are shown in Figs. 4 and 5. The visual results are intuitive and convenient for everyday applications that require portability and convenience. (For the preparation of fluorescent films, please refer to ESM.)

Fig. 4
figure 4

Fluorescence quenching of G-CD films by 365 nm UV light and its recovery

Fig. 5
figure 5

Images of G-CD fluorescent film for detecting GPon the surface of wet and dry cucumber

The prepared fluorescent films exhibited a rapid and strong response to Cu2+ and GP. This indicated the potential of G-CD-based films in smart applications. These films were used to detect the surface residues of GP in vegetables such as cucumbers. First, 0.5 mL of 0.01 mol·L−1 Cu2+ was diluted to 20 mL, and thereafter the G-CD film was placed and its fluorescence quenched completely. Thereafter, 0.5 mL of 0.01 mol·L−1 GP was diluted to 50 mL, sprayed on the surface of a cucumber, and the quenched G-CD film placed on top and wrapped with cling film. After approximately 5 min, the fluorescence of the film turned from blue to green in color under a 365 nm UV lamp; the fluorescence intensity recovered to its original intensity. Thereafter, the same amount of GP was sprayed on the surface of the cucumber, and dried with a hair dryer, and then the quenched G-CD film was placed on it and wrapped with plastic wrap. According to Xu et al. [35], we speculate that because the film contains abundant functional groups, the GP on the surface of cucumber penetrates the surface of G-CD through adsorption, causing the monitoring reaction of G-CD. Thus, GP gradually entered the film, and the fluorescence of the film recovered after approximately 5 min. Since G-CD is encapsulated in a thin film, it reduces the sensitivity of the sensor. The visual detection limit of the fluorescent film was 10 μM. The experimental results demonstrated that the G-CD fluorescent film had a sensitive response to GP, regardless of whether the surface of the cucumber was dry or wet, which was the desired result, thus indicating that the film had great potential for application in smart packaging.

Conclusion

The CDs synthesized in this study had high fluorescence quantum yields (41.3%) and photochemical stability. This study achieved ultra-sensitive fluorescence detection of GP based on long-wavelength CDs (530 nm) with excellent selectivity and interference resistance. The simultaneous fluorescence intensity and macroscopic color change when detecting Cu2+ and GP, allowed for the visualization of the detection capability a fluorescent and colorimetric dual-mode sensing technique. The CD nanosensor was also used to detect real samples, such as cucumber and lettuce, demonstrating excellent capabilities for practical applications. However, the detection limit of fluorescent films of GP was 10 μM; therefore, the sensitive detection of CD fluorescent films requires further investigation.