1 Introduction

Hydrogen, being the most abundant, high energy content, and eco-friendly fuel, has been highlighted as an alternative fuel that can substitute the climate-changing fossil fuels [1]. Therefore, various techniques are being proposed for the efficient and economical production, storage, and utilization of hydrogen [2]. Currently, hydrogen storage involves either liquefication or compression, which is not suitable for large-scale production. To achieve high storage density, various materials are proposed [3]. In this perspective, due to high specific surface area and low density, two-dimensional (2D) materials are preferred [4,5,6,7].

Graphene, also known as the first ultra-thin two-dimensional (2D) material, composed of a honeycomb monolayer lattice of carbon atoms, isolated from graphite in 2004, exhibits unique electronic, transport, and mechanical properties, has opened new horizons in the field of nanoelectronics [8, 9]. Owing to its technical scope, the scientists and researchers devoted great efforts to exploring other 2D materials. So far some well-known 2D materials including silicene [10], germanene [11], boron-nitride [12], metal dichalcogenides [13], and metal carbides/nitrides [14,15,16,17], etc., have been realized with a rich diversity in electronic, transport and chemical properties [18, 19].

The group-IV elements (phosphorus P, arsenic As, antimony Sb, and bismuth Bi), commonly known as pnictogens have layered structure in bulk form, where individual layers are stacked by weak van-der-Waals (vdW) interactions. Such a layered structure provides the opportunity for the exfoliation of individual layers. Depending on the crystal lattice, phosphorus can have three allotropes namely white-phosphorus (WP), red-phosphorus (RP), and black-phosphorus (BP). The 2D sheet of PB, called phosphorene was first obtained in 2014 from the bulk orthorhombic crystal in the mechanical exfoliation method and demonstrated to have high carrier mobility and an on-off ratio of 104, highly suitable for field-effect-transistor (FET) applications [20]. The monolayer of PB has a puckered structure formed by the P-atoms and exhibits semiconducting properties with a direct band gap (Eg) of 1.5 eV [21]. Later on, in 2015, monolayer 2D crystals of As (arsenene) and Sb (antimonene) were simultaneously predicted as indirect bandgap semiconductors with Eg of 2.49 and 2.28 eV, respectively, which can be turned into direct band gap with tensile strain [22]. Antimonene nanosheets were experimentally obtained with vdW epitaxy method [23], while, arsenene sheets were synthesized on Ag(111) substrate [24].

Apart from synthesis, substantial experimental and theoretical efforts have been carried out to explore various aspects of 2D pnictogens [25, 26]. Being non-magnetic in nature, these systems cannot be directly implemented in ultra-thin spintronic devices. Therefore, to induce moment, various strategies have been employed. For instance, non-magnetic phosphorene turned into magnetic on the adsorption of transition metal atoms (Fe, Co, or Ni) [27]. It was found that the presence of vacancy defects can significantly reduce the thermal conductivity and mechanical strength of phosphorene [28]. It was reported that multiple vacancy defects such as Stone-Waals defects are more like to be formed in phosphorene structure due to its large surface area [29]. Previously, it was reported that the H2 molecule is weakly adsorbed on pristine phosphorene with adsorption energy (Ea) of -0.18 eV [30], thus the material in pristine form cannot be used for hydrogen capture. The Co-decorated phosphorene showed Ea of -0.88 eV and Sn-decorated has Ea of -0.02 eV [31]. In this work, we introduce the co-doping of cobalt (Co) and strontium (Sn) atoms for tuning the adsorption strength of H2 on phosphorene. Our results showed that the combination of Co and Sn doping can effectively enhance the adsorption strength of phosphorene toward H2 capture.

2 Computational methods and detail

