1 Introduction

Magnesium and its alloys are commonly used in different industries due to their strength because of the high strength-to-weight ratio [1]. Today, magnesium and its alloys have many application in the field of air-space and transportation industries as well as orthopedic implants. Some magnesium alloys are also used as biodegradable implants in the body and reduce the number of painful surgeries among patients [2]. In recent years, alloys based on cobalt, nickel, and titanium are used for this purpose. However, these materials needed a second surgery to remove the implants after improvement. Mechanical strength is another disadvantage of these materials that lead to disequilibrium at the interface tension of the implant and tissue and impairs the natural growth of human bone [3, 4]. But magnesium and its alloys have more mechanical suitability with human bone and can facilitate the improvement. Magnesium is not toxic for the human body and solution of some amount of magnesium around the tissue does not lead to inflammation, and it is also necessary for bone growth and its improvement [5, 6].

AZ91D has the solid matrix solution of α-Mg with the dendrite structure, and brittle phase of β-Mg17A112 are distributed in the grain boundary. Magnesium and its alloys have some major disadvantages [7]. These disadvantages impede more application of magnesium alloys in the industry. The most important of these disadvantages are high reactivity and meager resistance to corrosion. Undesirable wear behavior is another disadvantage of these alloys that limits the application of contact load [8,9,10]. These features are some reasons for not using the magnesium alloys in some specific cases. The coating is one of the most effective ways to reduce corrosion and to increase the surface properties. Different methods are used for this purpose, some of which are conversion coating, sol–gel, precipitate from the vapor phase, including CVD, PVD, cold spray, and platting [11,12,13,14,15,16]. Due to the high hardness, corrosion resistance and biocompatibility of TiO2, the use of TiO2 coating along with the lightweight preservation of the implants seems to increase the wear and corrosion resistance and biocompatibility of magnesium implants. Since few studies have been done in this field so far, this research could be the beginning of great progress in the implant manufacturing industry.

Since magnesium alloys have a high-medical potential, additional operations that reduce the challenges of using magnesium in the body are effective in developing their usage as implants. In this study, it is tried to improve the electrochemical, biocompatibility, and abrasion properties of this alloy using TiO2 biocompatible coating on the surface of AZ91D alloy so that this material can be used more easily as an implant.

2 Experimental Procedures

2.1 Sample Preparation

In this research, AZ91D magnesium alloy was used as a substrate. Chemical composition of AZ91D magnesium alloy obtained using atomic emission spectroscopy (AES) has been shown in Table 1. Samples with dimensions of 10 mm × 10 mm × 2 mm were cut using a microcutter.

Table 1 Chemical composition of the AZ91D alloy based on the weight percentage

Before applying the coating, first, the samples were polished with the sandpaper and then were micro-polished for 10 min with felt carpet. Then based on the ASTM D2651 standard, they went under the operation of deoiling and deoxidization [17]. Then film deposition of the samples was done using sputtering method by the radio frequency magnetic sputtering device RF, with the basic pressure in the layer container of 10–7 mbar and the film deposition of the TiO2 coating was done using working pressure of about 2.5 × 10–3 mbar with the charge of 25 cm3/min under the argon gas for 15 min.

2.2 An Investigation of the Microstructure and Mechanical Properties

Since surface topography and morphology can significantly affect the corrosion and also the cellular adhesion, we used an emission scanning electron microscopy (FESEM) model MIRA3 manufactured by the TESCAN equipped with EDS to investigate the microstructure of the sample. To provide microscopic images of the cross-section areas, all stages of metallurgical preparation, including sanding and polishing, were performed. To detect phases and chemical composition, we used the X-ray diffraction (XRD) device model PW 1800 manufactured by the PHILIPS company with Fielmann nickel, radiation of Cu kα and a maximum working voltage of 30 kV. The hardness of the coating was measured using a Vickers microhardness testing model (AMSLERD-6700) by applying 50 g weight for 20 s. Mentioned microhardness for every sample was measured five times on average. To measure the surface roughness, we used MAHR roughness tester made in Germany. Wear test on the coated and uncoated was done under the weight of 4 N and on the distance of 1000 m with the method of the pin on disk. For the abrasive pin, steel wearisome 52,100 was used with the hardness of 59 HRC. The wear test was used with a slip rate of 0.1 m/s. Changes were reported every 100 m. The worn surface was investigated using scanning electron microscope (SEM) manufactured by the TESCAN. In the Fig. 1, the schematic of pin on disk wear test has been shown.

