1 Introduction

The non-renewable sources such as petroleum, natural gas and coal are unavoidably needed for the growth of the nation around the globe. Recently, it has been reported that the increase in usage of  fossil fuels  raised the concern about the environmental pollution, which in turn leads to greenhouse gas emissions[1, 2]. These issues can be overcome by developing alternative fuels, which are of renewable, sustainable and effectively enhance the energy availability. In the past, renewable fuel such as vegetable oil was directly used in a diesel engine as an alternative for petroleum diesel. From the development of engine era, the source of energy utilized by diesel engines was vegetable oil. In 1900, Rudolph diesel used peanut oil as a source of energy to drive the first diesel engine in the Paris World Exhibition. The restriction to use vegetable oil as a source for diesel engine was initiated due to its higher viscosity which leads to low performance of the engine. In order to replace the existing source of energy, biofuel, which has been providing greater potential comparable to petroleum sources will be a best option for alternate fuel. In that way, biodiesel has generated positive impact toward the environment by its advantageous effect such as non-toxic, biodegradable, lesser emission and environment friendliness [3]. The liquid fuel is derived from various feedstocks, such as vegetable oil (both edible and non-edible), animal fat, waste cooking oil industrial grease and micro-algae. Different methods such as pyrolysis, dilution, micro-emulsion and transesterification were followed for lowering the viscosity of the feedstock for producing biodiesel. Transesterification method was adopted as a best technique when compared to the other methods for decreasing the viscosity of oil as well as to operate at moderate temperature. The reaction between triglycerides of vegetable oil or animal fat and alcohol with the help of a catalyst to produce biodiesel and glycerol as a by-product is known as transesterification. Commonly, three different catalysts such as base catalyst, acid catalyst and enzyme catalyst were utilized for this reaction.

The total production cost of biodiesel is comparatively higher than petro-diesel, which leads to major disadvantage based on economic concern. It was noted that 75 to 80% of the total cost is entirely based on the raw material [4]. So, the selection of feedstock for producing biodiesel is one of the important aspects. The most possible way is to choose a low-cost as well as effective feedstock, which includes animal fat, waste cooking oil, industrial grease, fish oil, tannery sludge and non-edible [5].

In leather industries, huge amount of tanning waste is produced from the raw hide during the pretreatment. These tanning wastes lead to environmental pollution concerning water emission, terrestrial and ecosystem damage [6]. The feedstock produced from tannery sludge was recommended as a low cost, which in turn produces biodiesel in a cost-effective manner. But this feedstock contains excess amount of lipids and proteins, which is very difficult to separate. The presence of protein in the feedstocks holds enormous number of amino acids bonded together with polypeptide. The hydrolysis processes were carried out in order to make the interaction of amino acids to separate the fat and protein by the application of heat [7, 8]. It has been observed by the author that the vegetable oil and waste fat considerably contain excess amounts of protein apart from fat; the challenge required here is to remove the presence of protein from the fat through refining process (physical and chemical treatment) [9]. These waste fats possess an adequate amount of free fatty acid, which can be extracted for the production of biodiesel. The most significant possible way of using this contaminated feedstock with cost-effective homogeneous catalyst in industrial scale will lead to soap formation and difficulty in product separation. The presence of fatty acid in feedstock for utilization of homogeneous catalyst should have acid value less than 1 mg KOH g−1, but the feedstocks (tannery sludge) contain free fatty acid content above it. Therefore, many researchers have been focusing in the way of producing a heterogeneous catalyst, which is not influenced by the presence of impurities as well as utilization of lesser amount of water during the separation process [9].

The use of heterogeneous catalyst for the production of biodiesel results in lowering the time during the separation of catalyst from the product and provides better results in reusability studies [10, 11]. But, the major concern in the utilization of heterogeneous catalyst results in slow reaction rate due to the three-phase existences which lower the mass transfer between the reactants.

