Introduction

The acceleration in the aging of the population has resulted in millions of people suffering of bone damage caused by aging and diseases (osteoporosis and necrosis of bone tissue) and accidental injuries, which is why the treatment of bone defects has become the main clinical operation [1,2,3,4]. Therefore, in order to develop biomaterials with characteristics similar to bone, it is necessary to study their chemical composition and mechanical properties.

Human bone is a structure made of fat, an organic phase composed of a structural protein, type I collagen, bone morphogenetic proteins (BMPs), minerals and water [1,2,3,4,5]. Of these elements, the calcium hydroxyapatite (Ca10[PO4]6[OH]2) is the main component of the bone. This mineral is a metabolically active tissue that works as a reservoir for essential electrolytes, such as magnesium and zinc [6]. Hydroxyapatite (HA) crystals are oriented in a periodic matrix in the fibrils with their axis parallel to the collagen fibers. The function of HA crystals and collagen molecules is to provide flexibility, strength and toughness. These two components represent approximately 95% of the dry bone [1, 6]. The bones can be classified as compact bones (cortical bones) and trabecular bones (cancellous bones). Compact bones are nearly solid with only from 3 to 5% spaces for osteocytes, canaliculi, blood vessels and erosion cavities. The pores of the trabecular bones are filled with bone marrow, and the porosity varies between 50 and 90% [5].

From a biological point of view, bone is a complex tissue that continuously undergoes dynamic biological remodeling, in where osteoclasts reabsorb mature bone tissue, while osteoblasts generate new bone to maintain healthy bone homeostasis. This regeneration process gives to the bone the capability to rebuild itself to repair damage. However, when a bone damage exceeds a critical size (approximately greater than 1cm3), bone regeneration is not possible [7, 8]; therefore, external intervention is required to help the bone’s self-healing [5, 8,9,10,11]. To achieve a proper reconstruction and tissue regeneration at the location of the bone defect and to recover the functionality of the region, different researchers have carried out relevant investigations. However, the repair of such a critical bone defect remains to be a challenge due to the complexity of the factors that affect the treatments such as the location and length of the damage or defect, the state of the soft tissue capsule, the mechanical stress and movements of the affected bone, age, metabolic diseases and complications related to the patient's health status [9, 12]. One of the best options for an intervention, according to the authors, is the use of autografts made from the own patient bone avoiding a possible immune rejection. However, the autograft is usually limited in size and quality, which generally carries a risk of complications such as donor site morbidity and prolonged operation time and leads to additional trauma to the bone [5, 9, 13, 14]. Another option is the use of allogeneic bone, but this implants usually lead to immune rejection, disease transmission, and it is associated with an increment in the possibility of suffering a cross-infection and a slower healing process. Consequently, the alternative of use artificial bone implants made of biomaterials, recently, has emerged [5, 9, 10, 15,16,17].

On the other hand, the main aims of an implant are to restore bone functionality and to promote the regeneration of the bone’s tissue. Therefore, it must fulfil the following requirements: (i) good biocompatibility, including histocompatibility and blood compatibility; (ii) to guarantee the surface material is suitable for cell adhesion, proliferation and differentiation; (iii) to contain a network of interconnected pores for cell growth and the transport of nutrients and metabolic waste; (iv) suitable mechanical properties that: allow a positive performance of the implant to the necessities of surrounding tissues, minimize stress shielding and bear anatomical load requirements to avoid mechanical failure [4, 4, 5, 15, 18,19,20,21,22,23].

Material selection is the starting point for designing a successful implant, since chemical composition and microstructural arrangement play an important role in biocompatibility and mechanical properties [23, 24]. In addition, the reaction of the material within the human body is also an important factor to be considered as the release of ions from implants due to corrosion or excessive wear which can trigger inflammation and potentially initiate various complex allergic reactions. These undesired effects cause the destruction of the host's tissues followed also by implant loosening. Similarly, the mismatch between the elastic modulus of the bone and biomaterials leads to stress shielding in the surrounding bones causing bone resorption [5, 21,22,23, 25]. Therefore, researchers have focused on the selection of non-cytotoxic materials with morphology and mechanical properties similar to bone [26].

Regarding mechanical properties of the bone, such as tensile strength, elastic modulus, hardness, toughness and stiffness, they usually vary significantly with the patient’s age, anatomical location and bone quality. The mechanical property of the bone that has attracted the most research interest has been the elastic modulus because of its relevance upon characterizing some bone pathologies and as a key restriction in the design of artificial implants. Designing a bone implant is also important considering the anisotropic properties of the bone; for example, compact bone is stronger and more rigid when loaded longitudinally along the diaphyseal axis than transverse in the radial directions (as shown in Table 1). Compact bone is also stronger in compression than in tension. On the other hand, trabecular bone shows time-dependent behavior, as well as susceptibility to damage under cyclical loading. The mechanical properties of trabecular bone depend not only on porosity, but also on the architectural arrangement of individual trabeculae [5].

Table 1 Mechanical properties of human bones, average values from the literature [5, 19, 26, 27]

