1 Introduction

Plants, fruits and flowers contain a variety of low molecular weight products that can strengthen the human immune and health system. They are rich in a variety of antioxidant molecules. Flavonoids are one of the antioxidant molecules that belong to a broad class of polyphenyl group containing benzene-γ-pyrone component. Morin (3,2,4,5,7-pentahydroxyflavone) is one of the most common natural flavonoids present in mulberry leaves, almonds, figs, grapes and some of the ayurvedic products [1, 2]. It can act as an antiviral, anti-inflammatory and anti-allergic compound in pharmaceutical industry [3]. It functions as a chemo preventive measure against oral carcinogenesis and protective measure for cardio activities [4]. The direct capturing of singlet oxygen family and poisoning of enzymes involved in the formation of reactive oxygen species elucidates the antioxidant feature of morin [5, 6]. The structure of morin consists of two aromatic rings (Fig. S1) with an oxygen-containing heterocycle that connects ring A and ring B. The hydroxyl groups at positions 2′ and 4′ in ring B are the radical target sites of morin. The radical scavenging activity is also enhanced by hydroxyl groups at 5 and 7 positions of ring A. Hydroxyl groups at 3 and 4′ positions are electrochemically oxidisable and form the respective quinones. Another key structural property of morin is the enhanced electron delocalization in ring B resulting from the conjugation of double bond at 2, 3 positions with the keto group at position 4. UV–Vis absorption spectroscopy [7], spectrofluorimetry, HPLC [8], gas chromatography [9, 10] and electrochemical analysis have been reported for the determination of flavanoids. Among these methods, electrochemical analysis has achieved more attention due to its more economical, low energy consuming and unique approach in the method design, and high sensitivity for the analyte determination.

Literature study shows that not many electrochemical methods are available for the analysis of morin. Electrochemically prepared electrodes for determination of morin include vanadium pentoxide nanoflake film decorated glassy carbon electrode (GCE) [11], polyvinylpyrolidone (PVP) doped carbon paste electrode, Pt electrode [12], bare glassy carbon electrode (GCE) [13] and hanging mercury drop electrode [14], Ir decorated poly(3,4-ethylenedioxythiophene) on carbon fiber paper (Ir-PEDOT/CFP) [15], 2,5-dimercapto-1,3,4-thiadazole modified carbon fiber paper (p-DMTD/CFP) [16] are also reported. An electrochemical sensing method with molecular imprinting mechanism using Pd nanoparticles-porous graphene carbon nanotubes (CNTs)/GCE has also been listed for quercetin [17]. But this method involves tiresome electrode preparation process.

Recently electrochemical properties of pencil graphite electrodes (PGEs) have been explored in the analysis of various organic compounds. In comparison to other working electrodes, PGE has lower background current, good adsorption properties, conductivity and ultra level electrochemical sensing ability towards different analytes [18,19,20]. Uniform composition and surface provided by PGE results in a good quality voltammetric signals of analytes. In 2018 H.T. Purushothama and co-workers developed a sensitive electrochemical sensor using PGE for the investigation of chlorpromazine, a phenothiazine class of drug [21]. Electro-activated pencil graphite electrode was used by David et al. for the voltammetric analysis of the flavonoid naringenin [22]. In 2019 S. Sharma and Co-workers published a review on PGE as a promising electrochemical sensor and I.G. David and co-workers in 2017 documented a study of role of PGE as an up-coming electroanalytical tool [23, 24]. High electrochemical reactivity, easy modification, commercial accessibility, fine rigidity, disposability and low-cost of PGE make it ideal to be used as an effective working electrode.

