Introduction

Malathion is a common organophosphorus pesticide (OPs), which is often used to control crop diseases and insect pests in modern agriculture. However, malathion has high toxicity, and is easily enriched in soil and water, which threatens the security of agricultural products and resources. It’s probably worth noting that drinking water or produce containing excessive malathion residues can be harmful to the human nervous system and thus harm human health [1,2,3]. The commonly used detection methods of organophosphorus pesticides include gas chromatography (GC), high performance liquid chromatography (HPLC), mass spectrometry (MS), etc. These methods have been developed for a long time, and have high sensitivity. However, complicated operation procedures may affect the reliability of test results, and complex equipment may lack flexibility, which limit their application scope [4,5,6,7,8]. Therefore, it is very urgent and has important practical significance to develop a simple and convenient method for rapid detection of malathion. Compared with traditional methods, electrochemical analysis has attracted the attention of researchers because of its low cost, simple operation and high sensitivity. In recent years, electrochemical detection methods have been widely used in environmental monitoring, pesticide residue detection and other fields [9,10,10,11,12].

Currently, the reported electrochemical sensors for organophosphorus pesticides can be mainly divided into two types: enzyme type and non-enzyme type. Although the development of enzyme-type electrochemical sensors for agricultural residues is earlier than that of non-enzyme type, its popularization and application are still limited by the disadvantages of poor stability of enzymes, demanding reaction conditions and high price [13,14,15]. For this reason, the development of electrochemical sensors for non-enzymatic OPs has attracted more and more attention. A large number of studies have been reported on the application of various metals/metal oxides, metal oxide–carbon nanotube composites and composite nanomaterials in the construction of electrochemical sensors for the detection of pesticide. For example, Gao et al. studied the simultaneous detection of carbendazim and methyl parathion by electrochemical sensors driven by electroactive gold nanopores [16]. Zhang et al. prepared a biosensor based on conjugated polymer and Ag-RGO-NH2 nanocomposite material, which can detect malathion and trichlorfon. The detection limit of malathion is about 0.032 μg/L [17]. However, most of these studies focus on noble metals such as Ag and Au or metal oxides with complicated preparation methods. Therefore, other materials for the electrode modification with comparable properties, low-cost and easy availability need to be developed.

Conducting polymers, such as polypyrrole, polyaniline and polythiophene can form different nanostructures like nanofibers, nanotubes and nanospheres through its molecular self-assembly and have great potential for the fabrication of sensors due to their moldable electrical conductivity, chemical stability, the high surface to volume ratio and ease of preparation. Generally speaking, conducting polymers can be used as the mediator for enzyme electrodes. Li et al. fixed acetylcholinesterase on a polyaniline/graphene composite film to modified glassy carbon electrode, which could detect carbaryl at a concentration of 38–194 ng/mL. The detection limit of the electrochemical sensor is 20 ng/mL [18]. Yang et al. mixed gold, polypyrrole and reduced GO sheet, and then fixed acetylcholinesterase on the composite material to detect the paraoxon-ethyl in the range of 1–5 μM. The detection limit of this electrochemical sensor is 0.5 nM [19]. However, there are few reports on the application of conducting polymers as enzyme-free electrochemical sensor in the detection of malathion. Herein, we proposed an enzyme-free electrochemical sensor for malathion detection based on conducting polymers.

Polyaniline (PANI) is one of the important polymer materials with special electrical and optical properties among all various conducting polymers. Due to different reaction conditions, polyaniline exists in different forms, mainly in four states: full reduction state, intermediate state, peroxide state and complete oxidation state. The fully reduced full benzene structure and the fully oxidized full quinone structure are basically insulators with poor electrical conductivity [20, 21]. Therefore, we select the intermediate state and peroxide state of PANI as candidate materials to modify the electrode. The conductivity of polyaniline can be further controlled by proton doping or conventional redox doping based on its property of modifiable electrical conductivity. Phytic acid extracted from cereal grains and seeds is a cyclic acid molecule saturated with dihydrogen hexaphosphate. As an environmentally friendly, inexpensive, natural and nontoxic organic acid, phytic acid is considered to be an excellent dopant to further improve conductivity and electrochemical performance of PANI [22, 23].

