Introduction

Antioxidants are molecules needed by most creatures because they protect cells from the oxidative damage induced by free radicals, which has been linked to several illnesses in humans, including cardiovascular, cancer disease, and cataracts [1]. The use of natural antioxidants has gained a lot of attention in recent years. The phenolic content of plants, one type of natural antioxidant, has been widely credited with the plants’ antioxidant capabilities. This highlights the possible significance of plants rich in phenolic acids as a source of natural antioxidants [2].

3-Methoxy-4-hydroxycinnamic acid, often known as ferulic acid (FA, Fig. 1), is a naturally occurring phenolic compound discovered in a broad numerous of intricate matrices, including fruits, packaged fruit juices, vegetables, beverages containing alcohol, and several traditional Chinese medicinal herbs [3, 4]. Several hydroxycinnamic acids and flavonoids, including FA, caffeic acid, and sinapic acid, have been investigated for their potential as antioxidants because of their natural origin. These compounds can scavenge superoxide anions, peroxyl anions, hydroxyl radicals, and other oxidative species [5]. FA has been studied for its ability to prevent cell death, inflammation, thrombosis, diabetes, ulcers, blood clotting, hemolysis, chemotherapy, and viruses. As a result, it is often utilized to prevent infection in artificial joints [6,7,8,9,10]. FA is a key metabolite of chlorogenic acids and plays a significant function in human health [11, 12]. FA has a strong antioxidant impact and can help eliminate harmful free radicals [13]. Furthermore, it has a potent analgesic impact and is recommended to relieve neuropathic pain [12, 14]. The antioxidant capabilities of FA and its applications in the food business, pharmaceutical industry, and cosmetics industry have been the subject of extensive investigation [15,16,17]. One of the most pressing concerns of modern esthetic medicine and cosmetics is anti-aging skin care. FA is an effective antioxidant chemical. Found in the cosmetics industry, FA has also been utilized as a stabilizer for other prominent antioxidants such as vitamin C and vitamin E [18]. New evidence suggests, nevertheless, that this molecule is an integral part of the intracellular antioxidant defense mechanisms. That is why FA is commonly found in anti-aging skin care products [19, 20]. Cosmetics containing it are used to reduce the appearance of age spots due to their ability to inhibit the primary enzyme involved in melanin production [21].

Fig. 1
figure 1

Chemical structure of ferulic acid

There are several proven analytical techniques for identifying FA in its unprocessed state, pharmaceutical products, and biological samples, for instance, voltammetry [22,23,24,25,26,27,28,29,30,31,32,33,34,35], spectrophotometry [36, 37], capillary electrophoresis (CE) [38], thin layer chromatography (TLC) [2, 39, 40], and high-performance liquid chromatography (HPLC) [41,42,43,44,45,46,47]. However, as of now, no study has been encountered in the literature regarding the voltammetric analysis of FA using an unmodified electrode. Electroanalytical approaches, particularly voltammetric methods, may be good options owing to their user-friendliness, low device price, fast analysis, use of low-toxicity reagents (typically aqueous buffer solutions), suitable sensitivity, as well as good selectivity relying on the type of working electrode. Another advantage of voltammetry over non-electrochemical methods is its ability to provide insights into the oxidation–reduction behavior of targeted substances through redox-active groups. This understanding is vital for developing novel approaches to treat and/or alleviate the toxic effects of these materials [48]. To enhance the reliability of FA detection using the voltammetric method, the development of an improved electrode material is necessary. Therefore, the BDD electrode is chosen for this analysis, as it offers greater benefits than any alternative. The BDD electrode offers a wide potential range compared to other electrode materials, encompassing diverse metals like gold and platinum, along with conventional sp2 carbon substances such as carbon paste, pyrolytic graphite, and glassy carbon. Distinctive features include a strong chemical and physical resistance that maintains signal repetition and a low constant voltammetric background current. Due to the sp3 hybridization of the carbon atoms in the diamond structure, it has poor adsorption of most contaminants. It is important to note that for various analytes, the analytical performance of a BDD electrode (oxygen or hydrogen-terminated surface functionalities) is significantly influenced by three critical variables. Boron doping (which guarantees outstanding shape and electrical conductivity) and non-diamond sp2 carbon (sp2 impurities) alter the kinetics of electron transport, while surface treatments also play a role [49, 50]. This last factor is possibly the most intricate that can affect the electrode surface properties. BDD (commercially available or synthesized in the lab) has a hydrophobic (hydrogen-terminated) surface in its as-prepared state. To make BDD hydrophilic (oxygen halted) and have a considerably negative surface charge depending on the polarization potential and time, it is necessary to apply strong positive potentials during the oxygen-generating reaction (anodic pretreatment, APT). However, by selecting appropriate potentials in the hydrogen production reaction (cathodic pretreatment, CPT), the hydrophobic nature of the BDD surface via its high electrical conductivity may further be demonstrated. Electrochemical pretreatments can improve sensitivity and selectivity and diminish fouling without alerting the BDD surface for any electroanalytical purpose [51,52,53,54,55,56,57,58,59,60,61,62].