Decoration of electrodes with polymeric materials by electropolymerization techniques is an efficient strategy in improving the functioning of electrochemical sensors. Polyaniline (PANI), polypyrrole (PPy), poly(3,4 ethylenedioxythiophene) (PEDOT) and polythiophene (PTh) are a few well studied conducting polymers for the investigation of oxidation of various organic molecules [25, 26]. Exceptional stability, ease of development, high electrical conductivity and redox properties are the characteristic features which make PANI a versatile conducting polymer in electrocatalytic applications [27]. Cyclodextrin (CD) is a macrocyclic glucose oligomer, consisting generally of six, seven or eight D glucose units resulting in α-, β- or γ-CD, respectively [28, 29]. Among them β- cyclodextrin has been successfully used for electrode modifications. Being a model host site, β-CD is capable of allowing a variety of guest molecules inside their torus like designed cavities. The interaction of molecular cavities with guest molecules has been extensively analyzed with the intention of bringing more clarity to the specific recognition effects and selectivity in the reaction [30]. Zeng et. al reported a new method for β-CD modified poly(N-acetylaniline) film electrode preparation by electrooxidation of poly(N-acetyl anilne) (PNAANI) film in β-CD [31]. The hydroxyl group, the nucleophile part of β-CD can be attached to the polymer backbone. An electroactive probe, hydroquinone, was used to explore the β-CD/PNAANI film as the hydroquinone/quinone couple matches to the cavity of β-CD. Rahemi et. al created an electrochemical sensor for the determination of the chlorophenoxy herbicide 2-methyl-4-chlorophenoxyacetic acid (MCPA) rooted on a blending of multi-walled CNTs with embodied β-CD and PANI film modified GCE [32]. The high electrocatalytic efficiency of β-cyclodextrin and polyaniline film towards the oxidation of morin is yet to be investigated. In the present study PANI and β-CD mixture has been used for the electrochemical modification of PGE in anionic micellar medium in presence of H2SO4. The developed electrode was effectively employed in electrochemical determination of morin in different real samples.

2 Materials and methods

2.1 Reagents and materials

Aniline, KH2PO4, K2HPO4 and sodium dodecyl sulfate (SDS C12H25NaOSO3) were obtained from SD Fine chemicals Limited, India. Analytical grade H2SO4, β-CD and Morin were procured from Sigma Aldrich-Merck, India. Aqueous solutions were prepared using double distilled water for all the experimental studies. Camlin HB pencil graphite lead of 2 mm diameter and length of 1 cm was used as the electrode substrate for electrochemical studies.

2.2 Apparatus

Electrochemical analyzer, CH 180 and CHI660E electrochemical workstation (CH Instruments, Inc. USA) were used for CV and DPV measurements. The three electrode system used for the measurements consist of modified and bare PGE as working electrodes, platinum foil as the counter electrode and saturated calomel electrode (SCE) as the reference electrode. Scanning electron microscopy (SEM) analyses were carried out with FEI Company Scanning electron microscope Model Sirion. FTIR spectra was recorded on Thermo Nicolet, Avatar 370 instrument. Thermofisher Scientific Nicolet 6700 NXR FT- Raman module was used for FT- Raman analysis. HPLC analysis of morin was performed on a SHIMADZU LC-8A column (250 mm × 4.6 mm) as the stationary phase.

2.3 Preparation of modified electrode

PGE of 0.65 cm2 was first pretreated with 1 M H2SO4 and washed. Electrical contact was given at one tip of the PGE using copper wire and silver conducting ink. The PGE edge was polished by making use of a sharp cutter and smoothened by emery paper.

PANI/PGE was made by the electropolymerization of aniline on PGE for 25 continuous scan cycles in the range − 0.6 V and 1.4 V at a scan rate 0.05 Vs−1 using a solution containing 0.01 M aniline, 0.01 M sodium dodecyl sulfate and 0.1 M H2SO4. After deposition, the electrode was rinsed with water to eliminate excessively adsorbed aniline monomer and later dried. β-CD-PANI/PGE was developed electrochemically, using 0.01 M aniline, 0.01 M SDS and 0.1 M H2SO4 0.01 M of β-CD for 20 potential cycles at 0.05 Vs−1 in the range − 0.6 and 1.6 V.

The behaviour of β-CD-PANI/PGE and similar electrodes in electrocatalytic oxidation of morin was explored by CV using a 50 mL glass cell containing 18 nM morin in the potential range − 0.2 and 1.4 V at 0.05 Vs−1 scan rate in phosphate buffered solution (PBS) of pH 7.0 as electrolyte. DPV measurements were carried out between 0–0.22 V, for known concentrations of morin (within the linear dynamic range) with 0.05 V pulse amplitude, 0.06 s pulse width and 0.5 s pulse period. The anodic current of morin was measured at 0.12 V vs SCE and a calibration graph was constructed using anodic current against concentration of morin and used for the quantitative analysis.

