Introduction

Boron (B), carbon (C), and nitride (N) atoms are in the same row of the periodic table of elements and all have the flexibility of sp, sp2, and sp3 hybridizations. B, C, and N atoms form abundant frameworks in simple substances or compounds. In addition, B and N have a similar atomic radius to C, and B-N pairs have the same number of outer shell electrons as C-C. Since the emergence of new carbon allotropes in 1980, different methods were proposed to experimentally synthesize or theoretically investigate a large number of BN analogues of carbon allotropes, such as diamond-like C-BN, fullerene-like BN nanocages1,2,3, BN nanotubes4,5,6,7, BN nanosheets8,9,10,11,12, BNyne13, M-BN14, Z-BN15, and O–BN16, etc. Among them, C-BN, BN nanocages1,2, BN nanotubes4,5, BN nanosheets8,9,10,11,12 have been synthesized experimentally by various methods and BNyne13, M-BN14, Z-BN15, and O–BN16 are still in the stage of theoretical prediction. Anyway, there are some similar properties between the BN materials and the known carbon materials. For instance, graphite and h-BN are widely used as lubricant, while diamond and c-BN are both super-hard materials. In contrast, some properties of the BN materials differ significantly from their carbon counterparts because of the fundamental difference between the polar covalent bond (B–N bond) and the pure covalent bond (C–C bond). For example, the electronic structure of C/BN bi-ribbons with zigzag-edged graphene and BN nanoribbons can transform from a semiconductor to a half-metal and to a ferromagnetic metal when the C ratio increases17. This produces interesting results that these C/BN materials often have structural similarities but radically different thermal conductivity, chemical stability, electronic, and optical properties. Considerable efforts have been devoted to the research on various C/BN structures motivated by their intriguing properties.

Chemical doping with B-N pairs is the most common method to adjust the physical and chemical properties of carbon nanomaterials. Xu et al. reported that the band gap increases with the increase of BN nanodots in the BN-doped graphene superlattice18. Zhou et al. discussed the modulation of the band gap in BN-yne structures composed of hexagonal BN rings joined by C-chains with a band gap from 2.65 eV for n = 2 to 1.14 eV for n = 12 where n is the number of C atoms in the chain19. Our work also shows that the structural stability and electronic properties of graphdiyne are relevant to the BN doping rate and position20. The influence of B-N pairs doping in carbon materials on the optical properties has become an important aspect of many studies. The electronic and optical properties of 6,6,12-graphyne can be altered by co-doping with B-N pairs21. By doping with BN at different sites, Bhattacharya et al. pointed out that the optical band gap of graphyne can be tuned from the infrared to the ultraviolet (UV) region22. They also studied the optical properties of γ-GNTs and their BN analogues (γ-BN-yne)23. They showed that the tubular geometry rather than its parent planar structure is the main factor to determine the optical properties of γ-GNTs. And the structure of γ-BN-yne is suitable for applications in novel optoelectronic devices. Yun et al. presented the optical properties of graphyne-like BN nanotubes24. However, the optical properties and the roles of sp2 and sp3 hybridized bonds have been rarely used for 3D multi-porous C/BN polymorphs compared with one-dimensional nanotubes (NTs) and two-dimensional nanosheets.

