1 Introduction

Magnesium (Mg) and its alloys are highly regarded for use in biodegradable orthopedic implants [1]. Unlike conventional metallic implants, magnesium implants can be resorbed by the body [2]. They react with body fluids and get removed through the body’s metabolism without producing any toxic by-product. Therefore, there is no need for a secondary surgery to remove the implants. In addition, Mg has excellent mechanical properties, including low density and a high strength to weight ratio. Also, their modulus of elasticity (E = 41–45 GPa) is very close to that of human bone which results in reduced stress shielding and failure of implants [3].

One disadvantage of Mg alloys is that they corrode rapidly in body fluids resulting in a high rate of hydrogen gas (H2) release [4]. This causes degraded mechanical integrity before new bone regeneration. High corrosion rates also cause the formation of harmful H2 gas pockets which can cause necrosis [5]. Furthermore, the hydroxide layer formed on the Mg substrate in the body fluid cannot protect it against corrosion [6]. These issues limit the use of Mg alloys for bone implant applications [7].

The overall body’s response to biomaterials is controlled by factors that determine whether or not the biomaterial is accepted in the body [8]. Since the interaction between the cells or tissues and the biomaterials occurs at their interfaces, the surface properties of the implant are of paramount importance [9].

In recent years, research on methods to improve the properties of Mg alloys is rapidly increasing in order to utilize them as temporary orthopedic implants. Surface engineering has been suggested as an effective tool to control the degradation of Mg alloys and, therefore, make them more effective [10].

Magnesium implants are surface engineered with the aim of improving corrosion resistance, surface adhesion, biocompatibility, stability, uniformity, biomineralization, bone biomaterial fixation, and failure prevention [11, 12]. Application of protective and biocompatible organic coatings is an effective technique applied on Mg alloys [13]. The coatings are applied with different methods such as dip coating [14], spin coating [15], electrophoretic deposition [16, 17] and electrospinning [18].

Electrospinning is a versatile technique that produces continues nanofibers via an electrically charged jet of polymeric solution [19]. Recently, this technique has been used to create biocompatible polymer-based coatings such as collagen [20], PCL [21], PCL/ZnO [22], PCL/Hydroxyapatite [23], ciprofloxacin loaded gelatin [24] for biodegradable Mg alloys. The polymer-based nanofibrous coatings have a large surface to volume ratio, high porosity, and architecture similar to that of extracellular matrix (ECM), which enhances cell adhesion and biocompatibility and also controls corrosion rate of implants in body fluids [25,26,27]. The important parameters in electrospinning are voltage, feed rate and work distance that affect nanofiber’s structure and nanofibrous coating properties [28].

Chitosan (CS) as a natural polymer is widely used in biomedical applications such as tissue engineering, scaffolds, and bio-coatings due to its biocompatibility and biodegradability as well as its favorable mechanical properties [29,30,31,32]. Höhlinger et al. [33] applied CS-bioactive glass coating on a modified surface of WE43 Mg alloy. In another study, Rahimi et al. [34] created nanofibrous coating containing CS and mineralized bone allograft (MBA) nanoparticles on Mg alloy by electrospinning in order to enhance corrosion and biocompatibility behavior in a physiological environment.

Many researchers have reported the application carbon nanotubes (CNTs) to polymeric coatings. Farrokhi-rad et al. [35] showed that the incorporation of carbon nanotubes to a coating enhanced the surface properties. Adding CNTs as a second phase to CS improves its mechanical properties (e.g., Young’s modulus and tensile strength) and electrical conductivity [36, 37]. CNTs also simulate the dimensions of the proteins that make up the native tissue and increase cell adhesion and growth [38]. A recent study aimed to improve the antibacterial properties of a Mg-Zn-Ca alloy by coating with chitosan-based nanofibers with incorporated silver sulfadiazine (AgSD) and multiwall carbon nanotubes (MWCNTs) [39].