2.4 Extraction of morin from real samples

Morus nigra L. (Raw mulberry leaves) were dried at 80 °C for 2 h. The dried leaves were powdered and 25 g of the powder was added to 50 mL of aqueous ethanol (1:1) and then filtered. The filtrate was rinsed with hexane and the aqueous part was separated using CH3COOC2H5. It was then allowed to dry and the formed residue was dissolved in ethyl alcohol. The obtained solution was used for the analysis of morin. Morin was analyzed by DPV using standard addition method and the morin content was determined for 1 g of raw mulberry leaves.

Almonds were procured from a nearby grocery store. The outer cover of almonds were removed and dried at 25 ºC in the absence of sunlight. Almond hulls were ground in a mill before the extraction process. For the extraction with ethanol (70%)/water (30%) mixture, 2 g of the sample was suspended in 20 mL of the solvent mixture and filtered using Whatman No. 4 paper. The solvents were evaporated and the aqueous extracts obtained were dissolved in water and analysed by using the proposed procedure [33]..

3 Results and discussion

3.1 Electrochemical preparation of β-CD-PANI/PGE

The cyclic voltammetry result obtained for the electropolymerization of aniline on PGE, from an electrolyte consisting of 0.01 M aniline, 0.01 M sodium dodecyl sulphate and 0.1 M H2SO4 for 25 cycles at a sweep rate of 0.05 Vs−1 between the potential range − 0.6 V and 1.4 V is shown in Fig. S2a. The solubility of aniline in acidic aqueous media is enhanced by an anionic surfactant SDS which resulted in an increased rate of electrochemical polymerization. The anodic peak of aniline begins at 0.33 V in the first cycle and produces the first layer of polyaniline. The progressive growth of PANI film is reflected from the improved redox current in successive scans. Two redox couples were found at 0.335 V and − 0.002 V; 0.670 V and 0.438 V in the voltammograms.

The mechanism of formation of PANI by electrochemical polymerization involves the formation of radical cations leading to dimerization. The oligomers formed in the propagation step endure nucleation, leading to the growth of polymer molecule (Fig S3) [34].

Fast electron transfer between morin and electrode is facilitated by β-CD-PANI modified PGE. The modified electrode was prepared by the electrodeposition of aniline and β-CD in presence of SDS and H2SO4 as supporting electrolyte. The hydroxyl groups present in β-CD attract morin molecules towards the electrode surface due to the strong electrostatic interaction. (Fig. S2b). The strong hydrogen bond between oxygen atom of hydroxyl group and –NH group on aniline makes β-CD-PANI modification on PGE more stable. The physicochemical studies prove the presence of hydrogen bonding in β-CD–PANI/PGE.

The PGEs modified with β-CD and PANI were washed with double distilled water, dried and used for anodic oxidation of morin. To study the electrodeposition of β-CD and PANI on PGE for the electrocatalytic oxidation of morin, different potentials scanning rates were applied for a fixed concentration of morin.

3.2 Voltammetric behavior of K4[Fe(CN)6]/K3[Fe(CN)6] at β-CD-PANI/PGE and PANI/PGE

The electrochemical response of ferrocyanide/ferricyanide at β-CD -PANI/PGE, PANI/PGE and bare PGE were analysed at 0.05 V/s (Fig. S4). The electroactive surface area of the electrode was estimated from the cyclic voltammetric data acquired for the redox couple. The oxidation peak current was plotted against square root of scan rate and slope was determined from the resultant graph. Randles–Sevcik equation (Eq. 1) was employed to compute the surface area of the electrode from the slope value, concentration and diffusion coefficient ((6.70 ± 0.02) × 10–6 cm2/s) [35].

$${\text{i}}_{{\text{p}}} = { 2}.{69 } \times { 1}0^{{5}} {\text{AD}}_{{\text{o}}}^{{{1}/{2}}} {\text{n}}^{{{3}/{2}}} \nu^{{{1}/{2}}} {\text{C}}$$
(1)

