Introduction

In the past years, electrochemical analysis based on the selective sensors has been improved promptly [122] with the use of the novel materials. Room-temperature ionic liquids (RTILs) as a new material have been attracted by scientists in decade years. RTILs are ionic media resulting from the combination of organic cations and various anions; they are liquids at room-temperature and represent a new class of non-aqueous but polar solvents, which are able to dissolve many compounds [23]. They are good solvents for a wide range of inorganic and organic materials, have no appreciable vapor pressure at room-temperature, and have moderate viscosity [24]. These advantages make the ionic liquids more and more popular and widely used in electrochemical analysis [2529].

Nanomaterials show higher electrocatalytic activity, small size, and large specific surface area, with unique physical properties as a kind of special sensing material of chemically modified electrodes [3036]. In the past, the voltammetric sensor was developed based on nanomaterials in the presence of RTILs for drug and other important biological compound analysis [3747]. TiC is representative transition metal carbide. It has high melting point, high thermal and electrical conductivity, high chemical stability, and catalysis activity. TiC nanoparticles not only owe the excellent characteristics of TiC block, but also have the characteristics of nanomaterials. Due to large specific surface area, good biocompatibility, good conductivity, and adsorption performance, TiC nanoparticles have been widely used in the chemical field. Zheng [48] successfully prepared a novel PANI–TiC nanocomposite through the in situ chemical oxidative polymerization method, in which PANI and TiC showed an excellent synergic effect. Furthermore, the PANI–TiC exhibited good electrocatalytic activity toward AA. However, the TiC nanoparticles are solid and hard to be modified electrode alone.

Trp is essential amino acid for humans and a precursor for serotonin (a neurotransmitter), melatonin (a neurohormone), and niacin. The molecular structure of trp is shown in Scheme 1. It has been implicated as a possible cause of schizophrenia in people who cannot metabolize it properly. So, many technologies have been applied to the detection of trp, such as high-performance liquid chromatography [4952], capillary electrophoresis [5357], fluorometric methods [58], chemiluminescence [5963], and ultraviolet detection [64]. Although these methods have the benefits of sensitivity and accuracy, their high cost, time-consuming, and complicated operations limit their extensive application for routine trp analysis. However, electrochemical method for monitoring trp has shown promise compared to the methods above. It is well known that the electrochemical detection of trp at the unmodified electrode is not optimal owing to sluggish electron transfer processes and high over-potential [65]; so, lots of efforts have been contributed to seek the new material for electrode modification in order to promote the electron transfer and reduce the over-potential [6678].

Scheme 1
scheme 1

Electrochemical oxidation mechanism of trp on the electrode

In this study, ground RTIL BMIMPF6 and TiC nanoparticles to make the gel compound, which was used to modify glassy carbon electrode and applied to the electrochemical determination of trp. Due to the fact that BMIMPF6-TiC gel has large specific surface area and adsorption performance and has good electric conductivity and electric catalytic performance, the modified electrode has wide linear range, high sensitivity, low detection limit, excellent reproducibility, and good anti-interfering capability. Under the optimized conditions, the oxidation current of trp with its concentration has a good linear relationship; the detection limit of trp was 0.053 μmol/L. This novel BMIMPF6-TiC gel modified electrode was applied for the determination of trp in real samples.

Experimental

Reagents

Trp was obtained from Shanghai SSS Reagent Co. Ltd. BMIMPF6 was supplied by Shanghai Cheng Jie Chemical Co. Ltd. TiC nanoparticles were obtained from Nanjing Emperor Nano Material Co. Ltd. All other chemicals were of analytical reagents and used without further purification. All experiments were conducted at room-temperature, and the solutions were used in the process without nitrogen atmosphere. Deionized water (18.2 MΩ.cm specific resistance) obtained with a Pall Cascada laboratory water system was used throughout.

A 0.05 mol/L trp solution was prepared daily by dissolving 1.02 g trp in a NaOH solution (0.02 mol/L) in a 100-mL volumetric flask with ultrasonication for several minutes. More diluted solutions were prepared by serial dilutions with water.

Real sample preparation

The milk was bought from supermarket, and the urine was gained from hospital. Before usage, the milk was filtered through a 15∼20 μm normal filter paper. The urine and the milk were diluted five times with 0.1 M PBS (pH 5.5) without subjecting it to any further pretreatment.

Apparatus

The morphology and elemental composition of the modified electrodes were characterized by using scanning electron microscopy (SEM Hitachi S-4800 microscope, Japan) and energy dispersive X-ray spectroscopy (EDX HORIBA EX-350), respectively. All the electrochemical experiments were performed in a conventional three-electrode cell controlled by LK2005A Electrochemical Work Station (LANLIKE Instruments, Inc.). A modified glassy carbon (GC) disk (3 mm in diameter) and a platinum foil were used as the working and counter electrodes, respectively. Hg/HgCl2 reference electrode was adopted in saturated KCl aqueous solution.

