1 Introduction

The design and manufacture of new materials with often surprising properties is a very active field of research and modern technology. In this context, semiconductor doped with magnetic impurity represents an important class of materials used in the industry of new technologies; this is because it is possible to control the various physical properties such as the electronic and magnetic properties of the system by adjusting the content of a component of the alloy.

In parallel to this important technological development, spintronic is a new generation of microelectronic, which exploits the spin of charge carriers in the emerging field of promising materials for spin-based multifunctional devices [1,2,3]. To move forward in this new science, we had to find semiconductor materials having also magnetic properties, which are called diluted magnetic semiconductor (DMS). Where the intensive research of these materials was initiated by the successful doping of non-magnetic semiconductors by magnetic atoms like the 3d transition metal (TM) (Mn, Cr, Ni, Fe, Co, Ti, etc.) or by rare earth metals (RE) (Ho, Gd, Nd, Sm, etc.) [4]. Another important feature of DMSs is that the energy band gap and other physical parameters can be controlled by varying composition of magnetic ions in these materials [5].

The main thrust behind this research is to develop new spintronics devices like spin valves, spin light-emitting diodes, magnetic sensors, logic devices, and ultra-fast optical switches [6].

On the other hand, several experimental [7,8,9,10,11,12,13] and theoretical [14,15,16,17,18,19,20,21] research is fixed on the DMSs-based magnetic element doped III–V and II–VI semiconductor to predict their magnetic properties for usages in spintronic application. As well, numerous groups of researchers investigated a large variety of high concentrations of Mn-doped zinc-blende DMS, such as Mg1−x Mn x Te [22], Zn1−x Mn x S [23], Cd1−x Mn x Te [24], Be1−x Mn x Se, and Be1−x Mn x Te [25]. It was found that these alloys exhibit a semiconducting nature in both spin channels, making this impurity (Mn) the best choice for finding excellent magnetic property, the reason for which it was used in our theoretical study.

In addition to that, the alkaline earth chalcogenides (AECs) (II = Be, Ca, Sr, Ba; VI = O, S, Se, Te) have engrossed much interest, due to their large band gaps and low dielectrics constants [26,27,28,29], making these compounds important for a large variety of optoelectronics devices.

Specifically, magnesium selenium (MgSe) is an attractive binary semiconductor of the II–VI family, which can excite in several phases [30], such as zinc blende with in experimental wide direct band gap of 4 eV at 0 K [31] and lattice constant of 5.89 Å [32]. Used in high-temperature, high-power blue and ultraviolet wavelength optics [32,33,34,35] in ZnSe-based laser diodes and light-emitting diodes (LEDs) as a cladding material [35]. Furthermore, some theoretical studies are available in the literature which reported the magnetic properties of MgSe semiconductor doped with 3d TM using the first-principles calculation [36,37,38,39].

According to the best of our knowledge, there are no experimental and theoretical studies of structural, electronic, and magnetic properties of Mn-doped MgSe for the full composition range (0–1), which restricts the comparison of our results. In the light of importance of these compounds in various magnetic and optoelectronic applications, our objective in this paper is to investigate the structural, electronic, and magnetic properties of Mg1−x Mn x Se DMS compounds in the ferromagnetic zinc blende (B3) structure by using the ab initio calculation within the spin-polarization density framework (SP-DFT).

2 Theory and Method of Computation

The calculation of the present study is performed in the formwork of the SP-DFT [40] formulation. We have employed the full-potential linearized augmented plane-wave (FP-LAPW + lo) method [41] as implemented in the WIEN2k code [42] to solve the Kohen-Sham equation [43] in order to investigate physical properties of Mg1−x Mn x Se (0 ≤x≤ 1) compounds in the zinc-blende phase (space group F-43m 216).