In clinical cases, orthopedic fasteners are frequently utilized during the healing process of the bone to provide enough support; however they are required only temporarily until the bone functions have been restored. Once the bone has healed, fasteners are removed, which can be avoided using biomaterials that are degraded naturally inside the human body. Therefore, a key parameter that must be considered for designing a temporary implant using biomaterials is the degradation rate of the material within the human body, where the inorganic ions (e.g., Ca2+, Cl, OH, HPO42−, H2PO4, HCO3 and CO32−) and the organic molecules (e.g., glucose, amino acids and proteins) are the main factors influencing implant degradation [5, 28]. Traditionally, fixation elements for bones, such as screws, nails and plates, are made of 316 L steel or Ti alloy. However, they present a much higher Young’s modulus than natural bone. Therefore, the implant bears most of the load that the bone normally undergoes resulting in a low stress level for the defective bone. Insufficient mechanical stimulation over a prolonged period can cause osteoporosis and other undesirable consequences [15]. In addition, as the orthopedic fasteners are usually structural elements made of materials with good corrosion resistance, once the healing process is finished, the osteosynthesis material is extracted, which requires a second surgical intervention. Nevertheless, bioabsorbable or biodegradable metals can be considered as a new class of promising biomaterials for temporary medical implant applications, which allow the replacement of biological tissues and physiological extracellular components without leaving toxic corrosion products. It is important to point out that corrosion products must not present any toxicity to their surroundings [19]. Thus, biodegradable metals used for implant applications must have an optimal balance between maintaining enough mechanical resistance while the healing process is ongoing and the gradual material degradation [29]. On the one hand, adequate mechanical support in the early stage of the healing process is required in order to obtain good results. On the other hand, it is also desired (to avoid stress shielding) dynamic degradation of the implant in order to decrease the capacity of load support gradually increasing the mechanical stimulation upon the bone progressively. Therefore, a degradation rate higher than the bone remodeling rate can affect the bone regeneration, because of premature loss of mechanical integrity [15, 30, 31].

Currently, a wide variety of new materials have been proposed for designing orthopedic applications, including metallic, ceramic, polymeric and even composite or hybrid materials. Due to their mechanical properties that are similar to bone, machinability and biocompatibility of the degradation products, biodegradable metallic materials have received significant attention in recent investigations. However, the low corrosion resistance of these materials remains a challenge for biomedical applications, which has attracted the attention of numerous studies. Therefore, the present research work performs a review of the state of the art, including the different materials that have been historically used for orthopedic applications and the role of magnesium alloys. Subsequently, we analyze different manufacturing methodologies, as well as surface and structural modifications that are implemented to improve the corrosion resistance of magnesium.

Using the VOSviewer software [32], a keyword co-occurrence plot is made. Figure 1 shows the results of a search carried out in Web of Science database with the keywords "Orthopedic implant" and filtered with the following keywords independently: “titanium,” “stainless steel,” “polymer,” “biodegradable material,” “biodegradable Mg” and “biodegradable composites” from 2000 to 2021. This search yields the most researched terms during the last 21 years, and it allows us to visualize how the development of biomaterials research has evolved. Figure 1 indicates that for materials used for permanent implants, titanium highlights in a dark blue tone, which corresponds to periods around 2016. However, as a biodegradable material, Mg alloys appear on the left side of the graph in a lighter tone, indicating that such alloys have begun to gain relevance from mid-2017. The research interest in the Mg alloys has been focused mainly on corrosion resistance. Therefore, it is possible to demonstrate the research trend toward the development and optimization of biodegradable alloys. For this reason, the search and compilation of data, techniques and fundamentals carried out in this article for the optimization of the properties of biodegradable magnesium alloys for fixation elements and orthopedic applications are justified.

Figure 1
figure 1

Co-occurrence network of “Orthopedic Implant” (2000–2021)

Materials for orthopedic implants

In order to determine and contrast the most promising biomedical materials, which are used for orthopedic applications, an extensive study of the state of the art is carried out to identify the families of materials that are commonly used and investigated for designing and machining fixation elements. The CES Edupack software [33] and the scientific databases (Web of Science, Science Direct and Springer) are used for stablishing eight main classes of materials, viz. titanium-based alloys, Cr–Co alloys, iron-based alloys, zinc-based alloys, magnesium-based alloys, polymers, ceramics and composite materials with a metallic matrix of magnesium. Subsequently, elastic modulus and the respective density are collected and summarized in Fig. 2.

Figure 2
figure 2

Biomedical materials for orthopedic applications [34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]

One of the factors to be considered when selecting a material for orthopedic implants is the closeness of the mechanical properties of candidate materials to the target bone properties because the mechanical response of the implant is similar to the bone response preventing stress shielding. In Fig. 2, a comparison of the elastic module of cortical bones and materials frequently used for implant applications is performed. Figure 2 shows that the closest materials to the femur cortical bone, regarding Young’s modulus and density, are the Mg and Zn alloys, composites of Mg matrix and polymers. Additionally, it is observed that materials commonly used for orthopedic applications (such as Ti alloys, stainless steels and Cr-Co alloys) are non-bioabsorbable metals even though their mechanical properties differ considerably in comparison with the bone properties. Bioabsorbable or biodegradable materials can degrade in the human body through electrochemical processes such as corrosion and can be metabolized by cells and tissues without compromising the health of the host [58, 59]. When non-bioabsorbable materials are used for fixation elements, a second surgical intervention is mandatory to remove the fixation material. Therefore, a study of different materials for biomedical applications is carried out classifying them into non-bioabsorbable and bioabsorbable materials.

Non-Bioabsorbable materials for orthopedic applications

Materials with high corrosion resistance used for biomedical applications are polymers such as polymethyl methacrylate (PMMA), polylactic acid (PLA) and polyglycolic acid (PGA) and metals such as CoCr alloys, stainless steels and Ti and its alloys. According to Fig. 2, the polymers have densities and Young's modulus very similar to bone. Regarding metallic materials, which present values of density and Young's modulus much higher than cortical bone (as shown in Fig. 2), they are commercially well accepted for permanent implants. A brief description of their advantages, applications and challenges is given below.

Non-bioabsorbable metal alloys