Preparation of the modified electrode

Prior to use, GCE was polished to a mirror finish using a microcloth with 0.05 μm alumina slurry, then rinsed, and ultrasonicated with deionized water. Twenty-five milligram TiC nanoparticles and 20 μL BMIMPF6 were mixed in an agate mortar grinding at least 20 min [79] until perfect homogeneous BMIMPF6-TiC gel was obtained. The friction between GCE and smooth slide coated with BMIMPF6-TiC gel composite will last at least 15 min and resulting in a layer of gel film on GCE surface.

Electrochemical analysis procedure

Unless otherwise stated, 0.1 M phosphate buffer solution (PBS, pH 5.5) was used as the supporting electrolyte for trp determination. Cyclic voltammetry (CV) and differential pulse voltammetry (DPV) methods were adopted. CV was performed under the following parameters: initial potential of −0.2 V, final potential of 0.6 V, scan rate of 0.05 V/s. DPV was performed under the following parameters: initial potential of 0.5 V, final potential of 0.9 V, amplitude of 0.05 V, potential incremental of 0.01 V, pulse width of 0.2 s, pulse period of 0.45 s, quiet time of 2 s.

Results and discussion

Characterization of the BMIMPF6-TiC gel modified electrode

Figure 1 shows the surface morphologies of bare GCE (Fig. 1a) and BMIMPF6-TiC/GCE (Fig. 1b). As shown in Fig. 1a, the bare GCE was rough and nonuniform. Compared with Fig. 1a, Fig. 2b shows plenty of TiC that appeared in the BMIMPF6 film. The SEM photograph illustrated that the BMIMPF6-TiC gel was successfully modified on the surface of the GCE and has a well-defined morphology with almost uniform size and shape. In order to further prove that the BMIMPF6-TiC gel was successfully modified on the surface of the GCE, BMIMPF6-TiC/GCE was characterized by EDX (Fig. 2). The EDX result showed that strong Ti, C, F, and P signals were detected. Thus, Ti signal must be contributed by TiC. The source of F and P may be from the BMIMPF6. The SEM and EDX results indicated that BMIMPF6-TiC gel was successfully modified on the surface of the GCE.

Fig. 1
figure 1

SEM micrograph of the bare GCE (a) and BMIMPF6-TiC/GCE (b)

Fig. 2
figure 2

EDX spectrum of BMIMPF6-TiC/GCE

The active surface areas of the modified electrodes were estimated according to the slope of the Ip versus v 1/2 plot for a known concentration of K3Fe(CN)6, based on the Randles–Sevcik equation:

$$ Ip=2.69\times 1{0}^5{\mathrm{n}}^{3/2}{\mathrm{AD}}^{1/2}{v}^{1/2}{\mathrm{C}}_0 $$
(1)

Ip refers to the anodic peak current. n is the electron transfer number. A is the surface area of the electrode. D is the diffusion coefficient. C0 is the concentration of K3Fe(CN)6, and v is the scan rate. For 1.0 mmol/L K3Fe(CN)6 in 0.10 mol/L KCl electrolyte, n equals 1, and D is 7.6 × 10−6 cm/s. From the slope of the Ip-v 1/2 relation, the microscopic areas were calculated. They were 0.076 and 0.066 cm2 for BMIMPF6-TiC/GCE and GCE, respectively. The results show that presence of BMIMPF6-TiC gel causes the increase of the active surface of the electrode but not very much. The improvement of the sensitivity is due to a fast electron transfer process that can occur at BMIMPF6-TiC/GCE.

The typical CVs for BMIMPF6-TiC/GCE and bare GCE were recorded between −0.2 and 0.6 V in 1 mmol/L Fe(CN)6 3−/4− and 0.1 M KNO3 solution (Fig. 3). The CVs of the bare GCE (Fig. 3a) and BMIMPF6-TiC/GCE (Fig. 3b) showed a well-shaped reduction–oxidation (redox) peak. However, the peak-to-peak potential of Fe(CN)6 3−/4− at BMIMPF6-TiC/GCE is slightly wider than that at bare GCE. This may be due to the electrostatic repulsion force between the negatively charged Fe(CN)6 3−/4− and BMIMPF6-TiC gel. However, the peak currents of Fe(CN)6 3−/4− at BMIMPF6-TiC/GCE are higher than those at bare GCE, which indicated that a fast electron transfer process can occur at BMIMPF6-TiC/GCE.

Fig. 3
figure 3

CVs of a bare GCE and b BMIMPF6-TiC/GCE in 1 mmol/L [Fe(CN)6]3−/4− and 0.1 M KCl solution in the potential range of −0.2 to 0.6 V. Scan rate 50 mV/s

