The invention discloses a
magnesium base
alloy modulated thin film and a preparation method and application thereof. The
magnesium base
alloy modulated thin film comprises a
magnesium base
alloy modulated layer, a catalyst layer and a
polymer layer which are sequentially arranged; and
elemental composition of the magnesium base alloy modulated layer is MgxM1-x, wherein x is greater than 0.5 and less than 1, and M is at least one of Gd, Ti, Ni, Mn, Fe, Co, Y, Nb, Ru, Zr, Ca, Ba, La, and Sm. The magnesium base alloy modulated thin film has the advantages of simple preparation process, low cost,wider practicality range and the like, a
hydrogen sensor made of the magnesium base alloy modulated thin film is high in response speed and high in sensitivity, is not required to be warmed and forced, potential safety hazards do not exist, and recycling further can be achieved. In addition, the thin film optical performance change further can be realized by adjusting technological parameters, a
hydrogen induced discoloration thin film with a larger optical conversion interval is obtained, and the magnesium base alloy modulated thin film has larger application value in other fields as well.