Currently, metal alloys that are conventionally utilized for orthopedic applications have a high corrosion resistance and biocompatibility [60]; for instance, Ti is an inert and safe material, which is widely used for permanent invasive implants. Ti produces minimum no desired effects on the patient, due to the high resistance to corrosion caused by the formation of a thick and rapidly regenerating oxide layer providing a strong corrosion protection. This metal (Ti) can integrate easily with hard tissues, because bone minerals are formed on the surface promoting the osteoregeneration [39, 61]. Ti also has a lower Young's modulus compared to stainless steels and cobalt alloys [on average 49% less than cobalt–chrome alloys and 53% less than stainless steel (Fig. 2)]. Thus (for all these reasons), use of Ti is presently widespread in its pure state for implants and orthopedic prostheses. Ti alloys are even suitable for allergic patients to metal. They are used for fracture repairs and total hip and knee arthroplasty, due to its high strength per unit mass, low density compared to steel (4.5 g/m3, [62]) and low surface hardness (approximately 70 HB [61]). However, due to their biomechanical incompatibility, high Young's modulus compared to bone (55–110 GPa [61]) and low resistance to wear, Ti alloys are not used as fixation elements [37, 39, 62,63,64]. For orthopedic applications, the most used Ti alloys are Ti6Al4V and Ti grade 4, because they are Ti alloys commercially available with the highest mechanical resistance [65]. However, there are other alloys that are worth mentioning, such as nitinol which is a nickel and titanium alloy. Nitinol has shape memory properties, and it is used in orthopedics to treat cases of ruptured tendons and torn ligaments [66, 67].

Stainless steel is other material that has been successfully used for implants applications; in fact, it was the first material utilized for designing modern orthopedic implants due to its high corrosion resistance and biocompatibility [68]. For medical applications, stainless steel contains molybdenum (2–3% wt), chromium (16–18% wt), manganese (≤ 2% wt), carbon (0.030–0.08% wt), nickel (8–14% wt), phosphorus (0.05% wt), nitrogen (0.10% wt) and sulfur in small proportions (0.03% wt) [69,70,71]. This steel has a high toughness, good manufacturability and low cost compared to other alloys. However, it has low fatigue and wear resistance. Regarding, Young's modulus (approx. 193GPa) is higher than Ti (approx. 96.87 GPa [37]) and the bone (see Table 1). Stainless steel does not promote the formation of natural bonds with bone which can lead to implant failure and can suffer from poor corrosion resistance in physiological fluids causing the release of corrosion products and Ni ions that are harmful to the body [39, 45, 72,73,74]. The most used stainless steel for fixation elements such as plates, bone screws and permanent implants is 316L [39].

Chromium–cobalt are other non-bioabsorbable metal alloys that are widely used for different biomedical applications, such as dental implants, due to their excellent mechanical properties, such as high tensile strength (758.73 ± 25.85 MPa), high wear resistance and hardness (~ 330 HV) [62, 75,76,77]. The chromium–cobalt alloys also exhibit a high corrosion resistance, due to a protective film of chromium oxide that appears on the surface of these alloys [78]. Another suitable orthopedic application for such alloys is arthroplasty devices, especially hip implants, because of their resistance to torque and abrasion [79]. However, the high Young's modulus (approx. 210–220 GPa [80], see Fig. 2) can generate stress shielding, and some allergic reactions can be caused by undesired corrosion products from the cobalt alloys [62]. Also, the release of chromium and cobalt ions may lead to increase the possibility of tumor formation [81, 82].

Non-bioabsorbable polymers

Polymeric materials have been successfully utilized for biomedical applications. They have some advantage such as good biocompatibility, low density and ease of synthesis. Polymethyl methacrylate (PMMA) is one of the most used thermoplastic materials for biomedical applications, due to its good processability, adequate mechanical properties and high biocompatibility. Since mid-twentieth century, PMMA is combined with liquid methyl methacrylate (MMA) to create a bone cement for orthopedic applications [83]. PMMA is a thermosetting polymer; i.e., viscosity of this material is not affected significantly by changes in the temperature; therefore, it is considered nowadays as a main element for manufacturing bone cements for fixation of the stem in hip and total knee replacements surgeries [39].

Polymers are also used for cranial orthopedic applications as an alternative for titanium alloys. Polyester ether ketone (PEEK) provides excellent mechanical properties and long-term biocompatibility, ideal for this type of neurosurgical applications [84]. Ultra-high molecular weight polyethylene (UHMWPE), which was first synthesized in the middle of the twentieth century by Karl Ziegler, has a low coefficient of friction, high impact resistance, good wear resistance, excellent biocompatibility and low cost. Therefore, it has been used for over 50 years in total hip and knee implants [39, 85]. However, although UHMWPE exhibits good wear resistance, the material response when there is contact among components must be improved [85]. Over the years, new manufacturing processes have been proposed to improve the wear resistance of UHMWPE, such as cross-linking, which allows carbon atoms from different polyethylene chains joining together and creating more stable three-dimensional structures with higher tear and wear resistance. The cross-linking process does not affect the density or the ultimate tensile strength of the material [86]. New surface finishes have been engineered to allow fluid build-up to make the polymer more resistant and improve lubrication [87]. Irradiation of UHMWPE with antioxidants, especially with α-tocopherol, improves the fatigue and corrosion resistance, extending the useful life and stability of the implant over time [88]. The main challenge about polymers for biomedical applications has been to improve mechanical properties in order to withstand the loads that human bones usually undergo.

In Table 2, the main differences between non-bioabsorbable metals and polymers are summarized.

Table 2 Non-bioabsorbable metal alloys vs non-bioabsorbable polymers [59, 89,90,91]

Bioabsorbable materials for orthopedic applications

