Introduction

Nowadays, special attention is being given to green synthesis of metal nanoparticles [1]. A number of approaches including thermal decomposition, microwave-assisted process, and green chemistry are available for the synthesis of many nanoparticles (especially the silver ones) [2]. The inorganic materials, especially metal nanoparticles, are widely biosynthesized by biological materials such as microorganisms and plants [3, 4]. Metal nanoparticles perform antimicrobial activity and their potential applications as antibacterial agent in food packaging has been reported [5]. The synthesis of gold and silver nanoparticles was first reported by Gardea-Torresdey et al. [6, 7] done using living alfalfa plants. Recently, the synthesis of the following were reported: gold nano-triangles and silver nanoparticles (using Aloe vera plant extracts) [8], silver and gold nanoparticles (by Cinnamomum camphora leaf) [9], silver nanoparticles (using aqueous seed extracts of Macrotyloma uniflorum [1], Cocos nucifera coir [10], Solanum trilobatum, Syzygium cumini, Centella asiatica, Citrus sinensis powders, and from an aqueous mixture of Ficus carica leaf extract), and AgNO3 solution [11]. Essential oil was used as excellent food flavoring, pharmaceutical, and non-traditional medicine compounds. Plant-derived essential oils have a wide range of applications in the pharmaceutical sector as anticancer, antimicrobial, insecticidal, and anti-parasitic agents [12]. Redstem filaree (Erodium cicutarium) is a spring flowering annual or biennial plant belonging to the Geraniaceae [13]. The antioxidant, antiviral, and spasmogenic activities of this plant’s extract were reported [14]. Erodium cicutarium has been many pharmacological effects such as antioxidant, antiviral, antibacterial, and antifungal, interferon induction, anti-inflammatory, analgesic it is medicinal and therapeutic properties [15]. Devatha et al. [16] studied the effect of green synthesis of iron nanoparticles (done by Azadirachta Indica in different proportions) on antibacterial activity. Arokiyaraj et al. [17] investigated the enhanced antibacterial activity of iron oxide magnetic nanoparticles, treated with Argemone Mexicana L. leaf extract. Response surface methodology (RSM) is a mathematical technique applied in the progression of an appropriate functional relationship between the response and the related input variables. The main idea of RSM is to use a sequence of designed experiments to obtain an optimal response [18].

In the present study, plant extract of E. cicutarium was isolated using water bath method. The plant extract was then used for biosynthesis of Ag and Fe nanoparticles. Antibacterial activity was evaluated by MIC method. Optimal conditions were obtained by RSM based on CCD.

Materials and methods

Materials

Fresh E. cicutarium plant (Fig. 1) was collected from its natural habitat, Hamadan Province, Iran. The samples were air-dried at room temperature. The dried samples were then grounded and stored at room temperature before analysis. All chemicals used in this study were of analytical grade and purchased from Merck (Darmstadt, Germany).

Fig. 1
figure 1

E. cicutarium plant

Preparation of extract plant

About 2 g grounded plant was mixed with 100 mL distilled water in an Erlenmeyer flask and heated at 80 °C for 30 min in a water bath. The solution was then filtered by Whatman filter paper and the extract was stored in the refrigerator at 4 °C for further studies.

Synthesis of Ag and Fe nanoparticles

An aliquot of 25.0 mL of the extract was mixed with 225 mL of 0.001 M AgNO3 for Ag nanoparticle synthesis. The solution was shaken for 30 min and then stirred under sunlight for 10 min for the reaction to start.