Fig. 1
figure 1

Schematic of pin on disk wear test

2.3 Electrochemical Corrosion Resistance

Corrosion behavior of the samples in a simulated body fluid (SBF) was investigated using potentiostat/galvanostat EG&G at the temperature of 37 °C. Each of the samples were closed on the cell as working electrodes and platinum electrode, and saturated calomel electrode was used as a reference, and counter electrodes were used to experiment. Potentiodynamic polarization curve was determined after 90 min immersion in about − 250 to 2000 mv with the sweep velocity of 1 mV/s. pH was set by HCI and TRIS at 7.4. Table 2 shows the ion concentration in the SBF solution.

Table 2 Ion concentration in the SBF solution (mM) [18]

2.4 In Vitro Test

To test the cellular toxicity process and cellular proliferation, we used the cellular line MG63 (NCBI C555) from the Pasteur Institute in Iran. This cell comes from human type cells and the Sarcoma decease. Also, it has both fibroblast morphology and bone texture. Based on the sample size, we used a cell culture plate with 24 wells. DMEM was used as the cell culture environment to which we added %10 of fetal bovine serum. At first, 1 ml of serum was poured into the given wells, then the coated sample with TiO2 and uncoated sample were put into the wells before sterilization. After making sure of the full immersion in the culture environment and correct placement of the samples to cover the maximum space from the bottom of the wells, 30,000 cells with 1 ml culture environment containing the serum were added to the wells. One well without sample and containing the same amount of cell was considered as a negative control. Samples and cells were kept for 72 h in the 5% CO2 incubator with the relative moisture of 98%, and the temperature of 37 °C. Morphology of the cells on the surface of the samples was investigated after three days of culture using fluorescence microscope with DAPI lens. To do this research, 72 h after the contact of the samples, cells and the cultural environment we emptied the culture environment and the cells were removed from the sterilize conditions of the culture plate and transferred to another plate to do the process of cell stabilization. Glutaraldehyde 2.5% was used for the stabilization process. First, the samples were washed twice with the sterilized buffer. Then each sample was kept in 2 ml of Glutaraldehyde solution for 1.5 h. After removing the samples from Glutaraldehyde solution, the samples were washed with the phosphate buffer and dehydrated using ethanol at concentrations of 60, 70, 80, 90 and 100%, respectively. Samples were respectively in 2 ml of the alcohol solutions for 5 min and at the end were kept in 100% alcohol for 10 min. After dehydration, the level of humidity in the surface was removed from the air, and samples were kept at the temperature of 4 °C until testing [18].

2.5 Toxicity Assessment Test (MTT)

The amount of proliferation and MG63 cellular viability on the surface of the samples were assessed by the toxicity assessment test (3-[4,5-dimethylthiazol-2-yl]-2,5-diphenyltetrazolium bromide (MTT)). For the same reason, 20 μl of MTT solution with the concentration of 5 mg/ml was added to the wells containing the sample and negative control. Four hours after the incubator, we emptied the culture environment, and 200 μl of DMSO was replaced. Ten min is enough to dissolve the formed color crystals, and after 10 min, 200 μl of the solution was removed from each well and kept in the cell culture plate with 96 wells and optic absorption of the wells was done by the Elisareader (Boi Tek, Elx808, and the USA) at the wavelength of nanometers. To estimate the relative cells viability in contact with the negative control of the samples, we used Eq. (1). In this equation, Ac is the absorption of negative control and As is the absorption of the sample [19].

$$\% {\text{ viability }} = {\text{ As }}/{\text{Ac }} \times {1}00$$
(1)

3 Results and Discussion

3.1 An Investigation of the Microstructure