In this study, spin-polarized first-principles calculations based on density functional theory (DFT) were performed with the Vienna Ab-initio Simulation Package (VASP) [32]. The exchange-correlation part of the total energy was approximated in generalized gradient approximation (GGA) of Perdew-Burke-Ernzerhof (PBE) formalism [33]. The unit-cell geometry of the pristine monolayer puckered phosphorene (ML-P) was fully relaxed (for atomic positions and lattice vectors) with 20 × 18 × 1 k-points, and its band structure was calculated. From the relaxed unit-cell geometry, a 4 × 3 × 1 supercell composed of 48 P-atoms was built and relaxed with 5 × 5 × 1 k-points, and the density of states was computed with 6 × 6 × 1 k-points. The system of ML-P with tri-doping was created by removing three P-atoms in the middle of the supercell and subjected to relaxation with the same k-points used in ML-P. A vacuum space of 20 Å was introduced along the direction normal to the surface of the doped system. The critical energy difference between consecutive iterations was set at 10− 4 eV and the plane waves were expanded with an energy cut-off of 500 eV. As the long-range vdW forces have a significant effect on adsorption interaction, we have introduced vdW corrections in the calculations. In addition, the Co-3d states are treated with DFT + Ueff method where effective Coulomb interaction Ueff=U-J, U is Hubbard Coulomb interaction and J is Hund exchange interaction [34]. A Ueff of 3.42 eV for Co-3d states has been adopted here per the literature [35].

3 Results and discussion

3.1 Pristine phosphorene

Before exploring the effect of tri-doping, the ground state geometric and electronic band structure of pristine monolayer phosphorene (ML-P) in unit-cell is calculated, shown in Fig. 1(a, b), where unit-cell is marked by blue dotted lines. In the relaxed state, the unit-cell lattice constant along x-direction a is 3.298 Å, and the lattice constant in y-direction b is 4.619 Å, which are similar to the a = 3.29 Å and b = 4.54 Å reported elsewhere [27]. Unlike the flat structure of graphene, due to sp3 hybridization, phosphorene has a puckered structure composed of two atomic planes, where each P-atom is connected to three adjacent P-atoms in covalent bonding. In particular, the P-atoms have two types of bond lengths, the shorter bond length is along the zig-zag direction and the longer bond length is along the arm-chair direction. The calculated short and long bond lengths are 2.22 Å and 2.25 Å, respectively. The P-P-P bond angle ΦP is 95.2 and 104.1 °. The side view of the structure shows that, unlike graphene, ML-P is not a flat one-atom thick, rather it has a puckered structure due to sp3 hybridization and the thickness of the system is 2.12 Å. Figure 1(b) demonstrates ML-P to be a semiconductor where the valence band and conduction band edge are located at a high symmetric gamma point in the Brillouin zone, giving rise to a direct Eg of 0.91 eV, which is in agreement with the Eg value of 0.957 eV in literature [36].

Fig. 1
figure 1

(a) Relaxed geometry (in the top and side views) of monolayer pristine black phosphorene (p-BP) in unit-cell, (b) the electronic band structure of p-BP

3.2 Co and Sn co-doped phosphorene (TD-P)

3.2.1 Geometries of co-doped phosphorene

The co-doped structures are obtained by replacing three P-atoms with Co/Sn-atoms. In this way, three selective systems can be achieved: (A) P45Co1Sn2 (model-A), three P-atoms are replaced by one Co-atoms and two Sn-atom, (B) P45Co2Sn1 (model-B), three P-atoms are replaced by two Co-atoms and one Sn-atom, (C) P45Co3 (model-C), three P-atoms are replaced by two Co-atoms. Due to the presence of magnetic Co-atom in each model, the geometries are relaxed within spin-polarized calculations to achieve the lowest DFT total energy (E0). The relaxed geometries are shown in Fig. 2. To provide a better comparison, the relaxed structure of un-doped phosphorene (P48) is also shown in Fig. 1(a). In model-A (Fig. 2b), the top view of the structure shows that doped atoms are slightly displaced from the actual position, causing a stretching in bond lengths. The calculated Co-Sn bond length dCo−Sn is 3.01 Å, greater than the initial value of 2.21 Å, and P-Co bond length dP−Co is 2.27 Å, close to the P-P bond length dP−P of 2.26 Å. However, the two Sn-atoms are also moved closer and have a separation distance of 3.08 Å, shorter than the original value of 3.29 Å. The P-Sn bond length dP−Sn is 2.67 Å. is According to the side view, the doped Co/Sn atoms have significant out-of-place displacements. Such displacements can deform the local geometry, as estimated from the change in bond lengths. In Fig. 2c, one can find that the doped structure has some obvious distortions owing to the formation of new bonds and doped atoms being occupied at new positions. The obtained Co-Sn bond length dCo−Sn is 2.74 Å and 2.67 Å. Likewise, dCo−Co is 2.64 Å, dP−Co is 2.31 Å, and dP−Sn is 2.62 Å. Although bond lengths at doping sites are somewhat changed, the doped atoms are not moved out of the plane. In model-C, each doped Co-atom forms bonds with neighboring P- and Co-atoms. The value of dP−Co, dCo−Co is 2.25 Å, dP−Co is 2.48 Å.