where A stands for electroactive surface area in cm2, Do represents the diffusion coefficient in cm2/s, n indicates the number of electrons participating in the redox reaction (n = 1), ν is the scan rate in V/s, and C is the concentration of K4[Fe(CN)6]/K3[Fe(CN)6] in the solution in mol/cm3. The surface area calculated for bare PGE, PANI/PGE, and β-CD-PANI/PGE were found as 1.121, 2.225 and 2.710 cm2 respectively. The calculated surface area value of bare PGE was found lower than that of modified electrodes. These results revealed that β-CD-PANI thin layer provides enhanced surface area to PGE.

3.3 Physicochemical characterization of modified electrode

3.3.1 SEM

SEM images of bare PGE, PANI/PGE and β-CD-PANI/PGE are shown in Fig. 1. The Fig. 1b confirms the elctrodeposition of polyaniline on the bare substrate. The electrochemically deposited polyaniline increased the electroactive surface area and PGE substrate was uniformly covered by the polymer. The presence of surfactant provided the support for the uniform development of polyaniline on substrate electrode. The SEM image (Fig. 1c) clearly explains the high porous nature and increased surface defects of the β-CD-PANI/PGE compared to PANI/PGE and bare PGE. The β-CD-PANI/PGE enhanced the electrode electrolyte contact area by increasing the electroactive sites. It also provides a greater contact time for the morin molecules to get easily oxidized.

Fig. 1
figure 1

SEM images of bare PGE (a), PANI/PGE (b) and β-CD-PANI/PGE (c)

3.3.2 Raman and IR spectroscopic studies

The IR spectra of pure PANI and β-CD-PANI nanoclustres are presented in Fig. S5. In IR spectrum of PANI the peak at 1583 cm−1 shows C=C stretching of the quinonoid ring and peak at 1490 cm−1 implies C=C stretching of the benzenoid ring. The asymmetric vibration of amine group is observed at 3325 cm−1. The signal at 2922 cm−1 stands for aromatic sp2 CH stretching. Peaks observed at 1304, 1142 and 827 cm−1 are due to C–N stretching of secondary amine, C=N stretching and ring vibrations of emaraldine salts of PANI. In the IR spectra of β-CD-PANI, the peaks corresponding to hydroxyl groups present on β-CD and amine group of PANI got merged, broadened and shifted to lower frequency region due to hydrogen bonding. All other peaks remain the same having slight shifts in their position. Raman spectra (Fig. S6) clearly shows the two significant peaks at 1583 and 1352 cm−1 for both PANI/PGE and β-CD-PANI/PGE which explains G band and D band of sp2 hybridized carbon atoms of PGE. The CN+ stretching is explained by 1209 cm−1 peak. The peak observed at 1530 cm−1 indicates C–C stretching of benzenoid ring. The band at 1583 cm−1 is also attributed to the C=N mode of quinonoid rings. The increase in peak intensity for β-CD-PANI/PGE is due to the increase in substantial amount of irregularities on the electrode surface.

3.3.3 Optical profilometric studies of bare PGE and modified β-CD-PANI/PGE

The surface morphology and roughness of bare Pencil graphite electrode and modified β-CD-PANI/PGE were analyzed using optical profilometric studies. 2D and 3D images taken from optical profilometer are given in Fig. 2 and Fig. S7. As evident from Fig. 2a, 2b and Fig. S7a, S7b, bare PGE showed morphology of planar surface of graphite. Root mean square roughness of bare PGE was found as 1.7412 ± 0.3015 µm. Figure 2c, S7c and Fig. 2d, S7d exhibit 2D image and 3D profile of PGE deposited with PANI and β-cyclodextrin (β-CD) together respectively. It reveals that the optical characteristics of the surface is not same after coating with PANI and β-CD. Besides, the roughness of the surface was seemed to raise notably to 3.7902 ± 1.5259 µm after the deposition of PANI and β-CD which denotes the development of a rough film of β-CD-PANI on bare PGE. This spike in roughness can be attributed to the formation of small dark shaded spherically shaped particles of β- CD and PANI on bare PGE. Electrocatalytic performance of these electrodes are directly correlated to the roughness of their surfaces. The surface having highest roughness (β-CD-PANI/PGE) exhibited elevated electrocatalytic efficiency towards morin detection. Higher surface roughness caused to increase the electroactive area which resulted in to step up the catalytic activity of the modified electrodes.