Figure 2 shows the X-ray diffraction of the TiO2 coating applied on the magnesium substrate. In the general sense, it is reported that AZ91D alloy is made of two phases of α-Mg and β-Mg17A112 [20]. As it is shown in Fig. 2, there are two main phases of α-Mg and β-Mg17A112, so the process of film deposition of nanoparticles of titanium on the magnesium substrate leads to the formation of Mg2TiO4 and MgTi2O5 phases. These spinels and middle phases are formed in the interface and substrate. As the temperature in the upper atomic layers increases locally, these intermetallic compounds are expected to form in accordance with a temperature-based diffusion mechanism.

Fig. 2
figure 2

X-ray diffraction of the coated sample

Precipitates in the AZ91D magnesium alloys were observed by the researchers [21, 22]. The microstructure of the sample includes a matrix phase of primary α with dendrite boundaries and eutectic phases (α + β) with layer structure, and coarse particles of the phase are in that. With the film deposition of TiO2 on the magnesium substrate, nanoparticle of titanium dioxide was formed on the substrate. Figure 3 shows the image of the FESEM morphology of the coating. Given the form of the cracks, it is obvious that they are formed because of the substrate contraction during the coating process due to the tensile stress of the coating and this leads to the cracks in the upper parts of the coating.

Fig. 3
figure 3

FESEM image of the coated sample

Figures 4 and 5 show the cross-section after applying the coating by the Sputtering method. The image of the surface morphology shows that the TiO2 layer is distributed as the formed precipitation made of the uniform grains and the formed perceptions are dense and no condition such as a crack of observed. Previous research indicates the significant role of the uniform coating in resisting the corrosion [23, 24]. Given the ceramic nature of these coatings, any type of crack and porosity decreases the surface properties and finally can remove and destroy the coating. According to Fig. 5, the biggest formed coating is 700 nm. Since the thickness of the coating has a significant effect on the surface properties of the coatings, it seems that the size of the formed coating is suitable.

Fig. 4
figure 4

FESEM image of the cross-section with the MAP analysis

Fig. 5
figure 5

FESEM image of the cross-section with the EDS analysis

According to Fig. 5, the starting point of the analysis is bottom to up. At the initial thickness, the magnesium is high, and it decreases when it is near the substrate. In the 670 and 750 µm, there are 1–2% of TiO2 into the structure due to diffusion. At 837 µm that is the interface of the matrix and coating, this amount of magnesium increases, and the amount of TiO2 is reduces. At points 918 and 999 µm, the amount of magnesium reaches the maximum level, and the amount of TiO2 reaches the minimum possible amount since it has reached the surface of the coating.

3.2 Hardness and Roughness Test

Mean roughness on the surface (Ra) for both coated and uncoated sample were measured using the roughness tester, and it was observed that the roughness of the coated sample was 0.12 µm and the uncoated sample was 0.15 µm. Higher roughness on the uncoated sample helps the adhesiveness of the coating on the substrate. It seems that surface roughness contributes to adhesion of the coating by increasing the germination points of the coating and forming mechanical locks. Formation of the TiO2 coating also decreases the roughness of the coated sample relative to the uncoated sample [25]. The hardness of the coated surface is more than the hardness of the uncoated surface due to the presence of the titanium dioxide. Obtained hardness for the coated sample and uncoated sample is 119 and 87 Hv, respectively. Figure 6 shows the bar graph of hardness and roughness before and after coating, and Table 3 presents the statistical calculations in Fig. 6.

Fig. 6
figure 6

Roughness and hardness changes

Table 3 Statistical information related to Fig. 6

3.3 Wear Test