To our best knowledge, there are no cyclic voltammetry method that have been published for the determination of malathion based on the effect of malathion on the redox property of PANI. In this work, electrochemical sensors based on PA-doped polyaniline nanorods (intermediate polyaniline and peroxidation polyaniline) was prepared for the detection of malathion and different detection mechanisms in the two states were reported. The intermediate polyaniline doped by PA has great capabilities in adsorption of malathion and the electrochemical response currents were inhibited, but the peroxidation polyaniline doped by PA has great electrocatalytic performance in the detection of malathion and the electrochemical response currents were enhanced with the increasing of malathion concentration. In addition, both enzyme-free electrochemical sensors based on PA-doped PANI present a wide linear range (0.01–200 ppb) and excellent reproducibility and favorable selectivity.

Experimental section

Materials and reagents

Malathion, methyl parathion, carbendazim is purchased from J&K Scientific Ltd. (China) and is configured with anhydrous ethanol in a standard solution of a certain concentration. Aniline, phytic acid (50 wt% in water), ammonium persulfate, ascorbic acid and cysteine were purchased from Aladdin Ltd. (Shanghai, China), while anhydrous ethanol, disodium hydrogen phosphate (Na2HPO4), citric acid (C6H8O7), calcium chloride (CaCl2), magnesium chloride (MgCl2), sodium chloride (NaCl), potassium nitrate (KNO3), potassium sulfate (K2SO4), potassium carbonate (K2CO3) and potassium chloride (KCl) were purchased from Sinopharm Chemical Reagent Co., Ltd. (Shanghai, China). All reagents in the experiment were analytically pure, and all aqueous solutions were prepared with distilled water.

Synthesis of PA-PANI composites

0.46 mL phytic acid (50 wt % in H2O) and 0.45 mL aniline monomer were added to 2 mL ultra-pure water and stirred evenly to obtain solution A. 0.285 g ammonium persulfate (APS) was added into 1 mL ultrapure water and mixed evenly to obtain solution B. Solution B was added to solution A and stirred at room temperature for 1 min to obtain a dark green polymer. The obtained polymer was reacted at 4 °C for 24 h at low temperature to ensure that the polymerization reaction was complete, then removed and washed with ultrapure water 2–3 times until the supernatant obtained by centrifugation was transparent. Finally, drying them for 24 h in a vacuum environment at 60 °C, and PA-PANI nanocomposites were obtained.

Preparation of PA-PANI/GCE and PA-oPANI/GCE

1 mg of PA-PANI composite was added into 1 mL ultrapure water and the mixed solution were ultrasonicated for 30 min to obtain homogenous suspension. Before modification, the glassy carbon electrode (GCE) was ground to a smooth surface with Al2O3 powder. Then, the glassy carbon electrode was ultrasonic washed with 1:1 HNO3, anhydrous ethanol and secondary water for 5 s, and dried at room temperature. Then 10 μL of PA-PANI dispersed solution was casted onto the surface of electrode and dried with an infrared lamp to obtain phytic acid-polyaniline-modified glassy carbon electrode (PA-PANI/GCE).

PA-PANI/GCE was peroxidized by anodic polarization method. A three-electrode system was selected, PA-PANI/GCE prepared in the previous step was used as the working electrode, saturated calomel electrode as the reference electrode, platinum electrode as the counter electrode, and the peroxide experiment was carried out in 0.1 M KCl solution. Cyclic voltammetry (CV) was used to sweep 60 cycles between 0 and 1 V potentials at a speed of 50 mV/s, as shown in Suppl. Fig. S1. After scanning, the working electrode was taken out and washed with ultrapure water to obtain phytic acid-doped polyaniline electrode in peroxide form (PA-oPANI/GCE).

Characterization and electrochemical measurements