Fig. 2
figure 2

Optical profilometeric images: 2D and 3D images at higher magnification 20 × of Bare PGE (a and b), β CD-PANI/PGE (c and d)

3.4 Evaluation of modified electrodes by electrochemical impedance spectroscopy (EIS)

EIS is an effective method to characterize the interface characteristics of electrodes and is generally employed in the characterization of modified electrodes. Fig. S8 reveals Nyquist plots of β-CD-PANI/PGE (Fig. S8b), PANI/PGE (Fig. S8a) and bare PGE (inset) in 1 mM K4[Fe(CN)6]/K3[Fe(CN)6] in 1 M KCl. The semicircular diameter (charge transfer resistance, Rct) of Nyquist plot of bare PGE was found to be 184.5 Ω, indicating a high Rct value. This implies weak conductivity and penurious sensitivity of PGE, whereas the diminished Rct value of 86.98 Ω with the modification with PANI, confirming the enhanced conductance. β-CD-PANI modification on PGE resulted in further decrease of Rct value (2.949 Ω) which confirms the increase in conductivity of β-CD-PANI/PGE. The modification of bare PGE by β-CD and PANI intensify the conductivity of electrode towards the electrocatalytic oxidation of K4[Fe(CN)6]/K3[Fe(CN)6]. A rise in slope of linear portion (Warburg impedance) in the graph denotes substantial diffusion activity of ferrocyanide/ferricyanide towards β-CD-PANI/PGE. These results confirm the potential of the developed electrode to stage an excellent platform for electrocatalytic oxidation of morin.

3.5 Electrocatalytic Oxidation of morin on β-CD-PANI/GPE

Cyclic voltammetric studies were conducted to investigate the electrocatalytic oxidation of morin at β-CD-PANI/PGE, PANI/PGE and bare PGE. The experiment was conducted at a scan rate of 0.05 Vs−1 in PBS (pH 7.0). A low current flow was observed for bare PGE and PANI/PGE electrodes (curves ‘i & ii’) where as a wide voltammogram (curve ‘iii’) was obtained for β-CD -PANI/PGE during the electrocatalytic oxidation of morin (0.2 V) (Fig. 3). The high energy surface active sites formed by β-CD and PANI deposition on substrate electrode strongly attracted the molecules of morin towards the surface. The large number of hydroxyl groups present in both β-CD-PANI/PGE and analyte also favors the attraction of morin towards the modified electrode. Schematic representation of electrocatalytic oxidation of morin at β-CD -PANI/PGE is given in the Fig. 4.

Fig. 3
figure 3

Cyclic votammogram of 18 nM morin at (i) bare PGE (ii) PANI/PGE (iii) β-CD-PANI/PGE in PBS pH 7.0

Fig. 4
figure 4

Schematic representation of electrocatalytic oxidation of morin at β-CD -PANI/PGE

3.6 Influence of scan rate on morin oxidation

The cyclic voltammograms of 18 nM morin at β-CD-PANI/PGE at various scan rates between 0.02 V/s and 0.15 V/s in PBS (pH 7.0) medium are shown in Fig. S9. The anodic peak current (ipa) was found to be raised linearly with the scan rate. (Fig. S10). It proves that an adsorption controlled reaction has occurred at the electrode surface. The kinetics of electrode surface reaction was determined by investigating the effect of various scan rates (ν) on anodic peak currents. A straight line graph was generated when logarithm of peak currents were plotted against the logarithm of scan rates (Fig. S11). Theoretically the slope of an adsorption controlled process is one. The slope value (0.9820) obtained from the calibration plot which is near to the theoretical value revealed that the electrode has undergone an adsorption controlled process.

$${\text{log i}}_{{{\text{pa}}}} \left( {\upmu {\text{A}}} \right) \, = \, 0.{982}0{\log}\upsilon \, \left( {{\text{V s}}^{{ - {1}}} } \right) \, + { 3}.{7989}; \, \left( {{\text{R}}^{{2}} = \, 0.{9976}} \right)$$