Generally, a mixture of silver nitrate and plant extract in the case of a brightly colored production room brightens up from brown, but the addition of silver nitrate to the extract of Erodium cicutarium did not significantly change the color and the immediate change after the sunlight exposure was introduced. The presence of polyphenolic compounds, such as tannins, was affected by photo-oxidation In the presence of sunlight; the ions of silver reduce to nanoparticle [19]. The nanoparticle synthesis reaction was terminated by changing the color of the solution from yellow to brown–red. The solution containing the nanoparticles was then sealed in a flat-round bottle and stored in a dark place for 2 days for subsequent analyses. The synthesis reaction of the Fe nanoparticles was performed by mixing the extract with 0.1 M FeSO4·7H2O at a ratio of 1:2. The reaction was terminated when the color of the solution immediately changed from yellow to black. The solution contained significant amounts of the nanoparticles and then was stored at ambient temperature before analysis.

Design of the experiment

In this study, the main factor and their interactions were investigated. The effect of independent variables, including X1 (concentration of nanoparticles) and X2 (pH), were analyzed in five levels. These are shown in Table 1. The general equation of the response surface is defined as follows [18]:

$$Y = \beta_{0} + \sum\limits_{j = 1}^{k} {\beta_{j} X_{j} + \sum\limits_{j = 1}^{k} {\beta_{jj} X_{j}^{2} } } + \sum\limits_{i} {\sum\limits_{ < j = 2}^{k} {\beta_{ij} X_{i} X_{j} } + e_{i} }$$
(1)

where the predicted response is (predicted the diameter of the bacterial growth inhibition halo); Xi and XJ are the independent variables in coded levels; β0 is the intercept and βi, βjj, βij are the linear squared and interaction effect coefficients, respectively; k is the number of factors (independent variables) and ei is the model error.

Table 1 Independent variables and their levels in the experimental

Characterization of the Ag and Fe nanoparticles

UV–Vis spectroscopy analyses of the nanoparticles were carried out at ambient temperature, using a spectrophotometer (Varian, Cary 100 Cone model, USA). An aliquot of 200 μL of the solutions containing the Ag and Fe nanoparticles were diluted with 1000 mL of distilled water. The UV–Vis transmission spectra of the Ag and Fe nanoparticles were then obtained within the wavelength range of 380–550 nm and 200–600 nm, respectively.

FTIR transmission spectra of the samples were recorded by Thermo Nicolet spectrometer (Nexus 870, USA) with a resolution of 4 cm−1 in the range 4000–500 cm−1. The extract and the Ag and Fe nanoparticles were freeze dried. The samples were then pressed into KBr disks and their FTIR transmission spectra were obtained.

The morphology and sizes of the nanoparticles were analyzed by FE-SEM (Sigma, Oxford Instrument, UK). The following procedure was used to prepare the samples before FE-SEM analyses. A volume of the solutions containing the nanoparticles was poured into plastic vials and then the vials were centrifuged at 12,000 RPM for 5 min. The supernatant was discarded and distilled water was added to the wet precipitate for another centrifugal step. The vials were shaken vigorously and re-centrifuged at 12,000 rpm for another 5 min. The washing process of the precipitate was done thrice to obtain a precipitate with minimum impurity. Furthermore, ethanol was added to the wet precipitate and the vials were centrifuged under above-mentioned conditions. Finally, the supernatant was removed and the remaining wet precipitate was dried at 40 °C in the oven, and used for FE-SEM and elemental composition analyses.

FE-SEM equipped with EXD detector was used for measuring the elemental composition of the nanoparticles.

In vitro antibacterial activity of the Ag and Fe nanoparticles

The antimicrobial activity of the Ag and Fe nanoparticles were evaluated according to the MIC method. Staphylococcus aureus (ATCC 6538) Escherichia coli (ATCC 25922) were used in this study. To determine the antibacterial properties of Ag nanoparticles, the MIC method was used. The bacteria used in this study were prepared from the microbial bank of the Postor Institute of Iran. MIC testing was performed based on CLSI standard—by dilution method in microplate (CLSI 2012). The MIC concentration was determined for microorganism treated with different concentration of Ag and Fe nanoparticles. MIC refers to the lowest concentrations of compounds that inhibit the growth of microorganisms. Subsequently, 96 wells were prepared by distributing 195 μL of Muller Hinton Broth medium, containing each concentration of the nanoparticle with the desired pH and 5 μL of microbial inoculation into each of the wells. One well containing 195 μL of Muller Hinton Broth medium with 5 μL of microbial inoculation, as a positive control for each bacterium, and a well containing 195 μL of blank space was considered to be contralateral. The contents of each well—after mixing at 37 °C for 24 h were incubated and the results were evaluated the next day.