Recently, magnetic heterogeneous nano-catalysts have been providing better catalytic activity through its higher surface area promoting toward adequate mass transfer. This evidence regarding magnetic nano-catalyst in the catalysis field initiates to develop a larger surface area, recovery of catalyst through permanent magnet and reused for several cycles [10, 12]. However, most of the research is carried out for recovering the heterogeneous catalyst through mechanical operations such as filtration or via centrifuging, where by magnetic nano-catalyst has promoted an easy separation process with a help of magnetic field. Eventually, magnetite is promptly used for producing magnetic nanoparticles due to its higher tensile strength, reactivity and non-toxicity [13]. These magnetic nanoparticles have been used in various industrial applications in the preparation of fine chemicals and pharmaceutical products, drug synthesis, food additives, biochemical and in other sectors [14, 15]. It has been utilized in different biomedical applications for the development of MRI (magnetic resonance imaging), health care and in the field of biotechnology, etc. [16]. Feyzi et al. reported a novel magnetic catalyst Ca/Fe3O4@SiO2 showed higher catalytic activity for producing biodiesel from sunflower oil yielding 97%. The biodiesel conversion of 99.9% achieved using a nano-catalyst Mg/ZnFe2O3 from waste cooking oil was reported showing that the catalyst exhibits higher recovery during the separation [17]. The catalyst performed well in the transesterification reaction, holding higher magnetic property, provides an effective platform in the separation after the completion of the reaction by utilizing a permanent magnet [18]. The preparation of nano-catalyst with the impregnation of magnetic core effectively reduces the problem in the recycling as well promotes better reusability with less deactivation of the active sites of the catalyst [19]. It has been reported that the magnetic nanoparticles support over graphene oxide exhibits higher surface area, providing effective separation of magnetic properties [20]. The catalytic performance was improved to 85% through the impregnation of calcium oxide with iron during the transesterification reaction providing enhancement in the active sites of the catalyst [21]. Similarly, Vijayakumar et al. utilized magnetic nano-catalyst Fe3O4/Cs2O for generating biodiesel from tannery waste at optimum yield of 97.1%. Liu et al. developed a nano-catalyst CaO/Au provided superior catalytic activity toward transesterification reaction to convert soya bean oil into biodiesel producing a yield of 88.9%.

In the present investigation, magnetic nano-catalyst (Fe3O4/BaO) was prepared through wetness impregnation method. The catalytic activity was determined through transesterification reaction of a low-cost feedstock with methanol and nano-magnetic catalyst. The characterization of the synthesized catalyst was carried out by Fourier transform infrared spectroscopy (FTIR), X-ray diffraction (XRD), scanning electron microscopy (SEM), VSM (vibrating sample magnetometer) and particle analyzer, as well as the catalyst stability was also carried out for identifying the number of cycles in which the catalyst has been reused. The optimization was investigated with respect to the various process parameters initiated for biodiesel production. The physical and chemical properties of the extracted fat were examined as per standard methods and the final product biodiesel was characterized and compared with ASTM D6751 standard.

2 Materials and Methods

The leather tannery sludge produced through skinning and fleshing operation was collected from the tanning industry located in Ranipet, Tamil Nadu, India. The pretreatment is carried in order to remove the presence of considerable amounts of impurities other than FFAs, additionally the existence of protein, water and phosphatides through the refining process. The degumming is the process in which the level of phosphatides will be reduced. Further processing is done through steam refining for the reduction of FFAs and water content from the feedstock by utilizing vacuum distillation [9]. The obtained sludge was dried at 110 °C for reducing the level of moisture content and placed in an airtight container for further process. The crushing operation was done in laboratory for obtaining a uniform mixture, then after extraction process was carried out for 8 h via Soxhlet apparatus. Petroleum hexane was used as a solvent for extraction purposes. The solvent was removed after the extraction process by using vacuum distillation and kept for drying in a hot air over at 105 °C. The gravimetric method was followed for determining the yield of fat from the tannery sludge by using Eq. (1)

$${\text{Fat yield}} = \frac{{{\text{weight of the fat extracted}} \left( g \right)}}{{{\text{weight of the dried tannery sludge}} \left( g \right)}} \times 100.$$
(1)

The AOAC standard method was followed in determining the physical and chemical properties of the tannery waste fat. The chemicals and reagents utilized for the study were of analytical grade bought from Sri Sastha Scientific Company, Coimbatore, Tamil Nadu, India.

The identification of the different fatty acids was carried out using GC (gas chromatography). The GC equipment, Agilent 7820A model, fitted with HP-5 capillary column coupled with ionization detector was utilized for the determination of fatty acid methyl ester content (wt%). A pretreatment of methylation process was carried out for the sample before using it in GC. The chromatographic conditions applied for the inlet and detector temperature were maintained at 260 °C, the inert gas was utilized as a carrier gas flowing at a rate of 1 mL min−1, and split injection ratio was maintained at 50:1. The composition of the fatty acid was identified with respect to the retention time as per the chromatographic standard and eventually match with the peak area of the fatty acid methyl ester. The fatty acid profile is mainly utilized for calculating the average molar mass of the fat by following Eq. (2).