We could not find any research on the electroanalytical detection of FA with a non-modified electrode. The primary purpose of this study is to offer a workable approach for determining FA by employing a voltammetric strategy that is not only sensitive but also selective, in addition to being straightforward to implement in real-world settings. The viability of the procedure was established through the successful application of analyte in a cosmetic formulation while operating under ideal conditions.

Results and discussion

Electrochemical response of FA on the BDD electrode

The electrochemical characteristics of FA were assessed through the CV technique applied to the BDD electrode. Utilizing an impact, the rate of voltage scanning of 100 mV s−1, three sequential CVs for 1.03 × 10–4 mol dm−3 of FA were recorded among 0.0 and + 1.40 V in a solution of 0.1 mol dm−3 H2SO4. FA displayed an anodic peak (well defined) a potential (Ia) of at around + 0.85 V (Fig. 2A). Two reduction waves designated as Ic and IIc were also seen while scanning in the other orientation, at roughly + 0.75 V (poorly defined) and + 0.44 V (well defined), respectively. In addition, during the second and subsequent scans, a new anodic peak (IIa) was recorded at around + 0.67 V. With an increase in the number of scans, the peak height of Ia decreased gradually when the intensity of IIc/IIa slightly increased. These findings suggest that the oxidation peak at Ia is not reversible, while the pair of redox peaks at IIc/IIa is indicative of a redox process. This could be due to the formation of byproducts during the main electrooxidation step. As a result, while sequential CVs were obtained, the main oxidation peak (Ia) was found to decrease, possibly due to the accumulation of FA and/or its oxidation products on the BDD electrode surface, leading to deactivation or fouling. The impact of voltage scan rate (v) on the oxidation peak current of 1.03 × 10–4 mol dm−3 FA was worked using a CV approach solution of 0.1 mol dm−3 H2SO4 at the v of 10–1000 mV s−1 (Fig. 2B) to investigate a BDD electrode kinetics. As the scan rate was raised, a little change was seen in the oxidation peak potentials toward higher positive values. The anodic peak currents of FA were raised by increasing the square root of the scan rate (v1/2). Equation was used to evaluate that FA’s oxidation peak currents are commensurate to the v1/2 utilizing the equation; ip (µA) = 0.306 ν1/2 (mV s−1) − 0.099 (r = 0.998, n = 10).

Fig. 2
figure 2

In (A), 1.03 × 10–4 mol dm−3 FA in 0.1 mol dm−3 H2SO4 on BDD electrode is subjected to repeating CVs at a scan rate of 100 mV s−1, whereas in (B), CVs are subjected to a range of scan rates (10, 25, 50, 75, 100, 200, 400, 600, 800, and 1000 mV s.−1). Background current is shown by dashed lines (A). Insets the plots of log ip vs. log v (B)

Hence, it might be considered that the FA oxidation is controlled via a diffusion. To determine the number of electrons (n) participating in the FA oxidation process at the BDD electrode, the n value was calculated using the equation αn = 47.7/(Ep − Ep/2). In this study, the value of Ep − Ep/2 was 57 mV. Typically, the α (charge transfer coefficient) is considered to be 0.5 in a completely irreversible electrode process. As a result, the n value was determined to be 1.67 (≈ 2), consistent with the findings reported in a previous study regarding the oxidation process of FA [35]. While the purpose of this study does not include an exhaustive exploration of the mechanism behind FA electrochemical oxidation, an evaluation based on the cyclic voltammograms at the BDD electrode, in addition to considering the voltammetric response of FA at a γ-CoTe2 nanocrystals modified glassy carbon electrode (γ-CoTe2/GCE) in an acidic aqueous solution [35], allows for the tentative proposal of an oxidation mechanism for FA at the BDD electrode (Scheme 1).

scheme 1

