1 Introduction

Nanoscale materials have attracted significant scientific and industrial interest during the last decade [16]. These materials are novel compounds of theoretical interest currently, but have huge potential to develop as important classes of materials for the electronics and Photonics industries in the current century [711]. The spinel ferrites of general formula MFe2O4, where M = Mn, Co, Ni, Zn, attract considerable interest as soft magnetic materials for potential applications in magnetic field sensing, ferrofluids, magnetic drug delivery, magnetic information storage, and high frequency devices. The advantage of these materials is in high magnetostriction and high rate of change of strain with magnetic field [12]. In recent years the evolution of physical properties of materials upon transition from macroscopic bulk state to the nanocrystalline one have been intensively investigated. This transition is accompanied by substantial changes of electronic structure: the continuous density of states is replaced by set of discrete levels the exact position of which is determined by a particle size [13]. With decreasing a particle size the fraction of surface atoms with smaller coordination number, broken chemical bonds, and disrupted local symmetry, also increases. Owing to these reasons not only the properties of surface atoms differ substantially from those of atoms in a particle core, but also the character of interactions between these groups of atoms can have additional peculiarities. All these factors result in appearance of principally new physical properties of nanocrystalline state as compared to the bulk one. For the spinel ferrites in ultradisperse and nanocrystalline states the cation distribution, and degree of inversion can differ from the corresponding bulk values which results in variation of magnetic and magnetoelastic properties. Strong dependence on preparation method [14, 15], thermal treatment conditions [12], particle size [16], and morphology [17, 18] was observed. Various methods have been developed for preparation of ultradisperse and nanocrystalline powders of spinel ferrites, namely the sol–gel [19, 20], hydrothermal synthesis [14, 15], organic complexes, combustion processes with various precursors [18, 2125]. These applications mainly depend upon microstructure and surface properties of the fine powders which depend upon the method of preparation. Modify sol–gel method has the advantages of using inexpensive precursors, low external energy consumption and resulting nano sized, homogenous highly reactive powder. In this report, for the first time, we had presented the green approach for preparation of NiFe2O4 nanoparticles by modify sol–gel method in the presence of lactose without adding external. This approach is simple and friendly to the environment. Moreover, the photocatalytic activities of NiFe2O4 catalysts were studied for the mineralization of methyl orange under ultraviolet light [26, 27].

2 Experimental

2.1 Characterization

X-ray diffraction (XRD) patterns were recorded by a Philips-X’PertPro, X-ray diffractometer using Ni-filtered Cu Kα radiation at scan range of 10 < 2θ < 80. Scanning electron microscopy (SEM) images were obtained on LEO-1455VP equipped with an energy dispersive X-ray spectroscopy. The energy dispersive spectrometry (EDS) analysis was studied by XL30, Philips microscope. The magnetic measurement of samples were carried out in a vibrating sample magnetometer (VSM) (Meghnatis Daghigh Kavir Co.; Kashan Kavir; Iran) at room temperature in an applied magnetic field sweeping between ±10,000 Oe. Spectroscopy analysis (UV–Vis) was carried out using shimadzu UV–Vis scanning UV–Vis diffuse reflectance spectrometer.

2.2 Synthesis of NiFe2O4 nanoparticles

In this work, 1 and 2 mmol of Ni(NO3)2·6H2O and Fe(NO3)3·9H2O were dissolved in 30 ml distilled water under stirring at room temperature. Then, a solution containing 1 mmol of lactose was added drop wise into the above mention solution and was kept stirring to form a gel at 90 °C. Finally, the obtained product was placed in a conventional furnace in air atmosphere for 2 h and calcine at 800 °C. After thermal treatment, the system was allowed to cool to room temperature naturally, and the obtained precipitate was collected.

2.3 Photocatalysis experiments

The methyl orange (MO) photodegradation was examined as a model reaction to evaluate the photocatalytic activities of the NiFe2O4 nanoparticles. The photocatalytic experiments were performed under an irradiation ultraviolet light. The photocatalytic activity of nanocrystalline NiFe2O4 obtained was studied by the degradation of methyl orange solution as a target pollutant. The photocatalytic degradation was performed with 50 ml solution of methyl orange (0.0005 g) containing 0.1 g of NiFe2O4. This mixture was aerated for 30 min to reach adsorption equilibrium. Later, the mixture was placed inside the photoreactor in which the vessel was 15 cm away from the ultraviolet source of 400 W mercury lamps. The photocatalytic test was performed at room temperature. Aliquots of the mixture were taken at definite interval of times during the irradiation, and after centrifugation they were analyzed by a UV–vis spectrometer. The methyl orange (MO) degradation percentage was calculated as:

$${\text{Degradation rate (}}\% ) { = 100 }\left( {{\text{A}}_{ 0} - {\text{A}}_{\text{t}} } \right){\text{ / A}}_{ 0}$$
(1)

where At and A0 are the obtained absorbance value of the methyl orange solution at t and 0 min by a UV–vis spectrometer, respectively.

3 Results and discussion

Crystalline structure and phase purity of as-prepared product has been determined using XRD. The XRD pattern of the NiFe2O4 in presence of is shown in Fig. 1. The XRD pattern of the as-synthesized NiFe2O4 nanoparticles indicates the formation of cubic phase of NiFe2O4 (JCPDS No. 03-0875) with the calculated cell parameter of a = b = c 8.3400 Å. According to XRD data, the crystallite diameter (Dc) of NiFe2O4 nanoparticles are calculated to be 35 nm using the Scherer Eq. (2):