$${\text{Average molar mass of the fat}} = 3\sum \left( {MW_{i} X_{i} } \right) + 38$$
(2)
$$\begin{gathered} {\text{Average molar mass of the fat}} = 3\sum \left( {MW_{i} X_{i} } \right) - {\text{Molecular weight of glycerol}} + 3\left( {\text{molecular weight of water}} \right) \hfill \\ {\text{Average molar mass of the fat}} = 3\sum \left( {MW_{i} X_{i} } \right) - 92 + 3\left( {18} \right). \hfill \\ \end{gathered}$$

For estimating the molecular weight of sludge, the individual fatty acid molecular weight value was taken to multiply with their mole fraction and then the entire value was multiplied by 3. The average molar mass of the fat value was calculated from the different fatty acid compositions given in Table 2. This value can be used in determining the conversion biodiesel, where MWi represents the average molar mass and Xi represents mole fraction of the ith fatty acid.

2.1 Preparation of Fe3O4

The magnetite (Fe3O4) was prepared via co-precipitation method, (a two-step process involving nucleation, which takes place quickly until supersaturation and slowly through diffusion, in which solutes were displaced over the surface of the catalyst) in which 15 g of Fe2SO4. 4H2O and 30 g of FeCl3. 6H2O were taken separately in a 250-mL beaker with distilled water. The prepared solution was poured into a 1000-mL beaker and was kept over a hot plate with magnetic stirrer for continuous mixing, maintained at a temperature above 65 °C with a stirring rate of 450 rpm. To this mixture, cetyltrimethyl-ammonium bromide was added in order to develop a colloidal suspension during the reaction. During the reaction, sodium hydroxide of 0.1 N was added in dropwise until a pH value 10 was reached; thereafter, the mixture was stirred without any disturbance for 1 h by maintaining a temperature of 70 °C. A solid black-colored magnetite precipitate was obtained and separated with the aid of a permanent magnet [3, 22].

2.2 Preparation of BaO

Barium chloride was taken in a 250-mL beaker with deionized water and the mixture was stirred continuously to which ammonia solution was added gradually until it reaches a pH value of 10. Then, after the addition of ammonia was stopped and the mixture was stirred by maintaining at 60 °C. The resultant white-colored precipitate was obtained through filtration and washed with distilled water. The obtained product was dried in an oven for 2 h at 110 °C and calcinated for 3 h at 400 °C in a muffle furnace.

2.3 Impregnation of BaO with Magnetic Nano-core

A known concentration of barium oxide was transferred into a beaker of 500 mL containing a mixture of Fe3O4 dispersed with ethanol, deionized water and cetyltrimethyl-ammonium bromide. The mixture was continuously mixed by placing it over a magnetic stirrer with hot plate for 1 h at 65 °C. Thereafter, the dried magnetic nanoparticle was calcinated in a muffle furnace for 2 h at 500 °C. The final product was cooled and the magnetized material was removed by utilizing a permanent magnet. The produced magnetic nano-catalyst was further utilized for producing biodiesel.

2.4 Characterization of Fe3O4/BaO

The precursor and morphology of the catalysts were observed using scanning electron microscopy. The Quanta 250 FEG (Thermo Fisher Scientific, USA) instrument was utilized for getting the structured image and FTIR spectrometer was used for identifying the presence of functional group in the catalyst. The Spectrum Two PerkinElmer Spectrometer (USA) was handled for retrieving spectrum, which is observed by using a universal attenuated total reflection sampling techniques and was reported in between the scanning range of 400 and 4000 cm−1.

The instrument (X’pert Pro model PAN analytical diffractometer instrument) was employed for identifying and recording the XRD pattern of the catalyst by using a Cu Kα radiation source in the 2θ range from 20° to 80° with a step size of 0.02°. The Debye–Scherrer’s relationship was employed for determining the average crystallite size of the particle as shown in Eq. (3).

$$D = \frac{0.9\lambda }{{\beta cos\theta }}$$
(3)

where θ is the diffraction angle, β is the full width at half maximum, λ is the X-ray wavelength and D is the average crystallite size.

The instrument used for determining the particle size distribution of the prepared catalyst was carried out by Mastersizer 3000 laser scattering particle size analyzer (Malvern Instrument Ltd., Worcestershire, UK). Before the analysis, short chain alcohol was chosen for dispersing the particles and sonicated for 5 min to form a stable wet suspension. The particle sizes ranging between 10 and 3.5 nm were measured. A VSM (vibrating sample magnetometer) was utilized for determining the magnetic behavior of the prepared catalyst. The analysis was carried out by using a magnetometer to which a sample of magnetic nanoparticle was kept suspended. The samples were measured by the magnetometer in between the magnetic field −0.7 T and + 0.7 T at 27 °C.