Preliminary tests showed that FA induced electrode passivation (particularly at its high concentrations); thus, two pretreatment approaches were investigated for 5.15 × 10–5 mol dm−3 FA in 0.1 mol dm−3 H2SO4 using SWV. An anodic polarization (APT-BDD, oxygen-terminated surface) was first applied to the electrode at + 1.8 V for 180 s. For the second step (cathodically pretreated boron-doped diamond (CPT-BDD), hydrogen-terminated surface), we applied a cathodic polarization of – 1.8 V for 180 s. Initially, CV measurements were recorded at a scan rate of 100 mV s−1 for the redox couple of 5 × 10–3 mol dm−3 [Fe(CN)6]3−/4− in 0.1 mol dm−3 KCl to assess the impact of both pretreatment methods. For [Fe(CN)6]3−/4−, the discrepancies (Ep) between the oxidation and reduction peaks are 111 and 79 mV for APT-BDD and CPT-BDD, respectively. This information is displayed in Fig. 3A. They have slightly greater anodic and cathodic peak currents. Despite the large discrepancy between the observed value of Ep and the expected value of 59 mV for reversible systems, our finding suggests that cathodically pretreated BDD has modestly enhanced surface activity. In addition, as can be observed in Fig. 3B, the current response of FA is greater while the cathodic activation procedure is used as opposed to the anodic one. Note that the BDD electrode used in this investigation, with a diameter of 3 mm and boron content of 1000 ppm, exhibited predominantly hydrophobic characteristics after a minor reduction process.

Fig. 3
figure 3

Cyclic voltammograms of 5.15 × 10–5 mol dm−3 FA at a scan rate of 100 mV s−1 in 0.1 mol dm−3 KCl (A) and H2SO4 (B) on the BDD electrode cathodically or anodically pretreated

Nevertheless, pretreatment potentials above + 2.0 V had an unfavorable impact on FA’s current susceptibility. Higher positive values had no apparent effect on the oxidation peak current when tested between + 1.8 and + 2.0 V. Therefore, a cathodic pretreatment technique was used to revive the surface of BDD daily. This process involves applying − 1.8 V for 180 s. Voltammetric responses were kept consistent between measurements by employing brief (60 s) polarizations under the same circumstances (at – 1.8 V).

Additional effort was put into determining the impact of supporting electrolytes with varying pH levels to acquire the optimum voltammetric results for analytical justifications. Baseline-adjusted SW voltammograms for the oxidation of 2.58 × 10–5 mol dm−3 FA in a potential window of 0.0 V to + 1.2 V are shown in Fig. 4A for a range of BR buffers with pH 2.0–12.0. Between 2.0 and 7.0, the two anodic peaks, Ia and IIa, were measured. As the pH of a solution is increased from 2.0 to 12.0, as shown in Fig. 4A, the oxidation peak moves towards lower potentials.

Fig. 4
figure 4

A SW voltammogram of 2.58 × 10–5 mol dm−3 FA in BR buffer (pH 2.0–12.0) and B SW voltammograms of the same concentration (in a variety of supporting electrolytes) at a range of pH values (B). Electrode, CPT-BDD; SWV settings of 50 Hz frequency, 8 mV scan increment, and 30 mV pulse amplitude

Figure 4B illustrates the SW voltammograms in several different supporting electrolytes. Using 0.1 mol dm−3 H2SO4, a phosphate buffer with a pH of 2.5, an acetate buffer with a pH of 4.8, and another phosphate buffer with a pH of 7.4, we were able to generate anodic peak potentials of + 0.793, 0.809, 0.801, and 0.622 V, with peak currents of 5.09, 2.88, 2.14, and 0.98 μA. The peak current was greatest in 0.1 mol dm−3 H2SO4, as illustrated in Fig. 4A and B. Therefore, these subsequent measurements were performed using this medium for analysis.

Subsequently, attempts were made to optimize the influence of pulse parameters within those circumstances (frequency, f = 25–150 Hz; step potential, ΔEs = 8–16 mV; square-wave amplitude, ΔEsw = 30–80 mV; data not shown). The optimization was carried out by varying just one of many parameters while holding the others constant. Maximum sensitivity was achieved with the following parameters: f = 100 Hz; ΔEs = 10 mV; and ΔEsw = 50 mV.

Quantification of FA on boron-doped diamond electrode

Analytical efficacy was assessed by looking at the concentration oxidation peaks of FA in light of the results reported thus far. Figure 5 displays the voltammetric responses, and Table 1 describes the associated analytic parameters. Limits of detection (LOD) and quantification (LOQ) were established based on analytical curve data as follows; three times the standard deviation of the peak currents (ten runs) for the lowest concentration in the related linearity range divided by the slope of each of the calibration curves [63].