Bioabsorbable or biodegradable materials have been the focus of the recent investigation on implant materials due to their potential use in temporary implants and fixation elements. Using these types of materials for orthopedic implants, it is possible to avoid the need for a second surgical intervention to remove the implant, because the body itself can reabsorb the biodegradable material. Therefore, risks associated with the patient's surgery are reduced, time required for postoperative physical rehabilitation process is diminished, and the cost inherent to the clinical procedures is also lowered. The biodegradable materials in Fig. 2 are alloys and composites of Mg and Zn. Currently, these are the most investigated biomaterials, and the use of these materials in orthopedic applications is expected to increase in the coming years. The alloys and composites of Mg in Fig. 2 have mechanical properties closer to the bone, and they are also suitable for using as fixation and load bearing elements. Therefore, these materials do not damage the bone due to stress shielding.

Bioabsorbable polymeric materials

The first developed and the most used biodegradable materials for commercial implants are polymeric, which are obtained from polyglycolic acids (PGA), polylactic (PLA) and polylactic glycolic acid (PLGA). Biodegradable polymers have been successfully utilized for several biomedical applications including suture threads, drug delivery devices and in the orthopedic industry as pins and screws [57, 60, 92]. Polymers are manufactured through a wide range of methods, such as additive manufacturing, which allows to create custom-made parts economically and with controlled porosity [93, 94]. However, polymeric materials still have some challenges regarding the mechanical properties that must be addressed, which limit the use in orthopedic applications.

Shape memory polymers are promising solution for new surgical and medical devices for special applications like self-fastening stitches and suture less devices, and additionally to temperature changes, shape memory materials can be driven by pH, light and other physical effects. These materials are known for their good biocompatibility and biodegradability and open a new whole universe of smart applications within the body [95].

Polymers like PLA have been used for developing self-fastening elements with shape memory materials. However, these materials are not strong enough to hold weight loading bones. As an alternative to improve the mechanical properties of polymers, Liu et al. [96] developed a triple shape memory polymer, using a highly oriented poly(lactic acid)-b-poly(lactide-co-caprolactone) (PLA-b-PLCL), expecting a decrease in the glass transition temperature, to a range including the body temperature and higher tensile strength and modulus.

Bioabsorbable metallic materials

Biomedical metallic materials that are currently used can be harmful to the human body in the long term due to metallic particles that are released and accumulated by means of degradation and corrosion of the material. Therefore, metallic materials for temporary implants must have excellent biocompatibility and bifunctionality, adequate load capacity, high wear resistance, low density, and a gradual and controlled biodegradation rate that allows once the bone is healed; then, reabsorption of the biodegradable material is completed [60]. Appropriate selection of biodegradable materials reduces the health risks associated with the use of implants and a second surgery to remove the implant after the tissue has healed [97].

Zinc-based metal alloys have good biocompatibility, high bioabsorbability (up to 15 mg/day [98]), ideal corrosion rate in vitro (approximately 0.022 mm/year [99]) and relatively low Young's modulus (80–90 GPa, see Fig. 2). Zinc is essential for the normal operation of human body; for instance, it is indispensable for heart functioning and protects endothelial cells [100]. Zinc alloys do not produce harmful gases during biodegradation, and the corrosion products are biocompatible and harmless [100]. The low melting temperature of these alloys and the low reactivity during melting allow successfully casting components [98, 100]. All these advantages justify the successful use of the zinc alloys as biodegradable implant material. However, zinc alloys implants are limited in size, because they are brittle, have low mechanical properties and show poor ductility under compression loading. In addition, production costs are relatively high for these alloys due to the high purity elements that are required in the fabrication process of the zinc alloys [98, 101].

Magnesium alloys

