Open Access Article
Abolfazl Kiasadra,
S. Maryam Sajjadi
*b and
Mehdi Baghayeri
c
aFaculty of Chemistry, Semnan University, Semnan, Iran
bDepartment of Chemical Engineering, Lamerd Higher Education Center, Shiraz University of Technology, Lamerd, Fars, Iran. E-mail: sajjadi@sutech.ac.ir; Fax: (+98) 71 52726630; Tel: (+98) 71 52731135
cDepartment of Chemistry, Faculty of Science, Hakim Sabzevari University, Sabzevar, Iran
First published on 29th October 2025
This study introduces an artificial neural network (ANN)-assisted electrochemical strategy for the simultaneous quantification of 2-nitrophenol (2-NP) and 4-nitrophenol (4-NP), two environmentally hazardous pollutants with highly overlapping voltammetric responses. A glassy carbon electrode (GCE) was modified with a multilayer nanocomposite (Ni-MOF-74/Fe3O4/SiO2/NH2/β-CD) to enhance mechanical stability and facilitate electron transfer during the oxidation of 2-NP and 4-NP. For the first time, it was demonstrated that the optimal electrocatalytic parameters are concentration-dependent. Therefore, central composite design (CCD) was employed to determine common optimal oxidation conditions across the entire calibration range of both analytes. Despite severe peak overlap and matrix-induced non-linearities, ANN modeling successfully resolved the electrochemical data and provided accurate predictions, yielding high calibration accuracy (R2 = 0.9302 for 2-NP and 0.9604 for 4-NP) with good reproducibility and broad dynamic range. Considering that the maximum allowable concentration of nitrophenols in environmental samples is 20 ppm, the proposed method offers sufficient sensitivity and a suitable linear range to allow reliable detection and quantification in real environmental matrices. Thus, the integration of ANN with a MOF-based electrochemical sensor provides a novel and robust approach for overcoming signal overlap and non-linear behavior in complex electrochemical systems, offering a promising analytical tool for environmental monitoring of nitrophenols.
Currently, a number of approaches have been established for identifying nitrophenol isomers, such as spectrophotometry, flow injection analysis, capillary electrophoresis, high-performance liquid chromatography, and electrochemical methods.4–7 Nevertheless, most of these techniques require preliminary sample preparation steps like separation, extraction, or adsorption, which can be laborious and time-consuming. Compared to other modern methods, electrochemical techniques offer notable benefits, including cost-effective, rapid response, ease of miniaturization, simple operation, and the capability for in situ analysis.6,8 As a result, substantial research efforts have focused on the electrochemical detection of either 2-NP or 4-NP individually.9–11 Yet, achieving their simultaneous determination through electrochemical approaches remains difficult, mainly due to the challenge of overlapping signals.
Obtaining high performance in electrochemical measurements requires careful attention to two key elements: the selection of the measurement technique and the modification of the electrode surface. Various electrochemical strategies, such as potentiometric, amperometric, and voltammetric methods, are available;12 among them, anodic stripping voltammetry (ASV) has been recognized as a powerful approach for the detection of trace analytes by combining a preconcentration step with a stripping step, thereby significantly enhancing sensitivity.13,14 Additionally, when square-wave voltammetry (SWV) is applied in the stripping process, the resulting square-wave anodic stripping voltammetry (SWASV) method offers numerous advantages over more conventional techniques such as linear sweep voltammetry and differential pulse voltammetry.15 In parallel, modification of the electrode surface plays a significant role in improving the sensitivity, selectivity, and stability of electrochemical measurements.16 Accordingly, metal–organic frameworks (MOFs) have emerged as materials of considerable promise for electrode surface modification, offering a wide range of structural diversity, adjustable pore sizes, and ease of post-synthetic functionalization, all of which enable the formation of unique interactions between analytes and the electrode interface.17,18
In the field of chemical data analysis, two common strategies are recognized: linear and non-linear methods. Linear methodologies comprise multiple linear regression (MLR), principal component regression (PCR), and partial least squares regression (PLS).19–21 The non-linear methodologies include artificial neural networks (ANNs), the support vector machine (SVM) algorithm, the self-organizing map (SOM), radial basis function (RBF) neural networks, and multivariate adaptive regression splines (MARS).22–26 ANNs, as non-linear learning algorithms, are designed to establish complex mappings between input and output variables, thereby enabling the prediction of unknown outputs based on appropriate input data.
Although numerous studies have demonstrated the application of ANN technique for the analysis of electrochemical data, to the best of our knowledge, there is no report on simultaneous prediction of 2-NP and 4-NP using either linear or non-linear modelling approaches. Additionally, although several modified electrodes based on MOFs have been employed for quantifying 2-NP and 4-NP, the use of a composite combining Ni-MOF74, Fe3O4/SiO2/NH2, and β-cyclodextrin (β-CD) for nanoparticle sensor fabrication has not yet been reported.
In this study, we developed a Ni-MOF74/Fe3O4/SiO2/NH2/β-CD nanocomposite film through a five-step synthesis process to modify a glassy carbon electrode (GCE) for the simultaneous quantification of 2-NP and 4-NP. The electrochemical properties of the modified electrodes, along with their responses to the analytes, were investigated using square-wave anodic stripping voltammetry (SWASV). Following optimization of the electrochemical conditions, data were collected for binary mixtures of the analytes. As discussed later, severe signal overlap and significant non-linear matrix effects observed in the measurements, it became necessary to apply a non-linear ANN approach for accurate and reliable analysis of the data set.
The stock solutions of 2-NP and 4-NP (300 ppm) were made by dissolving 0.300 g of 2-NP and 4-NP in 1 L deionized water and then stored in a refrigerator and used for further experiments. An aliquot of the above stock solutions was diluted daily to prepare the working standard solutions. 0.1 M of phosphate buffer solution (PBS) was used as the blank solution. This buffer was prepared from H3PO4, NaH2PO4 and Na2HPO4 and the pH of the solutions were adjusted in the range of 4.00–9.40.
Fourier transform-infrared (FT-IR) spectrum of the synthesized MOF was recorded using a Shimadzu 8400s spectrometer (Japan) with KBr pressed powder discs. The morphology and size of synthesized nanoparticles were analyzed using a TESCAN MIRA3 LMU field emission scanning electron microscopy (FE-SEM) (Tescan, Brno, Czech Repubic) operated at an acceleration voltage of 15 kV. Elemental composition and mapping of the nanoparticles were analyzed using energy-dispersive X-ray spectroscopy (EDX) with an EDAX detector integrated into the same FE-SEM system. Transmission electron microscopy (TEM) was performed using a Philips CM120 microscope operated at an accelerating voltage of 120 kV.
X-ray diffraction (XRD) analysis was carried out using a Bruker D8 diffractometer (USA) equipped with Cu Kα radiation (λ = 1.54051 Å, 35 kV, 15 mA) to determine the chemical structure of the synthesized material. Thermogravimetric analysis (TGA) was performed using a LINSEIS TG/DTA instrument (STA PT 1600, Germany) to assess the thermal stability of the synthesized nano-adsorbent.
All experimental design analyses were conducted using Design-Expert software, trial version 13 (Stat-Ease Inc., Minneapolis, MN), available at (“Stat-Ease, http://www.statease.com/software.html.”, n.d.). For all calculations, Matlab 2024 was used; and neural network toolbox was applied to perform ANN analysis. The voltammogram data was extracted as excel file and then converted to MATLAB format.
:
1
:
1 and stirred for 30 min at room temperature. Next, the prepared solution was poured into a 100 ml Teflon-lined stainless-steel autoclave and heated in an oven at 120 °C for 24 h to obtain Ni-MOF74 NPs. Afterward, the product was consequently washed out three times with the mixed above solvent. Finally, Ni-MOF74 NPs were dried in a vacuum oven at 80 °C for 5 hours.
:
1 was prepared 50 ml of the mixture was sonicated for 5 min at room temperature. Then, 10 ml of NH4OH was added into the solution dropwise and sonicated for 30 min. Next, the solution was transferred to the autoclave heated in an oven at 160 °C, for 8 h. Afterward, the obtained Fe3O4 NPs were accumulated via a strong magnet and consecutively washed out three times using ethanol and subsequently washed with deionized water for three times. Eventually, the product was dried in a vacuum oven for 4 hours at 60 °C.A central composite design CCD for k factors consists of N experiments and the total number of experiments (N) is given as follows:32
| N = 2k + 2k + k0 | (1) |
![]() | (2) |
CCD data is analyzed using RSM strategy to establish the relationship between the response variable and influencing factors based on empirical quadratic model, as expressed in the following equation:
![]() | (3) |
The adequacy of the fitted model is evaluated through analysis of variance (ANOVA), where the model's reliability is assessed using the coefficient of determination (R2) and the adjusted R2. At a 95% confidence level, the model is considered statistically significant when the p-value for the model is less than 0.05 and p-value of lack-of-fit is more than 0.05.
![]() | (4) |
In the ANN algorithm, both input and output data are scaled in the value range of −1 to +1 as described by the following equation (eqn (5)):22
![]() | (5) |
One of the most widely used ANN algorithm is the back-propagate feed-forward neural network (BPFF-ANN), which was applied in this study to develop a nonlinear calibration curve of the analytes.33–36 In the BPFF-ANN method, the weights must be renewed in each iteration until the difference between the experimental output data and the model's predicted values is minimized. The following eqn (6) illustrates the weight update process in each iteration:
| ΔWij = η (t − o)Ini | (6) |
In the BPFF-ANN strategy, the input values for the neurons are obtained from the real world, weighted, and used as input for the first hidden layer. Each subsequent layer receives weighted outputs from the preceding hidden layer. Moreover, the values of output layer come from the real world.
A node in either the hidden or output layer performs two main tasks: first, it computes the weighted sum of the inputs from multiple connections along with a bias value, then applies a transfer function to this sum. Second, it transmits the resulting value through outgoing connections to every node in the next layer, where the same process is repeated.22
The number of nodes in the input and output layers corresponds to the number of independent and dependent variables, respectively. In this work, the independent variables are the currents of samples at selected potentials while the dependent variable is the concentration of 2-NP or 4-NP. The network is trained to establish the relationships between the independent and dependent variables by iteratively comparing the predicted and actual concentrations. During the iteration process, the weight matrix and bias vector of each layer are adjusted by a back propagation training algorithm. To reduce the likelihood of converging to a local minimum, ANN analysis is performed under multiple random initializations of the weights.
Some noticeable bands in the wavenumber range about 1600 to 800 cm−1 are attributed to the stretching vibration of the aromatic ring, as existed in DHTA.38 Two prominent peaks at 1411 cm−1 and 1560 cm−1 are assigned to the symmetry and asymmetric vibration of –COO−, as present in DHTA, which are coordinated to Ni2+, respectively.39
The vibration of C–H on the benzene ring was observed in 584 cm−1.37 The peak at 1242 cm−1 is corresponded to the stretching vibration of C–N which maybe because of the adsorption of DMF on the surface of the synthesized MOF.37 The intense peaks at 889.1 cm−1 and 825.48 cm−1 are attributed to Ni–O vibrations.39
As shown in Fig. 1a, all characteristics bands for Ni-MOF74 NPs are appeared in the FT-IR spectrum of Ni-MOF74/Fe3O4/SiO2/NH2 NPs, asserting the successful modification surface of Ni-MOF74 NPs by Fe3O4/SiO2/NH2. Additionally, two observed peaks at 470 cm−1 and 1101 cm−1 are corresponded to Si–O–Si bending vibrations, which indicates that the Ni-MOF74 NPs are successfully coated by silica.40
The prominent peak at 595 cm−1 is attributed to Fe–O stretching vibration.41 The observed band at 1624 cm−1 is attributed to N–H vibration, which is presence in APTES.42 FT-IR spectrum of β-cyclodextrin shows a prominent broad band at 3364 cm−1 ascribed to O–H stretching mode of β-cyclodextrin. Moreover, there are several noticeable peaks in this spectrum as follows: 1028 cm−1 (C–O–C stretching vibration); 1650 cm−1 (C–C stretching vibration), 2922 cm−1 (C–C stretching vibration), and 3364 cm−1 (O–H stretching vibrations).43 All of these peaks are characteristic peaks of β-cyclodextrin.
In Fig. 1a, interestingly enough, all characteristics band or peaks for Ni-MOF74/Fe3O4/SiO2/NH2 were observed with a little shift in Ni-MOF74/Fe3O4/SiO2/NH2/β-CD. Compared to FT-IR spectrum of Ni-MOF74/Fe3O4/SiO2/NH2, a blue shift of three bands was observed as follows: Fe–O peak from 595 cm−1 to 586 cm−1; Si–O–Si strong peak from 1103 cm−1 to 1068 cm−1; Si–O–Si peak at 470 cm−1 to 447 cm−1. All of these shifts demonstrate the successful modification of the Fe3O4 and SiO2 groups the synthesized nano-composite.29 Moreover, two characteristic peaks of β-CD at 2922 cm−1 and 3364 cm−1 were broadened and overlapped into a single broad band in the FT-IR spectrum of Ni-MOF74/Fe3O4/SiO2/NH2/β-CD (Fig. 1a), corresponded to hydrogen bonding and other interaction forces, asserting the successful modification of β-CD on the surface of Ni-MOF74/Fe3O4/SiO2/NH2.
In XRD patterns, three characteristic peaks at 2θ values of 6.7°(110), 11.9°(300), and 32° (101) display the similar relative intensities and positions to those reported for Ni-MOF-74, asserting successful incorporation of the MOF structure.39
Moreover, distinct peaks at 2θ = 30.3 (220), 35.6 (311), 43.2 (400), 53.9 (422), 57.3 (333), 62.9 (440) exhibit a phase face centered cubic structure for Fe3O4 core, indicating the presence of magnetic nanoparticles.30 A broader hump observed between 2θ = 20° and 25° suggests the presence of mesoporous silica oxide shell.44 Moreover, the diffraction peak for surface–NH2 groups on the prepared composite exists at 2θ = 20°, which has overlapping with the broad hump for SiO2 shell.45
The XRD pattern of final product (Fig. 1b) shows less intense hump between 2θ = 20° and 25° confirming the successful surface modification of Ni-MOF74/Fe3O4/SiO2/NH2 with β-CD.
TEM image of Ni-MOF74/Fe3O4/SiO2/NH2/β-CD is shown in Fig. 2c and d exhibiting the NPs are well dispersed with 50 nm of average size. In this image, the dark and non-spherical parts could be assigned to Ni-MOF74 and the spherical parts could be attributed to Fe3O4 magnetic nanoparticles.50
| RSD (%) conc. (ppm) | 2-NP | 4-NP |
|---|---|---|
| 10 | 3.6 | 5.1 |
| 30 | 5.6 | 7.9 |
| 60 | 4.5 | 3 |
| 100 | 5.7 | 11 |
It was deduced from Fig. 4, the highest anodic peak current was observed at pH 9.40, which was therefore chosen as the optimal condition. Previous studies52,53 suggest that 4-NP oxidation begins with its deprotonation, producing nitrophenoxy cations that are highly reactive and may couple to form polymers or undergo further chemical transformations. These transformations can involve nitro group elimination or substitution by hydroxyl groups, yielding non-nitrogenated phenolic or quinonic intermediates (Scheme 2). A comparable mechanism is expected for 2-NP. Therefore, at pH 9.4, nitrophenols predominantly exist in their deprotonated state, enabling an initial reaction step to proceed without electron transfer, thereby accelerating the oxidation process.
The other two main variables influencing the measurement 2-NP and 4-NP are as follows: scan rate (A) duration time (B). In this study, these parameters were optimized using an experimental design approach as described in the following sections.
Scan rate and duration time, as the main factors affecting the quantification 2-NP or 4-NP, were investigated based on CCD design at 9.40 of pH in PBS (0.1 M) as deduced from the above optimization procedure. It should be mentioned that the calibration set of each analyte was composed of four samples with concentration 10 ppm, 30 ppm, 60 ppm and 100 ppm; and the same CCD design was used for each sample.
According to CCD design, five levels of each factor are defined, which are reported in Table 2 based on the real and coded levels as follows: −α, −1, 0, 1, +α. Overall, different combinations of these levels of the factors lead to a design with eleven experiments (Table 1).
| Factors | Levels | ||||
|---|---|---|---|---|---|
| −α | −1 | 0 | +1 | +α | |
| A: Scan rate(mv s−1) | 27.5 | 40 | 70 | 100 | 112 |
| B: Duration time (sec) | 11 | 50 | 145 | 240 | 280 |
| Run | Factors | Anodic peak current | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| A | B | Y1-2-NP10 | Y2-4-NP10 | Y1-2-NP30 | Y2-4-NP30 | Y1-2-NP60 | Y2-4-NP60 | Y1-2-NP100 | Y2-4-NP100 | |
| 1 | 70 | 11 | 0.162 | 0.102 | 0.129 | 0.092 | 0.145 | 0.099 | 0.120 | 0.089 |
| 2 | 112 | 145 | 0.200 | 0.171 | 0.190 | 0.176 | 0.197 | 0.132 | 0.143 | 0.095 |
| 3 | 70 | 145 | 0.212 | 0.178 | 0.131 | 0.109 | 0.133 | 0.089 | 0.112 | 0.062 |
| 4 | 70 | 280 | 0.224 | 0.135 | 0.154 | 0.083 | 0.137 | 0.092 | 0.095 | 0.072 |
| 5 | 70 | 145 | 0.185 | 0.078 | 0.131 | 0.092 | 0.136 | 0.086 | 0.097 | 0.083 |
| 6 | 100 | 50 | 0.203 | 0.152 | 0.195 | 0.148 | 0.164 | 0.122 | 0.151 | 0.106 |
| 7 | 40 | 240 | 0.053 | 0.117 | 0.074 | 0.092 | 0.085 | 0.067 | 0.064 | 0.059 |
| 8 | 70 | 145 | 0.126 | 0.102 | 0.145 | 0.134 | 0.177 | 0.111 | 0.119 | 0.066 |
| 9 | 40 | 50 | 0.066 | 0.094 | 0.100 | 0.086 | 0.111 | 0.074 | 0.069 | 0.072 |
| 10 | 27.5 | 145 | 0.043 | 0.079 | 0.073 | 0.070 | 0.085 | 0.058 | 0.059 | 0.052 |
| 11 | 100 | 240 | 0.246 | 0.164 | 0.193 | 0.141 | 0.175 | 0.103 | 0.117 | 0.106 |
Each experiment was carried out based on the following procedure detailed in Section 4.2 and subsequently preprocessed according to the method described in Section 4.2.1.
Fig. 5a illustrates the CCD data for 60 ppm of 2-NP and Fig. 5b shows its corresponding preprocessed data. For the other samples, the data were shown in SI (Fig. S2–S8). Then the anodic peak current was used as response at each experiment as reported in Table 1, where Y2-NP10, Y2-NP30, Y2-NP60 and Y2-NP100 denote as the anodic peak current for 10 ppm, 30 ppm,60 ppm and 100 ppm of 2-NP solutions, respectively; similarly, Y4-NP10, Y4-NP30, Y4-NP60 and Y4-NP100 denote as those of 4-NP, respectively.
Each CCD dataset was analyzed using RSM to establish the relationship between the responses and the parameters based on second order polynomial equation. The model quality was evaluated based on analysis of variance (ANOVA). Moreover, the most influential effects of factors and their interactions were examined based on ANOVA strategy.
Second order fitted models for all responses can be represented as follows:
| Y2-NP10 = −0.15398 + 7.23195 × 10−3A − 3.52746 × 10−5A2 | (7) |
| Y4-NP10 = +0.056545 + 9.74057 × 10−4A | (8) |
| Y2-NP30 = +0.049765 + 1.41291 × 10−3A − 2.68556 × 10−4B + 2.10351 × 10−6AB − 1.00579 × 10−6A2 + 4.47944 × 10−7B2 | (9) |
| Y4-NP30 = +0.052478 − 1.12738 × 10−4A + 3.57695 × 10−4B −1.10351 × 10−6AB + 9.72836 × 10−6A2 − 1.02333 × 10−6B2 | (10) |
| Y2-NP60 = +0.055240 + 1.66304 × 10−3A − 8.36719 × 10−5B + 3.24444 × 10−6AB − 6.25521 × 10−6A2 − 6.23404 × 10−7B2 | (11) |
| Y4-NP60 = +0.029759 + 1.08410 × 10−3A + 4.98862 × 10−5B − 1.05265 × 10−6AB − 1.06207 × 10−6A2 − 8.71276 × 10−8B2 | (12) |
| Y2-NP100 = −0.011038 + 2.27189 × 10−3A + 1.51809 × 10−4B − 2.59991 × 10−6AB − 5.93330 × 10−6A2 − 2.30687 × 10−7B2 | (13) |
| Y4-NP100 = +0.085366 − 1.62043 × 10−4A − 3.63879 × 10−4B + 1.22193 × 10−6AB + 4.13447 × 10−6A2 + 7.89612 × 10−7B2 | (14) |
Form eqn (7)–(14), it is deducted that the electrochemical behavior the electrode is severely dependent on the concentration of analyte, as observed in preliminary experiments.
A brief summary of the ANOVA results for Y2-NP60 is presented in Table 3, and the other responses reported in Tables S1–S7.
| Source | Sum of squares | df | Mean square | F-value | p-Value prob > F | |
|---|---|---|---|---|---|---|
| Model | 0.012 | 5 | 2.419 × 10−3 | 8.88 | 0.0158 | Significant |
| A–A | 0.011 | 1 | 0.011 | 41.94 | 0.0013 | |
| B–B | 1.087 × 10−4 | 1 | 1.087 × 10−4 | 0.40 | 0.5554 | |
| AB | 3.420 × 10−4 | 1 | 3.420 × 10−4 | 1.26 | 0.3135 | |
| A2 | 1.767 × 10−4 | 1 | 1.767 × 10−4 | 0.65 | 0.4572 | |
| B2 | 1.796 × 10−4 | 1 | 1.796 × 10−4 | 0.66 | 0.4538 | |
| Residual | 1.362 × 10−3 | 5 | 2.725 × 10−4 | |||
| Lack of fit | 1.367 × 10−4 | 3 | 4.558 × 10−5 | 0.074 | 0.9682 | Not significant |
| Pure error | 1.226 × 10−3 | 2 | 6.128 × 10−4 | |||
| Cor total | 0.013 | 10 | ||||
The statistical evaluation of all models was conducted based on p-values. According to ANOVA strategy, the model is statistically significant when both of the following conditions are: the p-value of the model <0.05 and p-value of lack of fit (LOF) >0.05. Table 4 represents a summary of the ANOVA results and the regression coefficients of the samples. As shown in Table 3, the p-values for all models are less than 0.02, while the p-values of LOF are greater than 0.2, indicating that all the models are statistically adequate. Additionally, the regression coefficients including R2 and Radj2, were estimated to assess the goodness of the fit of experimental data to the quadratic model.
| Analytes | p-Value | Lack of fit | Regression coefficient | |
|---|---|---|---|---|
| R2 | Radj2 | |||
| 2-NP10 | 0.0008 | 0.8234 | 0.8322 | 0.7903 |
| 4-NP10 | 0.0148 | 0.9966 | 0.5010 | 0.4455 |
| 2-NP30 | 0.0028 | 0.2209 | 0.9505 | 0.9010 |
| 4-NP30 | 0.0240 | 0.8096 | 0.8794 | 0.7588 |
| 2-NP60 | 0.0158 | 0.9682 | 0.8988 | 0.7975 |
| 4-NP60 | 0.0137 | 0.8718 | 0.9047 | 0.8095 |
| 2-NP100 | 0.0011 | 0.8898 | 0.9663 | 0.9326 |
| 4-NP100 | 0.0277 | 0.6916 | 0.8718 | 0.7437 |
For all models, the relevant statistical parameters are reported in Table 4. In each model, the R2 and Radj2 values indicate a satisfactory correlation between the response and the independent factors. Indeed, the high values of these coefficients confirm that the applied models fit the experimental data well and accurately interpret the data.
To illustrate the effect of factor interactions on response, the response surface 3-D plots were used to visualize the relationship between the current, as response, and the experimental factors. Here, some 3-D plots for 2-NP and 4-NP have been shown in Fig. 6.
![]() | ||
| Fig. 6 The 3-D response surface plots of 2-NP and 4-NP in buffer solution condition as a representative analyte, when two factors are fixed at center point and the others are variables. | ||
For all responses shown in Fig. 6, the curvature in the response vs. scan rate and accumulation time indicates an interaction between factors. Fig. 6a shows that for 30 ppm of 2-NP as scan rate and the duration time increase, the normalized current gently increases. This is because, at longer accumulation time, more analyte is deposited on the surface of the modified GCE electrode. Since the electrode surface is not saturated at this concentration, even at a high scan rate, sufficient time is available for the complete oxidation of the accumulated analyte. However, Fig. 6c illustrates that for 60 ppm of 2-NP, the simultaneous increasing of two factors leads to increasing the current and then results in a decrease thereafter. It can be noted that as the accumulation time increases, a greater amount of analyte accumulates at 60 ppm of 2-NP. Since the electrode requires more time to oxidize the analyte, a slower oxidation process occurs at high scan rates, consequently, the anodic peak currents of 2-NP decrease. Fig. 6e shows the same observation as that of Fig. 6b, while the decrease in signal at high scan rates and duration time is more outstanding than that of Fig. 6b due to the high concentration of 2-NP (100 ppm). Fig. 6b, d and f for 4-NP at different concentration show the similar trend in dependency of signals to the levels of factors as discussed for 2-NP.
| dfi = (R − α/β − α)wi, α ≤ R ≤ β | (15) |
| dfi = 1R > β | (16) |
| dfi = 0R < α | (17) |
![]() | (18) |
![]() | (19) |
The aim of this study is to identify common optimal conditions for the oxidation processes of 2-NP and 4-NP where the maximum anodic peak currents for both analytes are achieved across the entire concentration range of calibration curve. The optimal condition was obtained based on maximizing all responses (eqn (15)–(19)), the desirability plot as a function of the factors was shown in SI (Fig. S9). The results revealed the following condition as the optimal one (Fig. 7): 99.63 mv s−1 of scan rate and 50.39 s of duration time. This condition was used to quantify the analytes in their mixtures.
| Statistical parameters | 2-NP | 4-NP |
|---|---|---|
| Slope | 0.143 (±0.008) | 0.099 (±0.008) |
| R2 | 0.9942 | 0.9859 |
| RMSE | 0.5 | 0.6 |
The main purpose of this work is simultaneous determination of 2-NP and 4-NP in their binary mixtures while it can be observed in Fig. 8 the signals are severely overlapped. As discussed above, in this range of calibration, both signals of analytes are linearly correlated with their concentrations. Therefore, simultaneous quantification of the analytes can be conducted based on linear multivariate calibration techniques such as PCR and PLS. In this purpose, a sample set containing different concentrations of 2-NP and 4-NP were synthesized based on 4-level full factorial design (Table 6) and these samples were augmented with those of used in calibration. The sample set consists of 24 sample whose corresponding data are illustrated in Fig. S10.
| Sample no. | 2-NP (ppm) | 4-NP (ppm) |
|---|---|---|
| 1 | 10 | 0 |
| 2 | 30 | 0 |
| 3 | 60 | 0 |
| 4 | 100 | 0 |
| 5 | 0 | 10 |
| 6 | 0 | 30 |
| 7 | 0 | 60 |
| 8 | 0 | 100 |
| 9 | 10 | 10 |
| 10 | 10 | 30 |
| 11 | 10 | 60 |
| 12 | 10 | 100 |
| 13 | 30 | 10 |
| 14 | 30 | 30 |
| 15 | 30 | 60 |
| 16 | 30 | 100 |
| 17 | 60 | 10 |
| 18 | 60 | 30 |
| 19 | 60 | 60 |
| 20 | 60 | 100 |
| 21 | 100 | 10 |
| 22 | 100 | 30 |
| 23 | 100 | 60 |
| 24 | 100 | 100 |
As much as, the matrix effects are common problem in the electrochemical analysis, this problem was examined by superimposing the voltammograms of 10 ppm of 2-NP with those obtained from successive standard additions of 4-NP (Fig. 9a). Moreover, for each sample, the voltammograms of the corresponded standard solution of the analytes were combined and the resulting sum was superimposed in Fig. 9a. As seen, clearly observed, the summed individual signals of analytes differ significantly from their corresponding signals in the mixture, indicating the strong matrix effect. Moreover, this effect appears to depend on the initial concentration of 2-NP, as seen in Fig. 9b, 10a and b, where successive addition of 4-NP was performed to solutions containing 30, 60 and 100 ppm of 2-NP, respectively. The same visualization was conducted for 4-NP analyte where different concentration of 2-NP were spiked to 10, 30, 60 and 100 ppm of 4-NP as shown in SI (Fig. S11 and S12).
First, the data was analyzed by PLS as a linear model, however, the results showed that PLS model did not lead to accurate and reliable results as R2 value was too low to be considered acceptable. From the above detailed analysis, it was deduced that there are three main problems in simultaneous determination 2-NP and 4-NP based on electrode modified with Ni-MOF74/Fe3O4/SiO2/NH2/β-CD, as follows: sever signal overlapping, drastic matrix effect and non-linearity, a fact which made us to apply non-linear artificial neural network method for analysis of this data set.
The anodic peak currents of 2-NP and 4-NP were employed as input neurons. Inputs were encoded and divided into the aforementioned subsets. Training was conducted with random initialization of weights and repeated multiple times to minimize dependency on initial conditions. Two statistical parameters—R2 and mean squared error (MSE)—were used to assess network performance and guide the selection of the optimal hidden layer topology (eqn (20)). The following equation represents the MSE parameter:
![]() | (20) |
For each analyte, the number of hidden neurons and training epochs were optimized based on MSE trends across training and validation sets (Fig. 11). As illustrated in Fig. 11, the minimum MSE was obtained at two hidden neurons with 2916 number of epochs for 2-NP, and three hidden neurons with 1997 number of epochs for 4-NP, ensuring minimal error and prevention of overfitting. Table S8 summarizes key ANN parameters, including network topology, number of data points in each subset, and training algorithm. Fig. S13 illustrates the network architectures, showing input, hidden, and output neurons for both analytes.
The goodness-of-fit of the ANN model was evaluated using R2 and root mean square error (RMSE) for all datasets (eqn (21)), with results presented in Table 7. RMSE is writtens as follows:
![]() | (21) |
| Data set | 2-NP | 4-NP | ||
|---|---|---|---|---|
| R2 | RMSE | R-square | RMSE | |
| Total | 0.9303 | 8.2 | 0.9604 | 8.9 |
| Training | 0.9430 | 8.4 | 0.9382 | 10.3 |
| Test | 0.8889 | 9.5 | 0.9857 | 8.5 |
| Validation | 0.9113 | 5.9 | 0.9914 | 1.5 |
Fig. 12 compares experimental and predicted concentrations, confirming the network's capability to accurately quantify analytes with strongly overlapping signals and non-linear matrix effects, demonstrating reliable performance for complex sample matrices.
![]() | ||
| Fig. 12 Comparison between experimental and predicted results for different fitted data sets: (a) 2-NP and (b) 4-NP. | ||
![]() | (22) |
| Input currents | Hidden neurons | Hidden to out | |
|---|---|---|---|
| 2-NP peak current | 4-NP peak current | ||
| −1.511 | 2.358 | H1 | −0.271 |
| 2.728 | −0.632 | H2 | 0.329 |
| −2.119 | 1.830 | H3 | −0.370 |
| 0.931 | 2.641 | H4 | 0.771 |
| 59 | 41 | Relative importance % | |
| Input currents | Hidden neurons | Hidden to out | |
|---|---|---|---|
| 2-NP peak current | 4-NP peak current | ||
| −1.657 | 1.770 | H1 | −0.480 |
| −0.402 | −2.391 | H2 | 0.756 |
| −1.498 | 1.907 | H3 | −0.623 |
| 0.36 | 0.64 | Relative importance % | |
Based on Table 10, conventional electroanalytical techniques suffer from several drawbacks, including the toxicity associated with mercury electrodes in differential pulse voltammetry (DPV)55,56 and the time-consuming nature of conductometric titrations.58 Even bismuth-modified pencil-lead electrodes,57 while more environmentally friendly than mercury-based systems, still present limitations such as lower surface area, weaker sensitivity, and reduced long-term stability compared with advanced the prepared MOF-modified electrode. In contrast, the proposed SWASV with a MOF-modified electrode provides a mercury-free and eco-friendly alternative, offering enhanced electrode stability and faster analysis.
| Method | Electrode type | LDR (ppm) | References |
|---|---|---|---|
| Differential pulse polarography-SVM | Dropping-mercury electrode (DME) | 0.097–97.37(2-NP) | 55 |
| 0.069–69.55(4-NP) | |||
| Differential pulse voltammetry-PLS, PCR, CLS | Hanging mercury drop electrode (HMDE) | 0.1–2 (2-NP) | 56 |
| 0.1–2 (4-NP) | |||
| Differential pulse voltammetry-NASSAM | Modified pencil-lead electrode with bismuth | 0.278–27.8 (2-NP) | 57 |
| 0.556–55.6 (4-NP) | |||
| Conductometry acid–base titration-ANN | — | 0.6–1.9 (4-NP) | 58 |
| Square wave anodic stripping voltammetry-ANN | Ni-MOF-74/Fe3O4/SiO2/NH2/β-CD/GCE | 1–100 | Our study |
Compared with linear modeling approaches such as partial least squares (PLS), principal component regression (PCR), and classical least squares (CLS),56 or combined chemometric strategies such as the net analyte signal–standard addition method (NAS–SAM),57 our method achieves a wider linear dynamic range (LDR) and superior ability to capture non-linear features in electrochemical data. In particular, even compared with methods integrated with ANN,55,58 our approach still provides a broader dynamic range. This improvement arises from the use of MOFs to modify the electrode surface, where the high surface area, porous architecture, and tunable chemical functionality significantly increase the number of active sites and facilitate stronger current responses. Moreover, the structural stability and compositional tunability of MOFs contribute to improved robustness, reproducibility, and long-term operational stability. These features highlight the superior performance of MOF-modified electrodes over previously reported electrodes, including those based on bismuth–graphite materials.
Considering that the maximum permissible concentration of nitrophenols in environmental samples is approximately 20 ppm, the proposed strategy offers sufficient sensitivity and an appropriate linear range to ensure reliable detection and quantification in real matrices. Overall, coupling the MOF-based electrochemical sensor with ANN provides an effective strategy to address signal overlap and non-linear responses in complex electrochemical systems. This integrated approach enhances data interpretation and predictive accuracy, ultimately offering a powerful tool for reliable environmental monitoring of nitrophenols.
The electrochemical data were highly complex due to signal overlap between the analytes and strong non-linear matrix effects, which were effectively addressed by employing an ANN for data analysis. The calibration results yielded R2 values of 0.93024 and 0.9604 for 2-NP and 4-NP, respectively, confirming the capability of the ANN to achieve accurate simultaneous electrochemical quantification of nitrophenols in aqueous solutions. A comparison with previously reported studies revealed that our method provides a significantly broader linear dynamic range while maintaining sufficient detection limits for environmental applications, including the analysis of contaminated samples, industrial effluents, and situations involving higher concentration levels.
While the developed Ni-MOF74/Fe3O4/SiO2/NH2/β-CD/GCE sensor coupled with ANN modeling demonstrated excellent performance for simultaneous quantification of 2-NP and 4-NP, two main directions remain for future improvement. First, integration of the electrochemical sensor into a portable, field-deployable device would enable real-time, on-site environmental monitoring. Second, retraining and validating the ANN model using real environmental samples—containing potential interferents—would further enhance the robustness and practical applicability of the proposed method.
| This journal is © The Royal Society of Chemistry 2025 |