Introduction

Structural magnesium (Mg) alloys offer desirable properties such as low density, dimensional stability, machinability, and high specific strength. These properties make Mg alloys advantageous for use in many structural applications, such as in the automotive, aerospace, and electronic industries [1,2,3].

However, the susceptibility of Mg alloys to premature intergranular cracking can lead to low ductility and low fracture toughness at room temperature, thus limiting their widespread applications [4, 5]. The reduction of these properties can be due to hydrogen, often in combination with residual or applied stress known as hydrogen fracture mechanism or hydrogen embrittlement [6,7,8].

The susceptibility of Mg alloys to the hydrogen embrittlement phenomenon is mostly affected by second phases, Mg hydrides (MgH2), and their binding energy with hydrogen [4, 6, 9]. In some of our different publications, we have already proved that one of the main factors controlling the embrittlement process in metals is second phases, due to their strong binding energy with hydrogen [10,11,12,13,14,15].

In this paper, we refer to the role of Mg’s microstructure and, specifically, to β-Mg17Al12 phase, in MgH2 reaction (hydriding) and its decomposition (dehydriding). In particular, we studied the microstructure’s effect on the formation, stability, content, and binding energy of MgH2 with Mg second phases (trapping sites for hydrogen). This paper presents the effect of β-Mg17Al12 phase as a hydrogen embrittlement controller and as a potential hydrogen second-phase trapping site.

According to previously published works, modification of the Mg crystal structure and microstructure has become the main purpose for greatly improving the kinetics of MgH2 [16,17,18] and the corrosion resistance [1, 19, 20], and this trend seems to be very prospective. In this research, we study the possible hydrogen trapping states in occupation sites (lattice’s defects), especially in second phases on dehydriding reaction and on hydrogen embrittlement. This study was possible using thermal desorption spectrometry (TDS) analysis, in which desorbed hydrogen is measured during a non-isothermal heating. The significance of using TDS is the possibility of identifying different types of trapping sites and for the measurement of their binding energy and density.

In this work, we compare between die-cast magnesium–aluminum–zinc (AZ) alloy (AZ91) and rolled plate AZ31, which has a different additive of Al and a different microstructure. The main difference in these two fabrication techniques is the obtained ductility. Die-cast alloys can reach up to ~3% ductility compared with rolled alloys, which achieve five times higher ductility (~15% higher ductility) [21]. This fact, along with their absence of casting defects and better mechanical properties, makes wrought Mg alloys preferable for the enhancement of the dehydriding process.

Experimental procedure

Materials

The chemical compositions of magnesium–aluminum–zinc (AZ)—AZ91 and AZ31—are listed in Table 1, as reported by the manufacturer.

Table 1 Chemical composition of the investigated die-cast AZ91 and rolled AZ31 Mg alloys (%wt)

In this study, die-cast rods AZ91 and rolled sheet AZ31 were cut to plates with the following sizes: 10 mm diameter for AZ91 and 10 × 5 mm for AZ31, with a thickness of 1 mm for both. The samples were pre-charged with hydrogen at high pressure and high temperature (gas-phase charging) in a hydrogen gas tank. Gas-phase charging was conducted at 30 MPa and 300 °C for 14 h (h). These charging conditions were chosen in order to create a homogeneous hydrogen content along the metal’s bulk and was inspired by our previous work [11, 22]. Charging conditions were estimated according to the thin plate solution of Fick’s second law [23], where the effective diffusion at room temperature, D H_in_Mg≈4.061 × 10−10 m2/s, was taken according to Atrens et al. [24]. These charging conditions allowed for a homogeneous hydrogen content of ~100%wt ppm.

Microstructure analysis

The Mg microstructures, before and after the gas-phase charging, were examined using the following microstructural observations: scanning electron microscopy (SEM), energy-dispersive spectrometry (EDS), optical microscopy (OM), and X-ray diffraction (XRD) with Cu–Kα radiation (λ = 1.54 Å). Samples were etched in a solution of acetic acid/water/ethanol to 1:1:7 parts with 4.2 gr picric acid. The final stage included ultrasonic cleaning in acetone and ethanol.