As zinc, magnesium is an indispensable element for the proper functioning of the body. Human body contains approximately 23 g/kg of magnesium, and the amount of Mg ions (Mg2 +) in the blood is estimated at 0.00070–0.0011 M. Magnesium is nontoxic in concentrations up to 1.05 mM and plays a vital role in inhibiting abnormal nervous excitability. Magnesium also participates in protein synthesis, prevents atherosclerosis and helps to reduce the risk of developing hypertension [65]. Its deficiency could inhibit muscle growth and affect the properties of skeletal muscle [102]. Therefore, magnesium alloys are strong candidates for degradable biomaterials used for temporary implants including in applications such as traumatology, cardiovascular, maxillofacial and dentistry. Currently, these alloys are successfully used for different applications such as components for bone fixation and osteosynthesis, cardiovascular devices such as stents or catheters, even cavity filling materials and as a barrier in dental implants [60, 103,104,105,106,107,108]. Unlike Ti alloys and stainless steel, magnesium reacts with the body's physiological fluids to form soluble and nontoxic products, which are eliminated through urine without generate any health risks. Mechanical properties of most magnesium alloys, viz. Young's modulus (~ 47GPa), UTS (86.8–300 MPa), elongation at break (3–30%) and density (~ 1.74 g/cm3), are close to the properties of human bone as shown in Fig. 2, reducing the possibility of generating stress shielding [45, 109,110,111]. Magnesium alloys have high machinability and can achieve precise final dimensions; therefore, complex components are possible to manufacture with tiny tolerances. Due to the high toughness, magnesium alloys are suitable for using in components for load-bearing applications [112,113,114]. However, these alloys corrode rapidly in aqueous solutions (0.39 mm/year in EBSS [96], 1.39–1.88 mm/year in SBF and 0.25–2.05 mm/year in Hank's solution [115,116,117]). The high corrosion rate of magnesium generates health hazards, such as osteolysis causing degeneration and weakening of the bones and loss of mechanical integrity of the implants. It also produces a high volume of hydrogen gas (H2) (approximately 1 ml/mg of Mg), which promotes formation of gas bubbles in the adjacent tissues raising pH levels of the medium and delaying the healing process [109, 113, 118, 119]. Therefore, controlling the corrosion rate in these alloys is one of the greatest challenges to be faced. It is also indispensable to identify the different mechanisms that can be used for reducing the degradation rate and the hydrogen evolution.

Corrosion behavior of magnesium alloys

Magnesium is one of the most chemically active metals due to its low reduction potential [117, 120]. Table 3 shows the position and potential of Mg in contrast to Zn, Fe and Ag, materials that have been used previously for clinical applications, compared to the standard hydrogen electrode. Therefore, magnesium is widely used as the main element in sacrificial anode coatings to protect other metals from corrosion [121,122,123].

Table 3 Electrochemical series of some materials. Normal reduction potentials [117]

During the corrosion process of metallic implants installed within the human body, various factors affect the corrosion behavior of the material. For magnesium alloys, the most critical factor is the local pH level, which determines the nature and characteristics of the resulting corrosion products. Figure 3 shows the Pourbaix diagram of magnesium in water at a temperature of 25 °C. In this figure, the resulting magnesium products are stablished for different environment pH levels. On one hand, in environments with high pH, viz. pH > 11.5, stable magnesium hydroxide is generated. This base acts as a protective layer on the surface reducing implant corrosion. On the other hand, when the pH around the implant is less than 11.5, Mg(OH)2 is unstable and hydrogen gas is produced, which negatively affects the body and the patient's recovery [124]. Usually, after a surgery the pH surrounding the implant is between 5.3 and 7.4, due to secondary acidosis which is generated by metabolic process and postsurgical reabsorption [104] The low pH level together with the natural chlorine electrolyte of the physiological system accelerates the corrosion of the magnesium, promotes the formation of cracks and small defects in the components and, in combination with the microorganisms in the body’s environment, reduces the oxygen concentrations in the affected zone [104, 125].

Figure 3
figure 3

PH-potential diagram (Pourbaix) for Mg in water at 25 °C [117]

The chemical reaction that occurs during theorrosion process of magnesium in an aqueous medium is given by [126, 127].

$$ {\text{Mg + 2H}}_{{2}} {\text{O}} \to {\text{ Mg}}\left( {{\text{OH}}} \right)_{{2}} {\text{ + H}}_{{2}} $$
(1)

Reaction (1) is obtained as result of the following partial reactions [126,127,128]:

$$ {\text{Anodic reaction: Mg}} \to {\text{Mg}}^{{2 + }} {\text{ + 2e}}^{ - } $$
(2)
$$ {\text{Cathodic }}\;{\text{reaction:}}\;{\text{2H}}_{{2}} {\text{O + 2e}}^{ - } \to {\text{H}}_{{2}} {\text{ + 2OH}}^{ - } $$
(3)
$$ {\text{Compound formation: Mg}}^{{2 + }} {\text{ + 2OH}} \to {\text{Mg}}\left( {{\text{OH}}} \right)_{{2}} \left( 4 \right) $$
(4)

The cathodic reaction releases considerable amount of H2, and the compound reaction drives the passivation of the surface due to the formation of the hydroxide layer Mg(OH)2. However, within the human body, the protective effect of this layer decreases due to the presence of chlorine ions in the body environment surrounding the implant. The magnesium hydroxide reacts with the chlorine and yields water-soluble magnesium chloride, when the concentration exceeds 30 mmol/L. This compound, generated on the surface, deteriorates and significantly reduces the corrosion resistance obtained by means of forming the magnesium hydroxide layer [126, 127].

Parameters such as composition, porosity, grain size and presence of second phases influence the corrosive behavior of magnesium alloys [126]. In particular, grain size is a critical factor that not only influences the corrosion of metals, but also determines mechanical properties such as elastic limit and hardness [129]. Grain boundaries are high-energy regions in the microstructure; therefore, the corrosion rate of metals tends to increase if the grain size is smaller, because the number of grain boundaries increases with the grain refinement [129]. Monocrystalline materials have a low corrosion rate, viz. ∼ 0.5 µm/day in simulated body fluid (SBF) with the packed orientation as the basal plane [129]. For example, Mathieu et al. [130] investigated the correlation between corrosion resistance and microstructure of sem-solid cast magnesium alloys (AZ91D). The results indicate that the casting method influences the corrosive behavior of the alloys by controlling the microstructure of the material. The strength of the semisolid cast alloy was 35% higher than that exhibited by the same high-pressure cast alloy with the same level of impurities. The authors conclude that, regardless of the corrosion evaluation method, the difference in the corrosion resistance of the evaluated specimens should be attributed solely to the microstructural conditions resulting from their manufacturing process.

The galvanic corrosion that occurs between the intermetallic phases and the Mg alloy matrix is a factor that strongly influences the corrosion behavior. The potential difference that forms between the intermetallic phase and the matrix induces the electrons to move from anode to cathode forming galvanic cells. The second anodic phases degrade when they meet a more noble matrix in a galvanic cell; in opposite, the matrix corrodes when the second phase is more noble than the matrix. By increasing the voltage power difference between the intermetallic phase and the matrix, the corrosion rate of the base material increases. Likewise, an increase in the fraction of the second phase provides more active galvanic cells; therefore, the affected area will increase its corrosion rate linearly [129].

The release of hydrogen gas is inherent in the corrosion process of magnesium and one of the most important factors to control when working with this material for clinical applications. The release rate of H2 during Mg corrosion at 37 °C (average body temperature) is 40 ml /cm2/day, and the human body's absorption rate of these ions is 2.25 ml /cm2/day. Excess ions cannot be absorbed, they accumulate as gas bubbles in the tissues, and they can disappear after a while or be eliminated through a puncture which can cause discomfort in the patient [97, 131, 132].

Several studies have been reported on the effect of magnesium corrosion products as corrosion inhibitors and the properties of the oxide films formed: An investigation by Zuo et al. [133] evaluated the behavior of pure magnesium (HP-Mg) in three simulated human fluid media corresponding to SBF, bile and simulated urine. The results show that after immersion of HP-Mg in SBF and bile, no crystalline structures are evident in corrosion products. Paired analysis of EDS and XDR by the authors concludes that resulting precipitates are amorphous calcium/magnesium phosphate and calcium/magnesium carbonate. Additionally, a decrease in the corrosion rate is observed as well as a reduction of corrosion products with amorphous crystalline structure emitted to the human body, which reduces the possibilities of developing problems such as biliary occlusion.

Likewise, S. Feliu (Jr) and I. Llorente [134] evaluated the changes in the chemical composition of the alloys AZ31 and AZ61 in solutions at 0.6 M NaCl. The results show that the magnesium corrosion proceeds with the release of hydrogen bubbles and the release of OH- ions, increasing the pH of the surrounding medium. It is concluded that the relationship between the pH of the medium and the corrosion rate is direct: By increasing the corrosion rate, the pH can take values between 10.5 and 11; on the contrary, with lower corrosion rates, the pH will be less than 10.5. However, strategies have been implemented to minimize the degradation rates of Mg alloys to ensure proper tissue healing without affecting the health of the patient, as shown in the next section.

Mechanisms to control the degradation of magnesium alloys

In the last decades, different strategies have been investigated to control the degradation rate of magnesium alloys, including microstructural and surface modification techniques [118, 135]. The first approach involves the microstructural modification of the magnesium alloy using relatively noble elements such as aluminum [136], zinc [137], manganese[23], calcium [119], lithium [118], yttrium, zirconium, silicon, strontium [64, 138], scandium and rare earth elements, or physical modifications such as mechanical treatments, manufacture of metallic glasses or plastic deformations associated with laminating, stretching, or extrusion processes [118]. Regarding surface modifications, the second approach involves noble coatings to control the corrosion rate of these alloys, and finally, the third approach studies microstructural modifications through the development of magnesium matrix composite materials to optimize mechanical properties and improve corrosion resistance.

Mg alloys

The effects of some of these elements on magnesium are shown in Table 4.

Table 4 Magnesium alloying agents and their effects

Coating techniques

The second approach proposes the modification of the surface of magnesium alloys to improve their behavior in corrosive environments and provide better mechanical and biological properties [152]. Currently, techniques such as anodization, micro-arc oxidation, ion implantation, chemical conversion coatings, electrophoretic deposition, physical vapor deposition (PVD) and chemical vapor deposition (CVD) are used [118].

Micro-arc oxidation (MAO) or electrolytic plasma oxidation is a technique that applies high potentials that exceed the dielectric breakdown power limit of the growing oxide layer, producing discharges that result in localized plasma reactions under specific conditions of temperature and pressure, which modifies the oxide. This coating is a chemical conversion of the substrate to its oxide and causes its porous growth in all directions of the metal surface, which produces excellent adhesion to the material, provides protection against wear, abrasion and corrosion. In magnesium alloys, the coatings are relatively thick, dense and hard, and it is possible to absorb some elements contained in the solutions improving the chemical and functional properties of the surface, increasing the magnesium corrosion resistance and favoring their use in biomedical applications [113, 153,154,155]. The coatings made by MAO depend on the concentrations and compositions of the electrolytes, the microstructure of the substrate, the electrical parameters and the compositions of the alloy. [153].

Chemical conversion coatings involve the complex interaction of dissolution and precipitation of metallic substrates in saline or acidic aqueous solutions. The surface layer is obtained by immersing the substrates in baths, which specifically, for magnesium alloys, obtain magnesium oxide or magnesium hydroxide and mixtures of other metal-type oxides and hydroxides that result from the ions dissolved in the solution. This type of coating is effective in increasing the corrosion resistance of these alloys [31].

Likewise, electrophoretic deposition (EPD) includes techniques such as cathodic electrodeposition, electropherical coating and anodic electrodeposition. These methods are carried out through the deposition of inorganic phases on the surfaces by an electric field starting from colloidal particles suspended in a charged or liquid medium [31]. EPD is a versatile coating technique and facilitates the use of biomaterials such as hydroxyapatite and hydroxyapatite-polymer coatings, calcium and magnesium silicates and carbon nanotubes. The necessary equipment is simple and provides control over the micro- and macrostructural characteristics and dimensions of the coating, and the mechanical and thermal properties of the materials used in orthopedic applications [154]. This methodology has been used on magnesium alloys previously achieving outstanding results: Kumar et al. coated a Mg–3Zn alloy with hydroxyapatite, achieving a 25-fold improvement in the corrosion resistance of the alloy, the viability of the surface, the electrochemical stability of the substrate and increasing the growth of bone cells on the surface of the alloy [156].

Physical vapor deposition (PVD) requires the atomization of a condensable material through the application of heat, an energy beam or electric arc within a vacuum chamber, causing the vaporized material to condense on the substrate. PVDs allow the depositing of complex or multilayer coatings with specific electrical, physical and magnetic characteristics. However, the pressure of the vacuum chamber is an important variable given its effect on the integrity of the coating; therefore, multilayer processes are more difficult to control [157]. Among the PVD techniques, magnetron sputtering stands out, where the coating is formed by spraying a "target" material into fine particles by the bombardment of argon atoms and the application of a magnetic field around it, and then the particles are deposite on the substrate [158]. Few metals can be treated under this technique due to compatibility with sutrates [140]. In magnesium alloys, titanium [159, 160], ZrO2 [155], ZrN [161], TiN [161], AlN [161] and TiMgAlN [162] have been deposited in order to improve the hydrophilicity of the material, provide uniform layers that increase the surface properties of the material and improve corrosion resistance and protection against wear [163,164,165,166].

Chemical vapor deposition (CVD) achieves high-quality and high-performance coatings. The process consists of exposing the substrate to one or more volatile precursors that react and/or decompose the surface, achieving the required coating. Unwanted volatile by-products are removed by a gas flow [154]. The properties of the deposited films depend on the gas flow rate, the substrate temperature, the energy source and the deposition rate [167]. Among CVD techniques, hydrothermal deposition allows to create a uniform and compact protection layer against corrosion in magnesium alloys with an excellent adhesion strength and viable for use in orthopedic applications. This coating has an adjustable degradation rate by variating the temperature and deposition time during the process [168,169,170]. Solgel deposition, also known as chemical solution deposition, produces high adhesion coatings and requires low surface preparation of the substrate. This process involves the synthesis of materials by a chemical solution that produces hydrolysis and condensation reactions of metal alkoxides that act as precursors of an integrated network of polymers, also called gel, which are deposited on the surface of the material [4, 152]. This technique allows the deposition of ceramic ultrastructure at room temperature [154, 171]. In magnesium alloys, bioactive silica glasses (58S and 68S)[172], hydroxylated nanodiamonds [173], silane/Mg(OH)2 [174], collagen and chitosan [175], and even natural organic inhibitors like quinaldic acid, betaine, dopamine hydrochloride and diazo-collagen and chitosan lidinyl urea [176] have been deposited by solgel systems, achieving thin, uniform, bioactive and flawless coatings that improved the corrosion resistance of magnesium.

Coatings and surface modifications can significantly improve the corrosion resistance, biocompatibility and bioactivity of magnesium [58, 177, 178]. Depending on the type of coating and its characteristics (microstructure, thickness and adhesion strength, physisorption or chemisorption, of the coating material), the morphological, chemical and biological properties of the material surface can be improved [178]. Finally, the surface modification of magnesium is one of the most studied mechanisms to control material degradation due to the cost-effectiveness benefits and provides and the simplicity that most techniques offer compared to other methodologies [178, 179].

Heat treatments and plastic deformation conformation process

Heat treatments, such as aging and solution treatments, as well as hot deformations, generate an improvement on the mechanical properties of casted magnesium alloys, due to the modification of the material grain size [180]. The grain size is an important factor in the mechanical and electrochemical properties of magnesium alloys, through the implementation of heat treatments and plastic deformations in the processing of alloys. Duley et al. investigated the effects of the homogenization treatment in the mechanical properties and microstructure of a molten alloy of Mg–4Zn–0.5Ca–0.16Mn (in wt.%) and compared the results on different annealing times of 12 h, 24 h, 48 h and 72 h. This research suggests that homogenization annealing dissolves the eutectic phases that initiate cracks and produce a slight growth in grain size and that the 24-h specimen gave excellent hardness results and considerable ductility [179, 181].

In a study carried out by A. Gungor and A. Incesu [182], different Mg–Mn–Zn–Ca alloys with different Zn and Ca ratios are evaluated, which are manufactured and homogenized, against the same alloys subjected to a hot rolling process. The results of these investigations show that the hot rolled considerably improves the mechanical properties, while the immersion tests suggest that when the alloys are hot rolled, the grain edges become more vulnerable; micro-cracks are created and are easily corroded; however, all alloys behave within the ideal corrosion rate for an orthopedic implant (< 0.5 mm/year) and the ZXM300-hot rolled was defined as a material suitable for orthopedic applications with a corrosion rate of 0.029 mm/year and very similar mechanical properties to cortical bone.

Apart from the heat treatments, most of the authors add a deformation in the material, M. Kavyani et al. performed a “half equal channel angular pressing (HECAP)” to a Mg–Zn–Ca–Mn alloy and this presented better corrosion behavior, as well as superior mechanical properties, compared to the homogenized and extruded alloy [183]. Implementation of an equal channel angular pressing (ECAP) in pure magnesium has been reported to produce a reduction in grain size and better corrosion resistance [184]. Tong et al. carried out an investigation on the use of ECAP with multiple passes to produce ultrafine grains, and in this way, to improve the creep resistance and ductility, innovative results were obtained, which recognize the ECAP method as a useful alternative to modify the properties mechanics of a magnesium alloy. After four passes through the process, a potential increase in mechanical strength and ductility is seen. Grain size values ~ 9 μm were obtained [185].

N. El-Mahallawy, et al. [186] in their research, they made specimens of Mg-0.24Sn-0.04Mn and Mg–0.24Sn–1.16Zn–0.04Mn, followed by heat treatment and hot extrusion or hot rolling; from this experiment, they obtained data on mechanical and electrochemical properties. By extrusion, there was an increase of 35.4% and 10.4% in the UTS, respectively, and by hot rolling, an increase of 9.1% was observed in the first alloy and a decrease of 8.3% in the UTS. Regarding corrosion resistance, an increase was observed in the first alloy, with results of 0.82 mm/year for the homogenized alloy, 0.71 mm/year for the extruded one and 0.51 mm/year for the hot rolled one, whereas, when adding Zn to the alloy, it presents an improvement in corrosion when extruded from 1.88 to 0.95 mm/year, but when rolled it presents a deterioration of 1.88–2.87 mm/year.

Mg-based composite bioabsorbable materials

Composite biomaterials are presented as a union of a matrix made of a metallic alloy and a reinforcing material. Biodegradable composite materials, for orthopedic applications, both the metal matrix and the reinforcement, must be biodegradable and biocompatible with the human body [187]. Metal alloys for biomaterials are generally reinforced with ceramic particles, including alumina (Al2O3), zirconia (ZrO2), hydroxyapatite (HA) and β-tricalcium phosphate (β-TCP) [26]. Al2O3 is widely used thanks to being chemically inert, when combined with a zinc-based alloy, it increases wear resistance and biocompatibility [178]. By combining HA, a calcium phosphate mineral, with a Mg-based alloy by plasma sintering method, superior mechanical properties and improved corrosion resistance are obtained [47, 52, 55, 56]. Calcium phosphates have a composition like human bone and have excellent biocompatibility and stimulate osseointegration in bone healing processes. When using calcium phosphates in a material, either by coating or by sintering, an improvement in the adhesion and proliferation of the osteoblasts in the substrate has been evidenced, while the mechanical properties of the alloy are increased and the corrosion rate of Mg in the body is decreased [54, 154, 188].

When measuring the experimental density of the biodegradable compounds, it was shown that as the percentage of HA in the metallic alloy increases, the porosity of the material increases, for this reason being 15.13 mm/year that of pure Mg [189]. The implementation of HA in the matrix increases the maximum stress in tension and compression of the material, due to a grain refinement. For low amplitude cyclic stresses, the addition of HA improves the fatigue strength of the implant. For high percentages of HA, the ceramic particles can act as stress concentrators and allow the creation of cracks in the material, which would greatly reduce the useful life of the implant, both due to mechanical failure and cracks that allow the degradation of the material. By simultaneously evaluating corrosion and fatigue, they observe that the behavior of the two types of material is not very different. This is due to the superior corrosion resistance of 2.5%, which does not allow such rapid degradation of the implant, and the greater mechanical resistance of 5%.

Bioceramics have proven to be a promising material for implants and fasteners, due to their excellent biocompatibility and bioactivity; in addition, bioceramics have superior corrosion resistance [190]. By introducing them in the Mg matrix, improvements are obtained in the mechanical properties and resistance to corrosion, producing a passivation layer at the time of degradation, which protects the implant and delays its corrosion.

Table 5 summarizes the effect of the most common bioceramics on the magnesium matrix when used to produce biodegradable composite materials.

Table 5 Bioceramics and their effects on the magnesium matrix

Impact of Magnesium modifications on the corrosion rate

Although the strategies previously studied have been effective in reducing the corrosion rate of magnesium alloys, it is necessary to identify which methodology has presented better efficiency in the process. For this, an extensive case study search is carried out in order to gather information about the type of modifications perform on magnesium alloys for biomedical purposes and the respective results of the corrosion parameters. The information is presented in Table 6. Subsequently, the efficiency of the process was determined by Eq. 5, where Icorr−base corresponds to the corrosion potential of the unmodified alloy and Icorr−mod correspond to the corrosion potential after the modification [191, 192]. In the case of alloys without surface modifications or heat treatments, the comparison was made respect to pure magnesium and the results are presented in Fig. 4.

$$ {\text{Efficiency }}\left( {\text{\% }} \right) = \frac{{I_{{{\text{corr}} - \bmod }} - I_{{{\text{corr}} - {\text{base}}}} }}{{I_{{{\text{corr}} - {\text{base}}}} }}*100\% $$
(5)
Table 6 Corrosion parameters resulting from modifications in magnesium alloys
Figure 4
figure 4

Efficacy of methodologies for controlling the corrosion rate of Mg alloys

Based on the data presented above, a comparison among the different methodologies to improve the corrosion resistance is carried out in Fig. 4. The efficiency of each technique for improving the corrosion response of the respective alloy is shown in Fig. 4. However, the results that show poor improvement are not considered in Fig. 4. The results in Fig. 4 show that that applying a surface modification an improvement of 85% in the corrosion resistance is possible to achieve (in average), while alloying Mg, implementing heat treatment and manufacturing magnesium matrix composites a similar efficiency (around 65%) can be obtained. In general, these four methodologies improve the corrosion resistance of magnesium. Surface modification is the most used in orthopedic implants, because it allows to establish stable and strong unions between the surface and the immobilized molecule since it promotes to generate ionic or covalent chemical bonds capable of resisting the extreme conditions of the human body during and after implantation [215,216,217,218,219].

Conclusion

Traditional biomaterials used in orthopedic applications (titanium, iron, chrome-cobalt alloys and polymers) are chemically biocompatible and with the ability to support the loads of the bone system. However, some of them in the long-term show cytotoxicity due to the release and accumulation of metallic particles because of the deterioration of the implant, as well as allergic reactions due to the release of metallic ions. In addition to this, if they are used as fixation elements, it is necessary to extract the osteosynthesis material through a second surgical intervention. Magnesium alloys have high potential as a biodegradable material for applications in fasteners or as temporary implants. The biggest challenge they represent is controlling the rate of magnesium degradation in vitro. Therefore, this paper has mainly concentrated on collecting, comparing and summarizing the effects of different methodologies in improving the corrosion resistance of magnesium alloys:

  • Applying a surface modification improve the corrosion resistance 85% in average and alloying Mg, implementing heat treatment and manufacturing magnesium matrix composites provides an efficiency close to 65%.

  • Among the Mg alloying agents, the authors consider that Zn is one of the best candidates since it improves the corrosion rate, improves the biocompatibility of mg and/or represents health risks at low concentrations.

  • For future studies, it is recommended to investigate in detail the types of coatings and compositions of composite materials that present better results and greater advantages for the use of magnesium alloys in biomedical applications and also to evaluate the influence of the manufacturing process on the material's degradability based on the corrosion parameters.

Data and code availability

The data used for the analysis in this document are previously referenced. No code was used for data processing.