Coatings should have proper adhesion to the substrates for improved corrosion resistance and biocompatibility of Mg alloys with body fluids. For this purpose, various surface pre-treatments are performed on the surface of the alloys. Anodizing converts the metallic surface into an anodic oxide layer that affects corrosion resistance and wear properties of the alloy [40]. Anodizing before applying the coatings increases the surface roughness, resulting in greater adhesion of the coating to the substrate [41].

In this study, CS and CS-CNT nanofiber coatings were deposited on pre-treated AZ31 samples via electrospinning. In a previous work published elsewhere, the electrospinning parameters for a CS-CNT nanofibrous coating on an anodized-Mg alloy were optimized [42]. In the present work, the optimized parameters were used for the deposition of the coatings followed by the evaluation of their effects on the corrosion resistance and biocompatibility of the AZ31 Mg alloy.

The structures of the coatings were studied by Field Emission Scanning Electron Microscopy (FE-SEM). The sizes of the nanofibers were calculated by ImageJ software. The elemental compositions of the samples were characterized by Energy Dispersive X-ray Spectroscopy (EDS). Chemical properties of the coatings were analyzed by Fourier Transform Infrared Spectroscopy (FT-IR). Moreover, Raman spectra of the nanofibers were acquired to confirm the presence of CNTs in the fibers. Coating adhesion tests, contact angle tests (wettability), electrochemical corrosion tests, and osteoblast cell culture were also performed to investigate the influence of nanofibrous coatings and anodizing pre-treatment on corrosion resistance and biocompatibility of AZ31 Mg alloys.

2 Materials and methods

2.1 Materials

AZ31 magnesium alloy specimens with dimensions of 2 × 2.5 × 0.3 cm were prepared. The chemical composition of the alloy is given in Table 1. Chitosan (CS) with a degree of deacetylation of 85% and molecular weight of 120 KDa from Sigma-Aldrich was considered for electrospinning deposition. Among the CS solvents, trifluoroacetic acid (TFA, Merck) is more suitable for the electrospinning of CS. TFA forms salts with chitosan’s amino groups resulting in the destruction of the rigid interaction between the CS molecules and improves the electrospinnability of the solution. Moreover, the high volatility of TFA helps to speed up evaporation of the electrified jet of CS-TFA solution. To improve the homogeneity of the electrospun CS fibers, dichloromethane (DCM, Merck) was added to the CS-TFA solution (TFA/DCM solvent at 70/30 ratio). Also, to generate a composite coating, multi-wall carbon nanotubes (MWCNTs) (diameter: 50–80 nm, purity = more than 95%, US nano) were added to the solution. Sodium hydroxide (NaOH, Merck) and sodium carbonate (Na2CO3, Merck) were used for anodizing and stabilization processes, respectively. All chemical solvents and reagents used in this experiment were of laboratory grade.

Table 1 Composition of AZ31 magnesium alloy

2.2 Anodizing treatment of AZ31 alloy

Mg-based specimens were initially polished with emery paper to 2000 grids and ultrasonically cleaned in acetone, ethanol, and distilled water to remove impurities and grease. The specimens were then placed in 1 M NaOH solution and treated with 3 volts for 10 min by using a stainless steel cathode, resulting in the final anodized samples.

2.3 Electrospinning of CS and CS-CNT nanofibers on AZ31 alloy

The polymeric solution was prepared using a similar method to what has been described previously [43, 44]. Initially, 0.35 g CS was added to a 5 cc solvent of TFA/ DCM (70:30) where it was left to dissolve using a magnetic stirrer for 24 h. To prepare a mixture containing CNT, first, CS was added to 4 cc of the solvent until it was completely dissolved. Next, CNT (1 wt. % of the amount of CS) was also dispersed in 1 cc of the solvent using a 50 W Sonicator for 10 min. A uniform mixture was obtained by adding the dispersed CNT to the CS solution while stirring.