Fig. 5
figure 5

SW voltammograms for FA levels of 5.15 × 10–7–4.12 × 10–5 mol dm−3 for oxidation peak in 0.1 mol dm−3 H2SO4. Background current is depicted by the dotted lines. The associated FA quantification calibration charts are displayed in the inset. Electrode, CPT-BDD; SWV parameters: frequency, 100 Hz; scan increment, 10 mV; pulse amplitude, 50 mV

Table 1 Analytical parameters obtained for oxidation peak of FA using SWV on CPT-BDD electrode

The precision of the developed method was evaluated through repeatability (intra-day precision) with six experiments conducted on the same day and intermediate precision (inter-day precision) with three assays performed over five consecutive days for 5.15 × 10–7 mol dm−3 FA under optimal experimental conditions (refer to Table 1). The satisfactory recoveries indicate that the CPT-BDD electrode is a reliable electrochemical sensor for accurate quantification of FA in real samples.

To our knowledge, no study using bare electrodes for the determination of FA has been encountered thus far. Table 2 compares the analytical performance of the CPT-BDD electrode with that of carbon-based modified electrodes in previously published papers. These data highlight that the CPT-BDD electrode exhibits lower LOD compared to other electrodes, including the graphene nanosheets glassy carbon electrode (GN/GCE) [23], the carbon nanofiber-based screen-printed electrode (CNF/SPE) [25], the polypyrrole-multi-walled carbon nanotubes glassy carbon electrode (PPy-MWCNTs/GCE) [32], the TiO2 nanoparticles decorated chemically reduced graphene oxide modified glassy carbon electrode (rGO–TiO2–GCE) [29], and the didodecyldimethylammonium bromide/nafion composite film-modified carbon paste electrode (DDAB/Nafion/CPE) [33]. Conversely, several modified electrodes reported in the literature exhibit lower LOD values than the CPT-BDD electrode, such as the multi-walled carbon nanotube manganese dioxide glassy carbon electrode (f-MWCNT/MnO2/GCE) [24], the nanofibers carbon-modified gold nanoparticles screen-printed electrode (CNF-GNP/SPE) [26], and other modified electrodes [7, 27, 28, 30, 31, 34, 35]. However, modified carbonaceous electrodes exhibit certain drawbacks, including prolonged preparation times, limited reproducibility, and high costs. In our study, utilizing the unmodified CPT-BDD electrode offers advantages in terms of simplicity, affordability, and efficiency, in contrast to studies involving modified electrodes within the literature.

Table 2 Evaluation of the CPT-BDD electrode versus other electrodes commonly used to measure FA

Within the same experimental circumstances with a constant FA content (5.15 × 10–6 mol dm−3), several ions and tiny biological molecules frequently discovered in cosmetic samples specimens were examined to verify the selectivity of the suggested approach. Zn2+, Na+, Ca2+, Cu2+, Ag+, Cl, NO3, fructose, lactose, and glucose, all at 100-fold surplus quantities, were found to have a minor effect on detecting FA. But the interferences of ascorbic acid, uric acid, and dopamine, which are usually found in urine, were also tested at molar concentrations of 1:1 (FA: interfering agent) to show that it is possible to track this compound in biological fluids for pharmacokinetic and pharmacodynamic studies. The oxidation signals of these substances coexisted with FA at similar oxidation potentials. On the other hand, potential interference arising from certain related phenolic compounds that might coexist with FA in various food samples was also examined. The coexistence of gallic acid, chlorogenic acid, syringic acid, and caffeic acid resulted in overlapping signals on the CPT-BDD electrode, even when employing an analyte-to-interferent ratio of 1:1. Hence, the total content of the phenolic compounds could be assessed using the proposed methodology in relevant samples.

In light of these results, various standard addition method was used to analyze the FA content in the injection sample. The sample preparation and analysis processes are detailed in the Experiment Part. In Fig. 6, we have a graphical assessment of the standard addition method for the oxidation signal of FA, along with some example SW voltammograms of the sample.

Fig. 6
figure 6

SW voltammograms of the diluted ampule sample (dashed line) and after standard additions of 2.28 × 10–6, 3.86 × 10–6, 5.15 × 10–6, 1.03 × 10–5, and 2.06 × 10–5 mol dm−3 FA (1–5) in 0.1 mol dm−3 H2SO4. Analysis using the standard addition approach for the oxidation peak is shown in the inset. A variety of alternative operating circumstances are demonstrated in Fig. 5