The surface morphology, crystal structure and chemical composition of the PA-PANI, PA-oPANI composite were characterized by SEM (Thermo Scientific FIB-SEMGX4), XRD (SmartLab 9 KW X-ray Diffractometer, Japan), XPS (Escalab Xit electron Spetrometer, USA) and IR (Nicolet iS50). The band gaps of PA-PANI and PA-oPANI composite were measured and calculated using a UV–visible spectroscopy (Shimadzu UV-3600 Plus, Japan).

CV and electrochemical impedance spectrum (EIS) were performed at room temperature using CHI 660E electrochemical station. A three-electrode system consisting of PA-PANI/GCE and PA-oPANI/GCE working electrodes, Ag/AgCl reference electrode and platinum counter electrode was used. CV was recorded over the scanning potential range of − 0.8 to + 0.8 V under the scanning rate at 100 mV/s. 30 mL of disodium hydrogen phosphate and citric acid buffer with pH 6.8 was used as the supporting electrolyte. EIS was carried out in the frequency range of 100000–0.1 Hz at the potential of 0 V and the amplitude of 5 mV with the electrolyte solution of 0.1 M KCl containing 5.0 mM [Fe(CN)6]3−/4−.The material preparation and measurement process are presented in Scheme 1.

Scheme 1
scheme 1

Schematic illustration for the fabrication of PA-PANI/GCE, PA-oPANI/GCE and the electrochemical detection of malathion

Actual sample detection

In order to study the applicability of PA-PANI/GCE and PA-oPANI/GCE in the real sample detection toward MP, the electrochemical detection of MP in lake water samples was carried out. The lake water was obtained from East Lake of the Liaocheng University, Shandong, China and let it stand for one night to remove all the solid impurities. The processed water samples were spiked with different amounts of malathion and detected by CV tests. The concentration of MP in lake water samples were confirmed through the calibration curve obtained from CV experiments.

Results and discussion

Characterization of PA-PANI and PA-oPANI composite

SEM analysis

The morphological character of the as-synthesized samples was analyzed by SEM. The images of PANI in Fig. 1A, B presents a lamellar structure. After doping by phytic acid, morphology of PANI changed from sheet to rod with the diameter of 60–100 nm. PA-PANI nanorods were densely interwoven and the structure became denser in Fig. 1C, D. The SEM images of PA-oPANI in Fig. 1E, F displayed a similar morphology to that of PA-PANI, suggesting that the peroxidation process has little effect on its morphology features.

Figure 1
figure 1

SEM images of PANI (A, B); PA-PANI (C, D); PA-oPANI (E, F), and XRD pattern (G), and FTIR spectra (H) of PANI, PA-PANI, PA-oPANI

XRD and IR analysis

XRD patterns of free PANI and PA-doped PANI samples are presented in Fig. 1G. The XRD patterns of PANI show two sharp diffraction peaks with centers of 2θ = 20.1° and 25.4°, indicating the low crystallinity of the material, corresponding to the vertical and parallel periodicity of the polymerization backbone in PANI [24], respectively. Compared to PANI, there is only a wide diffraction peak at 2θ = 25.1° for the PA-PANI and PA-oPANI, indicating that the doping of phytic acid has an effect on the crystallinity of PANI. The FTIR spectra of PANI and PA-doped PANI samples are shown in Fig. 1H. The main characteristic peaks of PANI sample were located at 3261.7 cm−1 (N–H stretching vibration), 1581.2 and 1494.8 cm−1 (C–C stretching vibration of quinoid and benzenoid), 1296.9 (C–N stretching vibration of benzenoid), 754.1 and 507.6 cm−1 (bending vibration of C–H on the aromatic ring). After functionalization with phytic acid, the FTIR spectrum still presented main characteristic peaks of PANI, while some new characteristic peaks around 3400, 1060, 1130 cm−1 attributed to the stretching vibrations of –OH, P–O and P=O bonds appeared [25, 26]. The result indicated that PANI were successfully doped with PA, and peroxidation process has little effect to its chemical components.

XPS and band gap energy analysis