2.5 Transesterification Process

Fat extracted from tannery sludge, methanol and catalyst were added into a 250-mL three-neck round-bottom flask for the reaction to take place, in which one neck was connected with condenser in order to condense the evaporated methanol during the reaction, the thermometer was connected to the second neck for recording the temperature with respect to the start of reaction, and the last neck is utilized for adding the reactants into the reactor. The whole reactor setup was kept over a hot plate magnetic stirrer in which the reaction was carried out under a constant stirring rate. Initially, the fat which was in solid form at room temperature was heated at 40 °C to be in liquid phase and was poured into the round-bottom flask for every experiment. The fat was preheated with varying temperature from 40 to 80 °C to which a mixture of catalyst and methanol was added. For carrying out the optimization studies, various process parameters were taken such as methanol/fat molar ratio of (6:1 to 30:1), catalyst loading of (3–10 wt%) and reaction time of (1–6 h) were changed. The optimization was followed by one-factor-at-a-time method, in which only one parameter is about to vary and remaining parameters were constant. The selected variable concentrations were varied over a preferred range.

During the completion of the reaction, stirring was stopped and the resultant mixture was collected and was allowed to cool. A permanent magnet was utilized for removing the catalyst from the resultant mixture. Then, the cooled mixture was poured into a separating funnel for separating the final product. The separation was carried out without any disturbance for 12 h which forms two different layers, product biodiesel was at the top, and the by-product glycerol was at the bottom. The biodiesel was recovered from the top of the separating funnel and bottom layer was transferred into a rotary vacuum evaporator for the removal of methanol [23]. Then, the yield of biodiesel was calculated gravimetrically by following Eq. (4) [24]

$${\text{Biodiesel yield}} \left( {{\text{wt}}\% } \right) = \frac{{{\text{Weight of biodiesel }}\left( g \right)}}{{{\text{Weight of fat}} \left( g \right)}} \times 100.$$
(4)

The conversion of fatty acid methyl ester from fat was analyzed using H1NMR (Proton Nuclear Magnetic Resonance Spectroscopy) (Bruker AVANCE III 500 MHz). The analysis was carried out by dissolving the sample in CDCl3 and the sample was operated at 298 K. It was observed that the presence of singlet peak of methoxy protons and triplet peaks of alpha-methylene protons of methyl ester in the spectrum will be examined for determining the conversion of methyl esters by following Eq. (5) [8]

$${\text{Conversion}} = \frac{{2A_{1} }}{{3A_{2} }} \times 100$$
(5)

where A1 is the integration of methoxy protons and A2 is the alpha-methylene protons of methyl esters,

Produced product biodiesel was evaluated by using ASTM standard methods and the comparison was made with ASTM D6751 standards. For each and every experiment, triplicate evaluation was carried out by utilizing the result obtained from reproducibility and further standard deviation was investigated.

3 Results and Discussion

3.1 Catalyst Characterization

3.1.1 SEM Analysis

The displayed Fig. 1a and b confirms the SEM image of Fe3O4 and Fe3O4/BaO, respectively. It was indicated that the observation identifies morphology of the calcined catalyst with and without magnetite. The magnetic particles which are formed seem to be agglomerated possessing larger surface area due to lesser attraction between the particles. It shows that the particles are being smaller and possess regular arrangement, which revealed that the magnetic particle has lesser agglomeration. On impregnating barium oxide over the magnetite particle, increasing in surface area was well observed and seems to form a different structure, where the barium oxide particle was strongly dispersed over the surface of magnetite.

Fig. 1
figure 1

a SEM image of Fe3O4. b SEM image of Fe3O4/BaO

3.1.2 FTIR Analysis

The presence of functional groups of the synthesized nano-catalyst was quantitatively analyzed by identifying the presence of peaks through FTIR analyzer (Fig. 2). It was identified that the characteristic of metal oxide seems to be adsorbed strongly showing the vibration band tending to be tetrahedral and octahedral stretching at a range of 550 and 650 cm−1, respectively [25]. The presence of BaO was observed in the peak at 1620 cm−1 which is attributed toward the stronger position of magnetite. The adsorption of water molecule over the surface of the nano-catalyst was observed in the peak range of 3390 cm−1 which is due to O–H stretching in the nano-catalyst [3, 26].

Fig. 2
figure 2

FTIR spectrum of Fe3O4/BaO

3.1.3 XRD Analysis