In the next step, the prepared mixture was transferred to a 5-cc syringe. The electrospinning process was carried out under the following conditions: voltage = 20 kV, tip-to-collector distance = 15 cm, and feed rate = 0.5 ml/h. These parameters were optimized to obtain defect-free nanofibers with uniform structure [42].

As a result of the procedures explained, 5 types of samples were obtained. The samples were coded as follows: (a) bare Mg alloy: Mg, (b) Anodized Mg alloy: Mg-A, (c) CS-coated Mg alloy: Mg-C, (d) CS-coated anodized Mg alloy: (Mg-AC), and (e) CS-CNT-coated anodized Mg alloy: (Mg-ACC).

2.4 Stabilization of nanofiber coatings

CS nanofibers lose their fibrous structure when they are exposed to Phosphate- buffered saline (PBS) solution or even 70% ethanol during sterilization [45]. This is because during the dissolution of chitosan in TFA, CS Trifluoroacetate salts (-NH3+CF3COO-) are formed between CS chains and TFA molecules that are soluble in aqueous media [46]. Therefore, this problem should be solved before using CS fibers in applications in contact with aqueous media [45]. For this purpose, after 75 min of electrospinning, neutralization of the salts was performed in 5 M super saturated sodium carbonate aqueous solution for 10 min. This duration was decided as a result of the optimization in a previous published work where stabilized nanofibers were obtained with the minimal effect on the morphology of the nanofibers [42].

2.5 Surface characterization

Field emission scanning electron microscopy (FESEM, FEI NOVA NANOSEM 450) was used to observe the morphology of the coated samples. Before FESEM characterization, samples were gold sputter-coated. The average diameter and diameter distribution of nanofibers were measured using ImageJ software by examining 50 fibers in each sample. FESEM was also used to determine the effect of the stabilization process on nanofibers structure. The elemental compositions of the specimens were characterized by Energy Dispersive X-ray Spectroscopy (EDS, CAMSCAN MV2300). Fourier transform infrared (FTIR) spectra were recorded from 4000 to 600 cm−1 by using a FTIR Spectrometer (Avatar Nicolet 360). Moreover, the Raman spectra of nanofibers were recorded in a 1000–4200 cm−1 range with a Nd: YAG laser source (λ = 532 nm and 0.7 Mw power, TEKSAN N1-541 instrument). To measure the wettability, distilled water droplets were placed on the surface of the samples and the contact angles were measured after 10 s using a contact angle meter (Goniometer, Jikan, CAG-10). The test was performed three times per sample and the values were averaged.

2.6 Electrochemical corrosion test

Corrosion behavior of the samples was analyzed through potentiodynamic polarization and electrochemical impedance spectroscopy (EIS) tests using an EG&G potentiostat-galvanostat equipment (model 273 A). The tests were performed in a simulated body fluid (SBF) solution at 37 °C and pH = 7.4. The total surface area of each sample exposed to the solution was 1 cm2. Before the start of the tests, the samples were immersed in the solution for 30 min and a steady state of the open-circuit potential (OCP) was achieved. These tests were conducted using a 3-electrode system including a working electrode (prepared sample), a saturated calomel reference electrode (SCE), and a platinum auxiliary electrode.

In the potentiodynamic polarization test, potential in the range −250 to +250 mV (compared to OCP) was scanned at a rate of 1 mV/s.

The EIS tests were conducted at a frequency range of 100 KHz to 10 mHz with a sinusoidal potential amplitude of 5 mV. All the data obtained from the EIS tests were analyzed using Zview software.

2.7 Coating adhesion test

Effect of anodizing pre-treatment on nanofibrous coating adhesion (to the substrate) was studied using a tape test (according to ASTM D3359–09 standard).

2.8 Immersion test

As mentioned in Section 1, when Mg is placed in an aqueous medium, it gets corroded and Magnesium hydroxide and H2 gas are produced as a result.

$$Mg + 2H_2O \to Mg^{2 + } + 2OH^ - + H2 \uparrow$$
(1)