However, we consider a standard eight-atom supercell (Mg4−n Mn n Se) which correspond to (1 × 1 × 1) of zinc-blende phase with cubic symmetry; we obtained the structures of Mg1−x Mn x Se by replacing the Mg atoms with Mn to get the compounds with 25, 50, and 75% concentrations, respectively.

For x = 0.25 and x = 0.75, the host lattice exhibit a cubic structure with space group \(\bar {4}3m\), while for x = 0.50 the crystal present a tetragonal structure with space group \(P\bar {4}m2\).

The generalized gradient approximation function developed by Wu and Cohen (WC-GGA) [44] was used as the exchange correlation potential to calculate the ground state parameter, which provides an accurate account of structural properties of solids [45, 46], where for the electronic and magnetic properties the Tran-Blaha modified Becke Johnson (TB-mBJ) [47] approach combined with PBE-GGA are used. It is worth reminding that this approach is not valid for the computations of the equilibrium structural parameters.

As well the combination of TB-mBJ with GGA or local density approximation (LDA) have proved to be relatively better method for computing energy gaps of sp semiconductor, wide band gap semiconductor and transition metalbased materials [47,48,49,50,51,52].

Also, we are performed using plane wave cutoff of R mt × K max= 8, which control the size of matrix for energy convergence, the R mt is the smallest radii of muffin-tin spheres and K max is the cutoff for the wave function basis. Whereas the Fourier expanded charge density was truncated at G max = 12 atomic units (au)− 1, the values of the atomic radius (muffin-tin RMT) were chosen equal to 2, 2.06, and 2.16 for Mg, Se and Mn respectively in atomic units. The maximum angular momentum quantum number l max is kept at 10 and a k-mesh of 12 × 12 × 12 equivalent to 2000 k points was used for the Brillouin zone (BZ) integration. Finally, the total energy convergence is equal to 10− 4 Ry when the charge of the system is converged to 0.0001 e.

3 Results and Discussion

3.1 Structural Properties

Firstly, by minimizing the total energy with respect to the volume and fitting it to the empirical Birch-Murnaghan [53] equation of state, the equilibrium lattice constant a and the bulk modulus (B) for Mg1−x Mn x Se alloys are evaluated in zinc-blende phase (B3) for x vary between 0 and 1 by step of 0.25.

Both MgSe and MnSe have zinc-blend (B3) structure, where Mg and Mn atoms are located at (0, 0, 0) and the Se atom at (1/4, 1/4, 1/4) position. In order to gain deep insight into the physical properties, we have performed volume optimization by using the experimental values for binary compounds as of entered parameters.

According to WC-GGA approximation, the calculation of these parameters for binary and ternary compounds in comparison to the experimental and other available theoretical results are presented in Table 1, where the lattice constants of the binary MgSe and MnSe are very close to the experimental values [32, 54] and stay in good agreement with theoretical calculations [36, 38, 55, 56].

Table 1 Calculations of the lattice constant a 0 and the bulk modulus B 0 according to WC-GGA for Mg1−x Mn x Se alloys after structural optimization

Besides, there is some decrease in the lattice constants with increasing Mn concentration for Mg1−x Mn x Se (x = 0.25, 0.5 and 0.75) because the ionic radius of Mn is smaller compared with Mg atom. While, the compressibility in this alloy increases when the concentration of Mn increase.

We note that there is no experimental and theoretical calculation of lattice constants for Mg1−x Mn x Se compounds so our results constitute a prediction. As well, the computed lattice constants are used in next calculations of electronic and magnetic properties.

3.2 Electronic Band Structures and Density of States

Most of the physical properties of solids are related to the electronic band structures and the density of states, so the knowledge of these properties is important for its efficient use in optoelectronic, magneto-optic and electromagnetic devices. Here, by using the predicated lattice constant the spin-polarized band structures is computed for Mg1−x Mn x Se (x = 0.25, 0.50, 0.75 and 1) semiconductor with spin up () and down () orientations along high symmetry of the first BZ in the ferromagnetic zinc blende phase. The curves calculated within TB-mBJ approach to solve the problem of underestimation of band gap are displayed in Figs. 1234, and 5. Therefore in the case of x = 0 concentration we have treated and plotted the band structure of the binary compound (MgSe) in the non-magnetic (NM) phase (Fig. 1) The Fermi level is set at the zero energy to be considered as a reference point.

