Introduction

The process of transforming a bulk metal into a component or part is known as metalworking. High pressure, high temperatures, and significant friction and tool wear are all factors in metalworking operations1. Due to various rising manufacturing costs, today’s designers and manufacturers are shifting away from traditional cooling systems and towards new cooling systems.

In the machinery and manufacturing sectors, metalworking fluids (MWFs), also known as metal cutting fluids (MCFs), are frequently used for cooling, lubrication, surface cleaning, rust prevention, flushes out chips to minimize the negative impacts of heat generated during machining, enhance workpiece surface quality, and extend tool life2,3,4,5,6,7,8.

Generally speaking, MCFs are produced by blending oil in water with the proper emulsifiers. Water and emulsifiable oils (soluble oils) combine to form milky emulsions. One of the soluble oils’ most important characteristics is how quickly and easily they can form stable emulsions. Such a fluid has the distinct advantage of combining the cooling properties of water and the lubricating properties of oil. Generally, the components of soluble oils are quite complex because they serve as stabilizing and coupling agents for two or more emulsifiers, rust inhibitors, lubricity-enhancing additives, and antibacterial defenses9,10. Emulsifying agents reduce interfacial tension, allowing smaller oil droplets to form in water with the same energy input. To enhance the interaction between the lipophilic components of the emulsifier and the oil, a coupler was added. In order to control or reduce the growth of microorganisms like bacteria, algae, and fungi, biocides are incorporated into the formulations of metalworking fluids. Corrosion inhibitors may be present in metalworking fluids to create a protective layer on machine parts and work-piece surfaces11. For a formulation of stable emulsifiable oils that lasts for a long time, the components must work in harmony. Low biodegradability of mineral oil results in environmental pollution1. The main adverse effect is due to improper usage, which causes air pollution, soil contamination, surface and groundwater contamination, and, as a result, contaminated agricultural products and food. Scientists and tribologists are currently looking into different substitutes for petroleum-based MWFs to address these problems. Vegetable oil-based MWFs are one example of such alternatives. Due to their greater environmental friendliness, renewable nature, lack of toxicity, and ease of biodegradation, vegetable oils are typically preferred to petroleum-based oils12,13. A new generation of cutting fluids with high machining performance and favorable environmental compatibility may also be developed with the use of vegetable oils and nontoxic additives14,15,16.

It is widely acknowledged from empirical evidence that machining operations are facilitated by supplying specific fluids to the area of the tool to work-piece contact. In fact, cutting fluids are used in the majority of real-world machining scenarios to extend tool life by limiting tool wear, lowering cutting resistance, offering a fine surface finish, and enhancing machining precision. The lubricating action of cutting fluids is due to the reduced shear stress over the entire chip-tool contact area because of the formation of a boundary lubrication layer prevents metallic contact between the chip and the tool. Cutting fluids application caused a steeper interfacial shear stress gradient, which reduced friction at the rake face and reduced chip curl radius. Cutting fluids shortens the distance between the chip and the tool in order to reduce the frictional force on the rake face5.

The main objective of this research is to prepare two different types of surfactants: three nonionic monomeric emulsifies, three gemini nonionic emulsifiers, and one cationic surfactant used as a corrosion inhibitor and biocide in the cutting oil formulas. The role of the prepared emulsifiers was investigated to evaluate the stability of the cutting fluid formulations. Then, investigate how metal-cutting fluid additives interact synergistically to produce high emulsion stability, wettability, anti-corrosion properties, and low friction coefficient as well as compare the data with the commercial ones.

Materials and methods

Materials

P-Hydroxy benzene sulfonic acid, dodecanoyl chloride, phosphorus pentachloride, triethylamine, 1,2 dibromoethane, and polyethylene glycol, PEG (200, 400, and 600), were supplied from Sigma Aldrich. All other chemicals were of a technical grade and were used as they were given. The physicochemical characteristics of castor oil are present in a former research paper7. The aqueous phase used to prepare MCFs is fresh tap water.

Preparation of monomeric and gemini nonionic emulsifiers

Preparation of 4-(dodecanoyloxy) benzene sulfonic acid

The synthesis of 4-(dodecanoyloxy) benzene sulfonic acid and the chemical structure confirmed by spectroscopic analysis was previously described17,18.

Preparation of 4-(chlorosulfonyl) phenyl dodecanoate

4-(dodecanoyloxy) benzene sulfonic acid (0.01 mol) was refluxed with phosphorus pentachloride (0.012 mol) in xylene for 4 h. The solvent was removed by distillation, and the resulting 4-(chlorosulfonyl) phenyl dodecanoate was dried under vacuum19,20.

Preparation of polyoxyethylene dodecanoyloxy benzene sulfonates (monomeric nonionic emulsifiers)

