Introduction

Heavy metals including cadmium (Cd), lead (Pb), mercury (Hg) and zinc (Zn) profoundly affect the environmental system including water and soil [1]. They also can enter the food chain and pose significant threats to living creatures [2]. WHO regulated the presence of heavy metal levels in drinking water such as 0.003 mg L−1 for Cd, 2.0 mg L−1 for Cu, 0.01 mg L−1 for Pb and 0.001 mg L−1 for Hg [3]. Hence, even at trace levels of heavy metals present in drinking water or food can cause significant health issues to humans [4]. Therefore, it is crucial to develop an efficient, sensitive and selective determination of heavy metals in foods samples.

Various analytical methods have been reported for the detection of heavy metal ions in food. They include spectrophotometry [5], surface enhanced raman spectroscopy [6], inductively coupled plasma mass spectroscopy [7], atomic absorption spectroscopy [8], chromatography [9] and electrochemical methods [10,11,12]. Among different techniques, electrochemical methods, particularly differential pulse stripping voltammetry (DPSV) is considered as a more suitable tool for the determination of heavy metals due to its sensitivity, selectivity, rapidity, and low-cost. Chemically modified electrodes are received high importance among researches for heavy metal analysis. Moreover, anodic stripping voltammetric detection methods have been widely used for heavy metal analysis using mercury constructed electrodes such as dropping mercury electrode (DME), hanging mercury drop electrode (HMDE) [10] and mercury film electrodes [11]. These electrodes are considered as toxic and high-cost, and further, there are risks associated with the use and disposal of mercury [12]. Therefore, to overcome these difficulties, it is essential to develop mercury-free electrodes for electrochemical determination of heavy metals.

Graphitic carbon nitrides (g-C3N4) have received prodigious application in the field of electrochemical sensors due to its unique planar structure and distinctive mechanical and electrocatalytic properties [13,14,15,16,17,18]. g-C3N4 (2D) possess sp2 bonded carbon and nitrogen similar to graphene along with π-electrons in the layered structure [13]. g-C3N4 based electrochemical sensors has been reported for various electroanalytical determinations. To enhance the electrical conductivity of g-C3N4, it has been composited with various metal nanoparticles, polymers, and carbon based materials [16,17,18]. Hongying lv et al. reported ion flux measurement platform for heavy metals using carbon nitride heterojunction film modified carbon fiber microelectrode [14]. Gao et al. reported g-C3N nanosheets/Nafion electrode for Cd determination in various samples [15]. Voltammetric determination of ultra-trace Pb in water samples using EDTA immobilized graphene-like g-C3N has been reported by Teng et al. [16]. Nevertheless, g-C3N4 shows poor electrical conductivity and thereby limits its application towards electrochemical sensors. In the past two decades, multiwalled carbon nanotubes (MWCNTs, 1D dimension) based electrochemical sensors were exhibited several impressive electrochemical properties due to its prominent specific surface area, fast electron transfer rate, good adsorption property and minimal electrode surface fouling [19, 20]. Based on the above-aforementioned properties, we attempted to explore the fabrication of porous g-C3N4 with MWCNTs to achieve a novel 3D nanocomposite material with synergetic properties of g-C3N4 (high electrocatalytic activity) and MWCNTs (high electronic conductivity) for electrochemical sensor application. MWCNTs (1D) structure in the nanocomposite (3D) increases the electrical conductivity of the g-C3N4 (2D) by enhancing electron-transfer rate between g-C3N4 and MWCNTs.

In this work, the porous g-C3N4/oxidized(O)-MWCNTs nanocomposite was prepared by one-step chemical oxidation method. The preparation of this 3D nanocomposite was facile due to the strong π-π stocking and electrostatic interactions between g-C3N4-NSs (2D) and O-MWCNTs (1D). The prepared P-g-C3N4/O-MWCNTs composite was characterized by various techniques such as attenuated total reflectance infrared spectroscopy (ATR-IR), X-ray diffraction (XRD), and high-resolution transmission electron microscopy (HR-TEM). Further, the P-g-C3N4/O-MWCNTs composite was drop cast on the screen-printed electrode (SPE) and electrochemically characterized by different techniques like cyclic voltammetry, electrochemical impedance spectroscopy, and differential pulse voltammetry techniques. To the best of our knowledge, till now P-g-C3N4/O-MWCNTs composite has not been explored for heavy metals determination by electroanalytical methods. The prepared P-g-C3N4/O-MWCNTs composite modified SPE exhibits excellent sensitive detection towards heavy metals in food samples.

Material and methods