XPS was used to study the chemical states of elements in PANI and PA-doped PANI samples. The XPS survey spectra and high-resolution deconvoluted spectra of the C1s, N1s and P2p peaks are shown in Fig. 2 and Suppl. Fig. S2. The XPS survey spectra of PANI sample present three characteristic peaks from C, N and O element. Compared to the obtained PANI spectra, the new characteristic peak from P element confirmed the presence of PA in the doped PANI samples. In order to have a better understanding about the doping behavior of PANI, further analysis for high-resolution spectra of C, N, O and P element were carried out. For the PANI sample, its C1s spectra can be fitted into three peaks located at 283.5, 284.4 and 285.6 eV, which are associated with C=C, C–C and C–N bonds (see Suppl. Fig. S2). The high-resolution N1s spectra displayed three obvious components centered at 397.9, 398.7 and 400.1 eV ascribed respectively to imines N (–N=), benzenoid diamine N (–NH–) and amine (N–H). For PA-PANI sample, its high-resolution deconvoluted spectra of the C1s still presented three obvious components assigned to C=C, C–C and C–N bonds. The high-resolution P2p spectra consists of two significant peaks at 133.3 eV and 132.5 eV, which are related to oxidized phosphorus atoms [27,28,29,30,31]. However, the high-resolution N1s spectra revealed another new component located at 401 eV assigned to positively charged aniline (–NH*+–) [32, 33]. The XPS results confirmed that PA molecules are bound by PANI through electrostatic interaction. For PA-oPANI sample, the high-resolution C1s, N1s and P2p spectra exhibited same components with that of PA-PANI sample. It is worth noting that composition of imines N (–N=) in N1s spectra increased obviously after anodic polarization process, which can be judged by increased area of peak at 397.9 eV in Fig. 2D. It gave direct evidence that peroxidation process was successfully carried out and PA-oPANI sample was obtained.

Figure 2
figure 2

XPS survey spectra (A) of PANI (a), PA-PANI (b) and PA-oPANI (c), high-resolution N1s spectra of PANI (B), high-resolution N1s, P2p spectra of PA-PANI (C, E), high-resolution N1s, P2p spectra of PA-oPANI (D, F)

The band gap of conducting polymers, defined as the least photon energy needed for exciting an electron from the highest occupied molecular orbital (HOMO) to the lowest unoccupied molecular orbital (LUMO), can be used as an important indicator to evaluate the conductivity of electrons of conducting polymers. A low band gap energy means that electron transitions are easier and the material has a stronger conductivity [34, 35].

Herein, the band gap energy of PA-PANI and PA-oPANI composite was measured and calculated by means of the tauc plot in Suppl. Fig. S3 and tauc equation reported in previous work [36]. According to Suppl. Fig. S3, the band gap energy of PA-PANI and PA-oPANI has been calculated as 2.6 and 3.25 eV respectively. PA-PANI composite possessed lower band gap energy and higher conductivity. Peroxidation process resulted in increased band gap and decreased conductivity for PA-oPANI composite. It also offered an indirect proof of successfully peroxidation for PA-PANI composite.

Electrochemical properties

The electron transfer characteristics of the bare GCE electrode and modified GCE electrodes by PANI-based materials was studied using CV and EIS in 0.1 M KCl solution containing 5 mM [Fe(CN)6]3−, with those results shown in Fig. 3A and Suppl. Fig. S4. Compared with GCE, the redox currents of [Fe(CN)6]3− at PA-PANI/GCE and PA-oPANI/GCE increase significantly but decreased lightly at the PANI/GCE. It revealed that PA-PANI and PA-oPANI can accelerate the electron transfer between [Fe(CN)6]3− and electrode surface, thus increased the electrode conductivity, while PANI hindered the ability of partial electron transfer due to its low conductivity. The PA-PANI material had the greatest positive impact on the increase in conductivity. When PA-PANI was further oxidized through electrochemical method, the redox currents of [Fe (CN)6]3− decreased significantly, which indicated that anodic polarization could turn the PA-PANI into PA-oPANI with a large loss of electroactivity. The result is consistent with that of band gap energy.