Electrochemical behavior of trp on the BMIMPF6-TiC modified GCE

Figure 4 shows the DPVs of bare GCE (Fig. 4a) and BMIMPF6-TiC/GCE (Fig. 4b) in 0.1-mol/L PBS solution (pH 5.5) containing 10 μmol/L trp. The small oxidation peak of trp was obtained at bare GCE. The peak potential of trp is 0.72 V, and the peak current is 0.62 μA (Fig. 4a), while the peak potential of trp at BMIMPF6-TiC/GCE is 0.68 V and the peak current is 3.68 μA (Fig. 4b). The peak current of trp at the BMIMPF6-TiC/GCE showed up to the fivefold improvement than that at bare GCE. As a result of the catalysis of BMIMPF6, the oxidation peak potential of trp shifted negatively. These results suggested that the BMIMPF6-TiC gel not only possess strong electrocatalytic activity toward the redox reaction but also promoted the electron transfer rate on the surface of the electrode. The relationship between scan rate and the peak current of trp was also investigated. The anodic peak currents of trp were proportional to the square root of the scan rate from 5 to 100 mVs−1 (Fig. 5). This result indicated that the electro-oxidation reaction of trp at BMIMPF6-TiC/GCE was a typical diffusion-controlled process.

Fig. 4
figure 4

DPVs of a bare GCE and b BMIMPF6-TiC/GCE in 0.1 M PBS (pH  5.5) containing 10 μmol/L trp. Scan rate 50 mV/s

Fig. 5
figure 5

Linear relationship of square root of scan rate versus oxidation current response of 10 μmol/L trp in 0.1 M PBS (pH 5.5). Insert CVs of the BMIMPF6-TiC/GCE at different scan rates (from 5 to 100 mV/s)

Optimization for trp measurement on BMIMPF6-TiC/GCE

Effect of the ratio of TiC nanoparticles in BMIMPF6

To optimize the electrocatalytic response of the BMIMPF6-TiC/GCE for trp oxidation, the ratio of TiC nanoparticles (mg) in BMIMPF6 (μL) was studied between 0.6 and 2 with 10 μmol/L trp in 0.1 mol/L PBS (pH 5.5). The largest oxidation peak current of trp is obtained at the BMIMPF6-TiC/GCE incorporating TiC nanoparticles (m/v 1.25) in BMIMPF6 from Fig. 6. Thus, the BMIMPF6 incorporating TiC (m/v 1.25) nanoparticles is selected for trp detection.

Fig. 6
figure 6

Effect of the ratio of TiC nanoparticles in BMIMPF6 on the oxidation current response of 10 μmol/L trp in 0.1 M PBS (pH  5.5) on BMIMPF6-TiC/GCE

Effect of pH values

The pH value of the supporting electrolyte is an important factor that affects the voltammetric response of trp. The existing form of trp in the solution is highly affected by the pH values. There is a pair of unpaired electron on the nitrogen atoms in the amino group. In strong acid solution, it will combine with H+ and is not conducive to the formation of free radicals of nitrogen; thus, the oxidation reaction is more difficult. When in strong alkaline solution, the OH in aqueous solution will produce oxygen evolution reaction easily on electrode and will affect the stability of system. So, too low or too high pH values are not conducive to the determination of trp. The effect of pH on the peak current of trp was investigated by recording DPV on BMIMPF6-TiC Gel/GCE of 10 μmol/L trp in 0.1 M PBS of different pH ranging from 4.5 to 7.0, and the results are displayed in Fig. 7a. The anodic peak current gradually increases from pH 4.5 to pH 5.5. The maximum current was observed at pH 5.5. However, the anodic peak current decreased when pH was further increased from pH 5.5 to 7.0. Thus, pH 5.5 was chosen. In addition, the peak potential shifted negatively and linearly as the solution pH increased from pH 4.5 to 7.0 (Fig. 7b). The slope value of the Ep/pH plots was −52 mV/pH, which implies that H+ transfer was involved in the electrode reaction. In the experiment, the relationship between the oxidation peak potentials and scan rates can be described as following: E pa  = 0.049logv + 0.8, r = 0.999. According to Laviron’s theory, the slope was equal to 2.303RT/n(1-α)F. Then, the value of n was calculated as 2.34. As for a totally irreversible electrode reaction process, α was assumed as 0.5, which indicated that two electrons were involved in the oxidation process of trp at the gel modified electrode. Since equal numbers of electron and proton took part in the oxidation of trp, therefore the transfer of two electrons and two protons was involved in the electrode reaction process. The mechanism of the oxidation of trp at the gel modified electrode is shown in Scheme 2, which is in accordance with the report [80].

Fig. 7
figure 7