The number of electrons involved in the electrocatalytic oxidation of morin estimated using the equation given below was found to be approximately 2.

$${\text{Ep}} - {\text{Ep}}/{2 } = \, 0.0{564}/{\text{n}}$$

where Ep/2 and Ep indicates half peak potential and peak potential.

Further, from the slope of E vs log υ graph the value was obtained as 0.0619. The slope is equivalent to 2.303RT/αnF, where n is the number of electrons, R is gas constant, T, temperature, F is faraday constant and α (electron transfer coefficient) is usually 0.5 [36]. For the determination of morin the value of n is obtained as 1.91, which is approximately equal to 2. The linear regression equation for E vs log υ is given below.

$${\text{E}}_{{{\text{pa}}}} \left( {\text{V}} \right) \, = \, 0.0{\text{619 log }}\upsilon \, \left( {{\text{V s}}^{{ - {1}}} } \right) + \, 0.{3812}; \, \left( {{\text{R}}^{{2}} = \, 0.{9913}} \right)$$

From Laviron’s equation the electrochemical adsorption of morin on the modified electrode obeys Langmuir absorption isotherm when the ipa has a linear relationship with υ [37].

$${\text{i}}_{{{\text{pa}}}} = {\text{ nFQ}}\upsilon /{\text{4RT}}$$

where n is number of electrons and Q is the charge involved. From the calculation the number of electrons was found to be 2.12 which is validated by Laviron’s theory and approximated at 2.

3.7 Effect of number cycles of β-CD-PANI coating on electrocatalytic oxidation of morin

Effect of the number of cycles necessary for coating of β-CD-PANI over PGE on the electrochemical determination of morin was studied. β-CD-PANI/PGEs were prepared by using different scanning potential cycles such as 2, 4, 6, 8, 10, 12, 14, 16, 18 and 20 and their efficiency towards oxidation of 18 nm Morin in pH 7.0 was investigated. Cyclic voltammograms for the detection of morin with respective modified electrode is compared in Fig. S12. Oxidation peak current of analyte was found to be increasing with increase in number of cycles for the electro-deposition of β-CD-PANI on PGE. The optimized scanning cycles for β-CD-PANI deposition was taken as 20 cycles as the anodic current continued to be constant after 20 cycles.

3.8 Optimization of pH

The influence of pH from 2 to 12 on anodic peak current of morin (18 nM) in PBS was studied. Fig. S13 indicates that there is an increase of oxidative peak currents upto pH 7.0 and further change of pH range followed a slow and steady drop in current. The result of β-CD-PANI/PGE was not significant at lower pH range, due to a reduction in electron charge density of β-CD-PANI while at elevated range of pH, the anodic current reduced owing to the partial oxidation of the substrate by dissolved molecular oxygen. Therefore, PBS with pH 7.0 was selected for the present study. A positive peak potential shift was observed in the graph of pH against anodic peak potential (Fig. S14) as the pH varies from 2 to 12. This can be shown as a linear regression equation.

$${\text{Epa }}\left( {\text{V}} \right) = 0.00{5} + 0.0{\text{5926 pH }}({\text{R}}^{{2}} = 0.{9926})$$

A slope of 0.05926 V/pH was observed to be in near conformity with the theoretical value of 0.059 V/pH, thus proposing participation of same number of protons and electrons in the reaction. Therefore, PBS with pH 7.0 was selected for the present study.

3.9 Differntial pulse voltammetric studies

The linear dynamic range, limit of detection (LOD) and limit of quantitation (LOQ) were obtained for the quantification of the analyte under study. DPV method was adopted for this purpose and the oxidative peak currents were measured at 0.12 V (Fig. S15). According to Fig. S16, the anodic peak current is observed to increase with rise in concentration of morin. The linear calibration graph for the quantification of morin is given in Fig. S16. The linear regression equation is as shown below,

$${\text{i}}_{{{\text{pa}}}} \left( {{\text{mA}}} \right) \, = { 5}.{\text{4773E}}^{{ - {7}}} \left[ {{\text{Morin}}} \right] \, {-}{ 1}.{\text{993E}}^{{ - {4}}} \left( {{\text{R}}^{{2}} = \, 0.{9984}} \right)$$

