journal article·2022-05-03Open access

Tracking perovskite crystallization via deep learning-based feature detection on 2D X-ray scattering data

Vladimir Starostin, Valentin Munteanu, Alessandro Greco, Ekaterina Kneschaurek, Alina Pleli, Florian Bertram, Alexander Gerlach, Alexander Hinderhofer, Frank Schreiber

npj Computational Materials· Volume 8· Issue 1

Abstract

Abstract Understanding the processes of perovskite crystallization is essential for improving the properties of organic solar cells. In situ real-time grazing-incidence X-ray diffraction (GIXD) is a key technique for this task, but it produces large amounts of data, frequently exceeding the capabilities of traditional data processing methods. We propose an automated pipeline for the analysis of GIXD images, based on the Faster Region-based Convolutional Network architecture for object detection, modified to conform to the specifics of the scattering data. The model exhibits high accuracy in detecting diffraction features on noisy patterns with various experimental artifacts. We demonstrate our method on real-time tracking of organic-inorganic perovskite structure crystallization and test it on two applications: 1. the automated phase identification and unit-cell determination of two coexisting phases of Ruddlesden–Popper 2D perovskites, and 2. the fast tracking of MAPbI3 perovskite formation. By design, our approach is equally suitable for other crystalline thin-film materials.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Perovskite Materials and Applications · Machine Learning in Materials Science · Advanced Photocatalysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (51)