Given the importance of optical properties, we systematically studied the optical properties of B and N doped Hex-C2425 using first principle calculations. The doped structures form a hexagonal C/BN family with sp2 and sp3 hybridized bonds. Previous works indicate that nearest neighbor position is the most stable structure of B and N atoms doped into graphene26. Therefore, we followed this rule and considered four configurations: pristine Hex-C24, B-N pairs doping sp3 hybridized carbon atoms (Hex-(BN)6C12), B-N pairs doping the sp2 hybridized carbon atoms (Hex-C12(BN)6), and B-N doping all carbon atoms to form pristine Hex-(BN)12, as shown in Fig. 1. To get insights into the optical properties of these C/BN networks, we investigated the dielectric function, the absorption coefficient (α(ω)), the reflectivity(R(ω)), the refractivity index ((n(ω)), and the energy-loss(L(ω)). We established helpful guidelines for the applications of such hexagonal C/BN frameworks.

Figure 1
figure 1

Atomic structure of the hexagonal C/BN family. (a) schematic model of the (2 × 2 × 2) super-lattice formed from sp2-hybridized (yellow balls, A zone) and sp -hybridized atoms (green balls, B zone). (b–e) are detailed atoms structures of (b) Hex-C24, (c) Hex-(BN)6C12, (d) Hex-C12(BN)6, and (e) Hex-(BN)12. The grey, pink, and blue atoms represent C, B, and N atoms, respectively.

Results

The crystal structures of Hex-C24 and Hex-(BN)12 were determined earlier25,27. In order to minimize the symmetry reduction, we used B-N pairs to dope the sp3 hybridized carbon atoms (named as Hex-(BN)6C12), B-N pairs to dope the sp2 hybridized carbon atoms in pristine Hex-C24 (named as Hex-C12(BN)6), and B-N to dope all the carbon atoms forming pristine Hex-(BN)12. The four crystal structures are shown in Fig. 1. For Hex-(BN)6C12, the lattice parameters are a = b = 6.987 Å and c = 4.248 Å, and the corresponding values of Hex-C12(BN)6 are a = b = 6.950, Å and c = 4.240 Å. The values of lattice parameters are between that of Hex-C24 and Hex-(BN)12. There are very small distortions of about 2% compared with Hex-C24. For these two structures, they both have four different chemical bonds: C-C, C-N, C-B, and B-N. The corresponding bond lengths of Hex-(BN)6C12 are 1.406 and 1.371 Å (in the axis direction) for sp2-C-C-sp2, 1.486 Å for sp2-C-N-sp3, 1.577 Å for sp2-C-B-sp3, and 1.607 and 1.584 Å (in the axis direction) for sp3-B-N-sp3. And that values of Hex-C12(BN)6 are 1.565 and 1.563 Å (in the axis direction) for sp3-C-C-sp3, 1.481 Å for sp3-C-N-sp2, 1.580 Å for sp3-C-B-sp2, and 1.421 Å for sp2-B-N-sp2. Obviously, for B, C, and N elements, the bond length difference of the same hybrid form is smaller in this hexagonal C/BN family.

To evaluate the relative stability of this hexagonal C/BN family, we calculated the cohesive energy (Ecoh) using the definition:

$${E}_{coh}=\frac{m{E}_{C}+n({E}_{B}+{E}_{N})-{E}_{{C}_{m}{(BN)}_{n}}}{m+2n}$$

where EC, EB, EN, and ECm(BN)n are the energies of a single C atom, B atom, N atom, and the total energy of the corresponding C/BN configuration, respectively. The calculated results show that the cohesive energy of Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12 are 7.817, 7.560, 7.608, and 7.733 eV per atom, respectively. From the cohesive energy values, we can see the order of energy stability is Hex-C24, Hex-(BN)12, Hex-C12(BN)6, and Hex-(BN)6C12. Hex-C12(BN)6 is energetically favored over Hex-(BN)6C12, which means B-N pair prefers to replace the sp2-hybridized carbon atoms under these conditions.

To the dynamic stability of Hex-(BN)6C12 and Hex-C12(BN)6, we calculated the phonon dispersion using finite displacement theory, as shown in Fig. 2. No imaginary frequencies are observed along the high symmetry orientations in the Brillouin zone, which confirms the dynamic stability of Hex-C24 and Hex-(BN)12.

Figure 2
figure 2

Phonon band structure in (a) Hex-(BN)6C12 and (b) Hex-C12(BN)6.

We calculated the dielectric functions of polycrystalline Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12. The complex dielectric function of diamond was calculated first and was in good agreement with the experimental data28. Then, the complex dielectric function of the hexagonal C/BN framework for poly-crystals were obtained similarly, as illustrated in Fig. 3. For comparison, the complex dielectric functions of the diamond and cubic BN were also calculated. We observed that the complex dielectric functions are tuned from the infrared to the UV region of the electromagnetic spectra for the hexagonal C/BN family. Compared to diamond and cubic BN which have a cubic symmetry with sp3 hybridized atoms, the first peaks of ε1(ω) and ε2(ω) of these four hexagonal C/BN frameworks have significant redshifts. Hex-C24 has a spectrum similar to that of Hex-(BN)6C12, whereas Hex-C12(BN)6 has a spectrum similar to that of Hex-(BN)12. In Hex-C24 and Hex-(BN)6C12, in which all the atoms of sp2 hybridization are carbon atoms, the spectra of the complex dielectric function are narrow and sharp in the low-energy region. In Hex-C12(BN)6 and Hex-(BN)12, in which all the atoms of sp2 hybridization are B-N pairs, the complex dielectric functions are broad and the intensity decreases. Compared with Hex-C24 and Hex-(BN)6C12, the ε1(ω) peak and the ε2(ω) edges of Hex-C12(BN)6 and Hex-(BN)12 have significant blueshifts, which means that they have larger band gaps. The significant blueshifts of the ε2(ω) spectra due to the presence of C/BN with sp2 hybridization at different sites matches well with other C/BN molecules23,29. The sp2 hybridization has a significant impact on the dielectric function of the materials with sp2 and sp3 hybridized C atoms and B-N pairs. Because of the shift to the UV region and the low dielectric constant of Hex-C12(BN)6 and Hex-(BN)12, they are suitable candidates for short-wavelength optoelectronic devices.

Figure 3
figure 3

Dielectric function of Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12 polycrystalline structures. The values of diamond and cubic BN are shown for comparison.

The absorption coefficient α(ω) of the hexagonal C/BN framework in the polycrystalline structures are shown in Fig. 4. Compared to diamond and cubic BN, the absorption edges of the hexagonal C/BN framework show significant redshifts with a decreasing absorption intensity. For Hex-C24 and Hex-(BN)6C12, the absorption starts at 0 eV while the obvious absorption starts in the infrared region (about 0.60 eV) resulting in small peaks in the low-energy region. The absorption starts in the UV region (3.70 eV) for Hex-C12(BN)6 and Hex-(BN)12. Clearly, the former two have similar spectral curves, and the latter two have similar spectral curves. We attributed this similarity to the sp2 hybridization atoms. We deduced that the electronic structure in the region near the Fermi level comes mainly from the sp2 hybridized atoms, whereas the contribution from sp3 hybridized atoms is very small. The subsequent calculations of electron density of states further confirm this point.

Figure 4
figure 4

Absorption spectrum of polycrystalline Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12. The corresponding values of diamond and cubic BN are shown for comparison.

Figure 5 displays the reflectivity and refractive spectra of the poly-crystals for these four hexagonal frameworks. The reflectivity and refractive spectra have peaks in the low and high energy regions, respectively. In the low-energy region, there are comparatively sharp peaks for the reflectivity and the refractive index for Hex-C24 and Hex-(BN)6C12, whereas the reflectivity and the refractive spectrum for Hex-C12(BN)6 and Hex-(BN)12 are relatively flat. In the 10–25 eV energy range, the reflectivity spectra have strong peaks and the refractive spectra show a gradual decrease for all structures. The reflectivity almost reaches zero when the energy exceeds 38.00 eV for all four hexagonal frameworks. The refractive spectrum tends to a stable state when the energy exceeds 30.00 eV. The differences mainly come from the types of atoms with sp2 hybridization. We can further infer that if the type of sp2 hybridized atoms in the C/BN family is the same, the optical properties will be similar. If they are carbon atoms, the reflectivity and the refractive index will be strong in the low energy range. Therefore, carbon atoms with sp2 hybridization are more sensitive to light from the infrared to the visible region than B-N pairs, and the C-C and B-N pairs have a similar sensitivity to high frequencies. The high reflectivity and the low refractive index indicate the possibility of them as anti-ultraviolet radiation materials in this energy range.

Figure 5
figure 5

Reflectivity and refractive spectra of polycrystalline Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12. The corresponding values of diamond and cubic BN are shown for comparison.

Figure 6 shows the energy-loss spectrum and indicates the energy dissipated by the electrons crossing the polycrystalline hexagonal network. The sharp and strong peaks are all concentrated in 23–30 eV energy region. They describe the collective oscillation of the electron cloud relatively to the ionic environment caused by an incident electron passing through the crystal. There is a little redshift in the order of Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12. The differences in the energy-loss spectrum of these strong peaks are very small. We attributed them to the slight difference in the electronic structure of C-C and B-N bonds. For Hex-C24 and Hex-(BN)6C12, a small peak can be observed in the 1.70–3.00 eV energy range. These sharp and strong peaks can be used to identify the hexagonal family.

Figure 6
figure 6

Electron energy-loss spectrum of polycrystalline Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12. The corresponding values of diamond and cubic BN are shown for comparison.

To study the optical anisotropy of the hexagonal family, the real and imaginary parts of the dielectric functions corresponding to the perpendicular (EC) and parallel (E//C) [0001] directions are considered. Figure 7 shows that the real part and the imaginary part of the dielectric functions of these materials exhibit a general anisotropy. There are relatively strong peaks along the [0001] direction for all four structures. This is related to the anisotropy of the crystal structure and the symmetry along these directions. Even for the same spatial location, the types of atoms are different. Additionally, the same as the dielectric functions of polycrystalline, Hex-C24 and Hex-(BN)6C12, as well as Hex-C12(BN)6 and Hex-(BN)12 have similar spectral curves. By comparing the similarities and the differences for these structures, Hex-C24 and Hex-(BN)6C12 both have carbon atoms with sp2 hybridization. The common feature of the other two structures is that the atoms with sp2 hybridization are B-N pairs. This also means that the main factors affecting the optical properties of these hexagonal networks are the sp2 hybridization atoms.

Figure 7
figure 7

(a) Real part and (b) imaginary part of the dielectric function of Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6, and Hex-(BN)12 under EC and E//C polarizations.

To further understand the origins of the optical properties, we first determined the band structures of Hex-(BN)6C12 and Hex-C12(BN)6, as shown in Fig. 8. Combined with the previous band structures determined for Hex-C24 and Hex-(BN)1225,27, Hex-(BN)6C12 and Hex-C24 have metallic properties, but Hex-C12(BN)6 and Hex-(BN)12 are semiconductors with indirect band gaps of 3.47 and 3.25 eV, respectively. Then, we determined the electron density of states (DOS) projected on the C atoms and the BN atomic pairs at different regions (Fig. 1), as shown in Fig. 9. The metallic properties of Hex-C24 and Hex-(BN)6C12 come from the sp2-hybridized C atoms. The electronic states in the region near the Fermi level originate primarily from the sp2-hybridized atoms in the A zone. The analysis of the spatial distribution of the wave function shows a smaller but significant contribution from the sp3-hybridized atoms when the atoms in the A zone are B-N pairs. The spatial distribution of the DOS implies that sp2-hybridized atoms, either C atoms or B-N pairs, are the main factors affecting the optical and electronic structure in the C/BN materials with sp2 and sp3 hybridizations according to our results and the existing literature14,27,30.

Figure 8
figure 8

Electronic band structure of (a) Hex-(BN)6C12 and (b) Hex-C12(BN)6. The energy at the Fermi level was set to zero.

Figure 9
figure 9

Electron density of states (DOS) projected on the atoms in the A zone with a sp2 hybridization and in the B zone with a sp3 hybridization, as labeled in Fig. 1(a). The energy at the Fermi level was set to zero.

Discussion

Chemical doping is a common method to control the physical and chemical properties of materials. In systems with C, B and N, all elements have the flexibility of sp, sp2 and sp3 hybridizations. Different elements and hybrid bonds have different effects on the properties. For instance, the effect of BN-doped carbon materials on the optical properties has become an important aspect in many studies. Here, based on the Hex-C24, there are four configurations which correspond to Hex-C24, Hex-(BN)6C12, Hex-C12(BN)6 and Hex-(BN)12. The calculated phonon dispersions confirm the dynamic stability of Hex-(BN)6C12 and Hex-C12(BN)6. We systematically studied the optical properties and the roles of the hybrid bonds of a hexagonal C/BN family with sp2 and sp3 hybridizations using first-principle calculations.

We calculated the dielectric function, the absorption coefficient (α(ω)), the reflectivity(R(ω)), the refractive index ((n(ω)), the energy-loss (L(ω)), the band structures and the DOS projected on atoms with sp2 and sp3 hybridizations. Our results show that the complex dielectric functions shift from the infrared to the UV region. The absorption starts in the infrared region for Hex-C24 and Hex-(BN)6C12 and in UV region for Hex-C12(BN)6 and Hex-(BN)12. The reflectivity and the refractive index spectra show that carbon atoms with sp2 hybridization are more sensitive to light from the infrared to the visible region than B-N pairs, and that the C atoms and the B-N pairs have a similar sensitivity to high frequencies. The sharp and strong peaks in the energy-loss spectrum can be used to identify the hexagonal family. The real part and the imaginary part of the dielectric functions show a significant anisotropy for different polarizations. All calculations show that Hex-C24 and Hex-(BN)6C12 have similar optical properties while Hex-C12(BN)6 and Hex-(BN)12 have similar optical properties. This is because the main factors affecting the optical properties of the hexagonal network are the sp2 hybridization atoms, which is also shown by the electronic states near the Fermi level. In addition, our results as well as previously published ones indicate that sp2-bonded atoms are the main factors that affect the optical and electronic structures in C/BN materials with sp2 and sp3 hybridizations. We believe that the results will provide new insight into the optical properties of C/BN materials containing sp2- and sp3-hybridized C atoms and B-N pairs.

Methods

We performed first-principle calculations using the CASTEP package based on the density functional theory (DFT)31,32. The electron–electron interaction was modeled using a generalized gradient approximation (GGA) from Perdew et al.33. An energy cut-off of 400 eV was set for the plane-wave basis within a Vanderbilt ultra-soft pseudopotential34. A k-point grid for the Brillouin zone in the reciprocal space was set to 0.02 Å−1 according to the Monkhorst–Pack method35. The lattice constants and the internal coordinates were optimized using the Broyden–Fletcher–Goldfarb–Shanno (BFGS) minimization scheme36.

The optical properties can be theoretically calculated based on the complex dielectric function \({{\rm{\varepsilon }}}_{(\omega )}={{\rm{\varepsilon }}}_{1(\omega )}+i{{\rm{\varepsilon }}}_{2(\omega )}\,\)37, where ω is the frequency of the incident photon. Its imaginary part at longer wavelengths is estimated according to:

$${\varepsilon }_{2}(\omega )=\frac{2\pi {e}^{2}}{{\Omega }_{{\varepsilon }_{0}}}\sum _{{\boldsymbol{k}},c,v}{|{\Psi }_{{\boldsymbol{k}}}^{c}|{\bf{u}}\cdot {\bf{r}}{|\Psi }_{{\boldsymbol{k}}}^{v}|}^{2}\delta ({E}_{{\boldsymbol{k}}}^{c}-{E}_{{\boldsymbol{k}}}^{v}-h\omega )$$

where Ω is the volume of the supercell, and ε0 is the free-space dielectric constant. \(c\,(v)\) labels the conduction (valence) bands, \({\bf{u}}\) labels the polarization direction, \({\bf{r}}\) defines the position vector of the electromagnetic wave, and \({\boldsymbol{k}}\) is the reciprocal lattice vector. The real part of the complex dielectric function can be derived from the imaginary part via the Kramers-Kroning relationships38,39. From \({{\rm{\varepsilon }}}_{1(\omega )}\) and \({{\rm{\varepsilon }}}_{2(\omega )}\), the optical properties of the absorption coefficient (α(ω)), the reflectivity (R(ω)), the refractivity index (n(ω)), and the energy-loss (L(ω)) can be determined as40,41:

$$\begin{array}{ccc}{\rm{\alpha }}({\rm{\omega }}) & = & \sqrt{2}\omega \sqrt{\sqrt{{\varepsilon }_{1}^{2}(\omega )+{\varepsilon }_{2}^{2}(\omega )}-{\varepsilon }_{1}(\omega )}\\ {\rm{R}}({\rm{\omega }}) & = & {|\frac{\sqrt{{\varepsilon }_{1}(\omega )+i{\varepsilon }_{2}(\omega )}-1}{\sqrt{{\varepsilon }_{1}(\omega )+i{\varepsilon }_{2}(\omega )}+1}|}^{2}\\ n(\omega ) & = & \frac{\sqrt{\sqrt{{\varepsilon }_{1}^{2}(\omega )+{\varepsilon }_{2}^{2}(\omega )}+{\varepsilon }_{1}(\omega )}}{\sqrt{2}}\\ {\rm{L}}({\rm{\omega }}) & = & \frac{{\varepsilon }_{2}(\omega )}{{\varepsilon }_{1}^{2}(\omega )+{\varepsilon }_{2}^{2}(\omega )}\end{array}$$

The optical properties are calculated for both polycrystalline and polarized light.