The amount of the released H2 gas is proportional to the number of moles of dissolved Mg. A H2 gas evolution test was carried out based on the setup described previously [47]. Each sample was immersed in SBF solution at 37 °C and the released H2 gas was measured by collecting it in an inverted measuring cylinder above the specimens. The total surface area exposed to the solution was 1 cm2. The immersion test was performed for 72 h. Afterwards, each sample was dried and its surface was studied by SEM and EDS to investigate the effect of the coatings on biomineralization of AZ31 alloy.

2.9 In vitro cytocompatibility assay

The cytocompatibility of the substrates was tested in vitro by measuring the viability of MG63 osteoblasts (Pastor institutes) cultured on the substrates using an MTT assay. The cells were first cultured using Dulbecco’s modified eagle medium (DMEM, containing 10% FBS serum and 1% penicillin/streptomycin). Then, a substrate was placed in each well of 6-well culture plates and osteoblasts were seeded on each sample at a density of 4 × 104 cell/well and stored in a humidified incubator at 37 °C with 5% CO2 for 24 or 72 h. An identical volume of cells at the same concentration was seeded into a well without a substrate as a negative control. Then, the culture medium was removed and 1 ml of DMEM containing 10% MTT solution was added to each well. The cells were then incubated for 4 h to form MTT formazan crystals. The MTT solution was replaced by 100 µL of dimethyl sulfoxide solvent (DMSO) to dissolve the crystals. After 15 min, the solution of dissolved formazan crystals was moved to 96-well cell culture plates, and the optical density at the wavelength of 570 nm was measured by a spectrophotometer. For higher reliability, this procedure was repeated 3 times and the average OD was calculated. The cell viability of the samples is calculated using Eq. 2:

$$Viability = \left( {OD_S/OD_R} \right) \times 100$$
(2)

ODS is the optical density of the specimens and ODR is the optical density of the reference sample.

2.10 Cell adhesion

To evaluate the osteoblast cell adhesion, specimens were first exposed to UV light for 45 min for sterilizing. Afterwards, the cells were cultured on the specimens (4 × 104 cell/cm2). After 72 h, the specimens were then removed from the culture medium and were fixed in 4% glutaraldehyde solution for 15 min at 4 °C. Next, the samples were immersed in ethanol (50, 60, 70, 80, 90, and 100% for 10 min of immersion for each). After drying, the surfaces of the specimens were studied using the FESEM.

3 Results and discussion

3.1 Surface morphology

CS and CS-CNT nanofibers were deposited on pre-treated Mg alloy under the same conditions as explained in Section 2.3. Surface morphology of Mg-C, Mg-AC, and Mg- ACC samples are shown in Fig. 1(a), (b), and (c) respectively, which demonstrate the randomly aligned nanofibrous coatings with interconnected porous structures. Fig. 1(d), (e), and (f) show the fiber diameter histograms corresponding to the samples, including average diameter and standard deviation. Comparison between Fig. 1(b) and (c) and their nanofiber diameters (Fig. 1(e) and (f)) shows that addition of CNT to CS nanofibers resulted in a reduction of the average diameter from 212.4 ± 77 nm to 187.9 ± 61 nm. This is due to the fact that CNT enhances the electrical conductivity of the electrospinning solution, resulting in a higher charge density on the surface of the jet and larger elongation forces during the electrospinning process [48, 49]. Also, compared to Mg-C and Mg-AC, the nanofibers coated on Mg-ACC are more uniform in size and higher in density. The average diameter of the CS nanofibers on the Mg-C sample was 229.9 ± 85 nm (Fig. 1(d)).

Fig. 1
figure 1

FESEM images of nanofibers; (a, d) Mg-C, (b, e) Mg-AC and (c, f) Mg-ACC.