Standard FA solutions made in a supporting electrolyte were added to 10 cm3 of the sample solution in a voltammetric cell, and the voltammetric responses were measured to ensure the accuracy of the established approach for real-world applications. The percentage of recovered FA was determined by comparing the concentrations of the spiking and unadulterated substances. When sample dilutions were considered, it was found that the injectable solution tablet had 0.96 mg cm−3 (RSD = 3.5%) of FA, which is close to the 1.0 mg cm−3 label value indicated by the manufacturer. Table 3 displays the FA recovery values that were determined. As a result, the suggested technique provides assurance that the voltammetric quantification of FA in the commercial injection sample will be accurate.

Table 3 Analysis of commercial injection sample spiked with FA standard solutions using SWV on cathodically pretreated BDD electrode

Conclusions

This study appears to be detailing the electrochemical research of FA. For the purpose of voltammetrically determining FA, the CPT-BDD electrode, in combination with SWV, was investigated for its potential usefulness. The strategy that has been described has the potential to be immediately applicable to the routine quality monitoring of commercial products. This would eliminate the need for organic chemicals, complicated sample extraction methods, or pricey instruments.

Experimental

The FA reference standard was purchased from Sigma-Aldrich in its nearly perfect state (98%) and utilized without undergoing any additional purification steps. Since FA is poorly soluble in water, we made a stock solution by dissolving the desired amount in methanol and stored it in the fridge until we were ready to use it. The stock solution had a 5.15 × 10–3 mol dm−3 concentration. Sigma-Aldrich provided a purified version (> 98%) used directly from the container. The Britton–Robinson (BR) buffer was made with analytical-grade chemicals and extremely pure water supplied by the Milli-Q purification device (Millipore, resistivity 18.2 MΩ cm). The buffer had a concentration of 0.04 mol dm−3 in each of its constituents. These supportive electrolytes diluted FA working solutions to lower concentrations at specific pH levels. Voltammetric observations in aquatic buffer solutions were unaffected by the presence of methanol, which was maintained at a level of < 10% of the total volume in the voltammetric cell. Potassium chloride (KCl) and the probable interfering substances (ascorbic acid, uric acid fructose, glucose, lactose, and dopamine) were acquired from Sigma-Aldrich.

Apparatus and measurements

An Autolab electrochemical analyzer (Metrohm, The Netherlands) controlled with the NOVA 2.1.3 version was used for all of the voltammetric observations, including cyclic voltammetry (CV) and square-wave voltammetry (SWV). First, we used cyclic voltammetry (CV). Then, we systematically studied square-wave voltammetry (SWV) to determine the optimal circumstances for electroanalytical methods and to delve into the challenge of determining FA. After smoothing with a Savicky and Golay logarithm in NOVA 2.1.3 and performing a baseline correction using a moving average approach (peak width of 0.01 V), the voltammograms obtained with SWV were displayed. All voltammetric measurements were carried out in a glass electrochemical cell with a volume of ten milliliters and utilizing the conventional configuration of three electrodes. The platinum wire served as the counter electrode, whereas the reference electrode was a silver/silver chloride solution (3 mol dm−3 NaCl, Model RE-1, BAS, USA). Windsor Scientific Ltd. (UK) provided the commercially available BDD working electrode (diameter 3 mm, boron concentration 1000 ppm). Each day, the BDD electrode was immersed in 0.5 mol dm−3 H2SO4 and subjected to a cathodic potential of – 1.8 V for 180 s (to refresh the hydrogen-terminated electrode surface). Before beginning each voltammetric experiment, a cathodic potential of – 1.8 V was provided to the BDD electrode using the same solution for a period of 60 s in a 0.5 mol dm−3 H2SO4 solution. To determine the pH of the solution, a WTW inoLab pH 720 m outfitted with an additional electrode (glass-reference electrodes) was utilized. At the temperature of the laboratory, each measurement was carried out in triplicate (except for the repeatability evaluation).

Preparation of samples

A sample of FA injectable solution from a nearby beauty salon was manufactured commercially by Emfa medical cosmetics in Turkey and branded as containing 1 mg cm−3 FA. The necessary amount of this injectable solution was measured, then diluted with H2SO4 solution in a 25 cm3 volumetric flask. After that, 0.25 cm3 of this solution was added to the voltammetric cell, and then it was diluted to a total volume of 10 cm3 using the supporting electrolyte. Additional dilutions were achieved through the sequential addition of standard solutions. The standard addition technique was used for the quantitative analysis.