Figure 3
figure 3

CVs at a sweep rate of 100 mV s−1 (A) and Nyquist diagrams of PA-PANI/GCE and PA-oPANI/GCE (B) in 0.1 M KCl containing 5.0 mM [Fe(CN)6]3−/4−: PA-PANI/GCE (a) and PA-oPANI/GCE (b). Inset: CV curve (a) and Nyquist diagram (b) of bare GCE

EIS was further carried out to evaluate the impedance change of modified GCE. As shown in Fig. 3B and Suppl. Fig. S4, the Nyquist plots of bare GCE and modified GCE all presented incomplete semicircle related to dynamics behavior at high frequency and an oblique line associated with diffusion control process at low frequency. Generally, the diameter of the semicircle is approximately equal to the charge transfer resistance (Rct). The larger semicircle diameter, the higher value of Rct and the worse conductivity will be. Therefore, the electron transfer ability of bare GCE and modified GCE can be determined on the basis of the capacitive loop diameters. It can be ranked in the following order: PA-PANI/GCE > PA-oPANI/GCE > GCE > PANI/GCE, demonstrating that the modification of PA-PANI or PA-oPANI effectively improved the conductivity of GCE, while the PANI has the negative effect on electron transfer ability.

CV measurements were performed to study electrochemical behavior of GCE electrode and PANI-based materials modified electrodes in 0.1 M Na2HPO4–citrate buffer solution (pH = 6.8) in the absence and presence of 40 ppb malathion. As displayed in Fig. 4, no obvious peaks were observed at the bare GCE and PANI/GCE, while strong cathodic peak ascribed to the valence changes of PANI around − 0.2 V can be found for PA-PANI/GCE and PA-oPANI/GCE. What’s more, the PA-PANI/GCE and PA-oPANI/GCE presented higher current response as well as larger current change after addition of malathion compared to that of bare GCE and PANI/GCE. This result indicated that the doping of PA molecules in PANI is conducive to enhancement of electrical conductivity and electrochemical sensing ability due to the synergistic effect between PA and PANI. However, it should be noted that mechanism of the electrode reaction was different for PA-PANI and PA-oPANI modified electrodes. The current decreased for PA-PANI/GCE but increased for PA-oPANI/GCE after addition of malathion, and further investigation is needed.

Figure 4
figure 4

CVs of (A) bare GCE, (B) PANI/GCE, (C) PA-PANI/GCE and (D) PA-oPANI/GCE in 0.1 M Na2HPO4–citrate buffer solution (pH 6.8) in the absence (a) and presence (b) of 40 ppb malathion at the scan rate of 100 mV s−1

The amount of PA doping in both PANI and oPANI is the important parameter that affects the current response and the sensitivity of the electrochemical detection. As it is visualized in Suppl. Fig. S5, the change rate of response current presented an obvious dependence on the doping amount of PA. The current response increased with the increasing doping amount of PA from 0 to 0.46 mL, and decreased significantly at higher doping amount. Therefore, the PA doping amount of 0.46 mL was chosen as the optimal doping amount for the preparation of the electrochemical sensor. In addition, other important experimental parameters including pH of the Na2HPO4–citrate buffer solution and concentration of dropped PA-PANI material were also evaluated in detail. The results demonstrated that pH value of 6.8 and PA-PANI concentration of 1.0 mg/mL were beneficial to improvement of outstanding detection performance for both sensors, which can be used in all subsequent experiments and next detection.