As mentioned in Section 2.4, CS-based nanofibers must be stabilized. So, after electrospinning for 75 min, the coatings were stabilized in 5 M Na2CO3 aqueous solution. The effect of stabilizing the nanofibers can be observed in Fig. 2: the non-stabilized nanofibrous coating lost its structure after exposure to water (Fig. 2(a)) while the stabilized (for 10 min) coating preserved its structure (Fig. 2 (b)).

Fig. 2
figure 2

FESEM images of (a) non-stabilized specimen after contact with water and (b) stabilized specimen in 5 M Na2CO3 aqueous solution for 10 min

3.2 Chemical investigation

Figure 3 shows the spectra obtained from FTIR spectroscopy of CS nanofibers, CS-CNT nanofibers, and stabilized CS nanofibers. The addition of CNT slightly changed the spectra peak intensity. The relatively wide peaks at around 3450 cm−1 (for all three samples) are associated with the stretching of the primary amine and OH- functional groups. Also, the peaks around 1050 and 1110 cm−1 correspond to the saccharide structure of CS. The characteristic peaks of non-stabilized CS and CS-CNT fibers (Fig. 3, spectra (1) and (2)) were observed around 1530 and 1670 cm−1, which indicates the stretching of the protonated amine (-NH3+) functional group. The presence of a large absorption peak around 1670 cm−1, a carboxylate stretching related peak at 1200 cm−1, and 3 peaks in the range of 725–840 cm−1 (Fig. 3, spectra (1) and (2)) show the presence of TFA in CS fibers as amino salts (-NH3+CF3COO). The amino salts resulted from the dissolution of CS in TFA solvent. In comparison to the non-stabilized samples, the spectrum of the stabilized-CS nanofibers contains a strong peak at about 3440 cm−1 which is related to the stretching of the amine functional group (-NH2) [45, 50]. In other words, the results confirmed the regeneration of the amine functional groups after the stabilization process.

Fig. 3
figure 3

FTIR spectra of nanofibers: (1) CS nanofibers, (2) nanocomposite fibers, and (3) stabilized-CS nanofibers

The presence of CNTs in CS nanofibers was confirmed by Raman spectroscopy (Fig. 4). It is worth mentioning that the Raman spectra profile of CS-CNT nanofiber coating is highly similar to the spectra of CNTs. In addition, D-band, G-band, and 2D-band peaks are detected at 1332, 1600, and 2680 cm−1, respectively. The peaks indicate the presence of CNTs in the nanofibers structure [51, 52]. Moreover, the D-band/G-band peak intensity ratio was increased in the nanofibers compared to that in the CNTs. Also, the stronger D-band peak of the nanofibers (Fig. 4) indicated an increase in structural defects of the CNTs. This is due to the linkages between CNTs and the CS polymer.

Fig. 4
figure 4

Raman spectra: CNT and CS-CNT nanofibers

3.3 Wettability

It is reported that the desired contact angle for orthopedic applications such as bone regeneration is in the hydrophilic range of 35˚to 80˚ [17]. Figure 5 shows the wettability test results of Mg, Mg-A, Mg-AC, and Mg-ACC samples. The schematic form of water droplets on the surface is also shown in Fig. 5.

Fig. 5
figure 5

Contact angle measurement results

The contact angle for the Mg sample was 118 ± 4.7° and decreased to 104 ± 2° for the Mg-A sample likely due to its increased surface roughness caused by the pre-treatment process [53]. Another reason for this could be the formation of OH groups on the surface after anodizing. As shown in Fig. 5, the surface of the Mg and Mg-A specimens are hydrophobic (contact angle > 90°). The nanofibrous coated samples exhibited a higher wettability due to the hydrophilic nature of the CS coatings: contact angles for Mg-AC and Mg-ACC samples were 63 ± 3° and 55 ± 5° respectively. A contact angle of 55° (observed for Mg-ACC) has been introduced as an optimal value for bone regeneration applications [19].

3.4 Coating adhesion study