Effect of pH on a the oxidation current response and b oxidation peak potential of 10 μmol/L trp in 0.1 M PBS (pH  5.5) on BMIMPF6-TiC/GCE

Calibration curve

The calibration curve of the trp determination was derived from the DPVs obtained on the BMIMPF6-TiC/GCE in 0.1 M PBS (pH 5.5) under the optimum conditions (Fig. 8). Two linear dynamic ranges as shown in Fig. 8 from 0.5 to 30 μmol/L and 30 to 500 μmol/L and a detection limit of 0.053 μmol/L were obtained. If the concentration of trp is less than the value of 30 μmol/L, trp may be related to the formation of a monolayer on the surface of the modified electrode. However, if the concentration of trp is higher than the value of 30 μmol/L, trp may be related to the formation of a multilayer on the surface of a modified electrode [81]. Meanwhile, the forces of the interaction were changed between trp and gel compound. So, the calibration curve plots of trp were broken at low and high concentrations. Linear regression equations for the two regions are as follows:

$$ Ip\left(\mu \mathrm{A}\right)=0.57+0.236C\left(\mu \mathrm{mol}/\mathrm{L}\right)\left(0.5-30\mu \mathrm{mol}/\mathrm{L},\ \mathrm{R}=0.9750\right) $$
(2)
$$ Ip\left(\mu \mathrm{A}\right)=6.72+0.025C\left(\mu \mathrm{mol}/\mathrm{L}\right)\left(30-500\mu \mathrm{mol}/\mathrm{L},\ \mathrm{R}=0.9983\right) $$
(3)
Fig. 8
figure 8

The calibration curve for trp determination. Insert DPVs of the BMIMPF6-TiC/GCE at different trp concentrations (from a 0.5 to 30 μmol/L and b 30 to 500 μmol/L) in 0.1 M PBS (pH 5.5). Scan rate 50 mV/s

The response characteristics of the BMIMPF6-TiC/GCE were compared with those in previously published works. As shown in Table 1, the proposed BMIMPF6-TiC/GCE had wider linear dynamic range and lower detection limit than most of the materials used in other works for trp determination.

Table 1 Comparison of response characteristic on different modified electrodes

Reproducibility, repeatability, and selectivity

The reproducibility of BMIMPF6-TiC/GCE was investigated by detecting a certain amount of trp in 0.1 M PBS (pH 5.5) for one electrode in ten measurements. The relative standard deviation (RSD) of the anodic peak current was 2.8 % for trp determination. The repeatability of the developed method was also evaluated by using five different BMIMPF6-TiC/GCEs, and the obtained RSD was 2.9 %. Therefore, BMIMPF6-TiC/GCE showed good reproducibility and repeatability.

The selectivity of the BMIMPF6-TiC/GCE for the trp determination was investigated by adding various foreign species into PBS (pH 5.5) containing 10 μmol/L trp. Moreover, 500-fold Na+, K+, NO3 , 150-fold lactose, 100-fold urea, sucrose, Mg2+, SO4 2−, Ca2+, 50-fold glucose, fructose, 5-fold ascorbic acid, histidine, aspartic acid, glycine, serine, 2-fold dopamine, threonine, valine, phenylalanine did not affect the determination of trp (<5 % of response current change). These results indicated good selectivity of the proposed electrode.

Practical application of BMIMPF6-TiC/GCE

The practical utility of BMIMPF6-TiC/GCE was evaluated by employing it for the determination of trp in the human urine and cow’s milk. The concentration of trp was estimated by standard addition method. The amperometric response of trp was recorded at BMIMPF6-TiC/GCE, and the results are displayed in Table 2. From the good quantitative recoveries and precision of the results observed, BMIMPF6-TiC/GCE can be successfully employed for the determination of trp in real samples. The present method is reliable and suitable for the determination of trp in food and biological samples.

Table 2 Results of real sample analysis at BMIMPF6-TiC/GCE

Conclusions

In this work, a simple and effective method for the quantification of trp by modifying the GCE with BMIMPF6-TiC gel was used. SEM and EDX results demonstrated that BMIMPF6 and TiC nanoparticles were successfully doped into the GCE. Compared with bare GCE, the obtained BMIMPF6-TiC/GCE exhibited significantly enhanced electrocatalytic performance in trp determination. The detection limit of trp was 0.053 μmol/L. In addition, the BMIMPF6-TiC/GCE showed excellent reproducibility, repeatability, and selectivity and can be applied for determination in real samples. The fabricated electrode may serve as an electrochemical sensor for high sensitive trp determination. This work provides a simple and easy approach to selectively detect trp and had wider linear dynamic range and lower detection limit. It showed good reproducibility and repeatability and had good anti-interference ability. BMIMPF6-TiC/GCE can be successfully employed for the determination of trp in real samples.