As many as 13 experiments—with two factors, five levels, and two responses for E.coli (Gram-negative) and S.aureus (Gram-positive) bacteria—were designed by Design-Expert software (Table 1). This was done to study the factors of concentration of Ag and Fe nanoparticles and pH and optimization of the process. In all the experiments, the diameter of the growth of halo of the bacteria is Response (R), the Gram-negative bacteria (R1) and Gram-positive bacteria (R2) were shown.

Results and discussion

Ag and Fe nanoparticles characterizations

The XRD of Ag and Fe nanoparticles are shown in Fig. 2. As shown in Fig. 2a, Ag diffraction peaks at the angles of 38.11, 44.27, 64.42, 77.47 and 81.53° indicated (111), (200), (222), (311), and (222), respectively, which confirmed the cubic phase and were directly matched with standard (JCPDS no. 00-004-0783). Also as shown in Fig. 2b, Fe3O4 diffraction peaks at the angles of 18.33, 30.15, 35.52, 43.17, 57.10 and 62.70° indicated (111), (220), (311), (400), (511), and (440), respectively, which confirmed the cubic phase and were directly matched with standard (JCPDS no. 01-088-0315).

Fig. 2
figure 2

XRD spectra of a Ag and b Fe nanoparticles

The UV–visible spectra of the plant extract, Ag and Fe nanoparticles are shown in Fig. 3a–c, respectively. In Fig. 3a there is no indicator of peak. The peak at 420 nm was attributed to the surface plasmon resonance of Ag nanoparticles (Fig. 3b). Furthermore, the strongest absorbance peak at 230 nm was for the Fe nanoparticles (Fig. 3c). These absorption spectra indicated that the Fe and Ag nanoparticles were successfully synthesized.

Fig. 3
figure 3

UV–visible spectra of a plant extract, b Ag and c Fe nanoparticles

The size, shape, and morphologies of the formed Ag and Fe nanoparticles were characterized by FE-SEM. According to the FE-SEM images of the Ag and Fe particles (Fig. 3), these nanoparticles had nearly spherical morphology. Furthermore, the average particle size of the formed nanoparticles was estimated from the FE-SEM images. According to the results, most of the nanoparticles had average diameter of less than 100 nm. This indicated that more uniform and nano-dimensional particles were formed by the extraction method. The Ag nanoparticles with size distribution of 55–80 nm and average diameter of about 64.8 nm were biosynthesized using novel sundried Cinnamomum camphora leaf by [20].

According to the analysis of EDX spectrometers (Fig. 4), the presence of the elemental Ag and Fe signals, corresponding to the Ag and Fe nanoparticles, was confirmed. Furthermore, Ag and Fe were correctly identified by displacing the identification lines for the major emission energies for Ag and Fe. In general, it was seen from the EDX spectrometers that the impurity and presence of different chemicals, in the form nanoparticles, were relatively low. Moreover, the structures of the nanoparticles were rich in Ag and Fe elements.

Fig. 4
figure 4

FESEM images of Ag and Fe nanoparticles