The results of the coating adhesion tests for Mg-C, Mg-AC, and Mg-ACC samples are summarized in Fig. 6. Mg-C had the lowest adhesion (ASTM grade 2B, around 17% of the coating was removed). Anodizing pre-treatment enhances surface roughness and mechanical interactions with the nanofibers, resulting in a higher adhesion. This was confirmed as the detached area in the Mg-AC specimen was reduced to 4% (ASTM grade 4B). Similarly, the removed area for the Mg-ACC specimen was reduced to 1% (ASTM grade 4B).

Fig. 6
figure 6

Adhesion performance of the coatings in Mg-C, Mg-AC and Mg-ACC samples

3.5 Corrosion behavior

In order to study corrosion behavior of the samples in the SBF solution, they were immersed in the solution and allowed to be equilibrated for 30 min before starting the test, as explained in Section 2.6. The resulting potentiodynamic polarization curves are shown in Fig. 7.

Fig. 7
figure 7

The potentiodynamic polarization curves of different samples

Polarization curves were used to calculate the corrosion rate and potential, the two important parameters to determine the corrosion protection of samples (Table 2). According to previous studies [54,55,56], higher corrosion potential and lower current density (shown in Table 2) indicate a higher corrosion resistance. According to Fig. 7, current densities for Mg and Mg-A samples were higher than those of the other samples, indicating the higher corrosion rates. The current density of Mg-AC is higher than that of Mg-ACC. Due to the positive effect of the CNTs on the structure of the nanofibers, the Mg-ACC specimen exhibited the highest corrosion resistance. This was confirmed since the anode and cathode branches of this sample are in the lowest position in terms of current density. Additionally, it can be observed from Fig. 7 that the corrosion potential of the nanofibrous coated samples (Mg-AC and Mg-ACC) were changed to the anodic intervals (positively shifted). In terms of thermodynamics, the corrosion resistance for the nanofibrous coated samples increased [57].

Table 2 Data obtained from polarization curves

According to Table 2, it is clear that the corrosion current density (and the resulting corrosion rate) of the Mg-ACC sample is about 2 orders of magnitude lower than that of the Mg sample. This is due to a more homogeneous and denser coating of the Mg-ACC specimen. According to Table 2, the corrosion rate of the pre-treated Mg sample (Mg-A) is 84 mpy, which is lower than that of the Mg sample (262 mpy), demonstrating the benefit of the anodizing pre-treatment. Moreover, the potentials of the coated samples have positively shifted: from −1.596 V for the Mg sample to −1.148 and −1.107 V for the Mg-AC and Mg-ACC samples, respectively. Improvement in corrosion resistance of Mg alloy by coating is also confirmed by the results obtained in previous studies [58, 59].

In this section, the results of the EIS test are discussed. The tests were performed for 4 specimens as explained in Section 2.6. Figure 8 shows the Nyquist plot resulting from the EIS test. For the Mg and Mg-A samples, the plot includes two capacitive loops at high frequencies and an inductive loop at low frequencies. The inductive loops indicate the penetration of the corrosive agents into the substrate (pitting corrosion mechanism in Mg alloy) [60, 61]. Mg-AC and Mg-ACC samples did not exhibit an inductive behavior, which indicates the protective nature of the nanofibrous coatings against corrosion (in the SBF solution). As shown in Fig. 8, Mg and Mg-A samples have smaller loop diameters than Mg-AC and Mg-ACC samples. This shows a higher corrosion resistance as a result of CS coating (Mg-AC and Mg-ACC samples).

Fig. 8
figure 8

Nyquist plots of Mg, Mg-A, Mg-AC, Mg-ACC samples. The letter f refers to the fitted results

The equivalent electrical circuits of the samples are presented in Fig. 9. The two capacitive loops (for all of the samples) are shown by the two constant phase elements (CPE1 and CPE2, capacitor equivalent) (Fig. 9(a) and (b)). The inductive loops presented in the Mg and Mg-A samples are shown by an inductor (L1, Fig. 9(a)). The reason for using constant phase elements (instead of capacitors) is the double layer surface roughness. Rs and Rct represent the solution and the charge transfer resistances, respectively. RL represents the induction resistance (Fig. 9(a)).