Most of the in vivo implants are exposed to wear, so it is essential to study them. Figure 7 shows the trend of changes for lost weight in the wear test. As it is evident, resistance to substrate wear (AZ91D) is improved by applying a thin layer of TiO2. Applying the TiO2 ceramic coating has also reduced the friction coefficient. A reduction of friction coefficient and an increase of the hardness has increased resistance to wear. Meanwhile, as it was mentioned in the previous section, applying the coating reduces roughness of the surface, and this means an increase of the actual contact area. An increase in the actual contact area naturally reduces the applying tension during the wear test, and this increases the resistance to wear. SEM image shows the worn out surface of the substrate of the deep scratch and large galling that happen as the result of the abrasive wear. In Fig. 7, there is some light oxide area that results from an increase in the sample temperature due to the friction during the wear test. So the dominant wear mechanism can be considered strong scratch wear. In the SEM image of worn surface of substrate, the crater regions caused by abrasive wear are seen. In fact, during dry sliding wear test, a brittle layer is created that areas of this brittle layer are removed due to local work hardening and high brittleness because of severe wear regime. However, Fig. 7 shows less wear scratches. This results from the reduction of the applied tension and as mentioned before the reason can be an increase in the hardness. Therefore, the formation of coating leads to the transition of the abrasive wear mechanism from severe to mild.

Fig. 7
figure 7

Diagram of weight reduction for the samples during the wear test based on the distance with the SEM image of wear surface

Due to the high coefficient of friction of the uncoated sample, after 100 m, an oxide layer is formed on the surface, which acts as a protective layer and leads to a temporary reduction of the coefficient of friction and wear rate. Due to the brittle nature of this layer, after heating the substrate and expanding it under the shear stress of the pin, it is separated from the surface in pieces and leads to an increase in the wear rate and coefficient of friction. The separated surface fragments become wear particles, leading to the wear of two objects to several objects, exacerbating scratching wear mechanism.

3.4 The Behavior of Electrochemical Corrosion

Implants in the body are under the influence of external cellular fluids, so it is necessary to investigate the corrosion behavior of these materials. Figure 8 shows the polarization curves of the coated and uncoated samples in the SBF solution. Improvement in the behavior of the polarization curve with its transfer is toward the more positive potentials and less current density [26]. Kinetic of the chemical oxidation or reduction is always controlled by a part of the process with the least rate and formed coating prevents electrochemical reactions and somehow destruction of the magnesium substrate by impairing the electron transfer on the surface. Anode and cathode reactions are as follows:

Fig. 8
figure 8

Polarization curve of the samples in the SBF solution at 37 °C: a uncoated sample, b coated sample with TiO2

Anode reactions:

$${\text{Ti }} \to {\text{Ti}}^{{{4} + }} + {\text{4e}}$$
(2)
$${\text{Ti}} + {\text{2H}}_{{2}} {\text{O }} \to {\text{ TiO}}_{{2}} + {\text{4H}}^{ + } + {\text{4e}}^{ - }$$
(3)
$${\text{Ti}}^{{{4} + }} + {\text{4H}}_{{2}} {\text{O }} \to {\text{ Ti}}\left( {{\text{OH}}} \right)_{{4}} + {\text{4H}}^{ + }$$
(4)
$${\text{Ti}}\left( {{\text{OH}}} \right)_{{4}} \to {\text{ TiO}}_{{2}} + {\text{2H}}_{{2}} {\text{O}}$$
(5)

Cathode reactions:

$${\text{4H}}_{{2}} {\text{O}} + {\text{4e}}^{ - } \to {\text{ 4H}}_{{2}} + {\text{4OH}}^{ - }$$
(6)

According to Fig. 8, it is observed that with applying the coating of TiO2, the polarization curve moves toward the more positive potentials and less current densities. According to the extracted results, the coated sample is more resistant to the corrosion compared to the substrate without coating that proves the suitable coating of the substrate. This is also clear in the polarization curves, and the current density corrosion of the coated sample is reduced compared to the uncoated sample. According to the Fig. 8, extracted data from the polarization curves, including current density corrosion (icorr) and corrosion potential (Ecorr), are shown in Table 4. As it is observed, the potential of the corrosion without coating is much more negative than the coated samples (− 1.532 V), which becomes more positive by applying the coating and in coating samples reaches to − 1.491 V that is increased by 0.041 V. Meanwhile, current density corrosion of the substrate is decreased as a result of the coating process. TiO2 coating has more positive potential and less current corrosion compared to the uncoated sample. This result can happen due to the oxide ceramic layers (passive) that make the coating more resistant to corrosion [27]. Since this diagram is for the covered sample, it is more likely to prevent load transfer in this sample. On the other hand, this sample required more time to reach the equilibrium potential of the open circuit, while the immersion time of both samples in the solution before the start of the corrosion test was constant, so more noise is observed in the coated sample.