$${\text{D}}_{\text{c}} = {\text{K}}\lambda /\beta { \cos }\uptheta$$
(2)

where β is the breadth of the observed diffraction line at its half intensity maximum, K is the so-called shape factor, which usually takes a value of about 0.9, and λ is the wavelength of X-ray source used in XRD. The morphology of the nanoparticles was investigated using SEM which demonstrates uniform nanoparticles with spherical shape homogenously distributed all over the sample, as it could be clearly observed in Fig. 2. The NiFe2O4 nanoparticles with particle size of about 40–50 nm were observed. The EDS analysis measurement was used to investigate the chemical composition and purity of NiFe2O4 nanoparticles. According to the Fig. 3, the product consists of Ni, Fe, and O elements. Furthermore, neither N nor C signals were detected in the EDS spectrum, which means the product is pure and free of any surfactant or impurity. The hysteresis loop of NiFe2O4 nanoparticles was studied to examine their magnetic properties (Fig. 4). At 300 K the remanent magnetization (Mr) is 10 emu/g, the coercive field (Hc) is 100 Oe and the magnetization at saturation (Ms) is estimated to be only 30 emu/g (the saturation magnetization Ms was determined from the extrapolation of curve of H/M vs. H). The diffused reflectance spectrum of the as-prepared NiFe2O4 nanoparticles is shown in Fig. 5. The diffused reflectance spectrum of the as-prepared NiFe2O4 nanoparticles is shown in Fig. 5. The fundamental absorption edge in most semiconductors follows the exponential law. Using the absorption data the band gap was estimated by Tauc’s relationship:

$$\upalpha =\upalpha0({\text{h}}\nu - {\text{Eg}}){\text{n}}/{\text{h}}\nu$$

where α is absorption coefficient, hν is the photon energy, α0 and h are the constants, Eg is the optical band gap of the material, and n depends on the type of electronic transition and can be any value between 0.5 and 3. The energy gap of the NiFe2O4 nanoparticles is determined by extrapolating the linear portion of the plots of (αhν)2 against hν to the energy axis, as shown in Fig. 5. The Eg value is calculated as 2.85 eV for the NiFe2O4 nanoparticles. Photodegradation of methyl orange (MO) as water contaminant under UV light illumination was employed to evaluate the properties of the as-synthesized NiFe2O4 nanoparticles. Figure 6 exhibits the obtained result. No methyl orange was practically broken down after 90 min without employing UV light illumination or as-prepared nanoparticles NiFe2O4. This observation illustrated that the contribution of self-degradation was insignificant. The proposed mechanism of the photocatalytic degradation of the methyl orange can be assumed as:

$${\text{NiFe}}_{ 2} {\text{O}}_{ 4} {\text{ + h}}\nu \to {\text{NiFe}}_{ 2} {\text{O}}_{4}^{\cdot} {\text{ + e}}^{ - } {\text{ + h}}^{ + }$$
(3)
$${\text{h}}^{ + } + {\text{H}}_{ 2} {\text{O}} \to {\text{OH}}^{\cdot}$$
(4)
$${\text{e}}^{ - } { + }\;{\text{O}}_{2} \to \;{\text{O}}_{2}^{ \cdot - }$$
(5)
$${\text{OH}}^{ \cdot } \; + \;{\text{O}}_{ 2}^{ \cdot - } \; + \;{\text{methyl orange}} \to {\text{degradation products}} .$$
(6)
Fig. 1
figure 1

XRD pattern of NiFe2O4 nanoparticles calcined at 800 °C

Fig. 2
figure 2

SEM image of NiFe2O4 nanoparticles calcined at 800 °C

Fig. 3
figure 3

EDS pattern of NiFe2O4 nanoparticles calcined at 800 °C

Fig. 4
figure 4

VSM curves of NiFe2O4 nanoparticles calcined at 800 °C

Fig. 5
figure 5

Tauc plot pattern of NiFe2O4 nanoparticles calcined at 800 °C

Fig. 6
figure 6

Photocatalytic methyl orange degradation of NiFe2O4 nanoparticles under ultraviolet light

Utilizing photocatalytic calculations by Eq. (1), the methyl orange degradation was about 52 % after 90 min illumination of UV light. This obtained result demonstrates that as-prepared NiFe2O4 nanoparticles have high potential to be applied as favorable and appropriate material for photocatalytic applications under illumination of UV light. The heterogeneous photocatalytic processes have diffusion, adsorption and reaction steps. It has been shown that the desirable distribution of the pore has effective and important impact on the diffusion of the reactants and products, and therefore effects on the photocatalytic activity. It seems that the enhanced photocatalytic activity of the as-obtained nanoparticles NiFe2O4 can be owing to desirable and appropriate distribution of the pore, high hydroxyl amount and high separation rate of charge carriers (Scheme 1).

Scheme 1
scheme 1

Reaction mechanism of methyl orange photodegradation over NiFe2O4 nanoparticles under UV light irradiation

4 Conclusions

NiFe2O4 nanoparticles have been successfully synthesized through modify sol–gel method. Moreover, this method is free from any surfactant and organic solvents. High purity of the as-prepared nanocrystalline sample was proved by XRD, and EDS analyses. VSM analyzes indicates a paramagnetic behavior for the synthesized nanoparticles. When as-prepared nanocrystalline NiFe2O4 was utilized as photocatalyst, the percentage of methyl orange degradation was about 52 % after 90 min irradiation of UV light.