Thermal desorption spectrometry (TDS)

For the investigation of hydrogen interaction with metal defects and second phases, a thermal desorption process was conducted. This procedure includes a non-isothermal heating under ultra-high vacuum (UHV) ~10 μPa of gas-phase charged samples. A plot of hydrogen desorption rate versus temperature is achieved for three constant heating rates: 2, 4, and 6 °C/min. The working procedure, as described elsewhere [10, 11, 25, 26], allows for the identification of different types of traps which coexist in the specimen.

Activation energies of hydrogen interactions with trapping sites were determined according to Lee and Lee’s model [27, 28], where hydrogen desorption rate is described by:

$$ dx/dt = A\left( {1 - X} \right){ \exp }\left( { - E_{a} /RT_{c} } \right), $$
(1.1)

where X is the hydrogen content that escapes from a trap, A is the reaction rate constant, E a = E b + E Q is the activation energy for releasing hydrogen from its trapping site and it is the sum of binding energy (E b) and the activation energy needed for diffusion (E Q) through the lattice interstitial sites, R is the gas constant, and T c is the desorption temperature.

Ea is extracted for each peak in the TDS spectrum by referring to the temperature’s shift in a TDS peak when increasing the heating rate. The dependence of a certain peak on the heating rate is described by:

$$ dln\left( {\varphi /T_{\text{c}}^{2} } \right)/d\left( {1/T_{\text{c}} } \right) = - E_{\text{a}} /R, $$
(1.2)

where φ is the heating rate.

E a is extracted for a certain peak by the linear slope of ln(φ/T 2 c ) versus 1/T c .

Results and discussion

XRD and microstructure analysis

Hydrogen interaction with die-cast AZ91

Microstructural changes of hydrogen in AZ91 were examined by XRD and microstructural observations. The XRD diffraction patterns in Fig. 1 show a comparison between non-charged AZ91, gas-phase charged AZ91, and gas-phase charged AZ91 after non-isothermal heating (at 2 °C/min) to 300 °C. As expected, the non-charged AZ91 sample showed a combined crystal structure of primary α-Mg phase, with hexagonal crystal structure, along with aluminum magnesium phase (β-Mg17Al12 phase), with an A12-type structure. Gas-phase hydrogen charging resulted in the formation of MgH2 with a tetragonal crystal structure. The thermal desorbed gas-phase spectrum indicates a partial decomposition of MgH2 at 300 °C, though it is literarily known [1, 29] that decomposition temperature is usually 300 °C at 101.3 kPa H2 pressure. These results are supported by the SEM micrographs, Fig. 2, showing the starting microstructure of non-charged AZ91, Fig. 2a, compared with gas-phase charged AZ91, Fig. 2b. The formation of micro-cracking along β-phase is clearly seen from Fig. 2b and seems to be intergranular. From the backscattered SEM micrograph, Fig. 2c, it can be seen that MgH2 is formed adjacent to β-phase. Supported by the work of Chen et al. [30], it can be said that these darkest areas can also refer to the formation of a hydrogen gas molecule (H2) inside a blister. A comparison between the secondary SEM micrograph, Fig. 2d, and the backscattered SEM micrograph, Fig. 2 c, supports this indication. From EDS, we have found that Point 1 consists of 93 wt% Mg, 3 wt% Al, and 4%wt O. Furthermore, Point 2 consists of 92.5 wt% Mg, 4.5 wt% Al and 3%wt O, and Point 3 consists of 99 wt% Mg and 1 wt% O. This means that Point 3 presents the MgH2 phase.

Figure 1
figure 1

XRD pattern of AZ91 samples: non-charged, gas-phase charged for 14 h at 30 MPa and 300 °C, and non-isothermal (2 °C/min) desorbed gas-phase charged heated for 300 °C

Figure 2
figure 2

Micrographs of AZ91: a non-charged and b, c, d gas-phase charged for 14 h at 30 MPa and 300 °C showing surface cracking as a result of hydrogen and β-Mg17Al12 phase. The enlargement of the marked square in (b) is shown in backscattered SEM (c) and secondary SEM (d)

