Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Correcting the corrections for charged defects in crystals

### Subjects

While the theory of imperfections in solids is firmly established, procedures for first-principles calculations of defect quantities continue to evolve. A plethora of ad hoc correction schemes is being replaced by sophisticated self-consistent procedures that will enable more quantitative predictions of the formation energies of defect species and their spectroscopic signatures.

The formation of defects in crystals is a natural consequence of chemical thermodynamics—the balance between the enthalpic cost of perturbing the atomic bonding environments and the entropic gain of introducing an ensemble of imperfections.

The key quantity that determines, in equilibrium, if a particular defect species will be abundant or rare is the free energy of formation, ΔGf. The concentration (nd) can be decomposed into contributions from enthalpy and vibrational entropy

$${n}_{d}={N}_{{\rm{site}}}g\exp \left(-\frac{{{\Delta }}{H}_{f}}{{k}_{{\rm{B}}}T}\right)\exp \left(\frac{{{\Delta }}{S}_{f}}{{k}_{{\rm{B}}}}\right),$$
(1)

where Nsite and g denote the number and degeneracy of available sites in the host crystal. The enthalpy change dominates under standard conditions, so the more burdensome vibrational term1 is most often neglected.

The first objective in defect modelling is to calculate ΔHf as accurately as possible, which can be achieved in a number of ways, as illustrated in Fig. 1. Due to the exponential factor in Eq. (1), the prediction of defect concentrations is sensitive to the quality of the underlying energy terms. My brief perspective on major developments in this field is given below. I apologise in advance to the many contributions that are overlooked in this synopsis (e.g. see ref. 2 for a more thorough overview).

## Early 20th century—theoretical foundations

The theory of lattice dynamics developed by Born and others described the motion of atoms around their equilibrium crystallographic positions. However, what if atoms left its ideal position and wandered into an interstitial position? A classical numerical procedure for calculating the formation energy of such point defects in ionic solids was proposed by Frenkel in 19263. The semi-classical (continuum) Mott–Littleton method for charged defects energetics was reported in 19384, which was later expanded into a more general framework for multi-region embedded crystal calculations5. The extensive theoretical infrastructure subsequently developed for describing the electronic structure of donor and acceptor levels in semiconductors was reviewed by Pantelides in 19786.

## Late 20th century—practical solutions

The combination of efficient algorithms to solve the Kohn–Sham equations and massively parallel computing enabled the modern era of computational materials science. Two types of approaches were developed for modelling charged point defects in crystals.

Those based on embedding potentials (a dilute defect in a host matrix as shown in Fig. 1c) offer some advantages, but remain technically challenging to set up and analyse7. A self-consistent Green’s function procedure for treating defect perturbations was already reported in 19798 and quickly adapted to describe the deep states associated with transition metal impurities in Si using a local density functional9.

The alternative, and more widely employed, supercell approach benefits from the robust infrastructure for calculation of crystals within periodic boundary conditions (Fig. 1d). The principal issue in describing charged defects is the electrostatic interaction between repeating centres. The long-range Coulomb interaction depends on the defect charge q, their spatial arrangement, and the dielectric response of the host ϵ(r). The standard solution is to introduce a homogeneous ‘jellium’ background charge to enforce charge neutrality in each repeat unit and ensure convergent Coulomb energy. This fix results in a shift in the average electrostatic potential and total energy of the defective supercell that must be corrected to become useful (Fig. 2).

Leslie and Gillan10 showed how to properly account for a point charge q interacting with its periodic images through an isotropic dielectric medium. The approach was expanded by Makov and Payne11 to include the quadrupole moment (Q). In practice, Q cannot be determined from the defect charge distribution. Defects come in many forms and their wavefunctions may be localised or delocalised and are invariably coupled to the screening host charge. In addition, the limitations of a given density functional can require further correction terms, such as valence and conduction band edge shifts, to reduce the divide between modelling and measurement12.

Exciting results and insights were gained using these methods, especially in the area of metal oxides. There were problems, however. Research groups performing similar simulations would obtain different conclusions depending on the flavour of corrections that were employed; the curious reader can look into the case of defects in ZnO. In my opinion, the absolute defect energetics reported during this era should be taken with a pinch of salt.

## Early 21st century—robust predictions

To tackle these issues, a new set of correction schemes emerged for supercell calculations. Freysoldt et al.13 modelled the defect charge as a Gaussian distribution in an isotropic medium. There were other efforts to include anistropic dielectric screening14,15. Kumagai and Oba16 refined these approaches with a more practical alignment procedure, based on atomic site potentials, that accounts for the full anisotropic low-frequency dielectric response.

More recent developments have moved away from a posteriori corrections of the total energy to direct modification of the underlying self-consistent calculation. The advantages are that the total energy and electronic eigenvalues can be corrected directly and more physical long-range dielectric screening can be incorporated.

A self-consistent potential correction was proposed by da Silva et al. in 202117. The change in potential, from either a reference pristine supercell or neutral defect, is used to correct for the difference between the periodic and isolated charged defect. One limitation in the current formalism is the use of an isotropic dielectric constant; however, spatial variation is allowed in one direction for the case of slabs. In contrast, the image charge correction proposed by Suo et al.18 avoids the input of a dielectric constant at all and is instead based on the self-consistent charge density difference between charged and neutral defects, which already contains the relevant screening information. Both approaches show promising behaviour for a series of test cases including NaCl and MgO.