In the presence of dioxane, as solvent, 0.01 mol of 4-(chlorosulfonyl) phenyl dodecanoate was mixed with PEG with different molecular weights (200, 400, and 600). To the reaction mixture, a few drops of pyridine were added. After 2 h of stirring, the reaction was distilled and then purified by washing with diethyl ether17,18. Then 3 nonionic surfactants were obtained, EA, EB, and EC for that with PEG 200, PEG 400, and PEG 600, respectively.

Preparation of gemini nonionic emulsifiers

0.02 mol of Polyoxyethylene dodecanoyloxy benzenesulfonates (EA, EB, and EC) and 1,2 dibromoethane (0.01 mol) were combined in a round bottom flask with dioxane serving as the reaction’s solvent and sodium metal acting as the catalyst for 4 h21,22,23. Then vacuum distillation of the solvent was done, followed by diethyl ether washing to get the three nonionic gemini surfactants, GEA, GEB, and GEC. Figure 1 clearly illustrates the route for preparing nonionic gemini surfactants.

Figure 1
figure 1

Preparation of the Monomeric, Gemini Nonionic Emulsifiers, and Cationic surfactant.

Preparation of gemini cationic surfactant

Preparation of 4-((3-(dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate

To a round bottom flask containing 3-(dimethylamino) propan-1-ol (0.01) and THF as the solvent, 0.01% 4-(chlorosulfonyl) phenyl dodecanoate was added drop by drop. Some drops of pyridine were added to the reaction mixture. The reaction was stirred for 2 h, after which the solvent was distilled and the product was washed with diethyl ether to prepare 4-((3-(dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate17,21.

Preparation of N1,N2-bis(3-(((4-(dodecanoyloxy)phenyl)sulfonyl)oxy)propyl)-N1,N1,N2,N2-tetramethylethane-1,2-diaminium bromide

4-((3-(Dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate was quaternized with 1,2 dibromoethane in the presence of ethanol for 24 h. The dissolved solvent was distilled off under a vacuum. The produced surfactant was re-crystallized from ethanol after being rinsed twice with diethyl ether to get the gemini cationic surfactant (GCS)21,22,23. The route for preparing the cationic gemini surfactant is shown in clear detail in Fig. 1.

Antimicrobial activity of gemini cationic surfactant

The agar-well diffusion method was utilized to estimate the antimicrobial activity of the tested compound GCS24,25,26.

Preparation of the cutting oil formulas

The cutting oil package was first created by combining the prepared emulsifiers or benchmark emulsifier (Tween based surfactant T-85), corrosion inhibitor, biocide, lubricant, and coupling agent with castor oil (vegetable base oil). A series of trial-and-error experiments were conducted to attain the optimum cutting oil package stability. cutting oil package in this study contains castor oil, a variety of prepared emulsifiers (EA, EB, EC, GEA, GEB, GEC, and T-85), a prepared corrosion inhibitor and biocide (GCS), lubricant oil (oleic acid), and coupling agent (dodecyl alcohol). Table 1 demonstrates how various proportions of these components were used to enhance the stability of cutting oil formulations.

Table 1 The Trial Range of Emulsifiable Cutting Oil Formulations.

Assessment methods of cutting oil formulas

Hydrophile lipophile balance “HLB”

One of the factors that influence the choice of the best surfactants to use as emulsifying agents is the hydrophilic-lipophilic balance (HLB) within the molecule. The HLB value refers to the ratio of a surfactant molecule’s weight percentage of hydrophilic groups to that of lipophilic groups. On the HLB scale, which ranged from 0 to 20, the low end denoted an emulsifier that was significantly more soluble in oil than in water, while the high end denoted the opposite phenomenon. To put it another way, a low HLB value denotes a strong affinity for oil, whereas a high HLB value denotes a high water solubility. This means that while surfactants with HLB values of 3–8 stabilize W/O emulsion, those with HLB values of 9–12 stabilize O/W emulsion27,28.

The following formula can be used to determine the HLB27,29:

$$ {\text{HLB }} = {\text{ E}}/{5} $$

where E = stands for the percentage of ethylene oxide molecules in the molecules of the surfactant.

Stability of cutting oil formulations

In accordance with IP 311, the cutting oil package is put in a 100 ml covered glass test and stored at 50 °C as well as 0 °C for at least 15 h and no more than 20 h. The oil was immediately examined at the end of this period for any signs of turbidity, separation, or gelling. The blend that results in a homogeneous clear oil (with no gel formation or separation) was chosen for further study.

Preparation of oil in water emulsions and evaluating their emulsion stability

In 10 ml graduated standard measuring tubes, the formulated cutting oils (5, 10, and 15%) and tap water (95, 90, and 85%) were mixed, respectively, to form the emulsions. At 25 °C, the test tubes were shaken vigorously for a period of 2 min. After 24 h, the resulting emulsion was visually checked for stability (oil and/or cream separations) via the standard test method (IP 263). Only the emulsion that demonstrated exceptional emulsion stability (ml oil/ml cream = 0/0) was chosen for additional testing. An emulsion was deemed to “Pass” if the total separation (oil and/or cream) after standing 24 h was less than 0.1 ml.

Surface and interfacial tension measurements

The surface tension of the prepared mono and gemini nonionic emulsifiers and various formulations was measured using the pendant drop technique utilizing Theta optical tensiometer, Biolin Scientific Company, Finland at 25 °C (298 K). Also, the interfacial tension for castor oil containing the prepared emulsifiers and water was measured.

Contact angle or wettability evaluation

Theta optical tensiometer, Biolin Scientific Company, Finland, was used to measure the contact angle between various metals (Aluminum [Al], Carbon Steel [CS], and Tungsten Carbide [WC]) and the various Formulas at 25 °C (298 K).

Droplet size of dispersed castor oil

At 25 °C, the oil droplet size distribution of the prepared emulsions formulas was determined utilizing dynamic light scattering (Malvern Zetasizer ZS, Worcestershire, UK).

Photographic studies of the prepared cutting oil emulsions

At 25 °C (298 K), a ZEISS Axiolab 5 digital laboratory optical polarizing microscope equipped with a Leica MC190 HD microscope camera was used to conduct photographic microscopy studies on the prepared emulsions’ formulas. An emulsion droplet was spread and exanimated on a glass slide.

Corrosion test on iron chips

This test was conducted using the ASTM D4627-92 standard test method, putting 5 ml of metal cutting emulsion on 4 gm of cleaned cast iron chips on filter paper in a covered glass container. Benzene was used to clean the cast iron chips prior to use. After 24 h, the anti-rust effect could be seen visually. The degree of rust on the filter paper was used to gauge how well the substance prevented rust. The corrosion level was determined via a 0–10 scale. No rust is marked with a 10, one spot of rust was marked with a 9, two spots with an 8, some spots with a 7, many spots with a 6, and numerous spots with rust and stains were marked with a 530,31,32.

Tribology test

A tribology measuring cell connected to Physica MCR-502 controlled-stress rheometers was used to conduct tribological tests33,34,35. A ball-on-pyramid principle governs the setting of the tribology accessory36. A 6.35 mm diameter steel ball (1.4401 grade 100) rotating on three steel plates (1.4301) at a 45° angle is used in the cell. The evolution of the friction coefficient with the sliding distance was tested for normal load 10 and 900 s at 25 °C.

Result and discussion

Chemical structure’s elucidation

The prepared compounds’ structures were verified using FT-IR and NMR spectra. The first step for preparing 4-(dodecanoyloxy) benzene sulfonic acid was elucidated in a former research paper18.

Confirmation of the chemical structure of the prepared 4-(chlorosulfonyl) phenyl dodecanoate

Figure 2, shows FTIR peaks (νmax, cm−1) at 2919.3 & 2850.5 cm−1 for (CH3 & CH2 stretch), 1702.7 cm−1 (C=O), 1593.7 cm−1 (Ar C–C), 1432.6 cm−1 (Ar C=C), 1352.6 cm−1 (Cl–S=O asym. str.) and 1191.8 cm−1 (ClS=O sym. str.).

Figure 2
figure 2

FT-IR Spectra for the Prepared 4-(Chlorosulfonyl) Phenyl Dodecanoate.

Confirmation of the chemical structure of the prepared monomeric and gemini nonionic emulsifiers

  1. a)

    The chemical structure of polyoxyethylene 600 dodecanoyloxy benzene sulfonate (EC) was confirmed using FT-IR and 1HNMR.

Figure 3a, displays the appearance of some new characteristic bands in the FTIR spectra, OH stretch (broad band) at 3407.02 cm−1, ethereal band C–O–C asym. stretch at 1109.0 cm−1, S=O asym. stretch at 1352.5 cm−1 and S=O sym. stretch at 1249.7 cm−1.

Figure 3
figure 3

FT-IR Spectra for the Prepared (a) Monomeric Nonionic Emulsifier (EC) and (b) Gemini Nonionic emulsifier (GEC).

Figure 4 demonstrates the 1H-NMR of [EC]. Peaks assignment can be collected as follows: (a) δ = 0.80 due to the proton of –CH3; (b) δ = 1.18 for –(CH2)8– ; (c) δ = 1.49 for CH2CH2COOR; (d) δ = 2.20 for CH2CH2COOR; (e) = 3.52 for –OCH2CH2OCH2CH2OH; (f) δ = 3.70 for –OCH2CH2OCH2CH2OH; (g) δ = 4.06 for –SO3CH2CH2–; (h) δ = 4.98 for –OCH2CH2OCH2CH2OH; (h) δ = 7.10—8.04 for different protons of the benzene ring.

Figure 4
figure 4

1H NMR Spectra for the Prepared Monomeric Nonionic Emulsifier (EC).

  1. b)

    The chemical structure of Gemini polyoxyethylene 600 dodecanoyloxy benzene sulfonate (GEC) was confirmed by FT-IR and 13C NMR.

The FT-IR of Gemini nonionic surfactant (GEC) as a representative sample is obvious in Fig. 3b. It clears the disappearance of the broad band of hydroxyl group of the PEG which confirms the formation of the Gemini surfactant.

The peak assignment of 13C-NMR (Fig. 5) can be collected as follows: (a) δ at 13.8 ppm for –CH2CH3 protons, (b) δ at 22.4 ppm for CH3CH2(CH2)n, (c) δ at 31.7 ppm for CH3–CH2 CH2(CH2)n, (d) δ at 29.4 ppm for CH3–CH2(CH2)n, (e) δ at 24.6 ppm for –CH2–CH2–COO–, (f) δ at 33.7 ppm for –CH2CH2–COO–, (g) δ at 173.5 ppm for –CH2COO–, (h) δ at 158.3 ppm for –COO–C=CH–, (i) δ at 124.5 ppm for –COO–C=CH–, (j) δ at 135.4 ppm for –O3S–C=CH–, (k) δ at 143.9 ppm for –O3S–C=CH–, (l) δ at 63.1 ppm for –O2SO–CH2CH2O–, (m) δ at 65.8 ppm for –O2SO–CH2CH2O (n) δ at 70.3 ppm for –O2SO–(CH2CH2O)n–.

Figure 5
figure 5

13C NMR Spectra for the Prepared Gemini Nonionic Surfactant (GEC).

Confirmation of the chemical structure of the prepared gemini cationic surfactant

  1. a)

    The chemical structure of 4-((3-(dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate was elucidated utilizing FT-IR and 1HNMR.

Figure 6 depicts the FT-IR of 4-((3-(dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate. The characteristic bands are S=O asym. stretch at 1405.1 cm−1 and S=O sym. stretch at 1241.3 cm−1 indicating the presence of the sulphonate group “–SO3–”.

Figure 6
figure 6

FT-IR Spectra for 4-((3-(Dimethyl Amino) Propoxy) Sulfonyl) Phenyl Dodecanoate.

1H NMR of the prepared 4-((3-(dimethyl amino) propoxy) sulfonyl) phenyl dodecanoate was performed to confirm its structure as shown in Fig. 7. From this figure: peaks can be gathered as follows: (a) δ at 0.78 ppm for –CH2–CH3 protons, (b) δ at 1.16 ppm for (CH2)8, (c) δ at 1.40 ppm for –CH2–CH2–COO, (d) δ at 2.73 ppm for –CH2–CH2–COO, (e) δ at 2.05 ppm for –CH2–CH2–CH2–N–(CH3)2, (f) δ at 1.65 ppm for –CH2–CH2–CH2–N–(CH3)2, (g) δ at 3.4 ppm for –CH2–CH2–CH2–N–(CH3)2, (h) δ at 2.48 ppm for –CH2–CH2–N–(CH3)2 and (i) δ at 7.26–7.48 for various benzene ring protons.

Figure 7
figure 7

1H NMR Spectra for 4-((3-(Dimethyl Amino) Propoxy) Sulfonyl) Phenyl Dodecanoate.

Figure 8
figure 8

1H NMR Spectra for the Prepared Gemini Cationic Surfactant (GCS).

  1. b)

    The chemical structure of Gemini cationic surfactant (GCS) was confirmed using 1H NMR. The 1H NMR’s peaks assignments in Fig. 8 for GCS can be gathered as follows:

δ at 0.78 ppm for –CH2–CH3 protons, (b) δ at 1.17 ppm for (CH2)n, (c) δ at 1.4 ppm for –CH2–CH2–CH2–COO, (d) δ at 1.7 ppm for –CH2–CH2–COO, (e) δ at 2.1 ppm for –O–CH2–CH2–CH2–N–(CH3)2, (f) δ at 2.23 ppm for –CH2–COO, (g) δ at 2.7 ppm for –CH2–CH2–N+–(CH3)2, (h) δ at 3.0 ppm for –CH2–CH2–N+–, (i) δ at 3.14 ppm for the spacer –CH2–CH2–N+–CH2–CH2–N+–, (j) δ = 3.45 for –SO3CH2CH2–, and (k) δ at 7.1–7.4 for phenyl ring protons.

Surface active properties of the prepared surfactants

Surface tension (γ)

Figure 9 exhibits the curve of surface tension (γ) versus the log concentration for the prepared mono- and gemini nonionic surfactants. These curves demonstrate that even at low concentrations of surfactants, their molecules can be adsorbed at the interface, causing a decrease in the surface tension of water37. Also, Fig. 9 illustrates a steep linear decline in surface tension as the concentration of surfactants increases up to the critical micelle concentration (CMC). Beyond the (CMC), surface tension remains constant even with further increases in surfactant concentration. This indicates that, beyond the CMC, additional surfactant concentration does not affect surface tension, as depicted in the Fig. 9. The observed reduction in surface tension is attributed to the formation of a monolayer by the surfactant adsorbed at the air/liquid interface. Consequently, there are no more spaces for adsorption at the interface beyond the CMC, and the surfactant molecules begin to aggregate into micelles38. The surface tension values for the prepared surfactants, EB, EC, GEB, and GEC decrease in the order of 32 > 30 > 28 > 27 mN/m respectively. Gemini surfactants exhibited a higher decrease in surface tension values than the corresponding monomeric surfactants; this might be attributed to increased hydrophobicity content.

Figure 9
figure 9

Variation of the Surface Tension with Concentrations of Prepared Surfactants in Distilled Water at 25 °C.

Critical micelle concentration (CMC)

Table 2 lists the critical micelle concentration (CMC) values determined from Fig. 9. The CMC values for the prepared mono- and gemini nonionic surfactants, EB, EC, GEB, and GEC decrease in the order 0.00169 > 0.00133 > 0.000829 > 0.000655 mol/L, respectively. This might be due to the oxyethylene content increased. Gemini surfactants exhibit lower CMC values than monomeric surfactants, which might be attributed to the duplication of oxyethylene units and hydrophobicity.

Table 2 Surface Active Properties of the Prepared Monomeric and Gemini Nonionic Surfactants at 25 °C.

Maximum surface pressure (πcmc)

Based on the information provided in Table 2, it appears that the maximum surface pressure (πcmc) is a measure of the surface activity of a surfactant at the critical micelle concentration (γcmc) compared to distilled water (γ0). Lower values of πcmc indicate lower surface activity, while higher values suggest greater surface activity39.

The table provided shows the surface pressure values for various monomeric and gemini nonionic surfactants. In general, the monomeric nonionic surfactants have lower surface pressure values than the gemini nonionic surfactants, indicating that they are less surface-active. Within each series (monomeric and gemini nonionic) of surfactant, The surface pressure values increase with values 40.3, 42.3, 44.3, and 45.3 for EB, EC, GEB, and GEC, respectively.

The statement that increasing surface pressure values indicate a higher collection of surfactant molecules at the interface suggests that surfactant molecules are adsorbing onto the surface and forming a monolayer. The higher the surface pressure, the more tightly packed the surfactant molecules are at the interface39.

Surface excess concentration (Γmax)

The surface excess concentration (Γmax) of surfactants at surface saturation is an important parameter that indicates the effectiveness of a surfactant’s adsorption at interfaces40,41. Table 2 presents data on Γmax for the prepared monomeric and gemini nonionic surfactants. For monomeric and gemini nonionic surfactants, the order of increasing Γmax is 1.55 × 10–10 < 1.48 × 10–10 < 1.16 × 10–10 < 1.11 × 10–10 mol/cm2 for EB, EC, GEB, and GEC, respectively. The data also reveal that gemini surfactants have lower Γmax values than comparable monomeric surfactants.

Minimum area per molecule (Amin)

Amin provides information about the packing and orientation of the adsorbed surfactant molecules. The data in Table 2 demonstrates that lower Γmax values lead to parallel coverage at the interface, resulting in higher Amin values42.

For the prepared monomeric and gemini nonionic surfactants, the order of increasing Amin values is as follows: 107.35 < 112.03 < 142.76 < 148.97 A°2/molecule for EB, EC, GEB, and GEC, respectively.

Free energy of micellization and adsorption

Table 2 reveals that both micellization and adsorption processes have negative free energy values (∆Gmic and ∆Gads), indicating that they are spontaneous. However, the ∆Gads value is higher in negativity than the ∆Gmic value, indicating that molecules tend to preferentially adsorb onto the interface. The prepared monomeric and gemini nonionic surfactants exhibit the following order of ∆Gmic values: (− 15.81 > − 16.40 > − 17.57 > 18.15 kJ/mol) for EB, EC, GEB, and GEC, respectively. The order of ∆Gads values is (− 18.41 > − 19.25 > − 21.38 > − 22.22 kJ/mol) for EB, EC, GEB, and GEC, respectively.

Interfacial tension (IFT) measurements

IFT was determined for monomeric and gemini nonionic surfactants at concentrations of 2.5, 5, 7.5, and 10% as shown in Fig. 10. According to the results, the IFT values of gemini surfactants are lower than the IFT values of monomeric surfactants. This might be attributed to an increase in the number of oxyethylene units and the length of the alkyl chain length. The IFT values decline as concentrations increase (Figure 10).

Figure 10
figure 10

Variation of the Interfacial Tension with Concentrations of Prepared Surfactants at 25 °C.

Table 3 The biocidal activity of the GCS toward Gram—positive bacteria, Gram—negative bacteria, Yeast and Fungi.

Antimicrobial activity of gemini cationic surfactant

Water is added to the cutting fluid formulations to aid in the cooling and lubrication of the cutting tools during machining operations. However, water can also serve as a source of microbial contamination, as it provides a suitable environment for the growth and proliferation of microorganisms. Microbial contamination of soluble metal cutting fluids can lead to a range of issues, including reduced tool life, poor surface finish, and adverse health effects for workers exposed to the contaminated fluids. Therefore, it is essential to monitor and control the microbial contamination of these fluids to ensure their safety and efficacy. One approach to controlling microbial contamination in soluble metal cutting fluids is through the use of biocides. Biocides are chemical agents that are added to the cutting fluid to inhibit the growth and proliferation of microorganisms43. Table 3 displays that GCS has a notable ability to inhibit all tested microbial strains, with inhibition zones (mm) ranging from 18 to 21 mm for all types of bacteria and 17 mm for fungi and yeast species. These values demonstrate a significant antimicrobial effect of the gemini compared to control values. The mechanism of action of cationic surfactants involves their positively charged head groups interacting with the negatively charged components of the cell membrane, such as the phosphate groups of phospholipids and lipopolysaccharides. The interaction prompts the surfactant molecules to accumulate at the surface of the cell, where they can penetrate the membrane and cause its disruption, resulting in cell death22.

Table 4 Oil package stability, emulsion stability and surface tension test of different metal Cutting Fluids Formulas.

Assessment methods of cutting oil formulas

The stability of the formulated oil package

A number of cutting oil formulas with varying concentrations of castor oil (non-edible vegetable oil), emulsifiers (prepared and benchmark emulsifiers), corrosion inhibitor, biocide, lubricant oil, and coupler were formulated as shown in Table 4. These formulations were created in order to investigate the effect of cutting oil ingredients on the stability of both the cutting oil package and the MCF emulsion. At 0 and 50 °C, the stability of the oil formulations was examined. The formula that produces a stable cutting oil package (free of gel formation, turbidity evidence, or separation) was chosen for additional investigations, as shown in Fig. 11. According to the preliminary findings shown in Table 4, in order to form stable cutting oil, the optimum percentages by volume of cutting oil ingredients are 82% castor oil, 8% emulsifier(prepared and benchmark emulsifiers), 3% corrosion inhibitor and biocide, 3% coupling agent and 4% lubricant oil (oiliness).

Figure 11
figure 11

Oil Stability for the Cutting Oil Package Containing Nonionic Emulsifiers (EA, EB and EC), Gemini Nonionic Emulsifiers (GEA, GEB and GEC) and Benchmark Emulsifier (T-85).

Emulsion stability of cutting oil formulas

For this purpose, eighteen cutting fluids were prepared by combining different water contents of 85, 90, and 95 wt% with various cutting oil concentrations of 15, 10, and 5 wt%, respectively, at 25 °C for 24 h. Seven emulsifiers EA (in Formula I), EB (in Formula II), EC (in Formula III), GEA (in Formula IV), GEB (in Formula V), GEC (in Formula VI), and T-85 (in Formula VII) were used to prepare these cutting fluid formulas.

The results presented in Table 2 and Fig. 12 demonstrate that Formula II, Formula V, and Formula VII exhibit good emulsion stability at the three concentrations (Nil/Nil (stable emulsion formed)). Whereas, Formula III and Formula VI give creaming layer separation. The thickness of this layer increases with an increase in oil package concentration. Formula I, on the other hand, is unable completely to produce an emulsion (− Ve (no emulsion formed)), whereas, Formula IV separates an oil layer, and this layer increases as oil content increases as lucid in Table 2 and Fig. 12.

Figure 12
figure 12

HLB values for the Prepared Monomeric, Gemini Nonionic Emulsifiers, Benchmark Emulsifier (T-65) and Emulsion Stability for the Cutting Oil Package Containing the Prepared Nonionic Emulsifiers and T-65.

Effect of hydrophile lipophile balance “HLB” of the prepared emulsifiers on emulsion stability

The kind of prepared emulsion is greatly influenced by the surfactant’s HLB value, making it a crucial variable in the emulsion preparation process. Accordingly, choosing an appropriate HLB value is necessary to create an emulsion with a particular set of properties27,28,29. Three mechanisms: creaming, flocculation, and coalescence, are generally thought to control the emulsion separation process7.

As can be seen in Fig. 12 and Table 2, for the three percentages of (oil package: water), without creaming layer separation, the best stability of O/W emulsions was obtained at HLB value of 10.5 for EB, 10.3 for GEB, and 11.0 for T-85, in Formulas II, V, and VII respectively. This could be attributed to the efficient partitioning of surfactant molecules between the water and oil, which helps to form a rigid interface film around the castor oil droplet. In turn, this results in a reduction of the interfacial tension between oil and water. Thus, the likelihood of castor oil droplets flocculating and coalescing was reduced7,44. Formula III and VI, on the other hand, were excluded because of the presence of a very thin creamy layer on the top. This may be because of the HLB value for EC (HLB = 12.3) and GEC (HLB = 12.15) used in Formula III and VI respectively. This might be because the minimal coalescence is occurring at a typical HLB value, specifically 12.0 for O/W emulsion in the investigated emulsions44,45. Also, Formulas I and IV with EA and GEA surfactants, respectively, will be excluded because they are unable to create an emulsion (HLB = 6.6 and 6.45 respectively). Since a low HLB number suggests a strong oil affinity. This means that surfactants with HLB values of 3–8 stabilize W/O emulsion and not O/W emulsion28.

From the emulsion stability test, only the soluble oil blends that demonstrated exceptional emulsion stability in terms of having no separated oil and no cream after 24 h were chosen for the subsequent tests. Hence, Formula II, Formula V, and Formula VII were then selected to undergo further tests. From an economic standpoint, the ratio of 95% water to 5% cutting oil was chosen to conduct the further tests because Formula II, Formula V, and Formula VII display outstanding emulsion stability at the three concentrations of water to cutting oil content (95, 90, and 85 wt%: 5, 10, and 15 wt%).

Surface tension of formulated metal cutting fluids

Emulsifying agents work to reduce surface tension, which makes it possible to generate smaller oil droplets in water using the same amount of energy. Additionally, emulsifiers inhibit or delay droplet flocculation and coalescence by creating an interfacial film around the dispersed phase oil droplets46. The boiling process, wetting behavior, and spray characteristics of fluid are all significantly influenced by surface tension47. Formula V (Surface Tension = 29.93 mN/m) has a lower surface tension value than Formula II and Formula VII (Surface Tension = 33.41 and 31.56 mN/m), as lucid in Table 4, which might be due to the solubilization effect.

Wettability of formulated metal cutting fluids

Lubrication of the tool’s and workpiece’s surface is primarily influenced by the wettability of MCFs48. Wettability is the term used to describe a liquid’s capacity to cover, encircle, and penetrate the cutting tool and workpiece. It also relates to how well a fluid performs when it comes to machining. The wetting ability of a liquid is an indication of its attraction to the solid surfaces49. The contact angle between a liquid droplet and a solid surface is what determines a fluid’s wettability. Typically, the surface tension of the fluid has a direct relationship with the wettability47,50. To simulate the carbon steel (CS) and aluminum (Al)-based workpiece, and also the tungsten carbide (WC) cutting tool material, the contact angle was measured for the emulsion formulations on these surfaces. Between tests, the sample surfaces were cleaned with ethanol and then dried. Figure 13 shows the wetting angles for water, commercial sample, Formula II, Formula V, and Formula VII cutting fluids formulas on the workpieces (Al and CS), and tool (WC). The contact angle values on CS, Al, and WC are 97.20, 84.71, and 76.25 °C for water; 24.38, 22.48 and 19.27 °C for the commercial sample; 34.79, 29.72 and 33.36 °C for Formula II; 26.60, 23.97 and 21.87 °C for Formula V, and 32.94, 27.24 and 29.87 °C for Formula VII respectively. According to Fig. 13, Formula V has higher wettability because it can wet the surface more thoroughly. This implies that Formula V has the best wettability on the workpiece and tool.

Figure 13
figure 13

Contact Angle of water, commercial sample, Formula II, Formula V and Formula VII on Different Metals: Carbon Steel (CS) and Aluminium (Al) as the Work Piece whereas, Tungestin Carbide (WC) as the cutting tool.

Droplet size and photographic studies of formulated cutting fluids

Figure 14 displays the emulsion’s droplet size for a commercial sample, Formula II, Formula V, and Formula VII. It is obvious that an oil–water emulsion forms with an oil droplet size of 116.2 nm, 74.3, and 91.95 nm when using Formula II, Formula V, and Formula VII respectively. It is worth noting that the droplet size of Formula V is smaller than that of Formula II and Formula VII. Formula V has a high propensity for adsorption because of its gemini emulsifier structure, which reduces vegetable oil droplet size and increases the intensity of the adsorptive film surrounding the oil droplet. As a result, a greater intensity of the surfactant film prevents oil droplet aggregation. Additionally, it can be seen that the droplet size of the Formula V is close to that of the commercial sample (58.7 nm). The dispersed oil droplets in the photographic images in Fig. 14 appear to be evenly distributed throughout the continuous water phase. It is important to note that the nano-size of the droplets is a factor in increasing the emulsion stability. This may be because of the consistency of the droplets which prevents creaming. Since, differences in droplet sizes may promote the Oswald ripening mechanism, which causes the droplets to ripen and then separate forming a creamy or oily layer51,52. Testing on surface tension, wettability, droplet size, and photographic image yields better results with Formula V and Formula VII. For this reason, Formula V and Formula VII were then selected to undergo further tests.

Figure 14
figure 14

Dynamic Light Scattering (DLS) and Photographic Microscopic Date for Oil in Water Emulsion utilizing (a) Commercial Sample, (b) Formula II, (c) Formula V and (d) Formula VII.

Corrosion inhibition effectiveness of formulated metal cutting fluids

Machine parts and workpieces will be harmed if MCFs used do not prevent corrosion formation. Cutting oil inhibits rust formation but does not cool as effectively as water. The best and least expensive coolant is water, but without rust inhibitors, it rusts parts. Rust inhibitors, which slow down rusting, are now a component of all chemical cutting fluids46,53. A new cationic corrosion inhibitor (GCS) has been synthesized in order to investigate the effect of corrosion inhibitors on rust formation during metal-cutting operations. The corrosion test was conducted for the cutting oil/water V/V percentages (5:95). According to the results of the corrosion test, Fig. 15, Formula V, Formula VII, and the commercial sample demonstrated good protection efficiency. The strong adsorption of the GCS to the metal surface through forming a protective film is likely the reason for protecting the machine parts and tool. The performance of Formula V is also significantly influenced by increasing the polyoxyethylene length for the emulsifier GEB, which improves the adsorption on the metal surface.

Figure 15
figure 15

Corrosion test for commercial sample, Formula V and Formula VII after 24 h.

Tribological properties of the formulated metal cutting fluids

Lubricants and cutting fluids are media that help machining operations. They primarily serve to lubricate and cool the area around the cutting zones. Area of contact, stress distribution factor, interfacial temperature, etc. are tribological factors that must be taken into account in a metal-cutting process4,5.

The friction coefficient, often known as the coefficient of friction, is a dimensionless quantity whose magnitude represents the relative ease of initiating or sustaining relative motion between two, typically solid, pressing bodies54.

Figure 16 displays the friction coefficient of the test specimens (commercial sample and Formula V) calculated from the frictional force of the specimens while sliding against sliding distance for a load of 10 N. It is intriguing to observe that friction typically shows a relatively large peak at short sliding distances. More frictional force may be the cause of this. In contrast, as the sliding distance increases, the friction coefficient decreases as a result of less friction between the ball and the test specimen plates55,56.

Figure 16
figure 16

Variation of Friction factor (μ) with Sliding Distance (S) for the Commercial Sample and Formula V under the Applied Load 10 N.

Based on the data collected, it was determined that Formula V gave the workpiece the desired surface quality while reducing friction and limiting tool wear. This observation can be explained by the fluid film boundary that forms between the ball and the three plates. In light of this, the heat generated during sliding and collision stimulates chemical reactions between the nascent surfaces and the MCF, resulting in the formation of a lubricating film4,5.

The chemical composition of the surfactants and vegetable oil used had an impact on the adhesion strength of the formed film to the metal substrate as well as the film thickness. At a given load and speed, the film’s thickness and adherence increase, which depresses the coefficient of friction (μ)57.

Conclusion

MCFs were utilized in metalworking machines for a number of purposes, including extending the life of the tools, lowering the thermal deformation of the workpiece, flushing away chips from the cutting zone, and enhancing surface quality. Based on six emulsifiers, six cutting oil formulations were created. The following tests were used to evaluate the cutting oil’s performance: emulsion stability test, corrosion inhibition test, surface tension, contact angle, tribological Properties test, and biodegradability test. The following conclusion is reached as a result of all the evaluated tests:

  1. 1.

    The optimum percentages by volume of cutting oil ingredients are 82% castor oil, 8% emulsifier, 3% corrosion inhibitor, and biocide, 3% coupling agent, and 4% lubricant oil (oiliness).

  2. 2.

    The 15/85, 10/90, and 5/95 oil/water ratios were used to test the stability of the emulsion.

  3. 3.

    Formulas II and V produced stable emulsions at all oil/ water ratios.

  4. 4.

    Economically, the oil/water (5/95) ratio was selected for further investigations.

  5. 5.

    Formula V has good wettability, anti-wear, and surface tension values.

  6. 6.

    The surface active properties, HLB, and synergistic effect of the ingredients all have a significant impact on the performance of the new cutting fluid emulsion.

  7. 7.

    The prepared emulsifier findings were comparable to the benchmark emulsifier data.

  8. 8.

    By contrasting the outcomes of the prepared Formula V with a commercial sample, it was found that the prepared Formula V was comparable to the commercial sample.