According to the work of Chen et al. [31], the reason for cracking could be related to the formation of a hydrogen gas (H2) molecule inside a blister in β-phase, leading to high pressure and, thus, cracking. An additional explanation is related to the lattice expansion of Mg by MgH2, leading to higher internal stress which then cracks β-phase [32]. In this Mg alloy, the embrittlement process was ascribed to lattice expansion by MgH2. Using WinPLOTR-XRD analysis, we compared the lattice parameters of Mg with those of MgH2 and calculated an increment of ~30% in the Mg lattice volume. Therefore, it can be said that H2 was able to promote cracking.

Hydrogen interaction with rolled AZ31

In order to examine the effect of Al’s addition and fabrication method on MgH2’s formation and stability, AZ31 was chosen. This Mg alloy shows a combined crystal structure of α-Mg, along with eutectic Mg phase (α-Mg + β-Mg17Al12) and aluminum manganese (AlMn) phase with a tetragonal crystal structure; crystal structure was confirmed by EDS measurements. The XRD spectrum of the non-charged sample, Fig. 3, did not show any traces for β-phase, as opposed to the AZ91D results. The reason is probably due to the lower amount of Al additive (3 wt% Al). At low Al addition of ~2 wt%, the two eutectic phases participate at α-Mg grain boundaries; only at higher Al additives (≥6 wt%) does β-phase tend to participate distinctly [33]. This fact explains the difficulty of detecting β-phase at lower Al addition. Moreover, according to the Lever rule [34], it is clearly understood that a higher amount of Al in the eutectic phase range will lead to a higher β-phase content. This indication can be clearly seen from the OM micrographs in Figs. 4a and b, which show the appearance of eutectic Mg phase. An additional interesting observation is the complete decomposition of MgH2, which was seen in the non-isothermal heating (2 °C/min) to 300 °C, Fig. 3, compared with partial decomposition at AZ91, Fig. 1. The intensity of the primary MgH2 peaks in the XRD spectra of gas-phase charged AZ31, Fig. 3, is ~20% lower than those of gas-phase charged AZ91, Fig. 1. The reason could be related to the lower amount or lack of appearance of β-phase in this alloy. As previously stated, there might be a strong relation between β-phase and MgH2 hydriding and dehydriding which is probably related to the hydrogen state and binding energy with β-phase. This statement is in agreement with the minor lattice expansion calculated from the AZ31 XRD spectra, which was less than ~1% in the α-Mg lattice. These results are supported by the OM micrograph of gas-phase sample, Fig. 4b, showing the lack of cracking when β-phase content is significantly lower.

Figure 3
figure 3

XRD pattern of AZ31: non-charged, gas-phase charged for 14 h at 30 MPa and 300 °C, and non-isothermal (2 °C/min) desorbed gas-phase charged heated for 300 °C

Figure 4
figure 4

Micrographs of AZ31: a non-charged and b gas-phase charged for 14 h at 30 MPa and 300 °C, showing no surface cracking, which results from the significantly lower β-phase content

Hydrogen trapping states and activation energy in AZ91 and AZ31

The thermal desorption spectrometry (TDS) spectra of gas-phase charged AZ91 and AZ31, for 14 h at 30 MPa and 300 °C, are presented in Figs. 5a and b, respectively. Each spectrum, which is on the same coordinate system, refers to a different heating rate (2, 4, and 6 °C/min) and is characterized between 4 and 5 peaks. Each peak refers to a certain activation energy (the summation of binding energy + activation energy for hydrogen diffusion was taken as E Q≈17 kJ/mole [24]) of different metal’s defects (trapping sites, such as second phases, grain boundary, dislocations) with hydrogen.

Figure 5
figure 5

TDS spectra of gas-phase charged for 14 h at 30 MPa and 300 °C AZ91 (a) and AZ31 (b)

Due to diffusion consideration and data process recording of TDS, a higher heating rate shows greater intensity and a higher temperature level for each peak [10, 11, 25].