Fig. 9
figure 9

Equivalent circuits; (a) for Mg and Mg-A, (b) for Mg-AC and Mg-ACC

The numerical values of the equivalent circuit elements (Fig. 9) are presented in Table 3. These values are calculated by curve fitting on the EIS test data points (Fig. 8). The fitting and calculations are carried out using Zview software.

Table 3 Fitting results of EIS data

Higher values of Rct and lower values of CPE indicate a higher corrosion resistance [62]. The positive effect of anodizing pre-treatment can be determined by comparing Rct and CPE for Mg and Mg-A samples: CPE1 and CPE2 decreased from 4.68 × 10−5 and 0.0014 Ω−1.s−1.cm−2 to 2 × 10−5 and 0.0013 Ω−1.s−1.cm−2, respectively. Rct increased from 230 to 262 Ω.cm2. CS coating further improved the corrosion resistance as CPE1 and CPE2 decreased to 9.98 × 10−6 and 0.0011 Ω−1.s−1.cm−2, respectively and Rct increased to 1219 Ω.cm2 for the Mg-AC sample. Finally, it can be observed that Mg-ACC has the highest corrosion resistance since it has the highest value of Rct (1408 Ω.cm2) and the lowest value of CPE1 (3.54 × 10−6 Ω−1.s−1.cm−2) and CPE2 (0.0004 Ω-1.s-1.cm-2) compared to the other samples. This shows the superior effect of CS-CNT coating in corrosion resistance (Table 3).

3.6 Immersion test

Morphology and chemical composition of the phases formed on the Mg-A, Mg-C, Mg-AC and Mg-ACC samples after immersion in SBF were analyzed using SEM and EDS. SEM images are shown in Fig. 10. Severe degradation and presence of pits on the surface of the Mg-A sample were observed (Fig. 10(a)). Also, surface cracks were found for both the Mg-C and Mg-AC samples (Fig. 10(c, e)). However, the coating remained intact for the Mg-ACC sample after the test (Fig. 10(g)). This is due to higher adhesion of the CS-CNT coating on the anodized substrate (as discussed in Section 3.4).

Fig. 10
figure 10

FESEM images and EDS results of the samples after immersion in the SBF solution for 72 h: (a) and (b) Mg-A; (c) and (d) Mg-C; (e) and (f) Mg-AC; (g) and (h) Mg-ACC

EDS analysis from particles on the surface of the samples revealed the presence of Mg, Al, Zn, O, Ca, P, and Cl ions which are from the Mg alloy and SBF solution. The presence of these ions suggests the formation of magnesium chloride, magnesium hydroxide, calcium, and magnesium phosphate [63].

The compositions obtained from the EDS of the samples are shown in Fig. 10(b, d, f and h) and Table 4. The surface of the Mg-A sample contains a large amount of Mg and O and a small number of other ions. Compared to Mg-A, other samples showed higher amounts of Ca, P, and O on their surfaces. The Mg-ACC sample had the highest Ca/P ratio, which indicates biomineralization, and the lowest amount of chlorine ion, which indicates pitting corrosion resistance improvement of the Mg alloy. Thus, it can be concluded that the CS-CNT coating has led to a further decrease in the rate of substrate degradation compared to the CS coating, resulting in higher adhesion to the substrate. As a result, the CS-CNT coating is the more suitable substrate for the formation of the calcium phosphate layer during osseointegration.

Table 4 Elemental composition of the sample surfaces after immersion for 72 h

3.7 Hydrogen evolution test

A hydrogen evolution test was performed as discussed in Section 2.8. Figure 11 shows the rate of H2 gas releasing for the Mg-A, Mg-C, Mg-AC, and Mg-ACC specimens.

