Introduction

As the primary source of nitrogen for green plants, nitrite is the most common nitrogenous compound found in nature, and it is widely used in drinking water and food. It can not only make food present a good color and luster, and enhance people’s appetite for food, but also prevent food from rotting and deteriorating, thereby increasing the flavor of food [1, 2]. However, when it is used improperly or excessively during processing, nitrite will cause adverse effects on human health through the blood. It could combine with blood pigments to produce methemoglobin, which no longer needs oxygen in tissues, or interacts with amines and amides in the stomach to form highly carcinogenic N-nitrosamine compounds [3,4,5]. Because of the potential toxicity of nitrite to the human body, the development of a rapid and sensitive nitrite detection technology is of great significance to public health.

Currently, many analytical techniques have been proposed for nitrite detection, such as spectrophotometry [6,7,8,9], colorimetry [10], capillary electrophoresis [11,12,13], chromatography [14,15,16], chemiluminescence [17, 18]. Nevertheless, most of the reported detection techniques involve some defects, such as expensive cost, limited selectivity, slow detection speed, and low sensitivity [2, 19]. By contrast, in practical application, electrochemical analysis technology has received great attention in nitrite determination because of its simple preparation, low cost, high sensitivity and easy miniaturization [20, 21]. At present, the quality and safety of food are highly valued, and the sensitive detection of nitrite in food is of great significance to the health of the general public.

Up to now, our interest has been focused on the introduction of various indicator molecules as electrode modifiers in nitrite sensing, such as polymeric films, a new polyoxometalate/rGO/Pani [22, 23], metal oxides [24], metal chalcogenides [25, 26], metal alloys [27] and carbon nanomaterials [21, 28, 29]. Li et al. proposed a nitrite sensor by using CuO/H-C3N4/rGO nanocomposite for the nitrite detection [19]. Fan et al. described the construction of cobalt porphyrin/strontium tantalate nanocomposites for nitrite detection [1]. Chen et al. prepared an electrochemical sensing platform based on Cu-MOF, which exhibits high sensitivity as well as satisfied stability for nitrite sensing [2]. Zhang et al. synthesized gold nanoparticles coated on a MoS2 microsphere for efficient electrochemical sensing of nitrite [30]. However, most of these methods involved complex fabrication and exhibited poor sensitivity and reproducibility. Therefore, it is desirable to establish new strategies to overcome these limitations.

Among them, conductive polymers have attracted great attention in the development of electrochemical sensors due to their inherent conductivity, such as polyaniline, polypyrrole, polythiophene, polyacetylene, and their derivatives, etc. [31]. In this work, a new kind of small molecule material, 2,5-di-thiophen-3-yl-thiazolo[5,4-d]thiazole (DTT), was synthesized, and an electrochemical sensing platform based on PolyDTTF-modified glassy carbon electrode (GCE) for the detection of nitrite was established for the first time, where PolyDTTF was prepared through one-step electropolymerization, which is easy to prepare and has controllable film thickness and high environmental stability. DTT is a fused bicyclic heterocyclic compound with rigid planar framework and extended π-conjugated electronic structure [32], while PolyDTTF shows an outstanding catalytic effect for the oxidation of nitrite on account of its high conductivity and excellent catalytic activity. Experimental results displayed that the electrochemical sensor based on PolyDTTF has a preeminent electrocatalytic effect for the determination of nitrite, and it has excellent anti-interference and good stability. This method can be used for the determination of nitrite in actual samples.

Experimental section

Reagents and apparatus

Tetrabutylammonium perchlorate was purchased from Shanghai Yuanye Biological Technology Co., Ltd. (China). Potassium ferricyanide and potassium ferrocyanide were obtained from Tianjin Beilian Fine Chemicals Development Co., Ltd. (China). The alumina powder was provided by Shanghai Xianren Instrument Co., Ltd. (China). Sodium nitrite was bought from Tianjin Bodi Chemical Co., Ltd. (China). The ham, sauce beef, and pickle samples were purchased from a local supermarket. The phosphate buffer solutions (PBS) of 0.1 M concentration were prepared using KH2PO4 and K2HPO4, and the different pHs were adjusted with HCl or NaOH solution. Other chemical reagents used in this paper were analytical grade, and all aqueous solutions were prepared with ultrapure water from an ultrapure water system. Scanning electron microscopy (SEM, Regulus 8220, Hitachi, Japan) was used for the morphology characterization of the prepared materials. Infrared spectra were measured using a Thermo Fisher Nicolet 10 FTIR spectrometer (Waltham, USA). UV-visible spectra were recorded with a Model TU-1810DSPC spectrometer. A laser confocal Raman spectrometer (Via-Reflex) was used to record the Raman spectrum (2000–400 cm−1). The NMR spectra were detected by Bruker AVANCE III instruments (Karlsruhe, Germany) at 100 MHz and 400 MHz for 1H NMR and 13C NMR. All electrochemical measurements were implemented with a CHI model 660E potentiostat (CH Instruments, Shanghai, China).