Under the optimized conditions, PA-PANI/GCE and PA-oPANI/GCE were used to detect malathion at different concentrations ranged from 0.01 to 200 ppb with CV. As shown in Fig. 5, the current response decreased for PA-PANI/GCE and increased for PA-oPANI/GCE with the malathion concentration, meaning different detection mechanisms from two sensors. It can be inferred that the PA-PANI material can adsorb malathion molecules. And malathion adsorbed on the electrode surface can in turn hinder the electron transfer ability between PA-PANI material and the GCE electrode, thus leading to a downward trend of the peak current. Unlike PA-PANI material, PA-oPANI composite showed good electrocatalytic performance in the detection of malathion. Malathion generated electrons in the oxidation process, which in turn enhanced the reduction process of peroxide-state polyaniline and increased the reduction peak current. Therefore, with the increase in malathion concentration, the peak currents of PA-oPANI/GCE tend to increase. The proposed detection mechanism for both sensors are presented in Scheme 2. The resulting malaoxone is the intermediate product of malathion degradation and is more prone to hydrolysis and further degradation into non-toxic compounds [37,38,39,40,41]. Figure 5C, D presented the calibration curve of the peak current and malathion concentrations for PA-PANI/GCE and PA-oPANI/GCE, respectively. Both sensors exhibited good linear response to malathion in the concentration range of 0.01–200 ppb, with the regression equation of I = − 239.19 log c + 689.45 (R2 = 0.9913) for PA-PANI/GCE and I = 167.09 log c + 448.65 (R2 = 0.9964) for PA-oPANI/GCE, respectively (I in µA, c in ppb). The detection limit was calculated to be 1.58 ppt for PA-PANI sensor and 2.23 ppt for PA-oPANI sensor (S/N = 3), which is much better than previous malathion sensors (shown in Table 1).

Figure 5
figure 5

CVs of PA-PANI/GCE(A) and PA-oPANI/GCE (B) and calibration curves for the determination of malathion (C, D) in 0.1 M Na2HPO4–citrate buffer solution (pH 6.8) at different malathion concentrations at the scan rate of 100 mV s−1

Scheme 2
scheme 2

Detection mechanism of the malathion

Table 1 Comparison of electrochemical response of different non-enzymatic malathion sensors

In order to further explore the detection mechanism of malathion, the typical currents response of malathion on PA-PANI/GCE and PA-oPANI/GCE electrodes were investigated by cyclic voltammetry at different scanning rates and the results are shown in Fig. 6. With the scanning rate increased from 50 to 250 mV/s, the cathodic peak potentials of the modified electrode moved slightly to negative direction and the anodic peak potential moved to positive direction. And the redox peak currents of PA-PANI/GCE and PA-oPANI/GCE electrodes increased with the increasing of scanning rates. As displayed in Fig. 6C, the reduction peak current of PA-PANI/GCE is positively proportional to the scanning rate, and the linear equation is ic = − 5.07v–6.02 (R2 = 0.995), suggesting that the electrode reaction is a typical adsorption-controlled process. In Fig. 6D, the reduction peak current of PA-oPANI/GCE is proportional to the 1/2 power of scanning rate, and the linear equation is ic = − 223.06 v1/2–5.99 (R2 = 0.993). According to this linear relationship, it can be concluded that the electrochemical reduction process on PA-oPANI/GCE is a typical diffusion-controlled process.

Figure 6
figure 6

CVs of PA-PANI/GCE (A), PA-oPANI/GCE (B) at a scan rate of 50–250 mV s−1 in 0.1 M Na2HPO4–citrate buffer solution (pH 6.8) containing 40 ppb malathion and corresponding linear relationship between scan rate and reduction peak current (C, D)

Stability, reproducibility and anti-interference ability

Stability, reproducibility and anti-interference ability are important parameters to evaluate the performance of electrochemical sensors. The reproducibility of the PA-PANI/GCE and PA-oPANI/GCE sensors was investigated by 10 repeated assays of 10 ppb malathion under the same conditions, and the relative standard deviation (RSD) of response current were 1.3 and 2.9%, respectively. The results show that the electrochemical sensor has good reproducibility. To investigate long-term stability of PA-PANI/GCE and PA-oPANI/GCE electrochemical sensors, two electrodes were stored in ultrapure water at 4 °C for one week and its initial current response was measured at suitable intervals. As shown in Fig. 7A, B, the current response values changed little after one week, the PA-PANI/GCE sensor only decreased by 6.77%, and the PA-oPANI/GCE sensor only decreased by 6.51%, indicating that the two sensors have high environmental stability.