Fig. 11
figure 11

The amount of H2 gas released at different times during immersion

The result of the test revealed that the coated samples have a lower rate of H2 gas evolution (Mg-A demonstrated the highest rate of release). Reduction in H2 gas evolution by creating biocompatible coatings is in agreement with previous studies [9, 38]. The nanofibrous coatings, especially the composite coating, controlled and reduced the H2 gas evolution. After three days of immersion, the amount of the released H2 gas decreased from 12.5 ml per unit area for Mg-A to 2.9 ml for Mg-ACC. The further reduction of H2 evolution for Mg-ACC compared to Mg-AC is due to the more uniform and denser nanofibrous structure and the higher coating adhesion. Furthermore, comparison of Mg-C and Mg-AC results shows that the anodizing process before applying the nanofibrous coatings reduces the amount of H2 release. This is due to the increased coating adhesion after the anodizing pre-treatment.

By comparing the amount of chlorine uptake (section 3.6) and H2 gas evolution during the degradation of these samples, it was found that there is a relationship between the two (i.e., the sample surface with a higher H2 evolution took up more chlorine).

3.8 Cell adhesion and cytotoxicity

Figure 12 shows the surface of the specimens after cell culture studies for 72 h. Compared to the Mg-A sample with individual cells on the surface, mass adhesion of cells is observed on the surface of the coated specimens (due to the higher hydrophilicity and biocompatibility of chitosan-based nanofibrous coated samples). Furthermore, the highest cell adhesion observed on the Mg-ACC specimen (the cells covered almost the entire surface of the Mg-ACC specimen).

Fig. 12
figure 12

SEM images of samples after cell culture studies for 72 h. a Mg-A, (b) Mg-C, (c) Mg-AC, (d) Mg-ACC (The red arrows point to the cells)

MTT test (see Section 2.9) results after 24 and 72 h are shown in Fig. 13. According to the IOS-10933-5 standard, if the cell viability is above 70%, the sample is non-toxic and biocompatible. Therefore, all of the specimens were determined to be non-toxic. As shown in Fig. 13, cell viabilities for Mg-AC and Mg-ACC specimens are higher than those for Mg-A and Mg-C specimens (especially after 72 h). After the third day, the cell viabilities reached 103 and 110% for Mg-AC and Mg-ACC, respectively, which are about 40 percentage points greater than that of Mg-A. The positive effect of pre-anodizing on improving the biocompatibility of the samples is also observed in Fig. 13. As mentioned in 1, biocompatibility and non-toxicity of the samples depends on various factors such as the amount of toxins released, wettability of the surfaces, coating adhesion to the substrate, and corrosion behavior of the specimen in a physiological environment. Considering the results (Figs. 12 and 13), it can be safely assumed that by applying the nanofibrous composite coating on anodized-AZ31, a suitable substrate was created for cell growth and proliferation.

Fig. 13
figure 13

The cell viability for the samples. The viability expressed as a percentage of control

4 Conclusion

In this study, a CS-CNT nanocomposite coating was deposited on AZ31 magnesium alloy via electrospinning. Effects of the pre-treatment and electrospun coatings on corrosion behavior and biocompatibility of the AZ31 alloy were investigated. Anodizing pre-treatment enhanced adhesion of the coating to the substrate and the Mg-ACC specimen gained 4B ASTM grade. The nanofibrous coatings increased corrosion resistance of the Mg alloy in the SBF solution. After immersion in SBF for 72 h, the amount of released H2 gas was 12.5 ml per unit area for Mg-A and 2.9 ml for Mg-ACC. Mg-ACC also had the highest Ca/P ratio and the lowest amount of chlorine ion. These nanofibrous coatings exhibited good osteoblast cell adhesion, such that the cells covered almost the entire Mg-ACC area. An MTT assay revealed that, after 72 h, cell viability reached 103 and 110% for Mg-AC and Mg-ACC, respectively, in comparison to the control sample.