Fig. 2
figure 2

Relaxed geometries of (a) pristine black phosphorene (P48), (b) one Co and two Sn doped phosphorene (P45Co1Sn2), (c) two Co and one Sn doped phosphorene (P45Co2Sn1), (d) three Co-doped phosphorene (P45Co3)

3.3 Stability

The stability of the designed structures is determined via formation energy calculated by equation (a) [37,38,39].

$$\eqalign{{E}_{f}&={E}_{doped-phosporene}+{3\mu }_{P}\cr\quad&-{x\mu }_{Co}-{y\mu }_{Sn}-{E}_{phosporene}}$$
(1)

where \({E}_{doped-phosporene}\) is the DFT total energy of Co/Sn-doped phosphorene, \({\mu }_{P},\)\({\mu }_{Co},\)\({\mu }_{Sn}\) represent the chemical potential of P, Co, and Sn, \({E}_{phosporene}\) is the DFT total energy of un-doped phosphorene, \(x\left(y\right)\) is the number of Co (Sn) atoms doped. The chemical potential of P is taken as the total energy of un-doped phosphorene per atom, whereas the chemical potential of Co/Sn is simply the energy of a single isolated atom. The calculated per-doped atom \({E}_{f}\) is -3.05, -3.15, and − 2.81 eV/atom. These values of formation energy are within the range of formation energy (-0.4 to -3.2 eV) reported for dual-doped graphene [38].

To further evaluate the structural stability molecular dynamics (MD) simulations are conducted for 5 ps in the NVT ensemble (T = 300 K). The variation in total energy E0 is monitored over time, shown in Fig. 3. It is noticed that E0 does not show large fluctuations over time, which means that the structure does not undergo the breaking of chemical bonds or reconstruction. Thus, the present systems are assumed to be stable and could be synthesizable.

Fig. 3
figure 3

Variation in potential energy with MD time for (a) P45Co1Sn2, (b) P45Co2Sn1), (c) P45Co3. The corresponding structures at temperature (T) of 300 K after 5000 fs are shown in lower panels in (d), (e) and (f).

3.4 Magnetic and electronic properties

To explore the magnetic properties, the ground state magnetic coupling, the total magnetic moment per supercell (M), and atomic magnetic moment (m) (listed in Table 1) are calculated. As mentioned above, having no unpaired electrons, pristine phosphorene is non-magnetic in the ground states, however, when dopants are introduced, it may become magnetic. Our spin-polarized calculations reveal that all three doped models are magnetic in the ground state and exhibit an integer M. For instance, model-A has M = 6 µB, model-B has M = 3 µB, and model-C has M = 6 µB. In the model-A, the Co-atom has m = 1.98 µB, and each Sn-atom has m=-0.3 µB, which means coupling between Co and Sn-atoms is antiferromagnetic (AFM), and two Sn-atoms have ferromagnetic (FM) coupling, and the material is said to have a FM coupling. In addition, the P-atoms connected to Co/Sn-atoms carry a negligible moment. For model-B, one Co-atom has m= -1.51 µB and the other one has m = 1.87 µB, and Sn-atom has a tiny moment of m=-0.01 µB, confirming an overall ferrimagnetic (FIM) coupling in the material. In model-C, all the three doped Co-atoms have parallel moments, with one Co-atom carrying a moment of m = 1.3 µB, and the other ones having a moment of m = 2.1 µB. Thus, model-C has FM coupling in the ground state.