Table 4 Average of current corrosion density in the SBF solution at 37 °C

3.5 Investigation of Toxicity and Biocompatibility of the Samples

Figure 9 shows the adhesiveness, growth, broadening, morphology of the MG63 cells on the samples after 1 and 8 days of culture. Figure 9 indicates that cells are well expanded on the surface of the two samples, and the cells stick to each other and the matrix material by secretions of the microcellular such as filopodia, except that percentage of proliferation and adhesiveness of the cells on the surface of the coated sample with TiO2 is much more than the proliferation and the adhesiveness of the cells on the uncoated sample. On the one hand, broadening of the cells on the surface of the sample coated with TiO2 by false legs, remarkably covered most of the surface; on the other hand, on the surface of the uncoated sample, there are some parts without a cell. These results lead to an increase in the biocompatibility of the substrate after the coating.

Fig. 9
figure 9

Image of the cultured samples with fluorescence microscope: a uncoated samples for 1 day, b coated samples with TiO2 for 1 day, c uncoated samples for 8 days, d coated samples with TiO2 for 8 days

Figure 10 shows the biocompatibility of the MG63 cells for 1 and 8 days in the extraction solution with the dilution of 100%, 75%, 50%, and 25% of the uncoated and coated samples with TiO2. According to the standard ISO 10,993–5:2009, reduction of the cellular biocompatibility lower than 70% is considered the toxicity effect [20]. Given the biocompatibility of higher than 80% in all the samples in extraction solution with the dilution of 100%, 75%, 50%, and 25% for 1 and 8 days, it is possible to say that all the samples are biocompatible and in the Table 5 explained statistical calculations of Fig. 10.

Fig. 10
figure 10

Amount of biocompatibility in the osteoblast cells in the extraction solution with the dilution of 100%, 75%, 50%, and 25%: a uncoated sample, b coated sample with TiO2

Table 5 Statistical information related to Fig. 10

As it is observed, the percentage of viability among the MG63 cells on the surface of the samples increased from 75% in uncoated sampled to 77% in the coated samples with TiO2 after 1 day and increased from 80% in uncoated sampled to 89% in the coated samples with TiO2 after 8 days. According to Fig. 11, it is observed that by applying TiO2 coating, the amount of cells excitation and biocompatibility has increased and the response of the osteoblast changes remarkably with the surface changes [28,29,30].

Fig. 11
figure 11

Image of inverted microscope for live cells: a uncoated AZ91D sample after 1 day, b coated AZ91D sample with TiO2 after 1 day, c uncoated AZ91D sample after 8 days, d coated AZ91D sample after 8 days

Given the qualitative nature of the experiment, it can be concluded that the presence of TiO2 not only did not inhibit cell proliferation but also significantly increased cell proliferation compared to the control sample. Biological molecules, such as soluble proteins, also provide the ability to bind chemically to titanium and magnesium ions, and encourage reactions that lead to the formation of new tissue in the body by systematic and local mechanisms.

4 Conclusion

Obtained results from this research are as follows:

1. The method of magnetic sputtering created a thin film of TiO2 coating effectively and without non-coherence on the surface of the AZ91D alloy.

2. An investigation of the results from the XRD analysis after coating shows that except magnesium as the substrate and TiO2 as coating, peaks related to the MgTi2O5 and Mg2TiO4 is also coated in the structure.

3. Coated samples have a higher resistance to corrosion relative to the uncoated samples that show the chemical stability of the samples in the physiological environment of the body and improvement of the surface properties. The coating of TiO2 reduces the density of the current corrosion.

4. Result of the in vivo analysis shows that the cells on the surface of the coated sample are usually perfectly broadened after 8 days. So, improvement of the biocompatibility, adhesiveness, and proliferation of the bone cells on the surface of the coated samples shows that they are good examples for implant applications.

5. Applying the TiO2 ceramic coating has also reduced the friction coefficient. A reduction of friction coefficient and an increase of the hardness has increased resistance to wear. This can change the abrasive wear mechanism from sever to mild.