The X-ray diffraction pattern was observed for Fe3O4/BaO, showing that the barium oxide was covered strongly over the surface of the magnetite. The peak value that corresponds to 2θ range for barium oxide was (17.21°, 30.35°, 43.45°, 54.21° and 68.23°) found to possess the centered position of the nano-catalyst. The presence of iron oxide exhibits inverse spinal structure which is well observed at 38.39º and 60.47° (Fig. 3). The similar result was observed showing strong and sharp peaks for the presence of iron oxide at 2θ (30.2°, 35.6°,43.7°,57.3° and 6.2.9°) [27]. The magnetite core is confined and is not affected by adherence of barium oxide on to the surface. The pattern shows that Fe3O4/BaO withstands longer retention holing spinal structure during the barium coating process. The structure is sustained well, showing that the particle size of nano-catalyst is generally in the form of nano-dimension which is obtained through Debye–Scherrer’s relation and found to be in the range of 20–80 nm.

Fig. 3
figure 3

XRD spectrum of Fe3O4/BaO

The ability of the catalyst to undergo dispersion in micro-level during the reaction enables to distribute the reactant particles and found that the magnetite particles were well distributed in the reaction showing tapered form holding 95% of the particles in the range between 20 and 80 nm and Fe3O4/BaO exhibit wide distribution of particle in the range between 20 and 100 nm.

The synthesized catalyst was analyzed for determining the magnetic property through VSM. The identification of the magnetic behavior of the catalyst was examined by hysteresis curve. It was examined that the strength of ferromagnetic property was lower at initial stage, which in turn lowers the saturation magnetization value and upon increasing the temperature the ferromagnetic strength gets stronger inducing higher value of saturation magnetization. The saturation magnetization for Fe3O4 and Fe3O4/BaO was found to be 35 emu g−1 and 15 emu g−1. Comparatively, the magnetite doped with BaO induces higher saturation magnetization value toward magnetite-doped cesium oxide and calcium oxide doped with magnetite coupled silicon dioxide [3, 22]. It was observed that the difference in saturation magnetization was due to thermal treatment toward synthesizing the catalyst as well as with respect to the particle interaction between the core magnetite and barium oxide. The magnetic property of the magnetite core was not affected due to impregnation of BaO, which could possibly enhance the catalytic property during the transesterification reaction [28]. But the difference is value of saturation magnetization that depends on the magnetic strength of the fresh magnetic nano-catalyst and the reused catalyst was observed. During the washing and leaching process, the active sites of the catalyst may lead to decrease which in turn reduces the magnetic strength. It is also observed that the portion of barium oxide is adsorbed over the magnetite. The magnetic property of the catalyst provides a narrow size distribution of the particles holding strong superparamagnetic behavior. This provides the path way to get the magnetic particles to be strongly agglomerated.

3.2 Characterization of Extracted Fat

A 35.5 wt% dried fat was produced from tannery sludge. The raw fat was solid at room temperature, appearing to be pale yellow. In Table 1, various properties of the fat are listed. The iodine value of the fat was found to be 42 g I2 100 g−1 indicating that this fat falls under the category of drying oil which can be easily solidifies at 27 ºC. It is confirmed that iodine value is typically based on the degree of unsaturation in the fatty acid molecule which founds to be lower than other edible and non-edible oils possessing good oxidative stability [29]. The acid value is found to be lower and indicates that the FFA content is 2.26%, which confirms that the extracted raw material tannery sludge is well suitable for producing biodiesel using Fe3O4/BaO [24].

Table 1 Physiochemical properties of fat extracted from tannery sludge

The fatty acid profile for the extracted tannery sludge was examined through GC analysis. In Table 2, the presence of various fatty acids of the fat is listed. The determination of saturated, mono-saturated and poly-saturated was calculated from the fatty acid profile list. It has been clearly identified that the fat contains 59.44% of saturated, 36.42% of mono-saturated and 3.44% poly-saturated fatty acids. From the various compositions of fatty acid, saturated fatty acid possesses higher value, which enhances the cetane numbers and calorific value as well as resists to oxidation and polymerization. The mass ratio of saturated to unsaturated was found to be 1.49, which promotes the biodiesel to solidify at cold climatic conditions due to low-temperature characteristics. From the fatty acid profile, average molecular weight of the fat was calculated and was found to be 859.8 g mol−1 showing higher level of saturated fatty acid.

Table 2 Fatty acid profile of fat extracted from tannery sludge

3.3 Optimization of Biodiesel

3.3.1 Effect of Methanol to oil Molar Ratio