Table 1 Adsorption energy Ea (eV), charge transfer from adsorbent to adsorbate ΔQ|e|, vertical distance between adsorbent and adsorbate h (Å), minimum distance d (Å), H-H bond length dH−H, Fermi energy EF (eV), the total magnetic moment per supercell MB) and band gap Eg (eV) for H2 adsorbed on phosphorene-based systems. The negative value of the Bader charge indicates H2 as the charge acceptor. The EF inside the parenthesis is without H2 adsorption

The electronic properties are investigated using electronic band structure (Fig. 4) and density of states (DOS) plots (Fig. 5). In Fig. 3(b-d), the black (red) lines represent the majority (minority) electronic states. We find that upon doping of Co/Sn-atoms the electronic structure of phosphorene has remarkably changed. For example, model-A and model-B have metallic characters, whereas model-B still exhibits semiconducting features but with a much-reduced band gap (Eg=0.2 eV). The DOS plots can help in understanding the underlying mechanism for change in the electronic properties of phosphorene. According to Fig. 4b, the mid-gap states that vanish the band gap belong to Co-atom with a major contribution, while P/Sn-atoms have a small contribution. Further analysis of ODOS (Fig. 5c/d) shows that the states emerging at the Fermi level (EF) originate from P-2p, Co-p, and Sn-d orbital. The overlap of energy states below EF favors strong hybridization between host P-atom and dopants to form covalent bonds. In model-B, the energy states at EF belong to P-2p, Co-p/d, and Sn-p/d orbital, which transform the band structure of the material to metallic. For model-C, the valence band edge is formed by both P and Co atoms, whereas the conduction band edge is mainly constructed by Co-atoms, and ODOS plots show that band edges have a mixed character of P-2p and Co-p/d states.

Fig. 4
figure 4

Electronic band structure of (a) P48, (b) P45Co1Sn2, (c) P45Co2Sn1, (d) P45Co3 without and with H2 shown in (e), (f), (g) and (h).

Fig. 5
figure 5

Electronic density of states (DOS) plots for (a) P48, (b-e) P45Co1Sn2, (f-i) P45Co2Sn1, (j-l) P45Co3

3.5 H2 on phosphorene

In the following section, we discuss the effect of Co/Sn doping on the adsorption of H2 on phosphorene. To estimate the effect of doping on adsorption strength, we first investigated H2 adsorption on un-doped phosphorene, and then compared the adsorption parameters with those obtained with doped systems. In phosphorene, we considered some high symmetric adsorption sites such as top (T), hollow (H), bridge-1 (B1), and bridge-2 (B2), shown in supplementary information (Figure SI-1). Besides, we have also considered two landing orientations of the molecule, horizontal and vertical. In horizontal orientation, the H-H bond is parallel to the xy-plane of the phosphorene structure, and in vertical orientation, the H-H bond is perpendicular to xy-plane of the phosphorene. In this way, we obtain eight adsorption configurations (AC). To determine the energetically favorable AC each configuration is relaxed with spin-polarized calculations by allowing all atoms (of molecule and adsorbent) to move freely in all directions. After calculations, it was found that B2 site has the lowest total energy, therefore it is marked as the most stable AC. Afterward, the desired adsorption parameters (adsorption energy, charge transfer, adsorption height, etc.) are calculated for this stable AC, listed in Table 1. The relaxed AC at B2 is presented in Fig. 6a. It is noticed that H2 molecule moves away from the surface and does not interact chemically. The adsorption parameters show that H2 is physically adsorbed as evidenced by very small adsorption energy (Ea) of -0.03 eV, and a large adsorption height (h) of 3.33 Å. The band structure of H2 adsorbed on phosphorene (P48@H2) presented in Fig. 3(e) is exactly like that of phosphorene without H2, confirming that the molecule did not alter the electronic properties of phosphorene. In short, pristine phosphorene cannot be used for the capture or detection of H2.