Chemicals and materials

Melamine was purchased from Alfa-Aesar (USA) and multiwall carbon nanotubes were purchased from Sigma-Aldrich (USA, https://www.sigmaaldrich.com/). Sodium acetate, acetic acid, disodium hydrogen phosphate, dihydrogen sodium phosphate, potassium chloride were purchased from Xilong scientific Co. Ltd., (China, https://xilongchemical.en.made-in-china.com/). K4[Fe(CN)6], K3[Fe(CN)6], potassium dichromate, lead nitride, cadmium acetate, mercury chloride, copper chloride, and zinc chloride were purchased from Showa chemicals Co. Ltd. (Japan, https://www.showa-chemical.co.jp). Sulfuric acid and nitric acid were purchased from Fisher scientific company (UK, https://www.fishersci.co.uk). All the heavy metals solutions were prepared using ultra-pure water (18 MΩ·cm). Zensor screen-printed electrode (5 mm) single disk electrodes were purchased from Zensor R&D Corporation (Taiwan, http://www.zensor.com.tw/).

All the voltammetric experiments were carried out with CHI 210D electrochemical workstation (CHI Instruments Inc., USA, https://www.chinstruments.com/) coupled with Asus desktop computer. The three electrode system was used throughout electrochemical experiments. Ag/AgCl electrode served as a reference electrode, a platinum wire as an auxiliary electrode and Zensor screen-printed electrode (5 mm) was used as a working electrode. All the electrochemical measurements were carried in room temperature (24 ± 1 °C). pH was measured with Suntex pH meter (SP-2100, Taiwan) at room temperature (24 ± 1 °C), and ThermoScientific (USA, https://www.thermofisher.com) Heraeus Megafuge 8R centrifuge was used for centrifugation. Attenuated total reflectance infrared (ATR-IR) spectra were measured at Bruker Alpha model instrument (Germany). High-resolution transmission electron microscopy (HR-TEM) and selected area electron diffraction (SAED) images were observed at JEOL 3010 (Japan), and X-ray diffraction (XRD) were recorded at Bruker D8 advance (Germany).

Synthesis of porous g-C3N4/O-MWCNTs composite

The porous g-C3N4/O-MWCNTs composite was prepared by a one-step chemical oxidation method using potassium dichromate and sulfuric acid (Scheme 1). 10 g of potassium dichromate was added into 50 mL sulfuric acid (98%) in a 100 mL beaker under stirring condition. 0.5 g of bulk g-C3N4 (bulk g-C3N4 was prepared as similar to a previously reported method [21]) and 0.5 g MWCNTs were added in the oxidation mixture and then it was stirred for 24 h at room temperature. Then the oxidized mixture was slowly dispensed in 1 L of ultra-pure water and allowed to cool at room temperature. The mixture solution was washed with water and centrifuged at 6000 rpm (4025 rcf) several times (until pH becomes neutral) and then again washed with methanol and dried in a hot air oven at 50 °C for 3 h and used further.

Scheme 1
scheme 1

Graphical representation of one-step preparation of porous g-C3N4/O-MWCNTs nanocomposite

Preparation of the screen-printed electrode (SPE) modified with porous g-C3N4/O-MWCNTs

5 mg of P-g-C3N4/O-MWCNTs composite was transferred to 5 mL of methanol followed by sonication for 30 min to disperse as a homogeneous solution. The solution was kept at room temperature for further use. 3 μL of the above mentioned P-g-C3N4/O-MWCNT composite was drop cast on the SPE surface followed by drying at room temperature and then used for further electrochemical analysis.

Preparation of food samples

All the vegetables (cabbage and capsicum) and food products (Noodles) were purchased from local markets. The vegetables were thoroughly washed with ultra-pure water several times and then dried in an oven at a temperature of 60 °C until dry. 1 g of vegetables were accurately weighed in a silica crucible and then heated on a hotplate to completely carbonize. Then, the sample was transferred to muffle furnace at 500 °C until the sample becomes dry ash. Next, the sample was allowed to attain room temperature, and then the ash sample was dissolved in 1:4 ratio of perchloric acid and nitric acid. Later, the sample solution was carefully transferred to a 20 mL volumetric flask with 0.5% of nitric acid solution [22]. Similarly, 1 g of noodle samples were accurately weighed and transferred to a silica crucible and then heated in a muffle furnace at 400 °C until the sample turned to dry ash. Then, the ash sample was dissolved in perchloric acid and nitric acid mixture (1:4 ratio) and transferred to a 25 mL volumetric flask. These sample solutions were used for the determination of heavy metals by differential pulse voltammetry (DPV). Same sample treatment procedure was followed for the preparation of 3 blanks.

Results and discussion

Choice of material

The 3D porous g-C3N4/O-MWCNTs nanocomposite were synthesized by single step chemical oxidation method. The synthesis of this nanocomposite was facile because of the strong π-π stocking and electrostatic interactions between g-C3N4-NSs (2D) and O-MWCNTs (1D). The negatively charged hydroxyl and carboxylic acids groups on the porous g-C3N4/O-MWCNTs/SPE plays a key role to the formation of complex with heavy metal ions (positive ions) due to the opposite charge interactions on the 3D porous structures (Scheme S1). Therefore, increase in the absorption capacity of porous g-C3N4/O-MWCNTs nanocomposite towards metal ions on the electrode surface which directly enhance the stripping peak current in terms of sensitivity and selectivity when compared with other reported composites for heavy metal analysis [13,14,15,16,17,18].

Surface morphology characterization

The surface morphology of the porous g-C3N4/O-MWCNTs composite was analyzed by HR-TEM techniques. Figure 1 TEM images of bulk g-C3N4 (Fig. 1a) shows agglomerated flakes and sheets morphology and P-g-C3N4/O-MWCNTs composites (Fig. 1b) indicates well-defined multiple atomic layers of g-C3N4 nanosheets incorporated with O-MWCNTs (multi-tubular and hollow structures), and Fig. 1c and d shows the lattice structure of porous g-C3N4/O-MWCNTs and SEAD patterns, The SEAD pattern was compared with XRD patterns and are matched. Hence, HR-TEM studies clearly indicate that this one-step synthetic method is facile and in-situ self-assembly of (strongly incorporate) O-MWCNTs on the basals of porous g-C3N4 nanosheets by π-π stacking and electrostatic interactions.

Fig. 1
figure 1

HR-TEM images of a Bulk g-C3N4, b porous g-C3N4/O-MWCNTs, c Lattice structure of porous g-C3N4/O-MWCNTs composite and d SAED pattern of porous g-C3N4/O-MWCNTs

ATR-IR and XRD characterizations

The prepared porous g-C3N4/O-MWCNTs composites were further confirmed by ATR-IR technique. Figure S1 bulk g-C3N4 showed ATR-IR spectrum in the range of 3000–3500 cm−1 belongs to N-H stretching vibrations, 1800–900 cm−1 corresponding to Triazine ring of C-NH-C stretching and 807 cm−1 corresponds to breathing vibration mode of the s-triazine ring [23]. Figure 2a shows the expanded view spectrum of the g-C3N4 and porous g-C3N4/MWCNTs indicates the porous g-C3N4 absorption peaks were shifted (1236 to 1249 cm−1 and 1317 to 1327 cm−1) around 13 cm−1 towards higher frequency range in the prepared composite. The 1406 cm−1 corresponds to C-OH functional group, and 1400 cm−1 corresponds to the stretching vibration of tertiary C-OH groups. The O-MWCNTs shows the IR rage of 1677 cm−1, 1236 cm-1, and 1396 cm−1 corresponds to the C=C stretching vibration, C-O stretching vibration and carboxylic acid [20] bending vibrations respectively. Hence, the ATR-IR spectrum result clearly exhibits that hydroxyl and carboxylic acid group functionalized on the porous g-C3N4 composite.

Fig. 2
figure 2

a ATR-IR Spectrum for Bulk g-C3N4, MWCNTs, and porous g-C3N4/O-MWCNTs/SPE. b XRD patterns for bulk MWCNTs, bulk g-C3N4, and porous g-C3N4/O-MWCNTs

The porous g-C3N4/MWCNTs were characterized by the X-ray diffraction method to analyze the lattice structure. Figure 2b shows the XRD pattern of MWCNTs, g-C3N4, and porous g-C3N4/MWCNTs composites. In bulk MWCNTs peak observed at 2θ ~26.1° is attributed to (002) reflection of carbon nanotubes. In the pattern of bulk g-C3N4, a strong peak located at 2θ~13.05 and 27.6° corresponds to (002) plane stemmed from the graphite-like layers stacked due to the weak Van der Walls force between porous g-C3N4 layers [23]. The diffraction patterns of O-MWCNTs and porous g-C3N4 matches well with JCPDS No. 26–1079 and 87–1526 respectively. In the porous g-C3N4/O-MWCNTs composite, the observed broadening of (002) plane at 2θ~27.6° may be due to the overlapping of diffraction from each moiety.

Electrochemical behavior of the modified SPE

The electrochemical behavior of different modified electrodes was studied using 5 mM of [Fe(CN)6]3−/4- containing 0.1 M of KCl solution. Figure 3a shows the cyclic voltamograms (CV) of different electrodes in the potential range from −0.2 to 0.8 V was sweep at a scan rate of 50 mVs−1. The different modified electrodes and its corresponding electrochemical parameters are shown in Table 1. In Fig. 3a, CV of bare SPE (black curve) shows the well-defined redox peak with lower ΔEp value, and the CV of SPE modified with bulk g-C3N4 (red curve) indicates the redox current peak has been decreased and the potential shifted slightly due to the semiconducting behavior of g-C3N4, the CV of SPE modified with bulk MWCNT’s (sky blue curve) shows a higher redox peak currents with lower redox potential, and the CV of SPE modified with P-g-C3N4/O-MWCNT’s/SPE (dark blue curve) shows higher ΔEp value due to modified electrode surface having negatively charged carboxylic acid and hydroxyl groups [24]. Figure 3b shows the EIS spectra of different modified electrodes, the semicircles correspond to electron transfer limited process, and its diameter are identical to electron transfer resistance. The Rct value of P-g-C3N4/O-MWCNTs/SPE at Rct of 850 Ω, g-C3N4/SPE shows Rct at 628 Ω due to semiconductor property, MWCNTs/SPE showed Rct at 196 Ω because of strong electron transfer nature of MWCNTs and bare SPE showed Rct of 120 Ω. The cyclic voltammetry and EIS results clearly indicated that P-g-C3N4/O-MWCNTs/SPE surface possessed negatively charged hydroxyl and carboxylic acids groups.

Fig. 3
figure 3

a Electrochemical behavior of different modified electrodes in 5 mM [Fe(CN)6]3−/4- in 0.1 M KCl as supporting electrolyte at a scan rate of 50 mV s−1. b EIS of different modified electrodes in 5 mM [Fe(CN)6]3−/4- in 0.1 M KCl as supporting electrolyte. Inset figure is zoom view of SPE

Table 1 The analytical parameters for determination of heavy metals using Porous g-C3N4/O-MWCNTs/SPE

Optimization

The following parameters were optimized: (a) Sample pH value; (b) preconcentration time. Respective data and Figures are given in the Electronic Supporting Material (Fig. S2 & S3). The following experimental conditions were found to give best results: (a) Best sample pH value: 5 in 0.1 M acetate buffer (b) Optimal preconcentration time: 240 s.

Analytical response of the modified SPE

After optimizing the different parameters including preconcentration time and pH conditions, the porous g-C3N4/O-MWCNTs/SPE was applied for the determination of heavy metals using differential pulse voltammetric techniques. Figure 4a shows the different modified electrode responses of bare/SPE, MWCNTs/SPE, bulk g-C3N4/SPE and P-g-C3N4/O-MWCNTs/SPE in 0.1 M acetate buffer (pH -5.0) containing 5 μg L−1 of Hg and 25 μg L−1 of Pb, Cd, Zn. The porous g-C3N4/O-MWCNTs/SPE showed higher stripping peak current compared to other electrodes due to the formation of metal ion-complexes on the electrode surface. Hence, P-g-C3N4/O-MWCNTs/SPE chosen for simultaneous determination of four heavy metals. Figure 4b shows P-g-C3N4/O-MWCNTs/SPE with different concentrations of metals (Hg, Pb, Cd, and Zn) in 0.1 M acetate buffer (pH -5.0) as supporting electrolyte and the results indicate that increases in the metal ions concentrations correspondingly increase in the anodic stripping currents. The corresponding calibration plots are shown in Fig. 4c–f, and linear ranges and detection limits are listed in Table 1. The achieved detection limits by the fabricated sensor showed better sensitivity than the earlier reported methods and the comparison results are showed in Table 2 [25,26,27,28,29,30,31,32,33].

Fig. 4
figure 4

a DPV response of different modified electrodes in 0.1 M acetate buffer (pH -5.0) containing 0.5 μg L−1 of Hg and 25 μg L−1 of Pb, Cd, Zn metals. Preconcentration time is 240 s and deposition potential are −1.3 V. b DPV response of porous g-C3N4/O-MWCNTs/SPE at different concentration of heavy metals in 0.1 M acetate buffer (pH -5.0) as supporting electrolyte, preconcentration time is 240 s and deposition potential is −1.3 V. c–e Calibration plots of different heavy metals (c-Zinc, d- Cadmium, e- lead, f- Mercury)

Table 2 Comparison of proposed modified electrode with previously reported methods

Interference studies

The possible interferences during anodic stripping voltammetric determination of heavy metals have been analyzed. The selectivity is studied by fixing the concentration of heavy metals and adding an excess amount of interfering metal ions. Almost 10-fold excess of anions include F, SO42− and 50-fold excess of NO3 did not show any influence on the stripping current of metal ions. Moreover, other possible interfering cations including NH4+, Mg2+, Ca2+, Ba2+, and Al3+ were showed no interference at even excess concentrations, and they are generally inactive in voltammetry. Co2+ and Ni2+ are showed slight interference at 50-fold excess.

The anodic stripping voltammetric determination of heavy metals with copper has studied and the corresponding DPV responses are shows in Fig. 5a. The P-g-C3N4/O-MWCNTs/SPE with different concentrations of heavy metals and the corresponding stripping peak currents were increased. Moreover, the data was compared with the absences of copper ions, voltammograms of all the heavy metals showed well defined stripping peak currents. In the presences of copper ions, the voltammograms showed low stripping peak currents due to copper ions formed intermetallic alloy formation of Pb-Cu alloy [34]. During the analysis of heavy metals with copper, the anodic stripping peak potentials are negatively shifted, and the results are shown in Table S2. To avoid the intermetallic alloy formation in these steps, 0.1 mM of potassium ferrocyanide solution was added to form the copper ferrocyanide complexes, the solubility product of the copper ferrocyanide complex is Ksp-15.89 which is insoluble in the electrolyte [35].

Fig. 5
figure 5

a DPV response of porous g-C3N4/O-MWCNTs/SPE at different concentration of heavy metals with copper in 0.1 M acetate buffer (pH - 5.0) as supporting electrolyte, preconcentration time is 240 s and deposition potential is −1.3 V. b to f Calibration plots of different heavy metals (b-Zinc, c- Cadmium, d- lead, e- Copper and f- Mercury)

Stability and reproducibility

Stability and reproducibility of the porous g-C3N4/O-MWCNTs/SPE has been studied by six repetitive measurements of 25 μg L−1 of Pb and 50 μg L−1 of Hg, Cd, and Zn in 0.1 M acetate buffer pH -5.0. The anodic stripping peak currents of heavy metals are reproducible, with a relative standard deviation of 0.97%, 0.98%, 0.95% and 0.93% for zinc, cadmium, lead and mercury metals. The P-g-C3N4/O-MWCNTs/SPE showed excellent reproducibility towards anodic stripping voltammetric determination of heavy metals. The stability of the modified electrode has been studied over 9 days, and the anodic stripping peak current was measured, and the results are shown in figure S4. The P-g-C3N4/O-MWCNTs/SPE was kept in open air space while not in use.

Analysis of real samples

The fabricated P-g-C3N4/O-MWCNTs/SPE was successfully applied for the determination of heavy metals in different vegetables and noodles samples. The food samples were prepared by earlier discussed in section as in Material and Methods. All the samples were analyzed by spiking method. The results are summarized in Table S3.

Conclusion

A highly sensitive and selective electrochemical sensing platform for the simultaneous detection of four heavy metals based on 3D porous g-C3N4/O-MWCNTs nanocomposite modified SPE is reported. The 3D porous nanocomposite structure provided large surface area and active sites, while in-situ self-assembling of O-MWCNTs (1D) on the porous g-C3N4 (2D) nanosheets by strong π-π stocking and electrostatic interaction. The interconnection of O-MWCNTs (1D) offered continuous electron transfer pathways for efficient electroactive porous g-C3N4 (2D) nanosheets. The prepared porous g-C3N4/O-MWCNTs composite indicated excellent conductivity and electrocatalytic activity than bulk g-C3N4 and MWCNTs. The porous g-C3N4/O-MWCNTs/SPE has been successfully applied for towards simultaneous determination of four heavy metals by anodic stripping voltammetry method. The porous g-C3N4/O-MWCNTs/SPE showed excellent linear ranges and good selectivity and sensitivity. The fabricated electrode was applied for detection of heavy metals in real (food) samples and achieved satisfactory results. All these features exhibit that the 3D porous g-C3N4/O-MWCNTs nanocomposite is a promising nanomaterial in the field of metal ion sensor. Nonetheless, this study is limited with the detection of four heavy metal ions only in food sample matrices. Therefore, future work can be focused on the extended applications of this sensing platform to other metal ions and other sample matrices such as environmental, cosmetic and biological samples.