Fig. 1
figure 1

The band structure of the binary MgSe (x = 0) in the non-magnetic phase

Fig. 2
figure 2

Spin-polarized band structures of majority spin (up) and minority spin (dn) for Mg0.75Mn0.25Se. The Fermi level is set to zero (horizontal dotted line)

Fig. 3
figure 3

Spin-polarized band structures of majority spin (up) and minority spin (dn) for Mg0.50Mn0.50Se. The Fermi level is set to zero (horizontal dotted line)

Fig. 4
figure 4

Spin-polarized band structures of majority spin (up) and minority spin (dn) for Mg0.25Mn0.75Se. The Fermi level is set to zero (horizontal dotted line)

Fig. 5
figure 5

Spin-polarized band structures of majority spin (up) and minority spin (dn) for MnSe (x= 1). The Fermi level is set to zero (horizontal dotted line)

From the figures, for both spin orientation (up and down) with x = 0.25 to 1 the band structures reveals a direct band gap, where the minimum of the conduction band (CBM) and the maximum of the valence band (VBM) situated at Γ point of the BZ, which possess the semiconducting nature in these alloys.

The direct band gaps of all alloys determined from the spin up case shown in Table 2 are plotted in Fig. 6. For further evaluation the band gap energy of Mg1−x Mn x Se can be depicted as a function of the manganese concentration and expressed by the following formula:

$$\begin{array}{@{}rcl@{}} E_{g\left( {\text{Mg}}_{1-x}{\text{Mn}}_{x}\text{Se} \right)}\left( x \right)=xE_{g\left( \text{MnSe} \right)}+\left( 1-x \right)E_{g\left( \text{MgSe} \right)}\\ -x\left( 1-x \right)b \end{array} $$
(1)

where \(E_{g\left ({\text {Mg}}_{1-x}{\text {Mn}}_{x}\text {Se} \right )}\left (x \right )\) is the band gap energy of the Mg1−x Mn x Se, E g(MgSe) is the band gap energy of the MgSe, E g(MnSe) is the band gap energy of MnSe, and b is the band gap bowing parameter of Mg1−x Mn x Se alloys.

Table 2 The calculated E g (spin-up band gap), total moments M Tot (μ B ) per Mn, and the local magnetic moments M Mg/Mn/Se for each concentration for Mg1−x Mn x Se alloys (x = 0, 0.25, 0.50, 0.75 and 1) by using TB-mBJ functional
Fig. 6
figure 6

Band gap as a function of Mn concentrations for Mg1−x Mn x Se

This equation gives b= 0.986 eV, according to the TB-mBJ approximation where the results shown in Fig. 6 was fitted by the expression (1) and follow the quadratic (2)

$$ E_{\mathrm{g}(\mathrm{TB-mBJ})}^{\Gamma -{\Gamma}} = 4.094-3.281x + 0.986x^{2} $$
(2)

As may be seen the energy gap decreases with increased concentration in our compounds. However, in the spin down channels, a symmetric band gap exists around the Fermi level (E F) for Mn-doped MgSe at all concentrations.

In addition, the different band states of atomic and orbital origins can be explained by calculating the densities of states (DOS) and are displayed in Figs. 78910, and 11 for x = 0, 0.25, 0.50, 0.75 and 1; the Fermi level E F is set to zero and it is indicted by the vertical blue dashed line.

Fig. 7
figure 7

The total and partial DOS of (2p, 3s) of Mg and (4s, 4p) Se for the binary MgSe (x = 0) in the non-magnetic phase. The Fermi level is set to zero (vertical dotted line)