It is one of the most influencing parameters, which affects the conversion of biodiesel during the transesterification process. Many researches proved that the reaction is carried out above the stoichiometric limit of utilizing methanol with oil, which will enhance the rate of diffusion between the reactants thereby increasing the yield by shifting the equilibrium reaction toward forward reaction. Here, the optimization of biodiesel yield was examined by varying the methanol-to-oil molar ratio from 5:1 to 20:1 during the reaction. Increasing the methanol-to-oil molar ratio increases the biodiesel production yield. It has been identified that the reaction starts slowly at 5:1 molar ratio providing a yield of 58 wt% and continuously increases to 76 wt% at 18:1 methanol to oil molar ratio (Fig. 4a). Further, increase in the addition of methanol during the reaction leads to solubility factor (excess methanol tends to completely dissolve with glycerol, which restricts the further progression of the reaction, that makes very difficult for separating the product and by-product) [30], which makes difficult during separation of by-product as well as tends to reverse the reaction. Apparently increasing the concentration of methanol, above 18:1 molar ratio during the reaction will tend to reduce the yield of biodiesel slightly [31]. Thus, the optimum methanol-to-oil molar ratio was found to be 18:1 which is comparatively lower than by the use of magnetite-doped cesium oxide [3].

Fig. 4
figure 4

a. Effect of methanol to oil molar ratio (6 wt% catalyst, 60 °C, 240 min, 350 rpm). b. Effect of catalyst loading (60 °C, 18:1 methanol to oil molar ratio, 240 min, 350 rpm). c. Effect of temperature (8 wt% catalyst, 18:1 methanol to oil molar ratio, 240 min, 350 rpm). d. Effect of reaction time (8 wt% catalyst, 18:1 methanol to oil molar ratio, 65° C, 350 rpm). e. Effect of stirring rate (8 wt% catalyst, 18:1 methanol to oil molar ratio, 65 °C, 300 min)

3.3.2 Effect of Catalyst Loading

The most important aspect of biodiesel production is the catalyst loading. This parameter influences the biodiesel production at a considerable varying condition from 1 to 10 wt%. The conversion makes a valuable impact over the synthesized catalyst toward the economic aspects of reaction. The magnetic nano-catalyst provides higher catalytic activity which is due to distribution of magnetic field internally as well as externally upon the catalyst by the magnetons, which is developed through the addition of electric field in turn, induces the rate of conversion at a milder reaction condition. So, actually the rate of conversion starts to increase based on the addition of loading the catalyst, which induces the reaction to happen slowly. The optimum catalyst loading was found to be 8 wt%, significantly producing a yield of 80 wt% (Fig. 4b). When the amount of catalyst was further increased beyond the optimum range, tending to lower the activity of the reaction as well as reduces the mixing of methanol, oil and catalyst thereby initiating to phase separation. This confirms reaction greatly relays on the availability of active basic sites of the synthesized catalyst [32].

3.3.3 Effect of Reaction Temperature

Temperature is an influencing parameter toward the increase in biodiesel yield, which enhances the rate of reaction and conversion. While varying the reaction temperature from 40 to 80 °C during the transesterification reaction, fat tends to liquid form only above 40 °C as well as their seems reduction in viscosity of fat which will induce the miscibility of fat and methanol (Fig. 4c). The improvement in the yield of biodiesel increases while increasing the temperature molecules of the reactant tends to collide at a faster rate promoting toward the activation and attains the highest yield of 90% at 65 °C [33]. The reaction tends to speed up at high temperature provided with the formation of nucleation in turn vaporizing the methanol content and holding the reaction on the interfaces of the reactants, which in turn will reduce the percentage of conversion of biodiesel [22].

3.3.4 Effect of Reaction Time

During the transesterification process, reaction time was investigated by varying it from 30 to 330 min with the optimum catalyst amount of 8 wt%, methanol-to-oil molar ratio of 18:1 and reaction temperature of 65 °C. The increase in yield of biodiesel instantly takes place with respect to increase in the reaction time. This confirms that the mass transfer between the reactant and solubility increases slowly, holding longer reaction time to attain equilibrium (Fig. 4d). A reaction time of 300 min was observed as optimum for producing 97.6% yield of biodiesel. The further increase in reaction time will reverse the reaction because of the reversible nature [34]

3.3.5 Effect of Stirring Intensity

The influence of stirring intensity toward the reaction was investigated in order to observe the optimum range. The yield of biodiesel is found to be varied with respect to stirring rate (Fig. 4e). During the reaction, based on the stirring rate only mass transfer between the reactants increases, which is mainly because of the increase in contact area of the reactant as well as collision between the reactant enhances the conversion of biodiesel [35]. This also causes the reduction in viscosity and helps in forming a phase similar to homogeneous phase. The optimum range was found to be 450 rpm, producing a maximum yield of 98.1% and with further increasing the stirring speed reaction proceeds constantly without any considerable change [36].