Fig. 6
figure 6

Initial (upper-panel) and final (lower-panel) configuration of H2 adsorbed on (a) P48, (b) P45Co1Sn2, (c) P45Co2Sn1, (d) P45Co3

3.6 H2 on doped phosphorene

The adsorption of H2 on the doped systems is examined at various doping sites including the top of Co-atom, the top of Sn-atom, and between Co and Sn-atoms. We explain the adsorption profile on each doped system one by one. Firstly, in model-A (Fig. 6b), the molecule is preferably adsorbed on the Co-atom. For this site, the calculated values of adsorption parameters (Ea, ΔQ, h, dmin, etc.) are listed in the table. The calculated values show that the adsorption of the molecule on this site is exothermic as the adsorption energy is negative. In addition, the molecule forms chemical bonds with Co-atom, evidenced by the small values of h = 1.62 Å and dmin=1.72 Å. The H-H bond length is slightly increased after adsorption from the initial value of 0.75 Å to 0.81 Å. As H2 molecule interacts with the adsorbent only via Co-atom, and Co and H-atoms have different electronegativity, therefore one may expect an exchange of charge (ΔQ) between two adsorbent and adsorbate. Our results indicate a small value of ΔQ=-0.008e, and its negative sign indicates the charge is transferred from the adsorbent to the molecule. Thus, the H2 molecule acts as a charge accepter when adsorbed on model-A. The adsorption of H2 slightly shifts the position of the Fermi level towards lower energy from the actual value of -2.80 eV. Interestingly, such adsorption did not alter the electronic band gap and magnetic moment of the adsorbent. In model-B, the most favorable AC is obtained when the molecule is adsorbed on Co-atom. The adsorption parameters listed in the table, do not much differ from those of model-A. Therefore, we predict that the molecule is chemically adsorbed on model-B. For model-C, again the most favorable AC is obtained on the top of the Co-atom. However, the adsorption strength is increased as seen from the value of Ea=-0.65 eV. For practical purposes, very large or small adsorption energy is considered unfavorable for reversible sensing. In our case, the adsorption energy is moderate, and suitable for capturing H2 molecules for energy storage applications.

3.7 Mechanism for H2 adsorption on doped phosphorenee

To deeply explore the underlying mechanism behind the observed chemisorption of H2 on doped phosphorene, electronic density of states and charge density difference (CDD) plots are provided in Figs. 7 and 8, respectively. We find that in all adsorption cases, VBE and CBE states of the P45Co1Sn2@H2 system are mainly formed by the adsorbent atoms, while ODOS of Co and H reveal that Co-d and H-s orbital have a clear spin-polarization as the majority and minority states near the Fermi level are asymmetric over the given energy region. The presence of Co-d and H-s states just below and at the Fermi level is an indication of the hybridization of these orbitals, which causes binding between two atoms. Thus, the H2 molecule interacts with the adsorbent via s-d interaction and facilitates the exchange of charge between two species.

Fig. 7
figure 7

Electronic density of states for H2 molecule adsorbed on (a-c) P45Co1Sn2, (d-f) P45Co2Sn1, (g-i) P45Co3

Fig. 8
figure 8

Charge density difference (CDD) for H2 molecule adsorbed on (a) P45Co1Sn2, (b) P45Co2Sn1, (c) P45Co3

The CDD plots can help in understanding the exchange of charge between adsorbent and adsorbate. When an adsorbent is chemically adsorbed on the surface of an adsorbent, due to the exchange of charge, the distribution of charge is deformed particularly at the site where adsorption occurs. This redistribution of charge can be visualized in different color regions. In Fig. 8, two types of regions can be differentiated, yellow ones and cyan ones. The yellow regions located around doped atoms represent the depletion of charge while cyan regions show charge accumulation, this is because Co-atoms donate charge to H-atoms of H2 molecule when come in close interaction. This exchange of charge is also responsible for a considerable binding between adsorbent and H2 molecule. In short, we conclude that, unlike pristine phosphorene where H2 is weakly adsorbed, the adsorption strength is remarkably enhanced when Co and Sn-atoms are simultaneously doped into phosphorene, resulting in the chemisorption of H2 molecule.