Preparation of DTT conductive polymer

DTT was prepared based on a previous literature with some modification [33]. A solution containing 3-thiophenecarboxaldehyde (1.01 g, 9.0 mmol) and dithiooxamide (0.48 g, 4.0 mmol) in DMF (50 mL) was heated under reflux for 6 h, then cooled down to 80 °C. The reaction mixture was filtered, and washed by DMF and THF. After drying, the product was obtained. Yield: 0.40 g (33%). 1H NMR (400 MHz, CDCl3): δ7.58–7.57 (d, 2H), 7.47–7.46(d, 2H), 7.13–7.10(t, 2H); 13C NMR (100 MHz, CDCl3): δ 162.6, 149.8, 137.6, 128.7, 128.1, 126.9.

Preparation of nitrite sensor

Firstly, the GCE surface was polished twice with 0.3 μm aluminum oxide polishing powder to the mirror surface, and ultrasonically washed with ethanol and ultrapure water for 5 min, then rinsed with ultrapure water, and left in ultrapure water for later use. Secondly, the clean electrode was placed in 0.5 M H2SO4 and scanned by cyclic voltammetry at the scanning speed of 0.1 V/s from −1.5 V to 1.5 V until the curve was stable. Thirdly, the above electrode was placed in a solution of 0.06 g/mL DTT (containing 0.1 M tetrabutylammonium perchlorate) in acetonitrile and scanned 35 times with a scanning voltage of −1.6 to 0.2 V and the scanning speed at 1.0 V/s until the current tended to be stable. The preparation of the nitrite sensor is schematically illustrated in Scheme 1.

Scheme 1
scheme 1

Schematic illustration for the fabrication and principle of nitrite sensor

Electrochemical measurements

The cyclic voltammetry (CV), electrochemical impedance spectroscopy (EIS) and amperometric techniques were utilized to investigate the electrochemical activity of the modified electrode. CV measurements were carried out in 0.1 M PBS solution with 2.0 mM K3Fe(CN)6 and 0.1 M KCl, while CV measurements were also performed in 0.1 M PBS solution without or with 0.1 M nitrite in a potential range of 0.4 ~ 1.1 V and a scan rate of 0.1 V/s. EIS measurements were accomplished in a frequency range between 0.1 kHz and 100 kHz in 0.1 M KCl solution containing 5 mM [Fe(CN)6]3−/4− redox couple. For amperometric measurements, slow magnetic stirring was performed in the electrolytic cell to achieve rapid homogeneity of the analyte solution, and the potential was installed at 0.9 V under experimentally optimized conditions.

Preparation of actual samples

The samples of ham, sauce beef and pickles were minced in a blender, added with PBS solution and centrifuged at 4000 rpm for 5 min. Then the obtained supernatants were treated with a simple filtration, and the ionic strength and the pH values of the actual sample solution were regulated to match the PBS buffer. Finally, 10 μL of each sample was successively added to the detection system and analyzed for NO2 content.

Results and discussion

Characterization of DTT conductive polymer

The structures of the conducting polymers were characterized using 1H NMR and 13C NMR in Fig. S1, S2(see Electronic Supplementary Material Fig. S1, S2), which clearly demonstrated the successful preparation of DTT [34]. The morphology of the polymer film on the surface of the GCE was studied by recording scanning electron microscope images. As represented in Fig. 1a, a brown-black film with some irregular cracks was formed on the surface of the electrode in comparison with bare GCE (Fig. 1a), which fully confirms that the polymer film has been distributed evenly on the surface of the electrode.

Fig. 1
figure 1

SEM images of bare GCE (a) and the polymer film (a), FT-IR spectra (b), UV-visible spectra (c), Raman spectrum (d) of the monomer and polymer film