3.4 Kinetic Study

The transesterification reaction was carried out by the fat extracted from tannery sludge and methyl alcohol with the utilization of heterogeneous solid catalyst, which occurs at moderate temperature and pressure for performing kinetic studies. It has been observed that the transesterification reaction is a three-phase system constituting fat, methanol and catalyst in turn the reaction is well limited and slows down due to mass transfer (diffusion takes place slowly during the course of the reaction, that is because of the immiscibility of fat with methanol) [37]. The difficult part of the reaction is that fat and methanol take longer time to get dissolved and enables a three-phase reaction mixture with catalyst. For the reaction to takes place, stoichiometry proportion was followed such that one mole of triglyceride requires three moles of methanol for producing three moles of fatty acid methyl ester and one mole of glycerol as shown in Eq. (6). Here, the reversible reaction takes place, consequently via three steps with the presence of limiting reactant triglyceride (TG) and excess reactant methyl alcohol (MeOH). The excess amount of methyl alcohol was utilized for the reaction in order to precede the reaction toward the right-hand side. The product methyl ester is formed in each step with the intermediates such as diglycerides (DG) and monoglycerides (MG) and finally with the by-product as glycerol (G). The pseudo-first reaction was followed due to the effect of single-step process in which the ester phase in the triglyceride was removed instantly with the addition of methyl alcohol. The assumptions followed in the kinetic studies were (i) intermediate products were kept negligible, (ii) overall reaction occurred in the limiting reactant side, (iii) The rate-limiting step controls the reaction to precede slowly to enhance the rate of conversion, i.e., reaction between triglyceride and methanol [38], (iv) esterification reaction was negligible due to lower concentration of free fatty acid and (v) the influence of the presence glycerides over the surface of the active sites of catalyst.

$${\text{TG}} + {\text{MeOH}} \to {\text{ME}} + {\text{DG}}$$
(6)
$${\text{DG}} + {\text{MeOH}} \to {\text{ME}} + {\text{MG}}$$
$${\text{MG}} + {\text{MeOH}} \to {\text{ME}} + G$$
$$- r = \frac{{ - d\left[ {{\text{TG}}} \right]}}{dt} = k\left[ {{\text{TG}}} \right]\left[ {{\text{MeOH}}} \right]^{3}$$
(7)
$$k^{\prime } = k\left[ {{\text{MeOH}}} \right]^{3} .$$
(8)

Equation (7) reduced to the form

$$- r = \frac{{ - d\left[ {{\text{TG}}} \right]}}{dt} = k^{\prime } \left[ {{\text{TG}}} \right]$$
(9)
$$- r = \frac{{ - d\left[ {{\text{TG}}} \right]}}{{\left[ {{\text{TG}}} \right]}} = k^{\prime } dt.$$
(10)

On integrating Eq. 10.

$$\ln \left[ {{\text{TG}}} \right]_{0} - \ln \left[ {{\text{TG}}} \right]_{1 } = k^{\prime } t$$
(11)
$$\frac{{\ln \left[ {{\text{TG}}} \right]_{0} - \ln \left[ {{\text{TG}}} \right]_{1} }}{t} = k^{\prime } .$$
(12)

Similarly, the mass balance for transesterification is given in Eq. 13.

$$\frac{{\left[ {{\text{TG}}} \right]}}{{\left[ {{\text{TG}}} \right]_{0} }} = 1 - X_{{{\text{ME}}}}$$
(13)
$$\left[ {{\text{TG}}} \right] = \left[ {{\text{TG}}} \right]_{0} \left[ {1 - X_{{{\text{ME}}}} } \right]$$
(14)
$$\frac{{dX_{{{\text{ME}}}} }}{dt} = k^{\prime } \left[ {1 - X_{{{\text{ME}}}} } \right]$$
(15)
$$\frac{{ - \ln \left[ {1 - X_{{{\text{ME}}}} } \right]}}{t} = k^{\prime } .$$
(16)

By following the kinetic model and with the experimental data, upon varying the time (t), the methyl ester concentration \(({X}_{ME}\)) was determined. Graphically, by plotting between \(-ln\left[1-{X}_{ME}\right]\) versus reaction temperature, rate constant k' was obtained under the optimum condition as shown in Table 3.

Table 3 Kinetics and thermodynamic constants

To derive the transesterification reaction, activation energy (Ea) is needed in order to enhance the requirement which is determined using the Arrhenius equation as shown in Eq. (17).