Fig. 8
figure 8

Spin-polarized total and partial DOS of (2p, 3s) of Mg, (4s, 4p) of Se, and (3d, 3d-t 2g, 3deg) of Mn in supercell of Mg0.75Mn0.25Se. The Fermi level is set to zero (vertical dotted line)

Fig. 9
figure 9

Spin-polarized total and partial DOS of (2p, 3s) of Mg, (4s, 4p) of Se, and (3d, 3d-t 2g, 3deg) of Mn in supercell of Mg0.50Mn0.50Se. The Fermi level is set to zero (vertical dotted line)

Fig. 10
figure 10

Spin-polarized total and partial DOS of (2p, 3s) of Mg, (4s, 4p) of Se, and (3d, 3d-t 2g, 3deg) of Mn in supercell of Mg0.25Mn0.75Se. The Fermi level is set to zero (vertical dotted line)

Fig. 11
figure 11

Spin-polarized total and partial DOS (4s, 4p) of Se, and (3d, 3d-t 2g, 3deg) of Mn for the binary MnSe (x= 1). The Fermi level is set to zero (vertical dotted line)

According to the crystal field theory, the PDOS curves show that the fivefold degenerate of 3d (Mn) states are divides in two parts: the threefold degenerate high-lying t 2g (d xy, d yz and d xz) and the twofold generate low-lying e g (\(d_{z^{2}}\) and \(d_{x^{2}-}d_{y^{2}})\) symmetry states, this is caused by the effect of the tetrahedral crystal field formed by surrounding (S, Se and Te) ligands; where the energies of e g states are lower than t 2g states due to less Coulomb interaction.

In the case of non-magnetic MgSe (x = 0) (Fig. 7), the DOS in the first range from − 11.5 to − 10.5 (eV) is mainly dominated by “4s” Se orbital. The following range from − 3 (eV) to near the Fermi level (E F) contain “4p” orbital of Se, while the last region from 4 (eV) to 12 (eV) is dominated by “2p” “3s” Mg and 4p Se orbitals respectively.

For x = 0.25, 0.50 and 0.75 (Figs. 89 and 10) we found a great similarity behavior of the density electronic of states. While the lower part range between − 13.5 (eV) and − 11 (eV) is formed by 4sorbitals of Se atom for both spin up-down orientation. As well the DOS in the middle part range around − 5.5 (eV) to near the Fermi level E F comes essentially from the hybridization between the “3d-e g” “3d-t2g” Mn and 4p Se, 3s Mg states in the spin up case, conversely the spin down case is dominated by 4p and 4s Se sates. The last one is located between 1.2 (eV) and 15 (eV) and divided into two sub-bands, the first one states from 1.2 (eV) to 5 (eV) formed by 3d-e g and 3d-t 2g Mn states for the spin down case. Where the second one is situated between 5 (eV) and 15 (eV) mainly composed of mixture of 4s, 4p Se and 2p, and 3s Mg orbitals for both spin up and down.

In the case of ferromagnetic MnSe (x= 1) (Fig. 11), the DOS in the first range from − 13.6 to − 12.7 (eV) mainly dominated by 4s Se orbital for both spin orientation (up and down). The second range from − 5.4 (eV) to near the Fermi level E F the DOS in the spin up case comes from the hybridization between 3d-e g, 3d-t 2g Mn and 4p Se orbitals, where the spin down case is dominate essentially by the 4p Se orbital. Also, the range between 0.5 (eV) and 5 (eV) is dominated by 3d-e g and 3d-t 2g Mn states for the spin down case, while from 5 to 15 (eV) the region is formed by 4p and 4s Mg orbitals for both spin updown.

On the other side for each concentration, no d-states peak of Mn at the Fermi level for both spin channels (up and down) which exhibit ferromagnetic semiconductor behaviors in these compounds is observed.

3.3 Magnetic Properties and Exchange Coupling