An issue not addressed in these two recent works is how to incorporate the low-frequency dielectric response involving ion displacements. This is critical for accurately describing defect transitions, which may be excited optically or thermally19. Suo et al.18 suggest introducing a Gaussian broadening scheme to capture ion displacements, but this remains to be implemented and tested.

An entirely different approach has been taken by Xiao et al.20 in a move away from the standard jellium model to consider charge compensation by realistic valence or conduction band edge states of the host crystal. Their self-consistent correction scheme, which avoids the artificial jellium background, is intuitive for traditional semiconductors where charged defects are compensated by electrons/holes, but less so for cases where ionic compensation dominates21,22. The approach gives good agreement with conventional methods and can also describe defects in low dimensional structures.

This new wave of research and development in the field is exciting and will further increase the predictive power of first-principles calculations of materials. A family of reliable and general correction schemes for charged defects will allow us to confidently tackle important scientific challenges such as equilibrium defect distributions, defect vibrations, and non-equilibrium charge transitions. They will also support more robust workflows for defect automation that can be used to identify new behaviour and physical trends in imperfect crystals.

## References

1. 1.

Gillan, M. J., Harding, J. H. & Leslie, M. A comparison of methods for calculating defect entropies in ionic crystals. J. Phys. C 21, 5465 (1988).

2. 2.

Freysoldt, C. et al. First-principles calculations for point defects in solids. Rev. Mod. Phys. 86, 253–305 (2014).

3. 3.

Frenkel, J. Über die wärmebewegung in festen und flüssigen körpern. Z. Phys. 35, 652–669 (1926).

4. 4.

Mott, N. F. & Littleton, M. J. Conduction in polar crystals. I. electrolytic conduction in solid salts. Trans. Farad. Soc. 34, 485–499 (1938).

5. 5.

Catlow, C. R. A. Mott–littleton calculations in solid-state chemistry and physics. J. Chem. Soc. 85, 335–340 (1989).

6. 6.

Pantelides, S. T. The electronic structure of impurities and other point defects in semiconductors. Rev. Mod. Phys. 50, 797 (1978).

7. 7.

Xie, Z. et al. Demonstration of the donor characteristics of Si and O defects in gan using hybrid QM/MM. Phys. Stat. Solidi (a) 214, 1600445 (2017).

8. 8.

Baraff, G. A. & Schlüter, M. New self-consistent approach to the electronic structure of localized defects in solids. Phys. Rev. B 19, 4965–4979 (1979).

9. 9.

Zunger, A. & Lindefelt, U. Theory of substitutional and interstitial 3d impurities in silicon. Phys. Rev. B 26, 5989–5992 (1982).

10. 10.

Leslie, M. & Gillan, M. J. The energy and elastic dipole tensor of defects in ionic crystals calculated by the supercell method. J. Phys. C 18, 973–982 (1985).

11. 11.

Makov, G. & Payne, M. C. Periodic boundary conditions in ab initio calculations. Phys. Rev. B 51, 4014–4022 (1995).

12. 12.

Lany, S. & Zunger, A. Assessment of correction methods for the band-gap problem and for finite-size effects in supercell defect calculations: Case studies for ZnO and GaAs. Phys. Rev. B 78, 2637–25 (2008).

13. 13.

Freysoldt, C., Neugebauer, J. & Van de Walle, C. G. Fully ab initio finite-size corrections for charged-defect supercell calculations. Phys. Rev. Lett. 102, 016402 (2009).

14. 14.

Rurali, R. & Cartoixà, X. Theory of defects in one-dimensional systems: application to Al-catalyzed Si nanowires. Nano Lett. 9, 975–979 (2009).

15. 15.

Murphy, S. T. & Hine, N. D. M. Anisotropic charge screening and supercell size convergence of defect formation energies. Phys. Rev. B 87, 094111 (2013).

16. 16.

Kumagai, Y. & Oba, F. Electrostatics-based finite-size corrections for first-principles point defect calculations. Phys. Rev. B 89, 195205 (2014).

17. 17.

da Silva, M. C. et al. Self-consistent potential correction for charged periodic systems. Phys. Rev. Lett. 126, 076401 (2021).

18. 18.

Suo, Z.-J., Luo, J.-W., Li, S.-S. & Wang, L.-W. Image charge interaction correction in charged-defect calculations. Phys. Rev. B 102, 174110 (2020).

19. 19.

Gake, T., Kumagai, Y., Freysoldt, C. & Oba, F. Finite-size corrections for defect-involving vertical transitions in supercell calculations. Phys. Rev. B 101, 020102 (2020).

20. 20.

Xiao, J. et al. Realistic dimension-independent approach for charged-defect calculations in semiconductors. Phys. Rev. B 101, 165306 (2020).

21. 21.

Walsh, A., Scanlon, D. O., Chen, S., Gong, X. & Wei, S.-H. Self-regulation mechanism for charged point defects in hybrid halide perovskites. Angew. Chem. 127, 1811–1814 (2015).

22. 22.

Walsh, A. & Zunger, A. Instilling defect tolerance in new compounds. Nat. Mater. 16, 964–967 (2017).

## Acknowledgements

I thank Seán R. Kavanagh for a careful reading of the paper. Support was received from the Faraday Institution (faraday.ac.uk; EP/S003053/1), grant No. FIRG025.

## Author information

Authors

### Contributions

A.W. wrote the article.

### Corresponding author

Correspondence to Aron Walsh.

## Ethics declarations

### Competing interests

The author declares no competing interests.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Walsh, A. Correcting the corrections for charged defects in crystals. npj Comput Mater 7, 72 (2021). https://doi.org/10.1038/s41524-021-00546-0