3.8 Strain effect on adsorption

Strain is extensively used for tuning the adsorption ability of 2D materials [40, 41]. To explore its effect, the adsorption of H2 is investigated on various strained systems of Co-doped phosphorene. The resulting adsorption energy at the biaxial strain value of -10%, -5%, 0%, 5%, and 10% is plotted, shown in Fig. 9. The negative (positive) strain indicates compression (elongation). It is found that Ea decreases for both positive and negative strains, indicating that interaction between the adsorbent and H2 is sensitive to the interatomic bond lengths. It is useful to mention that strain has a direct impact on the interatomic bond lengths: for compressive strain, the interatomic bond lengths tend to decrease and vice versa. The change in bond lengths affects the interaction between two reactants.

Fig. 9
figure 9

Variation of adsorption energy with strain for H2 adsorbed on P45Co3.

3.9 Adsorption of multiple H2

In the adsorption of multiple H2 molecules, the average adsorption (Eav) was calculated as defined in ref. 7.

$${E}_{av}=\frac{E(n{H}_{2}+{{P}_{45}Co}_{x}{Sn}_{y})-E\left({P}_{45}{Co}_{x}{Sn}_{y}\right)-nE\left({H}_{2}\right)}{n}$$
(2)

where the first, second, and third terms indicate the total energy of the product, absorbent, and adsorbate. The integer n represents the number of H2 molecules loaded on the surface of the adsorbent. The adsorption capacity or the ability to capture the maximum number of molecules is an important factor in sensing. To estimate how many molecules can be adsorbed, we calculated the average adsorption energy (Eav). The Eav is defined as the adsorption energy (Eav=Ea/n) per number of molecules (n) adsorbed. The resulting data is plotted in Fig. 10 and the final configuration of seven H2 molecules is shown in Figure SI-2. It is noticed that Eav decreases with n value. For n = 7, the Eav is about − 0.2 eV for P45Co3 and P45Co1Sn2. This might be due to repulsion among neighboring H2 molecules and/or due to the presence of a limited number of active sites to capture H2.

Fig. 10
figure 10

Variation of average adsorption energy (Eav) with the number of H2 molecules loading on (a) P45Co3, and (b) P45Co1Sn2

4 Conclusion

In this work, the effect of Co/Sn co-doping on the electronic, magnetic, and adsorption properties (for H2 capture) of monolayer phosphorene was investigated using first-principles calculations. Unlike pristine phosphorene (P48), the co-doped phosphorene (P45CoxSny) can exhibit ferrimagnetic (FIM) or ferromagnetic (FM) coupling in the ground state. The doped structures exhibit integral magnetic moments, mainly contributed by the Co-atoms. The P45Co1Sn2 and P45Co2Sn1 structures show metallic band structure, while P45Co3 becomes a small band gap (Eg) semiconductor (Eg =0.2 eV). The adsorption of H2 molecule was investigated on un-doped and co-doped phosphorene. It was found that H2 molecule is weakly adsorbed on un-doped phosphorene, whereas moderate adsorption was observed for co-doped systems. The adsorption energy (Ea) was found to be -0.03, -0.35, -0.48, and − 0.65 eV, respectively for P48, P45Co1Sn2, and P45Co2Sn1 and P45Co3, respectively. The reported Ea values for co-doped phosphorene are well close to the ideal Ea of -0.5 eV, suitable for reversible adsorption. The DOS plots confirmed that the observed adsorption is due to the overlap of the s-orbital of the H-atom and the d-orbital of the Co-atom. The Bader charge analysis showed that the H2 molecule acts as a charge acceptor and doped phosphorene as a charge donor. These findings show that co-doped phosphorene can be used for spin-based nanodevices and hydrogen capture for energy storage applications.