Figure 1b shows the Fourier transform infrared spectrum for DTT and PolyDTTF. For DTT, the peak at 3066 cm−1 corresponds to the C-H stretching vibrations of the thiophene fragment, the peak at 1642 cm−1 is assigned to the C=N of thiazolothiazole-based units, and the bands at 1588, 1532, and 1462 cm−1 are attributed to the stretching vibrations of C=C in the thiophene ring. The peaks at 1192, 1084 and 1036 cm−1 imply in-plane C-H bending vibrations, while the out-of-planeC-H bending vibration has been assigned to the bands found in the range of 710–1004 cm−1. The 866 cm−1 band is assigned to the C-S stretching vibration in the thiophene ring. By contrast, the C-H stretching vibrations of the 2964 cm−1 band obviously became weaker, the stretching vibrations of C=N shift to 1655 cm−1, while the asymmetric and symmetric stretching vibrations of C=C from 1462 and 1588 cm−1 to 1472 and 1634 cm−1 signify a change in the C=C bond after the reaction [35], indicating the formation of the PolyDTTF polymer. Moreover, a series of peak spectral bands in the range of 740–1094 cm−1 disappeared in the PolyDTTF, which was probably related to the electropolymerization of PolyDTTF transforming the C-H groups to form conjugate units as a result of the relocation of π electrons. Furthermore, the appearance of the 892 cm−1 band also represents the C-S stretching vibration in PolyDTTF, and the shift from the 650 cm−1 peak to the 622 cm−1 peak band reveals the ring deformation of C-S-C in the conducting polymer, further confirming the successful preparation of the polymer [22, 35].

The UV absorption spectra of the DTT and PolyDTTF were studied and shown in Fig. 1c. Compared with DTT monomer, a red-shift at the main band and the shoulder of PolyDTTF in the region of 200–310 nm can be obviously observed, which may be associated with a longer conjugation length in the PolyDTTF. It is expected that PolyDTTF has extra electron-rich rings on the backbone of the polymer and forms more extended delocalization of π-electron systems, which results in increased interaction between adjacent molecules in PolyDTTF. It also displays two weak absorption bands in the 330–420 nm and 480–630 nm regions [36, 37], which are attributed to the charge transfer between the donor intramolecular units (thiophene) and the thiazolothiazole-based units.

The in situ Raman spectra of DTT and PolyDTTF are revealed in Fig. 1d. Relative to the monomer, a series of peak spectral bands in the range of 1230–1650 cm−1 for the polymer have varying degrees of intensity changes. Among them, the peak bands in the range of 1510–1650 cm−1 are assigned to the C=C and C=N vibrations of the thiophene fragments and thiazolothiazole-based units, the peak bands appearing at 1333 cm−1 correspond to the vibration of C-C bonds. By contrast, the two bands at 926 and 827 cm−1 for DTT are attributed to C-H in- and out-of-plane deformations, while these peaks disappeared in the PolyDTTF, indicating that almost all the C-H groups have been transformed into conjugate units in PolyDTTF by polymerization. The observed broadening and red shift could be on account of the variation of conjugation length distribution in the PolyDTTF [34].

CV and EIS characterization

The electrochemical characteristics of the working electrode were investigated through cyclic voltammetry and electrochemical impedance spectroscopy. Figure 2a revealed the cyclic voltammograms of different electrodes in 0.1 M pH 7.0 PBS, containing 2.0 mM K3Fe(CN)6 and 0.1 M KCl, the current of the PolyDTTF/GCE (curve b) is smaller than that of bare GCE (curve a), suggesting the successful construction of the modified electrode.

Fig. 2
figure 2

a CV curves of (a) bare GCE and (b) PolyDTTF/GCE in 0.1 M PBS solution containing 2.0 mM K3Fe(CN)6 and 0.1 M KCl at 0.1 V/s; b EIS of (a) bare GCE and (b) PolyDTTF/GCE in 0.1 M PBS solution containing 0.1 M KCl and 5.0 mM [Fe (CN) 6]3−/4-

In Fig. 2b, EIS was carried out to further study the modified electrode interface with a standard redox probe i.e. Fe(CN)6]3−/4−, as well as KCl as supporting electrolyte. A remarkable increase in the semicircle diameter of the modified electrode was observed compared with GCE (curve b), that is, the charge transfer resistance of the modified electrode is larger than that of the bare electrode, which were in accordance with the CV results. All these further indicate that PolyDTTF film has been fully loaded on the surface of the electrode.

Electrochemical properties of DTT conductive polymer

The electrodeposition process for conductive PolyDTTF has been shown in Fig. 3a, from which, it can be found that the current gradually slows down and tends to be stable, which shows that PolyDTTF gradually reaches a saturation state on the electrode; that is, PolyDTTF has been successfully prepared on the electrode surface.