$$k^{\prime } = {\text{A e}}^{{\frac{{ - E_{a} }}{{{\text{RT}}}}}} .$$
(17)

Integrating Eq. (17),

$$\ln k^{\prime } = \ln A - \frac{{E_{a} }}{R} \times \frac{1}{T}$$
(18)

where A is the pre-exponential factor(s−1), Ea is the activation energy (kJ mol−1)(s−1), R is the universal gas constant (J mol−1 K−1), T is the absolute temperature (K), and \({k}^{^{\prime}}\) is the reaction rate constant (s−1). The Arrhenius parameter such as activation energy and pre-exponential values are obtained through plotting a graph between \(ln{k}^{^{\prime}}\) vs (1/T) and found to be 46.64 kJ mol−1 and 21.3 × 103 min−1, respectively. This pre-exponential factor is utilized to determine the collision between the oil, methanol and catalyst upon continuous stirring. From the aforementioned data, it is confirmed that the transesterification process follows pseudo-first-order reaction, which is compared with the result obtained from the proposed kinetic studies of the work carried out in the other literature [22, 39].

3.5 Characterization of Biodiesel

3.5.1 H1 NMR Analysis

The characteristic peaks analyzed in H1 NMR identify and confirm the existence of saturated and unsaturated fatty acids in the fat extracted tannery sludge [7]. Based on the presence of weight percentage of saturated and unsaturated fatty acids, the α- carbonyl hydrogen double band, β-carbonyl hydrogen single band, methyl protons singlets were observed. The conversion of fat from tannery sludge to biodiesel is found to be 98.8 wt%, but the yield of biodiesel obtained was lower than the conversion efficiency which might be because of the separation process [3].

3.5.2 Fuel Properties

The fuel properties of biodiesel obtained from tannery sludge through the treatment process under the optimum reaction conditions were found to be with the applicable range of ASTM D6751 as shown in Table 4. The biodiesel obtained through this study generated high quality as per the standard properties, especially kinematic viscosity, density, acid number, flash point, water content, cetane number, cloud point and sulfated ash. These values were compared with other reported studies [3, 8]

Table 4 Fuel properties of biodiesel

3.6 Catalyst Reusability

The reusability of catalyst was investigated by utilizing it in the transesterification reaction under various cycles. It is one of the influencing parameters which reduces the economic burden in large-scale process. The determination of the reusability catalyst is examined as per its optimum reaction conditions. After completion of the reaction, the catalyst was recovered through washing with alcoholic solvents includes hexane and methanol to remove the deposited particles from the catalyst surface. Then after, the recovered catalyst was dried in an oven for 3 h at 110 °C in order to reuse for the next cycle of reaction. The similar procedure was followed for nine cycles as reported and found there was not much reduction in yield of biodiesel until the seventh cycle and 86 wt% recovery of catalyst was recovered (Fig. 5). Above the seventh cycle, the activity of the catalyst lowers, which was due to the reduction of active sites from the surface of the catalyst, during washing the pores are blocked at a regular interval by the reactant and product. This will be attributed to increase the reaction temperature and pressure and also enhance the viscosity of oil which in turn lowers the quality of biodiesel [40].

Fig. 5
figure 5

Reusability of the catalyst (Fe3O4/BaO)

4 Conclusion

The nano-catalysts (Fe3O4/BaO) were synthesized for the production of biodiesel from the tannery sludge. The magnetite was synthesized through co-precipitation method and through the impregnation of barium oxide with magnetite. The prepared nano-catalyst was investigated for identifying the morphology behavior through different characterizations via SEM, XRD, VSM and FTIR.

The highest yield of 97.6 wt% was obtained indicating excellent performance by the catalyst for producing biodiesel under optimum conditions. The obtained results represented the best operational condition during transesterification reaction with methanol/oil molar ratio of 18:1, catalyst loading of 8 wt%, reaction temperature of 65 °C, reaction time of 300 min and stirring rate of 450 rpm. The catalyst was recovered using an external magnet and resulted that this catalyst can be reused with minor loss in catalytic activity.

The kinetic studies were carried out for determining the rate constant to identify the rate of reaction and show that it follows pseudo-first-order kinetics. The rate constant for different temperatures was calculated to be 5.9 × 10–3 min−1, 8.02 × 10–3 min−1, 1.12 × 10–2 min−1 and 1.24 × 10–2 min−1 at 323 K, 328 K, 333 K and 338 K as well as the activation and frequency factor were found to be 46.64 kJ mol−1 and 21.3 × 103 min−1. The fuel properties of obtained biodiesel were tested and found to in accordance with the ASTM standards.