Effect of ionic liquid as a surfactant in hydroxyapatite coatings for improvement corrosion resistance of Ti-6Al-4V substrates for implant applications Authors: Meysam Safari-Gezaz, Mojtaba Parhizkar Published: 2024 ABSTRACT AbstractResearch on hydroxyapatite (HAP) coatings for bone tissue applications has been investigated for decades due to their significant osteoconductive and bioactivity properties. HAP closely resembles the mineral component of human bone, making it ideal for biomedical applications such as implants. This study investigates the synthesis of hydroxyapatite nanoparticles (HAP-NPs) via the microemulsion method, which is essential for creating HAP coatings on the Ti-6Al-4V substrate. A variety of surfactants, including ionic liquid (IL; 2-hydroxyethyl ammonium octanoate ([HEA]OC)) and sodium lauryl sulfate (SLS), were employed to control the nucleation and crystal growth of HAP-NPs. The synthesized nanoparticles were dispersed in isopropanol and applied to the Ti-6Al-4V using the spin coating technique for creating HAP coatings. The samples were characterized using techniques such as FTIR, HNMR, XRD, FESEM, EDS, and AFM. Tafel and Electrochemical impedance spectroscopy (EIS) analyses were used to evaluate the corrosion resistance of the coatings in a simulated body fluid (SBF). The use of IL as a surfactant led to a significant reduction in nanoparticle size from 37.32 nm to 24.80 nm, which is critical for enhancing the coating's properties. Surface roughness decreased dramatically from 84.28 nm to 12.48 nm, indicating a smoother coating that can improve the adhesion strength of coatings. Electrochemical tests demonstrated improved corrosion resistance of coatings, with the charge transfer resistance (Rct) for the HAP-0.4 IL coating reaching 7.84 MΩ × cm2, compared to 0.11 MΩ × cm2 for the bare Ti-6Al-4V. [HEA]OC as a surfactant improved the protective quality and uniformity of the HAP-IL coatings and reduced the surface roughness. These results indicate that modifying the surface of Ti-6Al-4V with HAP-IL coatings is a promising approach for enhancing its performance in biomedical applications.Keywords: Hydroxyapatite, Corrosion, Microemulsion, Ionic liquid, SBF Introduction Hydroxyapatite (HAP) is a significant inorganic component and a calcium phosphate-based material. It is commonly used in biomedical materials to restore damaged teeth and bones due to its exceptional features like bioactivity, biocompatibility, bone integration, non-toxicity, and osteo-reconstruction conductivity [[1], [2], [3]]. Furthermore, HAP is extensively utilized in multiple applications, including bone tissue engineering, slowing down cancer cell growth, purifying water, medical implants, drug delivery, ion conductors, and gas sensors [[4], [5], [6]]. A unique feature of HAP lies in its adaptability to adjust its structure in response to the surrounding environment, enabling seamless integration with natural tissues and enhancing the healing process [[7], [8], [9]]. Among the widely used metal biomaterials in medicine, titanium alloys play a prominent role [10]. To improve the biocompatibility of titanium alloys, biocompatible coatings are increasingly applied to enhance their biological properties [11]. One effective method involves the application of a hydroxyapatite coating to improve the surface properties of titanium implants, utilizing techniques like electrophoretic deposition, the sol-gel method, and vapour deposition [12,13]. The synthesis of HAP-NPs can be conducted through various methods such as sol-gel [14,15], co-precipitation [16,17], mechanochemical [18], hydrothermal method [19,20], ultrasonic irradiation [21], microwave-assisted irradiation [22]. While these methods may present challenges like irregular particle size distribution and non-uniform morphology, the microemulsion (ME) approach has emerged as a favorable option for HAP-NP synthesis [[23], [24], [25]]. The main advantages of this method could be simplicity, morphology control, higher thermodynamic stability, narrow size distribution, cost-effectiveness, and anti-aggregation [26,27]. Also, this approach provides better crystallinity without requiring extremely high temperatures. The microemulsion system is a solution containing a surfactant, a nonpolar phase (typically oil), and a polar phase (typically water) that is optically transparent and thermodynamically stable [[28], [29], [30]]. This method allows for precise control over nanoparticle size and morphology through adjustments in fundamental factors like surfactant concentration and the water-to-oil ratio [31]. Ionic liquids as surfactants and green solvents are organic electrolytes with special features that include high solvation capacity, non-flammability, high thermal stability, low melting points, high viscosity, etc. [32,33]. These organic electrolytes have a variety of applications, including the synthesis of crystalline nanostructured materials, biology, catalysts, supercapacitors, and electrochemistry [[34], [35], [36]]. The synthesis of ionic liquids has seen significant growth, utilizing biocompatible combinations such as carboxylic acids, glucose, and amino acids [37]. Monoethanolamine is commonly employed as the cationic component in biocompatible ionic liquids due to its biodegradability, affordability, and water solubility. The use of this organic chemical composition has enabled the preparation of biocompatible ionic liquids to be more cost-effective and led to the development of combinations with low toxicity and high biocompatibility [38]. ILs display considerable benefits as surfactants in HAP structures, thereby augmenting their functionality and potential for application. Their specific properties facilitate enhanced solubilization and catalytic efficiency, rendering them advantageous in a range of chemical processes. The advancement of environmentally friendly methods utilizing ILs could reduce toxicity and enhance the sustainability of HAP coatings manufacturing [39]. 2-hydroxyethyl ammonium octanoate ([HEA]OC) is a widely used IL in catalysis, electrochemistry, biomedicine, etc. [HEA]OC has considerable benefits, especially due to its biodegradable and non-toxic characteristics. This compound is an IL known for its low toxicity and high biodegradability, making it suitable for various applications with minimal environmental impact [40]. The synthesis of tris(2-hydroxyethyl)ammonium salts has demonstrated low toxicity, validating their pharmacological applications [41]. In our experimental study, spherical-shaped HAP-NPs were synthesized using the microemulsion method. Anionic surfactants, namely 2-hydroxyethyl ammonium octanoate ([HEA]OC) and SLS were used, with different concentrations of [HEA]OC. Subsequently, the HAP-IL nanoparticles were dispersed, and coatings were prepared using the spin coating technique for biomedical applications. Notably, this ionic liquid has been used to prepare hydroxyapatite coatings for the first time, showing improved functional properties. Materials and methods Materials Monoethanolamine, octanoic acid, Ca(NO3)2.4H2O, P2O5, SLS, n-hexane, triethanolamine, ethanol, isopropanol, and ammonium hydroxide as a precipitating agent were purchased from Merck. These chemicals were used as purchased, without any further purification. During the experimental process, deionized water (DI) was used. SBF prepared in advance was utilized as the corrosion solution [42]. Synthesis of [HEA]OC The ionic liquid ([HEA]OC) with the cation 2-hydroxyethylammonium and the octanoate anion was synthesized through a straightforward acid-base neutralization process. For the synthesis of [HEA]OC, monoethanolamine was placed in a triple-necked glass flask equipped with a reflux condenser. The flask was mounted in an ice bath. The octanoic acid was added dropwise to the flask while being stirred with a magnetic stirrer. The stirring process was maintained at room temperature for 24 h to ensure the completion of the reaction. Fig. 1 shows the FT-IR and 1H NMR spectra for the synthesis of [HEA]OC. FTIR and 1H NMR spectra of the 2-hydroxyethyl ammonium octanoate. Preparation of HAP-NPs HAP-NPs were prepared using the microemulsion method with the following steps: [HEA]OC (at concentrations of 0.1, 0.2, and 0.4 M) was chosen as a surfactant, while SLS served as the co-surfactant, and n-hexane acted as the oil phase. These solutions were dissolved in 40 mL of DI water under vigorous stirring for 1 h at 37° C to form an oil phase. Solutions of 0.3 M P2O5 and 0.5 M Ca(NO3)2.4H2O, with a molar ratio of 1.67, were mixed for 2 h before being slowly added dropwise into the oil phase mixture. The solution was stirred vigorously for 2 h until a translucent solution was obtained. Subsequently, the pH of the mixture was adjusted to 10 by adding a 1.5M ammonia solution. After continuous stirring for 6 h, the suspension was left to age at room temperature for 24 h. The suspension was then filtered and washed five times with deionized water and ethanol. The resulting precipitates were dried at 120° C for 24 h in an oven. Then the powder was calcined at 600° C for 3 h and sintered at 1100° C for 3 h to achieve pure hydroxyapatite. Suspension preparation Suspensions of pure HAP and HAP-IL with different concentrations of IL were obtained utilizing isopropanol as the solvent and triethanolamine (TEA) as the dispersant agent, at a total particle concentration of 10 g/L. After incorporating the necessary quantities of TEA into isopropanol, the HAP nanoparticles were added and subjected to magnetic stirring for around 12 h. Subsequently, they were subjected to ultrasonic sonication for 30 min prior to the coating process. Substrate preparation The Ti-6Al-4V substrates were cut into pieces measuring 10 mm × 10 mm × 3 mm and then underwent polishing in varying sizes. Initially, the substrates underwent a thorough rinsing with deionized water, followed by a meticulous cleansing process involving ultrasound treatment in acetone and ethanol for 30 min. Subsequently, the substrates were carefully dried using air. Hydrofluoric acid (HF) was employed as an etching treatment for a duration of 15 min to eliminate the oxide and scum present on the substrate's surface. Finally, all the substrates underwent a meticulous rinse in deionized water and were subsequently dried in the oven. Preparation of coatings on the Ti-6Al-4V Considering all kinds of coating techniques, the spin-coating technique is the best for it produces homogeneous and uniform thin layers with great precision. Unlike dip coating, plasma, and spraying techniques, the centrifugal force in the spin coating technique is used to distribute the suspensions homogeneously on the surface of the substrate. This technique can achieve layer thickness from a few nanometers up to several microns with high reproducibility and uniformity [43]. The Ti-6Al-4V substrates were coated with prepared suspensions using the spin coating technique at room temperature, which applied centrifugal force to create a thin layer. The coatings were formed with centrifugal forces for 25 s at 2500 RPM and then sintered at 400 °C for 2 h. The heat treatment applied to the coated substrates has a significant influence on the characteristics of the coatings. Sintering HAP coatings at 375 °C–500 °C enhances adhesion between Ti-6Al-4V and the coating [44]. Characterization Synthesized samples were analyzed using Fourier transform infrared (FT-IR) and nuclear magnetic resonance (HNMR) spectroscopies (Bruker TENSOR 27, Bruker Avance 400 MHz, Germany, respectively). FTIR is used to identify functional groups and confirm the chemical composition of HAP-NPs, while HNMR offers insights into IL's molecular structure and dynamics. Phase identification and crystal structure analysis were conducted using X-ray diffraction (XRD) with a Siemens D500-Germany spectrometer equipped with Cu-Kα radiation. XRD is essential for evaluating the crystalline structure, and phase purity of HAP-NPs, which impact on their bioactivity and mechanical properties [45]. The average crystallite size of the samples was determined using the Debye-Scherrer equation as follows [46,47]: where λ is the wavelength of X-ray, β is their full width at half maximum in radians, and θ is the Bragg angle in degrees. Also, the hexagonal lattice parameters and the unit cell volume (V) of the obtained HAP powder were calculated using the following equations [15]: where a and c are the lattice constants and h, k, and l are the Miller indexes. The field emission scanning electron microscope (FESEM; Can Scan-Tescan MIRA3 FEG, check) was utilized to examine the surface morphology of the coatings, while energy-dispersive X-ray spectroscopy (EDS) was employed for elemental analysis. FESEM can analyze high-resolution surface morphology to illustrate microstructure and uniformity of coatings [48], which are important factors contributing to biocompatibility. EDS is a complement of FESEM analysis since through this technique it is possible to perform an elemental analysis for the confirmation of the composition and the distribution of elements within HAP coatings [49]. To examine the surface roughness of the coated substrates, atomic force microscopy (AFM) was employed using the Nanosurf Mobile S instrument from Switzerland. AFM is used to assess the surface topography at the nanoscale, affecting cell proliferation and adhesion on coatings [50]. In vitro electrochemical tests The Autolab PGSTAT30 Potentiostat-Galvanostat was utilized for obtaining electrochemical data, and their analysis. All electrochemical experiments were conducted using a standard three-electrode cell in SBF as the electrolyte solution at room temperature. The working, counter, and reference electrodes employed were the coated samples, platinum wire, and Ag/AgCl (3 M KCl), respectively. To investigate the corrosion behavior of the samples, the Tafel polarization method was utilized with a scan rate of 1 mV S−1. Additionally, electrochemical impedance experiments were carried out at the open circuit potential (OCP) within frequency ranges of 100 kHz to 10 mHz, with an amplitude of ±5 mV. Results and discussion Synthesis of 2-hydroxyethyl ammonium octanoate FTIR and 1H NMR analysis The FT-IR spectra of the synthesized IL 2-hydroxyethylammonium octanoate are given in Fig. 1a. According to the FT-IR (KBr, cm−1) spectra of IL, the OH and NH peaks of the ethanolamine group appeared at 3200–3550 cm−1 [51,52]. The strong specific long-chain alkyl group's bond at 2925 cm−1 corresponds to the asymmetric and symmetric vibration of CH2 [53]. The COO− absorption peaks can be seen at 522, 658, 723, and 2141 cm−1. The bonds at 867 and 923 cm−1 were assigned to the vibration of the C-C bond [54]. The carboxylic acid carbonyl (C=O) peak appeared at 1308 and 1554 cm−1 [51]. The peaks at 1074 cm−1 was assigned to the asymmetric stretching vibration of CH3 bond. The bonds approximately at 1025, 1170, and 1403 cm−1 represented the COOH in-plane, out-plane, and symmetric bending vibrations, respectively. 1H NMR spectra of the synthesized ionic liquid are shown in Fig. 1b. 1H NMR of ionic liquid 2-hydroxyethylammonium octanoate (400 MHz, D2O) are as follow (ppm): 4.7 (4H, -NH3+ and -OH), 3.51 (2H, -CH2), 2.82 (2H, -CH2), 1.87 (2H, -CH2), 1.27 (2H, -CH2), 1.00 (8H, -CH2-CH2-CH2-CH2), 0.60 (3H, -CH3). Synthesis and characterization of hydroxyapatite nanoparticles FTIR analysis Fig. 2a–d shows typical FTIR spectra of the synthesized HAP samples with and without surfactant that were sintered at 1100 ° C. The sharp peaks observed at 630, 3561, and 3646 cm−1 were related to the stretching, symmetric, and asymmetric vibrations of lattice OH− ions, respectively [55]. The bending vibration of the hydroxyl group appeared at 1648 cm−1 and the broad peak of adsorbed-lattice water was observed at 3415 cm−1 [56,57]. The characteristic bands of the PO43− group appeared at 478, 566, 608, 961, 1036, and 1091 cm−1 [58]. The weak peak at 478 cm−1 was attributed to the bending mode (ν2) of the PO43− group, and the sharp peaks at 566 and 608 cm−1 could be assigned to the bending asymmetric vibration mode (ν4) of the phosphate group [59]. The presence of the stretching vibration symmetry mode (ν1) at 961 cm−1 is attributed to the phosphate group, and the strong bands that appeared at 1036 and 1091 cm−1 can be assigned to the asymmetric stretching vibration modes (ν3) of the PO43− groups [59]. Besides, the weak peak of O-H bending was found at 1432 cm−1. The FT-IR results show that the prepared samples were synthesized with high purity and quality. FTIR spectra of the HAP powder prepared by microemulsion method: (a) pure HAP, (b) HAP-0.1 IL, (c) HAP-0.2 IL and (d) HAP-0.4 IL. XRD analysis X-ray diffraction (XRD) analysis was conducted to evaluate the purity and crystal structure of the synthesized specimens. Fig. 3 illustrates the XRD patterns of nanoparticles produced with varying concentrations of [HEA]OC, ranging from zero to 0.4 M. The main characteristic peaks at 2θ values of 25.79°, 31.71°, 32.17°, 32.90°, 34.03°, 39.80°, 46.66°, 49.47°, and 53.13° corresponding to the (002), (211), (112), (300), (202), (310), (222), (320), and (004) diffraction planes of hexagonal-structured HAP-NPs were observed in all four samples (Fig. 3a–d) [46,52]. These prominent peaks confirmed the synthesis of crystalline HAP, with no presence of additional crystalline phases. The XRD patterns closely matched the standard International Center for Diffraction Data (ICDD) file no. (09–0432) [60]. The [HEA]OC and SLS surfactants significantly impacted HAP-NP improvement, reducing the particle size from 37.32 nm to 24.80 nm, as calculated by the Debye-Scherrer equation. Briefly, increasing the [HEA]OC concentration significantly reduced the nanoparticle size of HAP. XRD patterns of the HAP powder prepared by microemulsion method: (a) pure HAP, (b) HAP-0.1 IL, (c) HAP-0.2 IL and (d) HAP-0.4 IL. Higher ionic liquid concentrations result in a reduction of the critical micelle concentration (CMC) of surfactants, which in turn produces smaller micelle sizes and improves the stabilization of nanoparticles [61]. Ionic liquids' unique characteristics enable a range of intermolecular interactions (e.g., van der Waals, and electrostatic forces), which enhance the self-organization of nanoparticles and promote their size reduction [62]. Table 1 presents the calculated lattice parameters (a, c), cell volumes, and average grain size of the HAP and surfactant-assisted HAP. The obtained lattice parameters and cell volumes of the synthesized HAP-NPs showed good agreement with the standard JCPDS values. Table 1The crystal structure, Lattice parameters, unit cell volume and grain size of the HAP samples.Table 1Sample codeCrystal structureLattice parameters (Å)Unit cellAverage graina = bvolume (Å3)size (nm)Pure HAPHexagonal9.426.86527.1737.32HAP-0.1 ILHexagonal9.446.87530.1832.43HAP-0.2 ILHexagonal9.446.85528.6430.71HAP-0.4 ILHexagonal9.436.88529.8324.80Standard pure HAPHexagonal9.416.88528.80 The crystal structure, Lattice parameters, unit cell volume and grain size of the HAP samples. FESEM studies Fig. 4a–d illustrates the surface morphology of HAP coatings with different IL concentrations as a surfactant. Additionally, elemental mapping and coating thickness for HAP-0.4 IL were obtained from the FESEM cross-sectional image in Fig. 4e and f. In the pure HAP coating, large agglomerates of varying sizes were non-uniformly dispersed on the substrate surface (Fig. 4a). Fig. 4b–d shows FESEM images for different concentrations of [HEA]OC. Coatings prepared with [HEA]OC had a more uniform morphology and smaller agglomerates compared to pure HAP. The FESEM images indicate that increasing the [HEA]OC concentration from 0.1 M to 0.2 M improved surface morphology and reduced nanoparticle aggregation (Fig. 4b and c). However, the coating prepared with 0.4 M [HEA]OC, as shown in Fig. 4d, exhibited spherical nanoparticles with minimal agglomeration and a smooth, hole-free surface. The agglomerates were significantly smaller at this concentration than those at other concentrations. The combination of [HEA]OC (surfactant), SLS (co-surfactant), and n-hexane (oil) in an aqueous solution effectively reduced agglomeration and produced smaller particles. The existence of [HEA]OC promotes the uniform dispersion of HAP-NPs across the Ti-6Al-4V surface, resulting in obtaining a smooth surface. The uniform distribution of HAP-NP is essential for attaining a consistent coating thickness, which has a direct impact on the mechanical properties and biocompatibility of the implant [63]. Improved surface properties, including decreased porosity and agglomeration, significantly enhance the adhesion between the Ti-6Al-4V substrate and the HAP coatings [64]. FESEM images confirm that 0.4 M ionic liquid is optimal for achieving coatings with uniform morphology. Surfactants gain the increase in dispersion of nanoparticles within the coating matrix by changing their surface properties [65]. Stabilizing nanoparticles with surfactant prevents agglomeration and allows more appropriate coating applications [66]. Elemental mapping was performed to evaluate the distribution of Ca, P, and O on the coating surface of HAP-0.4 IL as the optimal sample (Fig. 4e). The qualitative assessment showed a uniform distribution of these elements across the surface. Fig. 4f illustrates the optimal coating thickness of HAP-0.4 IL in the FESEM cross-sectional image. FESEM images of HAP coatings at various [HEA]OC concentrations: (a) pure HAP, (b) 0.1 M, (c) 0.2 M, and (d) 0.4 M [HEA]OC, (e) elemental mapping for the HAP-0.4 IL sample, and (f) coating thickness for the HAP-0.4 IL sample. The coating thickness was approximately 1.31 μm. Coating thickness has major effects on enhancing the growth of bone tissues at the implant-bone interface area. A study found that a thinner HAP layer from plasma spray resulted in superior bone and fibrous tissue quality compared to a thicker layer (50 μm) [67]. Thin coatings may lack adequate mechanical support, whereas overly thick coatings can result in poor adhesion and increased stress at the interface [68,69]. Additionally, Fig. 5 presents the EDS analysis of the coatings, confirming the presence of calcium (Ca), oxygen (O), phosphorus (P), titanium (Ti), vanadium (V), and aluminum (Al) in all coatings. EDS analysis (a) Pure HAP, (b) HAP-0.1 IL, (c) HAP-0.2 IL, and (d) HAP-0.4 IL of the coatings. Surface roughness AFM analysis is an effective method for evaluating coatings in biomedical applications. AFM provides in-depth insights into the surface roughness, topography, and morphology of coatings, which is essential for determining biocompatibility and the potential for bacterial adhesion [70]. AFM images for all samples are shown in Fig. 6, with surface roughness measurements summarized in Table 2. Mean square roughness (Rq), average roughness (Ra), and total roughness (Rt) are measurements that represent the surface roughness of samples, all offering valuable insights into the coatings' surface characteristics. 3-D topographical images from the coatings' surface using varying ionic liquid concentrations: (a) pure HAP, (b) HAP-0.1 IL, (c) HAP-0.2 IL, and (d) HAP-0.4 IL. Table 2Surface roughness of pure HAP and HAP with different concentrations of ionic liquid.Table 2parameterPure HAPHAP-0.1 ILHAP-0.2 ILHAP-0.4 ILRa [nm]14.449.628.792.68Rq [nm]17.6012.3110.192.98Rt [nm]84.2849.5735.1412.48 Surface roughness of pure HAP and HAP with different concentrations of ionic liquid. The surface roughness of samples decreased from 84.28 nm to 12.48 nm, which can be attributed to the reduction of the size of nanoparticles and aggregates in the presence of surfactant. Table 2 results show that using ionic liquid reduced the surface roughness of the coatings. Consequently, it can improve the adhesion strength of the film/substrate, enhance the proliferation of osteoblast cells, and promote bone growth [71]. The surface roughness of HAP coatings can affect the adhesion and proliferation of osteoblast cells. A smoother surface is more favorable for cell attachment, proliferation, and in vitro cell spreading. The reason is that cells spread more easily on smoother surfaces. Therefore, the higher the cell-substrate interaction, the higher the proliferation rate of osteoblast cells that might occur on smoother HAP coatings. Osteoblasts are responsible for bone formation. Consequently, an increase in their proliferation results in increased bone growth [72,73]. Research indicates that smooth, and uniform surfaces have better corrosion resistance. Valadez-Martínez et al. demonstrated that reducing the roughness of coatings enhances their corrosion resistance [74]. In vitro corrosion studies Tafel polarization One of the main problems with the use of biomedical implants inside the human body is their corrosion rate. Therefore, the samples' corrosion resistance was assessed using Tafel polarization studies after 5 h of immersion in a solution of SBF. The results of these experiments are displayed in Fig. 7A, which includes parameters such as corrosion current density (icorr), polarization resistance (Rp) and corrosion potential (Ecorr), and the corresponding data are presented in Table 3. Also, Fig. 7B shows the variations in Rp and icorr from Tafel analyses. Tafel tests were carried out under the same conditions for all samples. As can be seen in Fig. 7A, there are significant differences between coated specimens and substrate in the Tafel measurement. The coated samples from the substrate exhibit anodic current differences of greater than 1-2 orders of magnitude. As seen in Fig. 7A, the coatings produced with nanoparticles that were synthesized by ionic liquid exhibit a notable shift towards low icorr. (A) Polarization curves of Tafel and; (B) the changes in corrosion current density (icorr) and polarization resistance (Rp) of coatings. Table 3Corrosion parameters of Ti-6Al-4V, pure HAP, and coatings of HAP-IL after 5 h immersion in SBF solution.Table 3SampleEcorr (mV vs. Ag/AgCl)icorr (nA/cm2)Ba (mV/dec)Bc (mV/dec)Rp (MΩ × cm2)η (%)Ti-6Al-4V−411.89290.89139.73122.880.097–Pure HAP−351.3145.98101.99136.020.55082.36HAP-0.1 IL−319.9511.9074.6697.411.54293.70HAP-0.2 IL−311.3111.59105.8684.481.75994.48HAP-0.4 IL−266.154.5668.3471.823.33497.09 Corrosion parameters of Ti-6Al-4V, pure HAP, and coatings of HAP-IL after 5 h immersion in SBF solution. This shift can be attributed to the uniform surface of the coatings in the presence of surfactants. According to the FESEM images (Fig. 4), the presence of surfactants reduced the agglomerates and increased the uniformity of the coatings' surface. Furthermore, synthesized nanoparticles with ionic liquid caused a decrease in nanoparticle size. The uniform distribution of nanoparticles and decreases in the nanoparticle size cause the creation of a crack-free and uniform coating that prevents penetration of aggressive solution to the Ti-6Al-4V. Ions diffusion from the SBF electrolyte caused an increase of icorr for the Ti-6Al-4V compared to the coated samples. As a result, the increase in corrosion protection of the samples is shown by the decrease in their icorr [75]. The polarization resistance increased from 0.097 MΩ × cm2 for the Ti-6Al-4V to 3.334 MΩ × cm2 for the HAP-0.4IL coating. Additionally, pure HAP coating has lower polarization resistance than other coated samples, likely due to agglomerates and the unevenness of the coating surface. The efficiency of the corrosion barrier was evaluated using Eq. (5): where Rb and Rc represent the Rp of the Ti-6Al-4V and coated coatings, respectively. We conducted Tafel tests within the potential range of −0.25V to +0.25V vs. OCP at a rate of 0.001 V/s. By Eq. (6), Rp was obtained from the Stern-Geary equation while icorr was evaluated from the Butler-Volmer equation [76]. According to Table 3, the HAP-0.4 IL coating exhibited the highest potential efficiency at 97.09 % compared to the other coatings, which can be selected as the optimal sample. EIS studies The EIS is a valuable technique for investigating the corrosion behavior and electrochemical performance of a coating in electrolytic solutions [77,78]. EIS experiments were carried out following a 5 h immersion of the coatings in the SBF solution (Fig. 8). Data from EIS were analyzed using equivalent circuits (ECs) illustrated in Fig. 8d and e, with distinct ECs employed for the Ti-6Al-4V and coated samples. These circuits feature Rs as the electrolyte resistance, while Rcoat and Rct represent the coating resistance and charge transfer resistance, respectively. The initial constant phase element denotes the coating's capacitance (CPEcoat), and the electrical double-layer capacitance (CPEdl) is associated with the other time constant. The CPE, characterized by parameters Y0 and n, represents the non-ideal behavior of solid electrodes as a substitute for conventional capacitors. (a) Nyquist plots; (b) Bode plots; (c) Phase plots for samples; the equivalent circuit used to analyze the EIS results for (d) Ti-6Al-4V, and (e) coatings. Fig. 8a shows the Nyquist plots for Ti-6Al-4V and coated samples. An increase in the diameter of the capacitor loop in the Nyquist diagrams indicates an enhancement in the corrosion resistance of the coatings [79,80]. In comparison to Ti-6Al-4V, the coated samples significantly increased the diameter of the Nyquist plots in Fig. 8a. Also, the HAP-0.4 IL coating exhibits a bigger Nyquist plot diameter than the other coated samples, likely due to the reduced size of nanoparticles and surface agglomerates, which enhance barrier protection against aggressive solution penetration. Charge transfer resistance (Rct) is an important parameter in analyzing the anti-corrosion performance obtained from EIS measurements [81,82]. The Nyquist diagrams unveiled the highest Rct value of 7.84 MΩ × cm2 for the HAP-0.4 IL coating, while the charge transfer resistance of the substrate obtained 0.11 MΩ × cm2. The increase in Rct is largely influenced by the formation of passive layers on metallic surfaces that may modify the electrochemical behavior of the surface [83,84]. Passive layers, such as thin films act as barriers that affect charge transfer. Studies concerning thin layer-modified electrodes have indicated that the presence of non-electroactive layers can reduce the diffusion coefficient and solubility of electroactive species and thus result in increased Rct [85]. Additionally, the corrosion resistance of coatings can be attributed to their microstructure, including nanoparticle distribution, surface uniformity, cracks, and porosity [86,87]. FESEM images are instrumental in assessing the uniformity and defect density of coatings, which are critical factors influencing their corrosion performance. Coatings that exhibit nonuniformity surface and higher defect densities typically show reduced resistance to corrosion [88]. Furthermore, research shows that modifications in coating composition and structure greatly enhance their protective properties [89]. Therefore, the FESEM results validate the electrochemical measurements, in which HAP-0.4 IL coating shows excellent corrosion resistance due to its uniform surface and larger capacitance loop diameter (Fig. 4, Fig. 8). Examination of the Phase Bode diagrams in Fig. 8b and c revealed two different time constants, with the first corresponding to the coating and the latter to Ti-6Al-4V at lower frequencies. Larger magnitudes were seen in the Bode plots for the coated samples, particularly for the HAP-0.4 IL coating, suggesting the increase in corrosion protection of the coatings. Table 4 presents a summary of the electrochemical impedance data, which corresponds to previous literature findings [10,71]. For biomedical applications, implants with lower corrosion rates are appropriate within the body. The EIS analyses confirm that the HAP-0.4 IL coating demonstrates superior corrosion resistance compared to other samples, making it the best choice for biomedical applications. Table 5 compares the Rct, Icorr, coating technique, and nanoparticle size results from this study with those in the existing literature, indicating that this study's outcomes are superior to previous findings. Table 4Electrochemical impedance values of Ti-6Al-4V, pure HAP, and coatings of HAP-IL with different ionic liquid concentrations at room temperature.Table 4SampleCPEcoatRcoat (kΩ × cm2)CPEdlRct (MΩ × cm2)Fitting errorY0 × 10−5 (Ω−1cm−2Sn)nY0 × 10−5 (Ω−1cm−2Sn)nTi-6Al-4V–––2.930.860.110.00952Pure HAP1.860.825.380.360.871.120.00234HAP-0.1 IL1.70.835.480.420.703.130.00606HAP-0.2 IL1.170.861.351.10.753.450.00400HAP-0.4 IL1.140.875.210.390.847.840.00192 Electrochemical impedance values of Ti-6Al-4V, pure HAP, and coatings of HAP-IL with different ionic liquid concentrations at room temperature. Table 5Comparison of production coatings performance between this work and recent results.Table 5nanoparticlessynthesis methodcoating techniquenanoparticle size (nm)icorr (per cm2)Rct (kΩ × cm2)Ref.HA + PVA (0.05 %)depositionimmersionNo data0.46 μA1.87[90]HA-Cipsol-gelspin-coating7210.2 nm639[91]Ce/Si-HAsol-gelspin-coating (2000 rpm)No data253 μA38.25[71]HA/PCLpurchaseddip coating40No data200[92]HA (ATB2)immersionimmersion21No data1.24[50]Ti-75%WHA-25 % FBGsol-gel and coprecipitationelectrophoretic deposition20097 nANo data[10]HAtooth-ashmagnetron sputtering200115 nA289[93]HAP/TiO2PEOPEONo data290 μA11[94]hydroxyapatitePEOPEONo data2.8 μA17[95]HA-35 kWClarion Pharmaceutical Co., Indiaplasma spray50090 nA38[96]Ti-6Al-4VsubstrateuncoatedNo data290.89 nA110This workPure HAPmicroemulsionspin-coating37.3245.98 nA1120This workHAP-0.4 ILmicroemulsionspin-coating24.804.56 nA7840This work Comparison of production coatings performance between this work and recent results. Conclusion Hydroxyapatite nanoparticles were successfully synthesized in this experimental work using the microemulsion method with different concentrations of [HEA]OC and a constant amount of SLS. These nanoparticles were then used to create coatings on Ti-6Al-4V substrates. FT-IR analysis showed pure peaks of HAP in the synthesized samples, indicating the absence of impurities. XRD results confirmed the successful synthesis of HAP-[HEA]OC nanoparticles with reduced particle sizes and without impurity phases. FESEM images demonstrated that using ionic liquid as a surfactant reduced surface agglomerates and nanoparticle size, yielding a more uniform coating surface. Elemental mapping confirmed the uniform distribution of oxygen, phosphorus, and calcium across the coatings. The coating thickness of the optimal sample (HAP-0.4 IL) was approximately 1.31 μm. AFM imaging demonstrated a significant decrease in surface roughness from 49.57 nm to 12.48 nm, attributed to the reduction in nanoparticle sizes and surface agglomerates. Electrochemical experiments showed that the decreased nanoparticle sizes and enhanced coating uniformity significantly reduced current density and enhanced corrosion resistance in the coatings. The utilization of a cost-effective and eco-friendly material to produce hydroxyapatite nanoparticles was successful. The HAP-IL coatings, especially HAP-0.4 IL, show enhanced surface uniformity and corrosion resistance, significantly increasing charge transfer resistance compared to bare Ti-6Al-4V after immersion in SBF. The current study gives important information on the characterization and optimization of HAP-IL coatings and underlines their potential biomedical applications. CRediT authorship contribution statement Meysam Safari-Gezaz: Writing – review & editing, Writing – original draft, Visualization, Validation, Software, Resources, Methodology, Investigation, Formal analysis, Data curation, Conceptualization. Mojtaba Parhizkar: Writing – review & editing, Writing – original draft, Visualization, Validation, Supervision, Software, Resources, Project administration, Methodology, Investigation, Formal analysis, Data curation, Conceptualization. Data availability All data generated or analyzed during this study are included in this published article. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgments The financial support for this work from the University of Tabriz, Iran is gratefully acknowledged. References Associated Data Data Availability Statement All data generated or analyzed during this study are included in this published article.