Fig. 3
figure 3

a Electrodeposition of the polymer film in acetonitrile solution containing 0.06 g/mL DTT; b CVs at different electrodes in 0.1 M PBS solution without (a, b) or with (c, d) 0.1 M nitrite. Scan rate: 0.1 V/s. a and c: bare GCE; b and d: PolyDTTF/GCE

The electrochemical behavior of the bare GCE and PolyDTTF/GCE in PBS with and without nitrite was investigated by using CV. As represented in Fig. 3b, when the electrode measured the current in the nitrite solution at a sweep speed of 0.1 V/s (pH 5.0), a large oxidation peak appeared in the vicinity of 0.85–0.95 V. When the electrodes were in 0.1 M PBS solution without nitrite, there was no current response for both the bare electrode (curve a) and the modified electrode (curve b), while a significant increase in the signal of the oxidation peak current was observed for both the bare electrode (curve c) and the modified electrode (curve d) in 0.1 M nitrite solution. Moreover, the response current of the modified electrode is much better than that of the GCE in nitrite solution. Therefore, it can be concluded that PolyDTTF has excellent electrocatalytic properties towards the oxidation of nitrite. The mechanism of electro-oxidation of nitrite can be expressed as follows [30, 38]:

$$ {\mathsf{H}}^{+}+{{\mathsf{2}\mathsf{NO}}_{\mathsf{2}}}^{-}\to {\mathsf{H}\mathsf{NO}}_{\mathsf{2}}+{\mathsf{NO}}_{\mathsf{2}}+{\mathsf{e}}^{-} $$
(1)
$$ {\mathsf{NO}}^{\mathsf{2}-}+{\mathsf{H}}_{\mathsf{2}}\mathsf{O}\to {{\mathsf{NO}}_{\mathsf{3}}}^{-}+{\mathsf{2}\mathsf{H}}^{+}+{\mathsf{2}\mathsf{e}}^{-} $$
(2)

To further assess the electro-oxidation behavior of nitrite at PolyDTTF/GCE, we examined the CVs of different scan rates in 0.1 M pH 5.0 nitrite solution. Figure 4 depicts the corresponding increase in peak current as the scan rate increases from 0.5 V/s to 2.5 V/s. A proportional relationship between peak current and the square root of the scan rate can be observed in the illustration, and the fitted linear curve can be expressed as y = 0.4314v1/2 + 0.5390 (R2 = 0.9890), which indicates that the electrochemical oxidation of nitrite on PolyDTTF/GCE is a diffusion-controlled process.

Fig. 4
figure 4

CVs of modified electrode at various scan rates in 0.1 M (pH 5.0) nitrite. (from a to b: 0.5, 0.75, 1.0, 1.5, 2.0 and 2.5 V/s). The linear relationship between current signals and the scan rate

Optimization of nitrite detection conditions

To improve the performance of the sensor, we performed amperometric titration by measuring the electrochemical behavior at different pH values. Our analysis revealed that the maximum current response of nitrite increased as the solution pH increased from 4 to 5, when the pH of the solution was higher than 5.0, the peak oxidation current gradually decreased. The decrease in the oxidation peak current at low pH (<5.0) may be due to the protonation of nitrite, while the reduction in current observed at high pH (>5.0) is owing to the deficiency of the protons in the system, and that the kinetic control reduces the oxidation peak current of nitrite on the PolyDTTF/GCE [30]. Therefore, 0.1 M PBS (pH = 5) was used as the electrolyte for all electrochemical measurements.

The number of scanning turns for electrodeposition is another important factor in the detection of nitrite by the sensor. Electrodeposition processes were recorded in solutions with different scanning turns, however, the peak current has shown significant variation with the scanning turns of the solution. The results showed that the peak current increases at first and then decreases with the increase of the scanning circles number. Moreover, the maximum current signal response occurred when the number of scanning circles is 35. Hence, a scanning turn count of 35 was used as the best condition for the subsequent studies.

The electrochemical behavior of nitrite ions also depends on the sweep speed of electrodeposition. Therefore, we used I-t curves to study the electrochemical behavior at different sweep speeds (Fig. 5a). As the sweep rate increases, the peak potential of the nitrite ion-catalyzed oxidation shifts toward the corrected potential, suggesting a kinetic limit to the reaction between the redox site of the modifier and the nitrite ion [39]. Based on the oxidation peak current signal, the response is greatest at a sweep rate of 1.0 V/s. Consequently, the optimal sweep rate of 1.0 V/s was chosen for the experimental determination.