Show source-provided references
1. Kojima, A., Teshima, K., Shirai, Y. & Miyasaka, T. Organometal halide perovskites as visible-light sensitizers for photovoltaic cells. J. Am. Chem. Soc. 131, 6050–6051 (2009).10.1021/ja809598r ↗
2. Green, M. A., Ho-Baillie, A. & Snaith, H. J. The emergence of perovskite solar cells. Nat. Photon. 8, 506–514 (2014).10.1038/nphoton.2014.134 ↗
3. Sinha, S. K., Sirota, E. B., Garoff, S. & Stanley, H. B. X-ray and neutron scattering from rough surfaces. Phys. Rev. B 38, 2297–2311 (1988).10.1103/PhysRevB.38.2297 ↗
4. Hu, Q. et al. In situ dynamic observations of perovskite crystallisation and microstructure evolution intermediated from [PbI6]4- cage nanoparticles. Nat. Commun. 8, 15688 (2017).10.1038/ncomms15688 ↗
5. Chen, A. Z. et al. Origin of vertical orientation in two-dimensional metal halide perovskites and its effect on photovoltaic performance. Nat. Commun. 9, 1336 (2018).10.1038/s41467-018-03757-0 ↗
6. Liu, Y. et al. Stabilization of highly efficient and stable phase-pure FAPbI3 perovskite solar cells by molecularly tailored 2d-overlayers. Angew. Chem. Int. Ed. 59, 15688–15694 (2020).10.1002/anie.202005211 ↗
7. Zhang, H. et al. Multimodal host–guest complexation for efficient and stable perovskite photovoltaics. Nat. Commun. 12, 3383 (2021).10.1038/s41467-021-23566-2 ↗
8. Wang, C., Steiner, U. & Sepe, A. Synchrotron big data science. Small 14, 1802291 (2018).10.1002/smll.201802291 ↗
9. Greco, A. et al. Fast fitting of reflectivity data of growing thin films using neural networks. J. Appl. Cryst. 52, 1342–1347 (2019).10.1107/S1600576719013311 ↗
10. Greco, A. et al. Neural network analysis of neutron and x-ray reflectivity data: pathological cases, performance and perspectives. Mach. Learn.: Sci. Technol. 2, 045003 (2021).
11. Samarakoon, A. M. et al. Machine-learning-assisted insight into spin ice dy2ti2o7. Nat. Commun. 11, 892 (2020).10.1038/s41467-020-14660-y ↗
12. Sanchez-Gonzalez, A. et al. Accurate prediction of x-ray pulse properties from a free-electron laser using machine learning. Nat. Commun. 8, 15461 (2017).10.1038/ncomms15461 ↗
13. Ziletti, A., Kumar, D., Scheffler, M. & Ghiringhelli, L. M. Insightful classification of crystal structures using deep learning. Nat. Commun. 9, 2775 (2018).10.1038/s41467-018-05169-6 ↗
14. Ryan, K., Lengyel, J. & Shatruk, M. Crystal structure prediction via deep learning. J. Am. Chem. Soc. 140, 10158–10168 (2018).10.1021/jacs.8b03913 ↗
15. Oviedo, F. et al. Fast and interpretable classification of small x-ray diffraction datasets using data augmentation and deep neural networks. npj Comput. Mater. 5, 60 (2019).10.1038/s41524-019-0196-x ↗
16. Tatlier, M. Artificial neural network methods for the prediction of framework crystal structures of zeolites from xrd data. Neural Comput. Applic. 20, 365–371 (2011).10.1007/s00521-010-0386-4 ↗
17. Lee, J.-W., Park, W. B., Lee, J. H., Singh, S. P. & Sohn, K.-S. A deep-learning technique for phase identification in multiphase inorganic compounds using synthetic XRD powder patterns. Nat. Commun. 11, 86 (2020).10.1038/s41467-019-13749-3 ↗
18. Wang, B., Yager, K., Yu, D. & Hoai, M. X-ray scattering image classification using deep learning. In 2017 IEEE Winter Conf. Appl. Comput. Vis., 697–704 (IEEE, 2017).10.1109/WACV.2017.83 ↗
19. Ke, T.-W. et al. A convolutional neural network-based screening tool for x-ray serial crystallography. J. Synchrotron Radiat. 25, 655–670 (2018).10.1107/S1600577518004873 ↗
20. Liu, S. et al. Convolutional neural networks for grazing incidence x-ray scattering patterns: thin film structure identification. MRS Commun. 9, 586–592 (2019).10.1557/mrc.2019.26 ↗
21. Sullivan, B. et al. BraggNet: integrating bragg peaks using neural networks. J. Appl. Crystallogr. 52, 854–863 (2019).10.1107/S1600576719008665 ↗
22. Liu, Z. et al. BraggNN: fast X-ray Bragg peak analysis using deep learning. IUCrJ 9, 104–113 (2022).10.1107/S2052252521011258 ↗
23. Ren, S., He, K., Girshick, R. & Sun, J. Faster R-CNN: towards real-time object detection with region proposal networks. In Adv. Neural Inf. Process. Syst., vol. 28, 91–99 (Curran Associates, Inc., 2015). https://proceedings.neurips.cc/paper/2015/file/14bfa6bb14875e45bba028a21ed38046-Paper.pdf.
24. Lin, T.-Y. et al. Feature pyramid networks for object detection. In 2017 IEEE Conf. Comput. Vis. Pattern Recogn., 936–944 (IEEE, 2017). https://doi.org/10.1109/cvpr.2017.106.10.1109/cvpr.2017.106 ↗
25. Girshick, R. Fast R-CNN. In 2015 IEEE Int. Conf. Comput. Vis., 1440–1448 (IEEE, 2015).10.1109/ICCV.2015.169 ↗
26. He, K., Gkioxari, G., Dollár, P. & Girshick, R. Mask R-CNN. In 2017 IEEE Int. Conf. Comput. Vis., 2961–2969 (IEEE, 2017).10.1109/ICCV.2017.322 ↗
27. Redmon, J., Divvala, S., Girshick, R. & Farhadi, A. You only look once: Unified, real-time object detection. In 2016 IEEE Conf. Comput. Vis. Pattern Recogn., 779–788 (IEEE, 2016).10.1109/CVPR.2016.91 ↗
28. Carion, N. et al. End-to-end object detection with transformers. In Comput. Vis. ECCV, 213–229 (Springer, 2020).10.1007/978-3-030-58452-8_13 ↗
29. Rietveld, H. M. Line profiles of neutron powder-diffraction peaks for structure refinement. Acta Cryst. 22, 151–152 (1967).10.1107/S0365110X67000234 ↗
30. Rietveld, H. M. A profile refinement method for nuclear and magnetic structures. J. Appl. Crystallogr. 2, 65–71 (1969).10.1107/S0021889869006558 ↗
31. David, W. I. F. Powder diffraction peak shapes. parameterization of the pseudo-voigt as a voigt function. J. Appl. Crystallogr. 19, 63–64 (1986).10.1107/S0021889886089999 ↗
32. Dinapoli, R. et al. Eiger: Next generation single photon counting detector for x-ray applications. Nucl. Instrum. Methods Phys. Res. A 650, 79–83 (2011).10.1016/j.nima.2010.12.005 ↗
33. Ronneberger, O., Fischer, P. & Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Lecture Notes in Computer Science, 234–241 (Springer International Publishing, 2015). https://doi.org/10.1007/978-3-319-24574-4_28.10.1007/978-3-319-24574-4_28 ↗
34. Wang, C.-Y., Yeh, I.-H. & Liao, H.-Y. M. You only learn one representation: Unified network for multiple tasks. Preprint at https://arxiv.org/abs/2105.04206 (2021).
35. Stoumpos, C. C., Malliakas, C. D. & Kanatzidis, M. G. Semiconducting tin and lead iodide perovskites with organic cations: Phase transitions, high mobilities, and near-infrared photoluminescent properties. Inorg. Chem. 52, 9019–9038 (2013).10.1021/ic401215x ↗
36. Stoumpos, C. C. et al. Ruddlesden–popper hybrid lead iodide perovskite 2d homologous semiconductors. Chem. Mater. 28, 2852–2867 (2016).10.1021/acs.chemmater.6b00847 ↗
37. Soe, C. M. M. et al. Structural and thermodynamic limits of layer thickness in 2d halide perovskites. PNAS 116, 58–66 (2018).10.1073/pnas.1811006115 ↗
38. Seeck, O. H. et al. The high-resolution diffraction beamline P08 at PETRA III. J. Synchrotron Rad. 19, 30–38 (2012).10.1107/S0909049511047236 ↗
39. Newville, M., Stensitzki, T., Allen, D. B. & Ingargiola, A. Lmfit: non-linear least-square minimization and curve-fitting for python https://zenodo.org/record/11813 (2014).
40. Huang, X. et al. Interactive visual study of multiple attributes learning model of x-ray scattering images. IEEE Trans. Vis. Comput. Graph. 27, 1312–1321 (2021).10.1109/TVCG.2020.3030384 ↗
41. Jha, D. et al. Peak area detection network for directly learning phase regions from raw x-ray diffraction patterns. In 2019 Proc. Int. Jt. Conf. Neural Netw. (IEEE, 2019). https://doi.org/10.1109/ijcnn.2019.8852096.10.1109/ijcnn.2019.8852096 ↗
42. Baker, J. L. et al. Quantification of thin film crystallographic orientation using x-ray diffraction with an area detector. Langmuir 26, 9146–9151 (2010).10.1021/la904840q ↗
43. Stark, J. A. Adaptive image contrast enhancement using generalizations of histogram equalization. vol. 9, 889–896 (IEEE, 2000).10.1109/83.841534 ↗
44. He, K., Zhang, X., Ren, S. & Sun, J. Deep residual learning for image recognition. In IEEE Conf. Comput. Vis. Pattern Recogn., 770–778 (IEEE, 2016).10.1109/CVPR.2016.90 ↗
45. Perlin, K. An image synthesizer. SIGGRAPH Comput. Graph. 19, 287–296 (1985).10.1145/325165.325247 ↗
46. Paszke, A. et al. Pytorch: an imperative style, high-performance deep learning library. In Adv. Neural Inf. Process. Syst., vol. 32 (Curran Associates, Inc., 2019). https://proceedings.neurips.cc/paper/2019/file/bdbca288fee7f92f2bfa9f7012727740-Paper.pdf.
47. Loshchilov, I. & Hutter, F. Decoupled weight decay regularization. In ICLR https://openreview.net/forum?id=Bkg6RiCqY7 (2019).
48. Ioffe, S. & Szegedy, C. Batch normalization: accelerating deep network training by reducing internal covariate shift. In Proc. 32nd Int. Conf. Mach. Learn. ICML 2015, vol. 37 of Proc. Mach. Learn. Res., 448–456 (PMLR, Lille, France, 2015). https://proceedings.mlr.press/v37/ioffe15.html.
49. Neubeck, A. & Van Gool, L. Efficient non-maximum suppression. In Proc. Int. Conf. Pattern Recognit., vol. 3, 850–855 (IEEE, 2006).10.1109/ICPR.2006.479 ↗
50. Wu, K., Otoo, E. & Shoshani, A. Optimizing connected component labeling algorithms. In SPIE Proc. (SPIE, 2005). https://doi.org/10.1117/12.596105.10.1117/12.596105 ↗
51. Byrd, R. H., Lu, P., Nocedal, J. & Zhu, C. A limited memory algorithm for bound constrained optimization. SISC 16, 1190–1208 (1995).10.1137/0916069 ↗