The FTIR spectra of the E. cicutarium extract and the Ag and Fe nanoparticles are shown in Fig. 5. The sharp band centered at about 700 cm−1 is likely due to the bending modes of groups such as =CH, =CH2, and cis-CH=CH (alkenes); CH3, CH2, and CH (alkanes); NH2 (amines); and the bonds of C–H (aromatic rings) and O–H (alcohols and phenols). In addition, a relatively sharp band centered at around 1600 cm−1could be due to the bending modes of the N–H and C=O bonds of carboxylic acids and derivatives, NH2 groups of amines as well as the stretching modes of C=C bonds of aromatic rings and alkenes. Furthermore, the bending modes of the N–H bonds (carboxylic acids and derivatives) and the scissoring mode of the NH2 groups (amines) could be seen at wave number displaced between 1650 and 1665 cm−1 [11].

Fig. 5
figure 5

EDX spectra of a Ag and b Fe nanoparticles

The bands appearing at 2880–2990 cm−1 are attributed to the stretching modes of the groups of CH3, CH2, and CH in alkanes and also to the stretching vibration of the O–H bonds of carboxylic acids and derivatives. The bands at 1440 and 1222 cm−1 could be due to the C–O–H vibrations and polyphenols, respectively. These bands also appear on the spectra of the extract and the Ag nanoparticles, but are weak on the Fe nanoparticle spectrum. In general, the strong intense bands appear at 3400, 1600, and 1100 cm−1 are due to the H bonds, amide groups, C–O bonds, and stretching modes. This indicates the presence of active groups (–COOH) responsible for synthesizing of the nanoparticles. These results indicate that E. cicutarium extract acts as a reducing and stabilizing agent for Ag and Fe particles. Based on the results the E. cicutarium extract contained alkaloids, proteins, enzymes, amino acids, alcoholic compounds, and polysaccharides, which were said to be responsible for the reduction of the Ag and Fe ions to nanoparticles [21, 22].

One of the methods of nanoparticle analysis is the dynamic light scattering analyses (DLS), which has the ability to quickly and simply measure particles inside the solution. In this study, DLS analysis was used to determine the size of Ag and Fe nanoparticles. Figure 6a, b shows the results of Ag and Fe nanoparticles, respectively. Based on the results, the average particle size of Ag and Fe nanoparticles are 21.4 and 32.2 nm, respectively.

Fig. 6
figure 6

FTIR spectra of the extract and the Ag and Fe nanoparticles

Modeling and analysis of variance (ANOVA)

According to the designed experiments, 13 experiments were carried out to evaluate the antibacterial activity of Ag and Fe nanoparticles in vitro. Table 2 shows the results of the experiments. Using regression coefficients, the antibacterial property effect of Ag and Fe nanoparticles on the dependent variables was calculated. Tables 3 and 4 show the results of the statistical analysis. For the model to have a good ability to fit the information, it was necessary that the correlation coefficients (R2) and adjusted coefficients (R2 adjusted) to have the highest value. In this study, R2 and R2 adjusted for Ag and Fe nanoparticles, are shown in Table 5. The results showed that the models were of high significance. The assumption of normal data is shown in Figs. 7 and 8. The data were almost normal and graph showed the normal probability of how the residues followed a normal distribution. Linear equations in coded form are shown below:

$$\begin{aligned} R_{1} \left( {\text{mm}} \right) &= + \;4.20 + 6.51 - A + 2.22 - B + 1.50 \\ &\quad- A - B + 4.84 - A^{2} + 3.59B^{2} \end{aligned}$$
(2)
$$\begin{aligned} R_{2} \left( {\text{mm}} \right) &= + \;5.40 + 5.83 - A + 3.15 - B - 0.50 \\ &\quad- A - B + 3.86 - A^{2} + 3.11B^{2} \end{aligned}$$
(3)
Table 2 The central composite design for the two independent variables
Table 3 ANOVA for analysis of variance and adequacy of the quadratic model for Ag nanoparticles
Table 4 ANOVA for analysis of variance and adequacy of the quadratic model for Fe nanoparticles
Table 5 Correlation coefficients (R2) and adjusted coefficients (R2 adjusted) For Ag and Fe nanoparticles
Fig. 7
figure 7

DLS analyses a Ag and b Fe nanoparticles