The main difference between the two spectra of AZ91 and AZ31, Figs. 5a and b, is the straight, narrow peaks, which look like rising noise at the end of each AZ91D spectrum. The range of these narrow peaks is between 145 and 300 °C and is probably related to MgH2 dehydriding and hydrogen gas molecule (H2) desorption. This phenomenon is related to the incoherency between MgH2 and β-phase [31], leading to the repartition of hydrogen to form H2.

Activation energies were calculated by applying Lee and Lee’s model [27, 28], Eq. 1.1, which describes hydrogen desorption from the metal’s defects (trapping sites for hydrogen). Since, hydrogen is “trapped” in a lattice defect, heating should be involved in order to release it. In this study, we conducted hydrogen desorption measurements by heating the samples up to 300 °C. According to Lee and Lee’s model in order to extract the activation energy from Eq. 1.1, the experiment should be repeated at three different heating rates. When heating rate is increased, it can be seen from Fig. 5 in the paper that the peaks are shifting to a higher temperature peak level. The reason is due to the faster kinetics that is needed for hydrogen evaluation. From the shift of each peak, Eq. 1.2 can be built, and by conducting a curve fitting, the slope of Eq. 1.2, which is Ea, can be extracted.

Curve fittings were built for each individual peak in order to extract its trapping activation energy with hydrogen. The results are listed in Table 2, and accuracy measurements were estimated with a 95% confident interval. The first peak in each spectra, Fig. 5, is neglected due to the invalidity of the Lee and Lee’s model at low temperatures [35]. This peak refers to the desorption of dissolved interstitial hydrogen, a process which is controlled under diffusion only without trapping.

Table 2 Calculated activation energies for gas-phase charged AZ91 and AZ31 for 14 h at 30 MPa and 300 °C

It can be seen from Table 2 that all calculated activation energy values, for both AZ91 and AZ31, are between 28 and 40 kJ/mol. The calculated activation energies can be ascribed to different trapping sites, such as elastic stress field of dislocation, and, at high activation energies, screw’s dislocation core or grain boundaries. According to our previously published work on steels [11, 15, 25, 26] and titanium [36, 37], the range of activation energies ascribed to each trapping site is as follows: elastic stress field of dislocation [calculated values range 0–20 kJ/mol], screw’s dislocation core or grain boundaries [calculated values range 20–40 kJ/mol], and high angle boundaries [calculated values range 49–55 kJ/mol]. The last peak in each spectra (peak numbers 4 and 5 for AZ91 and AZ31, respectively) appears only at the lower heating rate (2 °C/min) spectrum and was assumed to relate to the MgH2 release and decomposition from β-second phase. According to some of our other work [11, 37], it was already concluded that a high-temperature peak above—200 °C—is usually associated with second phases accompanied by higher activation energies (~60 kJ/mol). An additional interesting observation is the difference in the peaks’ shapes and widths. The AZ91 peaks are less broad and have one higher order of magnitude of intensity. Moreover, the last peaks (marked in black) in the TDS spectra are characterized by additional straight narrow peaks, which are related to H2 molecules being trapped between β-phase and the MgH2. When the dehydriding temperature is reached (~300 °C), the H2 gas molecules attached to β-phase also desorb out, which explains many jumps when approaching the dehydriding temperature. At AZ31, Fig. 5b, peak number 4 is much smaller in intensity and does not show any additional jumps, probably due to the absence of β-phase. In order to support this analysis, quantitative phase contents were extracted from XRD data using Laine’s theory [38]. By comparing the integrated intensities of different peaks in a specific spectrum, phase content can be achieved.

$$ V_{{{\text{MgH}}_{ 2} }} = \frac{{\frac{{I_{\beta } }}{{R_{\beta } }}}}{{V_{\alpha } \cdot V_{\beta } }} $$
(1.3)

where V β is a certain phase content, I β is a certain phase intensity, and R β is a certain phase proportional factor. The denominator presents the multiplication of the rest of the phases in a sample by each other.

By assuming that all phase content is complete to one hundred, e.g., \( V_{{\alpha - {\text{Mg}}}} + V_{\beta } + V_{{{\text{MgH}}_{ 2} }} = 100 \), the above equation can be rewritten as follows:

$$ V_{\beta } = \frac{{\frac{{I_{\beta } }}{{R_{\beta } }}}}{{\mathop \sum \nolimits_{i = 1}^{n} \frac{{I_{i} }}{{R_{i} R_{I} }}}} $$
(1.4)

where n is the total number of phases in the sample.

Following the calculations of the phase contents, the content of MgH2 was about the same: up to ~2 wt% in both AZ91 and AZ31. This finding leads to the conclusion that the effects of the dehydriding process are highly dependent on β-phase.

In addition, the total amount of desorbed hydrogen from a certain heating rate was calculated according to the spectra’s integration (integral of desorption rate on time), and the results are summarized in Table 3.

Table 3 Calculated hydrogen content for gas-phase charged AZ91 and AZ31 for 14 h at 30 MPa and 300 °C

Differences between hydrogen’s desorbed content at different heating rates are seen in both Mg alloys and are ascribed to the rapid desorption accompanied by faster kinetics when increasing heating rate. One major conclusion drawn from the results listed in Table 3 is that AZ31 shows the highest desorbed hydrogen content compared with AZ91. A difference of ~70% was calculated for AZ31 at 2 °C/min heating rate, and this behavior repeats at different heating rates. Supported by previously published work on Mg lattice occupation [39], it can clearly be said that, because of the low hydrogen concentration (low peak intensity), hydrogen was mainly segregated into stress dislocations and field and grain boundaries. At high concentrations, hydrogen probably exceeds its solubility in Mg, and therefore, MgH2 hydride is formed. This indication is supported by MgH2’s behavior in AZ31 and is demonstrated by the partial hydride decomposition in AZ91 compared with AZ31. At 2 °C/min of AZ31, almost all trapped hydrogen was able to be desorbed out (84%wt ppm H was desorbed out of the total content of 100%wt ppm H), and therefore, it can be concluded that the dehydriding process was almost complete. A comparison between remained trapped hydrogen at 2 °C/min, in AZ91 and AZ31, supports this indication: 75% compared with 16% trapped hydrogen contents were calculated for AZ91 and AZ31, respectively. A very important conclusion can be drawn based on these results, namely that β-Mg17Al12 phase plays a fundamental role in the dehydriding reaction. Its high activation energy with hydrogen fastens MgH2 to it and increases the desorption temperature, and therefore, the reversible hydride process will be spontaneous only at temperatures higher than 300 °C.

Summary and conclusions

The purpose of the current study was to investigate the role of alloying elements and microstructure on hydrogen trapping states and behavior of die-cast AZ91 and rolled AZ31 Mg alloys. In both samples, the solute hydrogen was mainly segregated to stress dislocation fields at activation energies of ~28 kJ/mol and ~35 kJ/mole for AZ91 and AZ31, respectively, and grain boundaries at activation energies of ~32 kJ/mol and ~37 kJ/mole for AZ91 and AZ31, respectively. At a higher temperature level (~300 °C), additional trapping sites appeared, which was ascribed to the β-Mg17Al12 phase. It was suggested that MgH2 metal hydride was trapped adjacent to β-phase.

The fabrication process along with Al content had a major influence on microstructure, especially on the formation of the β-Mg17Al12 phase, as well as on the dehydriding process. It was suggested that MgH2 is formed adjacent to β-phase. It was proven that the reverse hydride reaction is highly dependent on the β-Mg17Al12 phase. Due to the hydrogen embrittlement phenomenon, hydrogen cracking appeared only at AZ91, which contained the highest β-phase content. The embrittlement process was ascribed to the significant increment in AZ91-MgH2 lattice volume (~30% increment). Differences were also seen in the content of desorbed hydrogen content, which was 70% higher in AZ31 compared with AZ91 and was ascribed to the lower amount of β-Mg17Al12 in the former alloy. The negative effect of β-Mg17Al12 was clearly shown to promote the hydrogen embrittlement process, in addition to preventing the dehydriding process. It can be concluded that high β-phase content (found in Mg alloys with <4wt% Al content) in Mg alloys is less suitable for hydrogen storage material.