The sensitivity of the process was evaluated as 54,773 μA μM−1 cm−2. The statistical relationships (3σ/S) and (10σ/S) are employed to calculate the LOD and LOQ respectively, where σ stands for the standard deviation of the peak current at any given analyte concentration and S indicates the slope of the calibration curve. The LOD for the determination of morin was estimated as 0.38 nM and the LOQ 1.17 nM which was used to determine the lower limit of linear dynamic range. Linear dynamic rage was found to be 1.17–32 nM. The value of LOD obtained for β-CD- PANI/PGE is so far the best documented value for quantitative analysis of morin which can be ascribed to the high sensitivity of β-CD-PANI/PGE.

3.10 Interference study

The impact of interfering molecules against current densities in Morin detection (18 nm) is presented as bar graphs in Fig. S17. Inorganic cations like Na + , K+, Mg2+ and Ca2+ with concentration 440 folds that of morin had no interference in the analysis of analyte. Simiarly anions such as Cl, NO3 and CO32− also did not have interference in morin analysis to the extent of 320 folds concentration of morin. Futhermore, molecules such as thearubigins, catechins and theaflavins with closely related structures have not interfered in the determination of morin. But, flavanoids like quercetin and rutin with similar structure as morin have exhibited anodic peaks at higher potential values with very low current density. Hence, the determination of morin is having only very negligible interference from these groups of compounds. Table S1 shows a list of potential interferences from some species on the voltammetric response in the determination of morin. The low relative standard deviation values for the analysis of five replicates of morin in presence of interfernts indicated good precision of the proposed method. Thus, the present method is highly efficient for the electrocatalytic determination of morin in real sample matrices.

3.11 Reproducibility and stability

Electrochemical response of five modified electrodes towards morin (18 nm) oxidation was investigated and the parameters are given in Table S2. The results indicate the high reproducibility of the modified electrodes. All the 5 electrodes were also tested towards the oxidation of morin at an interval of five days for one month. The results indicated the long term stability of electrode and the decrease in CV response of the electrode was less than 4.5%. β-CD-PANI/PGE was subjected to 50 continuous potential scanning cycles in PBS (pH 7.0) and established the stability of the modified electrode (Fig. S18).

3.12 Determination of morin in almonds and mulberry leaves

The feasibility of the suggested technique was analyzed by determining the analyte, morin in almonds and mulberry leaves. Differential Pulse Voltammetry was adopted to check the extraction efficiency. Experimental factors like extraction order, extraction time and volume of extractant were optimized. In DPV studies of all real samples a significant anodic peak at 0.12 V was observed (Fig. 5). The reproducibility of the proposed method with β-CD-PANI/PGE was also investigated by analyzing morin in spiked samples having the extracts of almonds and mulberry leaves. The results revealed that the developed method was competent in the electrochemical determination of morin in real samples (Table 1). Statistical analysis of the results by Student’s t-test and variance ratio F-test showed no significant difference in accuracy and precision between proposed and standard reference method (HPLC) [9]. The result is included in Table 1. The recovery values varied from 95.9% to 99.6%. Table S3 gives the comparative study of analytical parameters of suggested method for the analysis of morin with the reported works.

Fig. 5
figure 5

DPVs of morin in real samples (i) mulberry leaves and (ii) almonds in the potential range 0 V– 0.22 V vs SCE in PBS pH 7.0

Table 1 Determination of morin in mulberry leaves and almonds

4 Conclusion

β-CD-PANI modified pencil graphite electrode exhibited good electrocatalytic activity towards oxidation of morin which is favored by electrostatic interaction between hydroxyl groups of morin and β- cyclodextrin which is strongly bound to PANI film through hydrogen bonding. The irreversable, adsorption controlled electrooxidation of morin is found to be one step reaction involving two electrons. Low detection limit, high sensitivity and selectivity are the major highlights of the proposed method over the other methods exist in the literature. The developed sensor has shown high reproducibility and stability. The proposed method was successfully employed for the analysis of morin in almonds and mulberry leaves.