## 1 Introduction  
Magnesium, aluminum, and their alloys are lightweight engineering materials that draw attention with their low densities [1, 2]. They have a significant potential for use in industrial applications because of their advantages, including good thermal conductivity, high processability and superior strength/weight ratio. Due to their lightness, they stand out among metallic materials and alloys in the aerospace, automotive, and aviation industries [3, 4, 5]. These metals and alloys are not suitable for various structural machinery applications due to their inadequate resistance to erosion, corrosion, tribochemical wear, and fatigue under certain conditions, which limits their use [6, 7, 8, 9]. These properties, which are related to the near-surface regions, expand the application area of metals and alloys by changing the composition and microstructure without changing the risky properties. Despite widespread industrial use, various surface coating techniques are used to increase mechanical properties such as low tensile and fatigue strength [1, 2]. Numerous surface modifications have been developed for magnesium alloys to eliminate the mentioned weaknesses and increase their performance. These modifications include electroless coating [10], plasma electrolytic oxidation [11], PVD coating [12], thermal spraying [13], chemical vapor deposition (CVD), and magnetron sputtering (MS) methods [10; 14; 15]. In particular, the most used MS method increases homogeneity and efficiency by controlling the magnetic fields [16]. With this method, hard coatings based on titanium carbonitride (TiCN) with wear resistance are produced. In order to increase the tribological and corrosion properties of these coatings, Nb, Si, Zr, Cr, and Ag alloying can be carried out with Al and O because with this method, it is possible to obtain properties with different structures and morphologies depending on the coating conditions [15]. Light materials and their alloys including magnesium and aluminum, can also be coated with different nitride coatings, e.g., TiN, TiVN, TiCrN, TiAlN, and TiNbN, using the MS system [5; 13]. Single and multiphase nitride films are used to produce wear-resistant protective coatings by depositing them on materials used for cutting and shaping tools [17; 18; 19; 20; 21]. TiN films, which provide high wear resistance and hardness, are the most commonly used industrial hard coatings to enhance mechanical properties [4; 16]. The transition metal coating chromium nitride (CrN) has good corrosion and wear resistance and high hardness [22; 23]. Ti-Zr-N [24], Cr-Ti-N [25], Cr-Al-N [26], Cr-W-N [27], and Cr-Si-N [28] have been developed with the objective of enhancing the chemical and mechanical features of binary films such as CrN and TiN, and numerous articles have reported superior structural, mechanical (tensile and fatigue), and tribological properties. [PERSON] and [PERSON] (2001) examined the impacts of PVD and TiN coating on the fatigue life of AISI D2 tool steel under diverse processing parameters, including impulse current and impulse duration. The study in which surface hardness, roughness, and tensile and fatigue strength were measured determined that fatigue life increased due to increased hardness, better surface quality, and reduced superficial tensile residual stress [29]. [PERSON] et al. (2004) studied the fatigue properties of TiN coating on AISI 316L. It was found that nitride coating significantly increased both fatigue life and limit [30]. [PERSON] et al. (2010) studied the fatigue behavior of AISI 302. The CrN coating considerably enhanced the base material's fatigue resistance [31]. In their study, [PERSON] et al. (2005) evaluated the fatigue strength of diverse CrN-PVD-coated specimens produced from H11 tool steel or 6082 aluminum alloy. The researchers observed a 15% improvement in fatigue limits of the coated steel samples. A decrease in fatigue limit was observed in coated aluminum samples [32].