Figure 7
figure 7

Study on stability of PA-PANI/GCE (A) and PA-oPANI/GCE (B) electrode. The current response of ultrapure water stored at 4 °C for 0 h, 7 h, 24 h, 5 days and 7 days, and selectivity studies of PA-PANI/GCE (C) and PA-oPANI/GCE (D) electrodes. Cyclic voltammograms experiments were performed with 0.1 M pH 6.8 Na2HPO4–citrate buffer solution containing 10 ppb (30 nM) malathion in the absence and presence of 50 ppb ascorbic acid, methyl parathion, cysteine and carbendazim, 100 ppb Na+, Mg2+, Ca2+, SO42−, CO32−, NO3, respectively

In order to study the anti-interference ability of the sensor, four kinds of common organic matter (5 times the concentration of malathion) and six kinds of common inorganic salt ions (10 times the concentration of malathion) were selected as interference substances, and then added to buffer solution for malathion detection. Generally, when the deviation of electrochemical signal is greater than 5%, it is judged that the foreign substance interferes with malathion detection. The obtained results are shown in Fig. 7. According to the result of Fig. 7C, the peak currents after addition of 50 ppb other organic compounds (ascorbic acid, methyl parathion, cysteine and carbendazim) in the presence of 10 ppb malathion were 102.6%, 96.89%, 98.9% and 103.63%, respectively, compared with the peak current obtained when malathion was only 10 ppb. These organic compounds did not interfere with the detection of malathion. In addition, when 100 ppb inorganic ions (Na+, Mg2+, Ca2+, SO42−, CO32−, NO3) were added to buffer solution containing only10 ppb malathion, the peak currents were 101.94%, 98.18%, 97.79%, 98.32%, 98.06% and 97.03% of 10 ppb malathion, which caused little interference to the sensor. The results showed that the PA-PANI/GCE sensor has good selectivity and anti-interference ability. Similarly, the PA-oPANI/GCE sensor shown in Fig. 7D also presented excellent selectivity and anti-interference ability.

Actual sample detection

To evaluate the applicability of the proposed electrochemical sensor, recoveries of MP concentrations were tested in the water samples by standard addition method. The water sample is obtained from East Lake of the Liaocheng University, Shandong, China. The supernatant obtained after precipitation was dispersed into Na2HPO4–citrate buffer solution. Then three known concentrations of MP (5, 20 and100 ppb for PA-PANI/GCE and 10, 40 and 160 ppb for PA-oPANI/GCE) were added to above solution for electrochemical measurements and the detailed experimental results are presented in Table 2. The recovery values of MP were obtained from 95.16 to 117.3% for PA-oPANI/GCE and from 98.75 to 128% for PA-PANI/GCE, which indicated that the developed PA-oPANI/GCE and PA-PANI/GCE non-enzymatic malathion sensors have good reliability for MP detection in real water samples.

Table 2 Recovery studies of MP in the water samples (n = 3)

Conclusions

In conclusion, the novel electrochemical sensors based on PA and PANI composite material have been successfully developed for malathion determination. Both of the PANI conductive states, intermediate state (PA-PANI) and peroxide state (PA-oPANI) can be used to construct electrochemical sensors with different detection mechanisms. The PA-PANI composite has a strong affinity for malathion, and malathion molecules absorbed can hinder electron transfer process of redox reactions of PANI molecules. The PA-oPANI composite presented excellent catalytic activity for the oxidation of malathion, thus enhancing the reduction process of peroxide-state PANI. The detection ability of the two electrodes was evaluated by CV tests, and both sensors showed excellent selectivity, wide linear range and low detection limits. The sensors are simple to prepare, economically feasible, good environmental stability, low detection limit, and has good specificity for the detection of malathion. It is expected to be a promising composite sensing platform for pesticide residue detection. Furthermore, the PA-oPANI/GCE sensor is regenerated by a peroxidation reaction after the detection of malathion. Further research on regenerative sensor applications is ongoing.