The preparation of perovskite solar cells from the liquid phase is a cornerstone of their immense potential. However, a clear relationship between the precursor ink and the resulting perovskite is missing. Established theories, such as heterogeneous nucleation and lead complex colloid formation often prove unreliable, which has led to an overreliance on heuristics. Most high-performing perovskites use additives to control crystallization; their role during crystallization is, however, elusive. Here, we provide strong evidence that typical crystallization additives do not predominantly impact the nucleation phase, but rather facilitate coarsening grain growth by increasing ion-mobility across grain boundaries. Drawing from the insights of our unprecedentedly broad study, that combines e and in situ characterization methods, devices and simulations, we propose a concept that proves valid for various additives and perovskite formulations. Moreover, we establish a direct link between additive engineering and perovskite post-processing, offering a unified framework for advancing material design and process engineering.
Due to the ambiguity related to the lack of phase information, determining the physical parameters of multilayer thin films from measured neutron and X-ray reflectivity curves is, on a fundamental level, an underdetermined inverse problem. This ambiguity poses limitations on standard neural networks, constraining the range and number of considered parameters in previous machine learning solutions. To overcome this challenge, a novel training procedure has been designed which incorporates dynamic prior boundaries for each physical parameter as additional inputs to the neural network. In this manner, the neural network can be trained simultaneously on all well-posed subintervals of a larger parameter space in which the inverse problem is underdetermined. During inference, users can flexibly input their own prior knowledge about the physical system to constrain the neural network prediction to distinct target subintervals in the parameter space. The effectiveness of the method is demonstrated in various scenarios, including multilayer structures with a box model parameterization and a physics-inspired special parameterization of the scattering length density profile for a multilayer structure. In contrast to previous methods, this approach scales favourably when increasing the complexity of the inverse problem, working properly even for a five-layer multilayer model and a periodic multilayer model with up to 17 open parameters.
Recently, there has been significant interest in applying machine-learning (ML) techniques to the automated analysis of X-ray scattering experiments, due to the increasing speed and size at which datasets are generated. ML-based analysis presents an important opportunity to establish a closed-loop feedback system, enabling monitoring and real-time decision-making based on online data analysis. In this study, the incorporation of a combined one-dimensional convolutional neural network (CNN) and multilayer perceptron that is trained to extract physical thin-film parameters (thickness, density, roughness) and capable of taking into account prior knowledge is described. ML-based online analysis results are processed in a closed-loop workflow for X-ray reflectometry (XRR), using the growth of organic thin films as an example. Our focus lies on the beamline integration of ML-based online data analysis and closed-loop feedback. Our data demonstrate the accuracy and robustness of ML methods for analyzing XRR curves and Bragg reflections and its autonomous control over a vacuum deposition setup.
Machine learning (ML) has received enormous attention in science and beyond. Discussed here are the status, opportunities, challenges and limitations of ML as applied to X-ray and neutron scattering techniques, with an emphasis on surface scattering. Typical strategies are outlined, as well as possible pitfalls. Applications to reflectometry and grazing-incidence scattering are critically discussed. Comment is also given on the availability of training and test data for ML applications, such as neural networks, and a large reflectivity data set is provided as reference data for the community.
The Python package mlreflect is demonstrated, which implements an optimized pipeline for the automated analysis of reflectometry data using machine learning. The package combines several training and data treatment techniques discussed in previous publications. The predictions made by the neural network are accurate and robust enough to serve as good starting parameters for an optional subsequent least-mean-squares (LMS) fit of the data. For a large data set of 242 reflectivity curves of various thin films on silicon substrates, the pipeline reliably finds an LMS minimum very close to a fit produced by a human researcher with the application of physical knowledge and carefully chosen boundary conditions. The differences between simulated and experimental data and their implications for the training and performance of neural networks are discussed. The experimental test set is used to determine the optimal noise level during training. The extremely fast prediction times of the neural network are leveraged to compensate for systematic errors by sampling slight variations in the data.
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.