Fig. 8
figure 8

Normal probability plot of the studentized residual for: diameter of the bacterial growth inhibition halo by Ag nanoparticles aR1, bR2

Fe nanoparticles:

$$\begin{aligned} R_{1} \left( {\text{mm}} \right) &= + \;5.00 + 6.81 - A + 2.82 - B + 1.25 \\ &\quad- A - B + 3.62 - A^{2} + 2.88B^{2} \end{aligned}$$
(4)
$$\begin{aligned} R_{2} \left( {\text{mm}} \right) &= + \;6.80 + 5.00 - A + 0.021 - B - 0.25 \\ &\quad- A - B + 2.91 - A^{2} + 0.41B^{2} \end{aligned}$$
(5)

Investigation of the concentration Ag and Fe nanoparticles and pH parameters in antibacterial activity

Figures 9 and 10 show the effect of the concentration of Ag and Fe nanoparticles, pH, and the interaction between them in the diameter of the bacterial growth inhibition halo in the form of contour plot and three-dimensional, respectively. As can be seen, the pH diameter of the bacterial growth inhibition halo increased with an increase in the concentration of Ag and Fe nanoparticles. The results showed that the concentration of Ag and Fe nanoparticles had a better effect on antibacterial activity. By increasing the concentration of Ag nanoparticles from 6 to 400, the diameter of the growth inhibition R1 increased from 7 to 24 and R2 increased from 5 to 21 increased. The result showed that by increasing pH from 4 to 10, the diameter of the growth inhibition R1 increased from 6 to 20 and R2 increased from 4 to 19 (Fig. 8). Moreover, by increasing the concentration of Fe nanoparticles from 6 to 400 (μg/mL), the diameter of the growth inhibition R1 increased from 4 to 22 and R2 increased from 6 to 18. The result showed that by increasing the pH value from 4 to 10, the diameter of the growth inhibition R1 and R2 increased from 6 to 17 and from 8 to 16, respectively (Fig. 10). Furthermore, the results showed that the Ag and Fe nanoparticles had greater effect on the E.coli bacterium, where the Ag nanoparticles performed better than the Fe nanoparticles.

Fig. 9
figure 9

Normal probability plot of the studentized residual for: diameter of the bacterial growth inhibition halo by Fe nanoparticles aR1, bR2

Fig. 10
figure 10

Function of concentration and pH in diameter of the bacterial growth inhibition halo by Ag nanoparticles a Contour plot (R1), b 3D surface (R1), c Contour plot (R2), d 3D surface (R2)

Optimization of pH and concentration of Ag and Fe nanoparticles

Experimental design studies optimal point conditions was obtained. Under optimal conditions, with a concentration of Ag and Fe nanoparticles at 399.53 and 397.38 (μg/mL) and pH values of 8.20 and 8.39 was found to have the highest amount of growth inhibitory halo diameter (Fig. 11).

Fig. 11
figure 11

Function of concentration and pH in diameter of the bacterial growth inhibition halo by Fe nanoparticles a Contour plot (R1), b 3D surface (R1), c Contour plot (R2), d 3D surface (R2)

A simple and efficient way to synthesize the Ag and Fe nanoparticles by E. cicutarium was reported in this study. The optimization and the modeling [18] of diameter of the bacterial growth inhibition halo were performed using a composite experimental design. Under optimal conditions, with a concentration of Ag and Fe nanoparticles at 399.53 and 397.38 (μg/mL), pH values of 8.20 and 8.39 were found to have the highest amount of growth inhibitory halo diameter. The results showed that the Ag and Fe nanoparticles had a greater effect on the E. coli cumins, where Ag nanoparticles had a better performance than the Fe nanoparticles (Fig. 12).

Fig. 12
figure 12

Graphs the optimum conditions of diameter of the bacterial growth inhibition halo by a Ag nanoparticles, b Fe nanoparticles