Fig. 5
figure 5

Effects of (a) sweep speeds (0.4, 0.5, 0.6, 0.7, 0.85, 1.0, 1.5, 2.0 V/s) and (b) applied potentials (0.6, 0.7, 0.8, 0.85, 0.9, 0.95, 1.0 V) on the current response of the sensor

The I-t curves of nitrite on modified electrodes at different applied potentials were also investigated under optimal conditions. As represented in Fig. 5b, the peak current of nitrite increased with increasing potential from 0.6 V to 0.9 V, and then the peak current reduced significantly with the increase in the potential, thereby the potential of 0.9 V was used as an optimum value in all further studies.

Amperometric detection of nitrite on DTT conductive polymers

Under the optimal conditions, the nitrite solutions with different concentrations were titrated by the I-t curve, and the relationship between nitrite oxidation peak concentration and current was studied. In Fig. 6a, it can be found that with the addition of a series of sodium nitrite by using different concentrations, the I–t curve sensitively exhibits apparent current step. As represented in Fig. 6b, the current response signal was plotted with increasing concentration of nitrite in the range of 5.5 × 10−9 ~ 3.5 × 10−5 M. The modified electrode displayed wide linearity; the linear regression equation was Y = 0.033X + 0.0545 with a correlation coefficient of 0.9972; the detection limit is calculated to be 2 nM. The results show that the nitrite sensor has high sensitivity for the determination of nitrite.

Fig. 6
figure 6

a Amperometric I-t curve response obtained at PolyDTTF/GCE upon successive addition of nitrite in 0.1 M PBS (pH 5.0) at 0.9 V under a constant-rate stirring condition. b Corresponding calibration curves between the amperometric responses and the nitrite concentration for three replicate measurements

A comparison of analytical performance for the sensor with other reported sensors for the nitrite determination is presented in Table 1, where our modified electrode exhibited better performance as compared with other sensors, with a particularly remarkable detection limit and presentable linear region. This is mainly attributed to the high electron affinity and the synergistic effect of PolyDTTF, which could meet the requirements of rapid adsorption of analyte to the electrode surface and distinguish among them. Furthermore, PolyDTTF has good electrical conductivity and offers enhanced electrocatalytic activity, which greatly heightens the electron transfer kinetics and facilitates electron transfer for nitrite ion detection. As well, it is worth noting that the fabrication of the established electrode is more controllable, more reliable and easier than most reported electrochemical sensors.

Table 1 Comparison of the proposed sensor with other reported methods

Selectivity and stability of the nitrite sensing platform

The interference experiment of nitrite detection was performed and the selectivity of the sensor was evaluated, the effect of the possible interfering anions and cations (1 M) were studied in presence of 1 mM nitrite concentration, such as NiCl2, Cu(NO3)2, NH4Cl, GaCl2, NaAc, KCl, NaH2PO4, KBr. As shown in Fig. S3(see Electronic Supplementary Material Fig. S3), the modified electrode exhibits a remarkable response towards NaNO2, while there are no signal changes for the interfering species, showing that the prepared sensor possesses good selectivity and anti-interference ability for nitrite determination. In addition, the long-term stability of the modified GCE was investigated by detecting the current response at different intervals of time: the response signal still retained 97% and 91% of the initial response signal within three days and twenty days, respectively, which fully demonstrates that the nitrite sensor has satisfactory stability and repeatability.

Measurement and analysis of actual samples

In order to explore the feasibility of the fabricated sensor in practical applications, the PolyDTTF-modified electrode was verified by testing the nitrite content in actual samples such as ham, sauce beef, and pickle sample extracts, and compared with the traditional titration method. In Table 2, the results revealed that the relative error of two methods ranged from −3.4% to 2.1%, with no significant difference between these two methods, indicating the practical feasibility of the sensor for nitrite detection in real samples.

Table 2 Detection of nitrite in actual samples

Conclusion

In brief, a novel electrochemical sensing platform was established based on PolyDTTF through one-step electropolymerization, which was applied for nitrite sensing. The as-prepared sensor showed prominent electrocatalytic activity on the electro-oxidation of nitrite. Amperometric determination demonstrates that the proposed method not only possesses a wide linear range, high sensitivity, fast response time, and low detection limit, but also provides high selectivity and good stability for nitrite detection. More importantly, it could be successfully utilized for nitrite quantification in actual samples, revealing a promising potential application in the food industry and environmental analysis.