In this section, the values of total and local magnetic moment for DMSs Mg1−x Mn x Se at different concentrations (x = 0.25, 0.5, 0.75 and 1) using TB-mBJ approximation were exerted by first principles calculation are summarized in Table 2.

However, the magnetism in our selected compounds due to 3d (Mn) impurity where the Mn atom contributes two electronic to bonding of host valence band semiconductor resulting in Mn+ 2 ion. As consequence the electronic configuration of 3d (Mn) in our alloys is (d5\({e_{g}^{3}}t_{2g}^{2})\) according to the Hund’s rule for each concentration. Where all the spin-majority states are occupied but spin-minority states are either empty or partially occupied.

Through Table 2, we observed that local magnetic moment of Mn doped MgSe at x = 0.25, 0.50, 0.75 and 1 is reduced less than the predicated Hund’s rule values 5μB for total magnetic moment due to the p–d exchange interaction. On the other hand, a small contribution of local magnetic moment is induced on the nonmagnetic Mg and Se sites.

After that, according to the mean field theory, the Hamiltonian given by the following equations [60, 61]:

$$ H=-N_{0}\beta_{s}.S $$
(3)

(where N 0 shows cation content, β expresses p-d exchange, while s and S, respectively, represent free hole and the Mn impurity spins) is employed to find tow important type of exchange constants N 0 α and N 0 β which demonstrate the strength of the s–d and p–d couplings respectively.

As well, the parameters can be calculated from the band structure and the magnetic properties by assuming the usual Kondo interactions [62]:

$$ N_{0}\alpha =\frac{\Delta E_{C}}{x\langle S \rangle} $$
(4)
$$ N_{0}\beta =\frac{\Delta E_{V}}{x\langle S \rangle} $$
(5)

Here, ΔE C and ΔE V are band-edge splitting of CBM and VBM respectively, calculated from given equations:

$$\begin{array}{@{}rcl@{}} {\Delta} E_{C}=E_{\text{CBMin}}^{\downarrow} -E_{\text{CBMin}}^{\uparrow} \end{array} $$
(6)
$$\begin{array}{@{}rcl@{}} {\Delta} E_{V}=E_{\text{VBMax}}^{\downarrow} -E_{\text{VBMax}}^{\uparrow} \end{array} $$
(7)

x is the concentration of Mn atom and 〈S〉 in one half of magnetization per Mn ion. The predicted values of ΔE C ΔE V , N 0 α and N 0 β respectively for each concentration of x are collected in Table 3.

Table 3 Calculated conductionΔE C and valence ΔE V band-edge spin-splitting and exchange constants N 0 α, N 0 β, for Mg1−x Mn x Se at x = 0.25, 0.50, 0.75 and 1 using TB-mBJ functional

The negative sign of both N 0 β and N 0 α confirms the double-exchange mechanism in our compounds where the s–d and p–d interactions are parallel and support FM character. In addition, we find that N 0 β is more negative than N 0 α this indicated that the exchange energy involved through the spin-down channel.

4 Conclusion

In this article, we summarize theoretical prediction of the structural, electronic, and magnetic properties of Mn doped MgSe at (x = 0, 0.25, 0.50, 0.75 and 1) by using the firstprinciples calculation based on the full potential linear augmented plan wave (FP-LAPW + lo) under the framework of SP-DFT (spin polarization density). Based on our results, the following main conclusion is drawn.

Our results of structure properties are reported for the first time, where the equilibrium lattice constant of Mg1−x Mn x Se compounds decrease with the addition of Mn dopant.

For the electronic properties, our compounds maintain a semiconducting nature in both spin configuration (up and down) and have a direct band gap.

The calculated total magnetic moments for Mg1−x Mn x Se are about 5 µB largely arisen from the manganese doping; also, we can see a small magnetic moment produce on non-magnetic Mg and Se atom, due to the hybridizations between p (Se) and d (Mn) states.