본문 펼치기
Cai et al. Light: Science & Applications (2022) 11:234 Official journal of the CIOMP 2047 7538
https://doi.org/10.1038/s41377-022-00924-3 www.nature.com/lsa
### A R T I C L E O p e n A c c e s s
# Data-driven design of high-performance MASnxPb1-xI3 perovskite materials by machine learning and experimental realization
Xia Cai <sup>1,2,3</sup>, Fengcai Liu <sup>1,3</sup>, Anran Yu <sup>1,3</sup>, Jiajun Qin <sup>4</sup>, Mohammad Hatamvand [1,3,](http://orcid.org/0000-0002-1331-3060) Irfan Ahmed1,3, Jiayan Luo1,3,
Yiming Zhang <sup>1,5</sup>, Hao Zhang [1,5,6✉](http://orcid.org/0000-0002-8201-3272) and Yiqiang Zhan1,3✉
Abstract
The photovoltaic performance of perovskite solar cell is determined by multiple interrelated factors, such as perovskite
compositions, electronic properties of each transport layer and fabrication parameters, which makes it rather
challenging for optimization of device performances and discovery of underlying mechanisms. Here, we propose and
realize a novel machine learning approach based on forward-reverse framework to establish the relationship between
key parameters and photovoltaic performance in high-profile MASnxPb1-xI3 perovskite materials. The proposed
method establishes the asymmetrically bowing relationship between band gap and Sn composition, which is precisely
verified by our experiments. Based on the analysis of structural evolution and SHAP library, the rapid-change region
and low-bandgap plateau region for small and large Sn composition are explained, respectively. By establishing the
models for photovoltaic parameters of working photovoltaic devices, the deviation of short-circuit current and opencircuit voltage with band gap in defective-zone and low-bandgap-plateau regions from Shockley-Queisser theory is
captured by our models, and the former is due to the deep-level traps formed by crystallographic distortion and the
latter is due to the enhanced susceptibility by increased Sn <sup>4+</sup> content. The more difficulty for hole extraction than
electron is also concluded in the models and the prediction curve of power conversion efficiency is in a good
agreement with Shockley-Queisser limit. With the help of search and optimization algorithms, an optimized Sn:Pb
composition ratio near 0.6 is finally obtained for high-performance perovskite solar cells, then verified by our
experiments. Our constructive method could also be applicable to other material optimization and efficient device
development.
Introduction
Since the perovskite solar cells (PSCs) are proposed by
Kojima et al. in 2009 <sup>1</sup>, they have been studied extensively
with a rapid rise in power conversion efficiency (PCE) <sup>2–5</sup>
which exceeds 25.5% in single-junction PSC <sup>6</sup> . Organic
metal halide perovskites (OMHPs) bestowed with outstanding optoelectronic properties are beneficial for high
Correspondence: Hao Zhang [(zhangh@fudan.edu.cn)](mailto:zhangh@fudan.edu.cn) or
Yiqiang Zhan [(yqzhan@fudan.edu.cn)](mailto:yqzhan@fudan.edu.cn)
1School of Information Science and Technology, Fudan University, Shanghai
200433, China
2College of Information, Mechanical and Electrical Engineering, Shanghai
Normal University, Shanghai 200234, China
Full list of author information is available at the end of the article
© The Author(s) 2022
performance PSCs, including tunable band gap, low exciton
binding energy, high light absorption coefficient and long
carrier diffusion length <sup>7–10</sup> . One of the most typical
OMHPs is methylammonium lead tri‐halide (MAPbI3),
which has attracted intensive interest and is one of the most
promising materials for developing low-cost and solutionprocessed optoelectronic technology <sup>4,11</sup> . Despite the rising
efficiency records for PSC devices, the efficiency for singlejunction MAPbI3-based device is limited by the band gap
(≈1.6 eV), which is higher than the optimal range of
Shockley-Queisser (S-Q) limit (≈1.35 eV) <sup>12</sup> . To exceed the
S-Q limit, recently all-perovskite tandem solar cells (PTSCs)
composed of wide-bandgap subcells and low-bandgap
OpenAccess ThisarticleislicensedunderaCreativeCommonsAttribution4.0InternationalLicense,whichpermitsuse,sharing,adaptation,distributionandreproduction
in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if
changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If
material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain
[permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/)
Cai et al. Light: Science & Applications (2022) 11:234 Page 2 of 12
subcells have been proposed and proven to possibly further
increase the efficiency, considering improved utilization of
solar energy <sup>13,14</sup> . Tin (Sn), as an environmentally-safer
element in the same group of periodic table with Pb, can
replace Pb in MAPbI3 crystal partially or completely to form
Sn-Pb alloying or Sn-based crystals, i.e. MASnxPb1-xI313,
which can tune the band gap of Sn-Pb alloys between 1.1 eV
and 1.6 eV by varying stoichiometric ratios of Sn to Pb <sup>15–18</sup> .
Therefore, MASnxPb1-xI3 has been considered as the most
promising candidate for high-efficiency single-junction
PSCs or low-bandgap subcells in PTSC, responsible for
absorbing low-energy photons <sup>13,19–21</sup> . Much effort has been
devoted and the efficiency for mixed Sn-Pb PSCs has
increased to 18.6% in PTSCs with MA as A site <sup>22</sup>, and
23.3% in Sn-Pb PSC with MA-FA-Cs as A site <sup>23</sup>, which is
approaching the recorded efficiency achieved in singlejunction Pb-based PSCs. However, for the goal of exceeding
the efficiency of Pb-based PSCs and reaching S-Q limit in
the future, it still needs a lot of optimization. The unsatisfactory performance for mixed Sn-Pb PSCs is mainly due
to the poor morphology of fabricated Sn-based perovskites
resulted from Sn vacancies formed by easy oxidation of
Sn <sup>2+</sup> to Sn <sup>4+</sup> in ambient environment <sup>20,24</sup>, and partially
hindered by the insufficient understanding of the photovoltaic properties of mixed Sn-Pb perovskites, such as the
underlying mechanisms for manipulations of band gap and
photovoltaic-related parameters.
Current investigations of high-efficiency PSC devices
require delicate control of chemical synthesis, laborious
experimental steps, substantial resource input and a long
research cycle to optimize the perovskite compositions,
material of each transport layer, interfacial changes and
other related parameters, with the purpose to establish the
relationship between desirable PSC properties and fabrication parameters. However, due to the huge chemical
space for mixed Sn-Pb alloys, the trial-error experiments
are tedious as well as time and energy consuming, and
sometimes it is beyond reach of providing a thorough
investigation. Machine learning (ML) as a new tool
learning from known data to solve intractable and complicated problems, can establish complex nonlinear relationship between input parameters and output property
to make rapid prediction without prior knowledge <sup>25</sup> .
Moreover, with increasing amount of experimental data,
the established model could be continuously optimized
and its prediction ability could be further improved. At
present, there are reports on the prediction of perovskite
band gap using ML method <sup>26–30</sup>, and some published
studies have used ML to design organic solar cells (OPVs)
and predict the performance of OPVs <sup>31–33</sup> . Sahu et al.
used 13 important microscopic properties of organic
materials to build a ML model for predicting PCE of
OPVs and constructed a dataset for 280 small molecule
OPV systems <sup>34</sup> . David et al. utilized a database consisting
of 1850 entries of OPV characteristics, performance and
stability data and employed a sequential minimal optimization regression model as means of determining the
most influential factors governing the solar cell stability
and PCE <sup>35</sup> . However, few researches extend similar
method to PSCs and ML is rarely used to find the relationship of PSC performance with material properties.
Although Odabaşı et al. demonstrated the influencing
factors of PSC performance using ML according to a large
number of published papers <sup>36</sup>, their work is mainly based
on statistical analysis and a clear description about the
underlying physics needs to be given. Li et al. predicted
the band gap of perovskite materials and PCE of PSCs
through ML <sup>37</sup> and the physical law learned by ML was
explored. However, currently most work using ML is
purely conducting simulations, and researches on PSCs
combined simulations and experiments are still lacking.
In the present work, we propose a forward-reverse
framework for the first time, to establish the relationship
between key parameters and photovoltaic performances
and realize the optimization of photovoltaic performances
in mixed Sn-Pb PSCs. In the process of forward design,
firstly, we establish a ML model that predicts the band gap
(Eg) of OMHP materials with varied composition, and
verify the Eg model by experiments. Then, considering the
energy levels of OMHP and carrier transport layers, the
models that predict PSC performance (short-circuit current Jsc, open-circuit voltage Voc, fill factor FF and PCE)
are designed and implemented without prior information.
The mechanisms behind different performance models
are analyzed in detail and several physical rules are concluded as well. Finally, with the goal of high PCE, three
features (Sn-Pb ratio, Eg and the publication time of
reported article) are used to build PCE model and directly
retrodict the optimal OMHP composition. To the best of
our knowledge, this process has not been reported on
PSCs before. Based on the predicted optimal proportion
for mixed Sn-Pb PSCs, we fabricate the samples and the
predicted results are verified.
Results
Machine learning models
The OMHP with formula of ABX3 is studied, where the
cation A is methylammonium CH3NH3+ (MA+), B is the
inorganic cation lead (Pb <sup>2+</sup> ) or Tin (Sn <sup>2+</sup> ), and X is iodide
(I <sup>-</sup> ), and the basic device structure of PSC can be divided
into two types according to the different contact materials
with ITO: regular (n–i–p) and inverted (p–i–n) <sup>38</sup> . The
device performance is determined by the optical and
electrical properties of OMHP, such as exciton binding
energy, carrier mobility, the highest occupied molecular
orbital (HOMO), the lowest unoccupied molecular orbital
(LUMO), etc. The HOMO/LUMO level and interfacial
properties of electron transport layer (ETL) and hole
Cai et al. Light: Science & Applications (2022) 11:234 Page 3 of 12
a
b
_n-i-p_ _p-i-n_
e <sup><u>-</u></sup>
Forward analysis
CH3NH3+
I <sup>–</sup>
Sn <sup>2+</sup>
Pb <sup>2+</sup>
_Jsc_
_Vmp, Jmp_
Underlying physics
_J–V_ curve
c
_Voc_
Δ L Δ L
Δ H Δ H
Optimal composition
h <sup>+</sup> h <sup>+</sup> h <sup>+</sup>
e <sup>-</sup> e <sup>-</sup> e <sup>-</sup>
Voltage
e <sup>-</sup>
e <sup>-</sup>
HTL
OMHP
ETL
Reverse engineering
Fig. 1 The flow chart of proposed forward–reverse method. For forward analysis. a OMHP material information is fed into a machine learning
model to predict the band gap; b the device structure of regular (n–i–p) and inverted (p–i–n), which represents PSC information and is also
combined to construct other ML models. c Through ML the performances of PSCs are predicted, and underlying physics could be revealed and
analyzed with huge data produced. Then based on the forward results, the optimal composition of OMHP with suitable band gap is reversely
deduced for high-performance PSC
transport layer (HTL) could also affect the performance of
PSCs. The forward-reverse framework we propose, to
study the mixed Sn-Pb perovskites, as shown in Fig. 1,
includes two procedures: forward analysis and reverse
engineering. The task of forward analysis procedure is to
establish the Eg and device-performance models using
ML, and that of reverse engineering procedure is to predict the optimization parameters of mixed Sn-Pb perovskites and experimental realization.
We apply five algorithms to different missions in both
procedures, including linear regression (LR), support
vector regression (SVR), k-nearest neighbor regression
(KNR), random forest regression (RFR), gradient boosting
regression (GBR) and neural network (NN), which can be
implemented by Scikit-learn <sup>39</sup> and TensorFlow <sup>40</sup> . In the
reverse exploration, the established ML model is further
inversely analyzed to carry out a search of maximum PCE
value under some restrictions using genetic algorithm
(GA) or Bayesian optimization algorithm (BO), which are
implemented by Python packages (bayesian-optimization <sup>41</sup> and deap <sup>42</sup> ). Related detailed explanations of these
algorithms are provided in Supplementary notes.
Special care should be taken when preparing the data in
ML modeling. During the preparation of ML dataset for
Eg model, the repeated data points with the same Sn-Pb
ratio and Eg is counted once, and if a given ratio
corresponds to different reported values of Eg, we keep all
of those values to avoid data bias. For example,
MASn0.75Pb0.25I3 has four reported Eg values, i.e. two
1.18 eV, one 1.17 eV and one 1.27 eV. We keep one data
point for 1.18 eV and two data points for 1.17 eV and
1.27 eV. To explore which elemental property under different Sn-Pb ratios is more dominant in determining the
Eg of MASnxPb1-xI3, 14 physicochemical parameters <sup>43</sup> are
used as descriptors of inputs for Eg regression model (see
Table S1), and the SHAP (Shapley Additive exPlanations)
method <sup>44</sup> is used to obtain the contribution of each feature to the Eg model.
When building the ML model to predict photovoltaic
performance of PSCs including Jsc, Voc, FF and PCE, three
parameters are used as input parameters: i) the band gap (Eg)
of OMHP material, ii) the energy difference (ΔH) between the
HOMO of HTL and OMHP material, iii) the energy difference (ΔL) between the LUMO of ETL and OMHP material.
The schematic energy band diagrams of n–i–p and p–i–n
structures are presented in Fig. 1. For n–i–p or p–i–n, ΔH
and ΔL are both calculated by ΔH ¼ HTLHOMO �
OMHPHOMO and ΔL ¼ OMHPLUMO � ETLLUMO.
Before reverse design, it is important to rebuild the PCE
model for PSCs that involves features including Sn-Pb
ratio, the Eg of OMHP and annual improvement of
material qualities and optimization of processing (denoted
Cai et al. Light: Science & Applications (2022) 11:234 Page 4 of 12
by publication date of research article) inspired from time
series prediction. Since there is relatively uniform standard for PCE testing of PSCs, it is meaningful to use
publication date as a feature to help the model explore the
PCE progress trend of PSCs with passage of time. Due to
the difference of preparation technologies, the performance of devices obtained by different research groups at
the same ratio could also be different. So we use the
maximum PCE result corresponding to each ratio in each
year. Then, based on the mentioned model, the virtual
design of OMHP materials is carried out by GA or BO.
It should be noted that, the data points are collected
from published articles <sup>21,37</sup> which are randomly divided
into a training set and a test set in ratios of 90% and 10%.
The dataset for ΔH and ΔL used to build the PCE model is
shown in Figure S1 with 181 data points. To build the Eg
prediction model, 43 data points are used from the performance model after discarding duplicate material
composition data with the same reported value of Eg. In
the model of reverse exploration, the data points with best
PCE for a given preparation method in different publication times are chosen. For these models, we use 5-fold
cross validation to optimize the hyper parameters of ML
algorithm based on a Python library called hyperopt <sup>45</sup>,
which could effectively speed up the search of the values
of multiple hyper parameters. The test subset is only used
to test the quality of the built model. We evaluate the
performance of constructed models by three indicators
(the coefficient of determination R <sup>2</sup>, root mean square
error RMSE and mean absolute error MAE).
Material design by ML: band gap
To utilize the solar energy to the maximum extent, the
minimum Eg of mixed Sn-Pb perovskites used as the lowbandgap subcells to absorb low-energy photons, are critical to maximize the PCE of PTSCs. Moreover, manipulating the Eg by an appropriate ratio is also critical for the
realization of high-efficiency and environmentally friendly
single-junction PSCs based on mixed Sn-Pb perovskites.
As previously reported, the valence bands (VBs) of
MAPbI3/MASnI3 crystals are formed by the antibonding
states of I-p and Pb/Sn-s atomic orbitals, and the conduction band (CBs) are formed by the antibonding states
of I-p and Pb/Sn-p atomic orbitals. When the ratio of Sn
increases in MASnxPb1-xI3 alloys, the VB/CB levels
undergo the shift from −5.45 eV/-3.90 eV (x = 0) to
−5.47 eV/-4.17 eV (x = 1) respectively <sup>16</sup> and Pb-p as CB
and antibonding states of I-p and Sn-p as VB, which
subsequently leads to the well-known bowing effect in the
Eg of MASnxPb1-xI3. However, the previously reported Eg
values denoted as black dots in Fig. 2a are not directly
linearly or parabolically dependent on the ratio x, since
replacing of Pb by Sn will cause lattice compression and
octahedral tilting in MASnxPb1-xI3 structure, and
increasing the former or enhancing the latter will increase
or decrease the Eg13. To reveal the underlying mechanism
of the Eg in mixed Sn-Pb perovskites, we retrieve the
contributions from elemental properties and structural
information of mixed Sn-Pb perovskites by building the
ML-bandgap model using 14 physicochemical parameters
listed in Table S1 as inputs.
a
b c
_E_ <sup>_ip_</sup>
_E_ <sup>_en_</sup>
0.016
0.012
0.008
0.004
0.000 0 5 10Iterations15 20 25 R <sup>2</sup> = 0.9072
RMSE = 0.0408
MAE = 0.0283
Test dataset
Experimental
1.20 1.25 1.30 1.35 1.55
True _Egreal_ (eV)
Training set deviance
Test set deviance
Predicted _Eg_
Experimental _Eg_
Reported _Eg_
0.0 0.2 0.4 0.6 0.8 1.0
The ratio of Sn
1.55
1.35
1.30
1.25
1.20
Reported perovskites
_LUMO_
_Tf_
1.6
1.5
1.4
1.3
1.2
_�o3_
High
Low
1.6
1.5
1.4
1.3
1.2
R <sup>2</sup> = 0.705
1.6
1.5
1.4
1.3
1.2
1.1
_P_
_N_ <sup>_men_</sup>
_R_ <sup>_ion_</sup>
_M_
_E_ <sup>_ea_</sup>
_ion_ _ion_
_�_
1.1
0.0 0.2 0.4 0.6 0.8 1.0
The ratio of Sn
_Ra ion/Rbion_
_�_
_R_ <sup>_c_</sup>
_HOMO_
_SHAP_ value (impact on model output)
Fig. 2 The results for band gap (Eg) model. a The marginal histograms and plot of Eg versus Sn-Pb ratio. The black dots are collected reported data
points, and the gray line is the result of traditional fitting. The bad fitting index (0.705) and the disorder shaded part indicates that it is difficult to find
the relationship between Sn-Pb ratio and Eg by traditional method. The inset is band gap distribution of 43 collected perovskites. b The feature
importance ranking produced from GBR and SHAP library with 14 inputs, showing the elemental properties in descending order of importance (rank).
The x-axis labeled as the SHAP value represents the impact on Eg value. The red and blue color indicate high and low values of a given feature,
respectively. The top five features which are most important on the formation of Eg are weighted first ionization energy E <sup>ip</sup>, Mulliken’s
electronegativity of B-site E <sup>en</sup>, LUMO, tolerance factor Tf and unit cell lattice edge α <sup>3</sup> - <sup>, respectively. c The comparison of the predicted Eg values using</sup>
Sn-Pb ratio as input and the experimentally measured values. The light gray dots are collected reported data points for comparison. The inset shows
actual values versus predicted results by GBR model for test set and our experimental samples marked with red and blue dots, respectively. The black
line represents the ideal situation of the prediction (predicted results are equal to actual values). The smaller the distance between data point and
black line, the better and more reliable the prediction. The subplot of inset shows the convergence of model accuracy
Cai et al. Light: Science & Applications (2022) 11:234 Page 5 of 12
Table 1 The comparison of prediction performance of Eg
models with different features and ML regression
algorithms by three evaluation metrics (R <sup>2</sup>, RMSE and
MAE). The best results are highlighted in bold.
Method 14 features One feature
R <sup>2</sup> RMSE MAE R <sup>2</sup> RMSE MAE
LR 0.6864 0.0751 0.0630 0.6064 0.0841 0.0707
SVR 0.8775 0.0469 0.0422 0.8221 0.0565 0.0516
KNR 0.8997 0.0425 0.0340 0.8833 0.0458 0.0365
RFR 0.9105 0.0401 0.0284 0.9065 0.0410 0.0344
GBR 0.9172 0.0386 0.0325 0.9072 0.0408 0.0283
Due to the limited available Eg data, we only use traditional ML method without NN. Five ML methods (LR, SVR,
KNR, RFR and GBR) are used to build the Eg model with 14
features as input and the results are listed in Table 1. The
GBR algorithm performs best with the corresponding
values of R <sup>2</sup>, RMSE and MAE of 0.9172, 0.0386, and 0.0325,
respectively. The SHAP method is used to further interpret
the GBR-bandgap model <sup>44</sup> . The calculated feature importance ranking produced from the GBR and SHAP library is
shown in Fig. 2b, with x-axis labeled as the SHAP value
representing the impact on Eg value, and the red and blue
colors indicating high and low values of a given feature,
respectively. The top five features which are most important
on the formation of Eg are weighted first ionization energy
E <sup>ip</sup>, Mulliken’s electronegativity of B-site E <sup>en</sup>, LUMO, tolerance factor Tf and unit cell lattice edge α <sup>3</sup> - <sup>,</sup> <sup>respectively.</sup>
F <sup>e</sup> <sup>�</sup> <sup>E</sup> F <sup>h</sup>
F <sup>h</sup> <sup>where E</sup> F <sup>e=h</sup>
erance factor Tf and unit cell lattice edge α <sup>3</sup> - <sup>,</sup> <sup>respectively.</sup>
Obviously, LUMO plays a more important role than
HOMO does, which is in good agreement with the large
energy difference of -0.27 eV in CB and the small one of
-0.02 eV in VB when Pb is replaced by Sn in MASnxPb1-xI3
alloys mentioned above. In fact, when replacing Pb by Sn,
E <sup>en</sup> and Tf increase, and E <sup>ip</sup>, LUMO and α <sup>3</sup> - <sup>decrease.</sup>
E <sup>en</sup> and Tf increase, and E <sup>ip</sup>, LUMO and α <sup>3</sup> - <sup>decrease.</sup>
However, as shown in Fig. 2b, only the decreasing E <sup>ip</sup> and
increasing E <sup>en</sup> clearly decrease the Eg. The decreasing
LUMO when the ratio of Sn increases leads to the simultaneous increase and decrease of Eg, which is consistent
with the bowing effects as shown in Fig. 2a. In a similar way,
the replacing of big Pb atoms by small Sn atoms changes
the structural characteristics, and subsequently decreases α <sup>3</sup>
and increases Tf, which also leads to the simultaneous
increase and decrease of Eg, as shown in Fig. 2b.
To reduce the complexity and facilitate the PSC-device
design, we further build a new Eg model based on onedimensional feature (Sn-Pb ratio) as input. In this case, the
GBR algorithm also performs best with the corresponding
values of R <sup>2</sup>, RMSE and MAE of 0.9072, 0.0408, and 0.0283,
respectively, as listed in Table 1. To verify the precision of
our new ML-bandgap model, we experimentally fabricate a
series of new mixed Sn-Pb perovskite samples with various
compositions. The measured and GBR-predicted Eg along
with reported results is shown as inset in Fig. 2c, with blue
dots denoting our experimental results and red dots
denoting previously reported results. The experimental Eg
values are deduced by Tauc plot (Fig. S2). It shows that our
trained Eg model could not only predict the data in test set,
but also accurately predict Eg of the new MASnxPb1-xI3
samples. As previously mentioned, the replacing of Pb by Sn
leads to significant changes in structure, e.g. lattice compression, octahedral tilting, and in electronic properties, e.g.
VB/CB reconstructing, which thus results in a complicated
dependence of Eg on Sn ratio in mixed Sn-Pb perovskites.
To further reveal the dependence of Eg on Sn ratio, as
shown in Fig. 2c, the ratio-dependent Eg for mixed Sn-Pb
perovskite predicted by our new ML-bandgap model (red
line), which match well with our fabricated ones (black
dots), manifests itself with asymmetrically bowing shape
and a minimum value of 1.198 eV of at the Sn ratio of
93.3%. The optimized Sn ratio for the S-Q limit at the Eg of
1.35 eV is predicted to be 10.0%, 12.2% and 23.3%.
Perovskite solar cell design: photovoltaic performance
As mentioned above, both n-i-p and p-i-n PSC devices
are under study here as shown in Fig. 1b and are composed
of a thin-layer photoactive OMHP absorbers sandwiched
between two transport layers ETL and HTL, which are used
to selectively transport electrons and holes to cathode and
anode respectively. Ideally, incident photons are absorbed
with nearly unity efficiency by OMHP film, and densities of
photo-generated nonequilibrium free carriers in CB and VB
can be evaluated by the quasi-Fermi level splitting (QFLS),
i.e. QFLS ¼ EF <sup>e</sup> <sup>�</sup> <sup>E</sup> F <sup>h</sup> <sup>where E</sup> F <sup>e=h</sup> is the quasi-Fermi level for
electrons and holes respectively, which is also the opencircuit voltage (Voc) of the PSC devices in the S-Q theory.
The values of Voc are deterioted mainly by the unwanted
nonradiative combinations occurring at the surface defects
or grain boundaries in the OMHP film. Then the photogenerated electrons and holes are selectively extracted by
the ETL and HTL to the cathode and anode respectively,
and generate currents, e.g. Jsc at short-circuit condition. The
extraction efficiency of carriers from OMHP film is mainly
affected by the surface qualities and the energy differences
between OMHP and HTL/ETL, i.e. ΔH (ΔL). The values of
ΔH (ΔL) are generally larger than or equal to zero, since
negative ones will introduce extraction barriers between
OMHP film and transport layers, but they can not be too
large to induce significant energy loss at the interface and
form the transport barriers between transport layers and
electrodes, which in turn may decrease Jsc. For example, in
our case, the HOMO and LUMO of OMHP are -5.4 eV and
-3.9 eV respectively, and the work functions of working
anode (Au)/cathode (Al) are -5.1 eV and -4.3 eV, respectively. When ΔH (ΔL) between HTL (ETL) and OMHP film
Cai et al. Light: Science & Applications (2022) 11:234 Page 6 of 12
Table 2 The prediction performance of different regression algorithms for four targets (FF, Jsc, Voc and PCE) in designing
PSCs device using experimental Eg, ΔH and ΔL as inputs
Method FF Jsc Voc PCE
R <sup>2</sup> RMSE MAE R <sup>2</sup> RMSE MAE R <sup>2</sup> RMSE MAE R <sup>2</sup> RMSE MAE
LR 0.4750 14.3140 8.1743 −0.0676 5.3079 2.9698 0.6047 0.1345 0.0968 0.3422 4.0129 2.8447
SVR 0.2937 16.6026 7.4239 0.1519 4.7310 2.4441 0.4389 0.1602 0.1084 0.5518 3.3124 2.2708
KNR 0.4580 14.5433 6.9755 0.7913 2.3471 1.8209 0.8022 0.0951 0.0557 0.6229 3.0385 2.5294
RFR 0.5698 12.9566 6.9801 0.5262 3.5362 2.3123 0.6068 0.1341 0.0936 0.6598 2.8858 2.2669
GBR 0.5477 13.2863 7.1833 0.0239 5.0754 2.7716 0.6873 0.1196 0.0884 0.7651 2.3982 1.8816
NN 0.9096 4.5641 3.4786 0.8378 2.6438 1.6301 0.9024 0.0347 0.0289 0.9026 1.9626 1.5439
The best results are highlighted in bold and NN behaves the best among competitive algorithms due to higher R <sup>2</sup> and smaller RMSE and MAE
is higher than 0.3 (0.4) eV, HTL-anode (ETL-cathode)
extraction potential barriers is generated. Generally, the
open-circuit voltage Voc relates to the short-circuit current
Jsc by the expression,
comparison to those using predicted Eg as inputs listed in
Table S2. In both simulations, NN behaves better than
others, which confirms the superiority of NN in dealing
with complex cases. By comparison, we find that, for Jsc,
using the predicted Eg as feature, the model metrics is
improved, but for FF model, using the predicted Eg will
worsen the model. For PCE and Voc models, whether the
predicted Eg is used, the model results change little. In
addition, no matter what kind of situation and target, the
values of R <sup>2</sup> of all models are significantly greater than 0.5,
which means the built models can give relatively accurate
prediction. The reason for large variation of metrics in FF
with different models might be that the factors affecting
FF are complex, and the dependence on involved features
is beyond our collected data. The performances of NN in
our dataset for four targets are shown in Figure S3, and
the descent process of training/test set loss values during
NN training is provided in Figure S4, both of which verify
the convergence of our NN model. Herein, we set ΔH and
ΔL from −0.35 eV to 1.00 eV and Eg from 1.15 eV to
1.65 eV in the prediction set.
The relationships of Jsc and Voc with Eg are shown in
Fig. 3, with the bar indicating standard deviation. As we
know, in the S-Q theory, Jsc deceases and Voc increases
when Eg increase, where nonradiative recombination are
totally neglected. However, as shown in Fig. 3a, in the Eg
regions ranging roughly from 1.15 eV to around 1.25 eV
and 1.40 eV to 1.50 eV, which are corresponding to lowbandgap-plateau (LBP) (rich-Tin, >50% Sn) and defectivezone (DZ) (poor-Tin, <20% Sn) regions respectively, Jsc
increases when Eg increase, which are consistent with the
unchanged or decreasing Voc with increasing Eg as shown
in Fig. 3d. The deviation observed in predicted Jsc and Voc
from the S-Q theory captured in our model, which was
experimentally observed recently in ((HC(NH2)2)0.83
Cs0.17)(Pb1-ySny)I3 family of perovskite materials as well <sup>47</sup>,
is due to the significant nonradiative recombination at the
deep level traps induced by structural disorders (DZ) and
Voc ¼ <sup><u>nidkBT</u></sup>
<sup><u>kBT</u></sup> ln <sup><u>Jsc</u></sup>
q j0
-
<sup><u>Jsc</u></sup> þ 1 ð1Þ
j0
where nid is the ideality factor and j0 is the dark
generation current. The electric power is zero at both
open- and short-circuit conditions, and reaches a maximum power point at which the voltage Vmp and current
Jmp give the fill factor FF of a PSC device, i.e. FF = VmpJmp/
JscVoc. Empirically FF can be written as <sup>46</sup>,
<u>vm</u> <u>voc �</u> <u>lnðvm þ 1Þ</u>
FF ¼ ð2Þ
vm þ 1 vocð1 � e <sup>�voc</sup> Þ
where vov ¼ Voc=nidkBT and vm ¼ voc � lnðvoc þ 1�
ln vocÞ. Subsequently PCE is given by ηPCE ¼ Jsc ´ FF ´
Voc=Psun, where Psun is the total incoming solar energy.
For the mixed Sn-Pb perovskite as the OMHP film in PSC
under study here, the increasing of Sn introduces more Sn
vacancies and oxided Sn <sup>4+</sup> in the OHMP, which may
enhance the non-radiative recombination via ShockleyRead-Hall and Auger recombination processes at the
defects, decreasing Voc and Jsc, even though Eg is tuned to
the optimized value predicted by the S-Q theory. Therefore, to achieve the maixmum PCE for MASnxPb1-xI3based PSC devices, a detailed optimization process
regarding the influence on Jsc, Voc and PCE from Eg, ΔH
and ΔL is necessary.
Similiar to the aforementioned process, the influences
of Eg, ΔH and ΔL on photovoltaic performances of mixed
Sn-Pb PSC devices, i.e. Voc, Jsc, FF and PCE, are investigated using ML methods, and the performances of different ML algorithms are listed in Table 2, in which
experimental Eg, ΔH and ΔL are used as inputs, as
Cai et al. Light: Science & Applications (2022) 11:234 Page 7 of 12
a
30
25
20
15
32
28
24
20
16
12
–0.3 0.0 0.3 0.6 0.9
_�L_ (eV)
1.4
1.2
1.0
0.8
–0.3 0.0 0.3 0.6 0.9
_�L_ (eV)
1.2 1.3 1.4 1.5 1.6
_Eg_ (eV)
b c
30
25
20
15
10
–0.3 0.0 0.3 0.6 0.9
_�H_ (eV)
d e f
1.4
1.2
1.0
0.8
0.6
1.2 1.3 1.4 1.5 1.6
_Eg_ (eV)
1.4
1.2
1.0
0.8
–0.3 0.0 0.3 0.6 0.9
_�H_ (eV)
g h i
_Eg3_ = 1.50 eV
_JSC_
1.0 24.0
_Eg1_ = 1.20 eV
1.0
1.0
0.8
0.6
0.4
0.2
0.0
–0.2
_Eg2_ = 1.30 eV
0.8
0.6
0.4
0.2
0.0
–0.2
–0.2 0.0 0.2 0.4 0.6 0.8 1.0
_�H_ (eV)
_Eg3_ = 1.50 eV
–0.2 0.0 0.2 0.4 0.6 0.8 1.0
_�H_ (eV)
–0.2
0.0
0.2
0.4
0.6 0.8 1.0
–0.2 0.0 0.2 0.4 0.6 0.8 1.0
_�H_ (eV)
_�H_ (eV)
j k l
_Eg1_ = 1.20 eV _Eg2_ = 1.30 eV
0.8
0.6
0.4
0.2
0.0
–0.2
1.0
0.8
0.6
0.4
0.2
0.0
–0.2
_VOC_
1.0
0.8
0.6
0.4
0.2
0.0
–0.2
21.0
18.0
15.0
12.0
9.00
6.00
3.00
0.00
1.05
0.936
0.822
0.707
0.593
0.479
0.365
0.250
0.136
_Eg2_ = 1.30 eV
1.0
0.8
0.6
0.4
0.2
0.0
–0.2
_Eg1_ = 1.20 eV
–0.2 0.0 0.2 0.4
_�H_ (eV)
0.6 0.8 1.0
–0.2 0.0 0.2 0.4 0.6 0.8 1.0
_�H_ (eV)
m n o p
_Eg1_ = 1.20 eV _Eg2_ = 1.30 eV
_Eg1_ = 1.20 eV
_Eg2_ = 1.30 eV
0.8
0.6
0.4
0.2
0.0
–0.2
0.8
0.6
0.4
0.2
0.0
–0.2
_Eg3_ = 1.50 eV
_�H_ (eV)
PCE
26.1
22.8
19.6
16.3
13.0
9.79
6.53
3.26
0.00
PCE
24.0
21.0
18.0
15.0
12.0
9.00
6.00
3.00
0.8
0.6
0.4
0.2
0.0
–0.2
_�H_ (eV)
_�H_ (eV)
Fig. 3 Further analysis of PSCs performance behind NN model with three parameters as input (the Eg of OMHP material, the energy
difference ΔH and ΔL). a The maximum Jsc versus Eg; b the maximum Jsc versus ΔH; c the maximum Jsc versus ΔL; d the maximum Voc versus Eg;
e the maximum Voc versus ΔH; f the maximum Voc versus ΔL. 2D-contour map of Jsc predictions at g Eg1; h Eg2; i Eg3, and 2D-contour map of Voc
predictions at j Eg1; k Eg2; l Eg3. m 4D-scatter plot of PCE with respect to Eg, ΔH, and ΔL exhibiting that the highest PCE value is in the range of 1.30 eV
to 1.40 eV. 2D-contour map of PCE predictions at n Eg1; - Eg2; p Eg3. Here, Eg1 = 1.20 eV, Eg2 = 1.30 eV, and Eg3 = 1.50 eV
Cai et al. Light: Science & Applications (2022) 11:234 Page 8 of 12
enhanced susceptibility of Sn <sup>2+</sup> to oxidation (LBP).
Similar to the situation in ((HC(NH2)2)0.83Cs0.17)(Pb1-y
Sny)I3 perovskites, in the poor-Tin (DZ) region, the
replacing of Sn in neat Pb perovskites induces local heterogeneity around Sn sites along with overall lattice
compression and octahedral tilting, and such crystallographic distortion leads to energetic disorder near the
band edges accommodating deeper traps formation,
accompanied with a rapid change in Eg as shown in
Fig. 2a. Therefore, the nonradiative Jsc are enhanced in the
DZ region. However, in the rich-Tin (LBP) region, due to
the cease of volume compression in the compositional
perovskites, crystallographic and electronic stabilities are
achieved, as shown in Fig. 2a as well. Since Sn content is
beyond 50% in the LBP region, the subsequently enhanced
electric susceptibility resulted from increased Sn <sup>4+</sup> content also deteriorates the photovoltaic performances (Jsc
and Voc).
For ΔH and ΔL, the photo-generated carrier transport is
not only affected by extraction barriers Δ, but also by the
type of transport layer material, fabrication processing,
etc. Thus it is complicated to obtain optimized Jsc and Voc
by manipulating ΔH and ΔL. As shown in Fig. 3b, c, the
changes of Jsc with ΔH and ΔL are similar and it is not
conducive to Jsc as ΔH (ΔL) is too large or too small.
However, as shown in Fig. 3e, f, different from Jsc, the
maximum value of Voc does not appear in the region
where ΔH (ΔL) is equal to zero. To further analyze the
extraction barrier related to Jsc and Voc with different fixed
Eg values in detail, 2D-contour maps of maximum Jsc and
Voc prediction with different Eg are calculated and shown
in Fig. 3g–l, where x-axis and y-axis represent ΔH and ΔL,
respectively. The lighter color indicates the higher Jsc and
Voc. And for simplication, the values of Eg are chosen as
1.20 eV, 1.30 eV and 1.50 eV to conduct further analysis,
which belong to the LBP, normal and DZ regions,
respectively.
For Jsc as shown in Fig. 3g–i, as the Eg increase from
1.20 eV→1.30 eV→1.50 eV, the values of Jsc overally
decreases, which is consistent with the S-Q theory. When
ΔH (ΔL) is much lower than zero, it means there is a big
potential barrier between OMHP material and HTL
(ETL), which will block the direct transfer of carriers and
consequently decrease the current. When ΔH (ΔL) is
much higher than zero, it could increase the speed of the
carriers as they pass through transport layer, but this
could also lead to induce energy loss at the interface and
transport barrier between the transport layer and the
electrode, and thus decreasing Jsc. Figure 3g–i also show
that, when ΔL is negative, it is possible to manipulate ΔH
to achieve the maximum Jsc, but not vice versa. Take
Fig. 3h as an example. The maximum Jsc appears at ΔH =
0.2 eV and ΔL = -0.2 eV, i.e, there is 0.2 eV barrier
between ETL and OMHP and 0.2 eV positive energy
difference between HTL and OMHP. In this condition,
the maximum Jsc of 21.7 mA/cm <sup>2</sup> achieves. Conversely,
for ΔH = -0.2 eV and ΔL = 0.2 eV eV, the value of Jsc
drops (2.5 times) to 9.8 mA/cm <sup>2</sup>, which should be due to
the more difficult extraction for holes in HTL compared
with electron extraction in ETL, since holes possess larger
effective mass and smaller mobility compared to electrons <sup>48</sup> . Therefore in the actual PSC design, employing
excellent hole transport would lead to high photovoltaic
performance <sup>49,50</sup> .
For Voc as shown in Fig. 3j–l, as the Eg increase from
1.20 eV→1.30 eV→1.50 eV, the values of Voc overally
increase, which is consistent with the S-Q theory as well.
The difficulty of hole extraction in HTL can also be
observed. For example, as shown in Fig. 3l, the maximum
Voc appears in the region of ΔH = 0.2 eV and ΔL =
-0.2 eV, which means 0.2 eV barrier between ETL and
OMHP can promote the accumulation of electrons at the
interface subsequently enlarging QFLS within OMHP and
thus Voc. Because the transport of holes in OMHP is more
difficult than electrons, positive ΔH is required to facilitate the hole extraction, which could reduce the concentration of holes in OMHP thus reducing unwanted
nonradiative recombination.
For the goal PCE, Fig. 3m shows a 4D-scatter plot of
predicted PCE based on NN algorithm, where ΔH and ΔL
are changed from -0.35 eV to 1.00 eV and Eg is changed
from 1.15 eV to 1.65 eV, which reveals that, the highest
PCE values are in the range of 1.30 eV to 1.40 eV. To
further analyze the relationship between PCE and Eg, the
maximum PCE of each Eg is extracted from Fig. 3m and
plotted in Fig. 4, where the theoretical prediction by S-Q
theory under AM1.5 G radiation is also shown. Both S-Q
limit and our ML results show that the ideal Eg of 1.35
eV <sup>12,51,52</sup>, and the trend of both lines is also consistent,
which is an astonishing finding since only data from
MASnxPb1-xI3 system are used in our model without providing any information about the solar spectrum. The peak
at about 1.60 eV is probably due to the extensive use of this
material by researchers and the continuous optimization
achieved for the performance of PSCs on this material.
In addition, in order to obtain the relationship of PCE
with ΔH and ΔL in the different values of Eg, 2D-contour
maps are also drawn in Fig. 3n–p. The region of highest
PCE shifting from smaller ΔH, ΔL to higher ΔH, ΔL with
the increase of Eg of OMHP material, was also observed in
perovskite materials of ABX3-type (A=MA/FA/Cs <sup>+</sup>,
B=Pb/Sn <sup>2+</sup>, X=Br/Cl/I <sup>-</sup> ) <sup>37</sup>, which manifests the extensibility of our ML model to general OMHP systems. Furthermore, it is interesting that as we compare Fig. 3n–p
with Fig. 3g–l, the improvement of goal PCE at 1.30 eV
(near optimal Eg) is mainly due to enhanced Jsc because
both maximum region and contour overlap. For comparison to further check our model, according to Eq. (2),
Cai et al. Light: Science & Applications (2022) 11:234 Page 9 of 12
40
35
30
25
20
15
0
0 1 2 3 4
_Eg_ (eV)
1.2 1.3 1.4 1.5 1.6
_Eg_ (eV)
40
30
20
10
AM1.5G
Fig. 4 The obtained relationship between PCE and Eg from
different ways. The black and violet lines represent the
maximumpredicted PCE with regard to Eg and the theoretical limit of
PCE fromShockley–Queisser (S–Q) limit, respectively. The inset is the
reduction curveof S–Q limit.
the filling factor FF can be obtained with ML-predicted
Voc values and the ideality factor nid of 2.5 is deduced
according to Eq. (1), and finally PCE can be obtained. The
calculated dependence of PCE on Eg, ΔH and ΔL is shown
as Figure S5, which is reasonably consistent with the MLpredicted results as shown in Fig. 3n–p.
Reverse engineering
In order to further verify the effectiveness of ML, we
have performed experimental tests. Through forward
analysis, the process of OMHP material selection and PSC
design are completed, but the relationship between Sn-Pb
ratio and PCE of PSC cannot be directly given, that is, to
determine which ratio could give the corresponding
maximum predicted PCE. Therefore, in this section, a
data-driven reverse engineering is proposed to explore
potential property of MASnxPb1-xI3 material used in PSCs
based on one-step spin coating process and inverted
structure.
Due to the reduction of dataset resulting from the limit
of spin coating process and device structure, as previously
mentioned, three features of Sn-Pb ratio, Eg and the
publication time of reported article are taken to build a
new PCE model based on GBR algorithm. Then the
established GBR model is further inversely analyzed to
lead a search of maximum PCE using BO and GA. The
search conditions of 10 initial points alongwith 20 iterations, and the population size of 100 alongwith 20 generations are used for BO and GA, respectively. The
element Sn in the B-site has the doping ratio from 0.5 to
1.0 with step 0.001, and the second element Pb is given
the remaining doping ratio, because the Eg obtained by
doping Sn in this range has the opportunity to obtain the
maximum PCE according to previous forward analysis,
while reducing the content of Pb as much as possible to
reduce the toxicity of obtained OMHP. Figure S6 shows
the fitness of PCE to the search round and shows how it
changes with the optimization variable. GA presents a
more stable and efficient exploration process than BO.
However, both GA and BO give very close maximum
PCE, i.e., 18.23% for MA1.0Sn0.624Pb0.376I3 by GA and
18.22% for MA1.0Sn0.636Pb0.364I3 by BO, respectively.
With the previous settings, we select a series of ratios
from 0.5 to 1.0 for experimental validation under the set
fabrication processing. As reported in previous works, the
perovskite crystallization processes <sup>53</sup>, grain boundary
management <sup>54</sup>, interface engineering <sup>55</sup> and charge transport layer selection <sup>56</sup> were proved to be critical aspects
toward high-efficiency perovskite solar cells. Every precise
tuning of above sections in each experimental condition is
definitely difficult and time consuming. For now, we do
not conduct special optimization for devices and choose a
trade-off fabrication process to adapt all conditions to
keep the consistency of the processing condition for different ratios to make the horizontal comparability more
obvious. Actually, we focus on the curve trend and the
obtained results are shown in Fig. 5, which reveals good
consistency between experimental data and prediction
trend in PCE distribution. The ratios corresponding to the
best PCE obtained by GA and BO are near the region of
highest experimental result, which illustrates the rationality and accuracy of our model. Moreover, in the range of
experimental preparation, the PCE of device deviated
from the optimal composition becomes very poor. The
corresponding plots of Jsc, Voc and FF for these devices are
provided in Figure S7. Compared with the prediction of
18%, the efficiency corresponding to optimal ratio in our
experiment still has much room for development that
needs further experimental optimization. At present, the
best efficiency obtained by Sadhanala et al. in set range of
Sn content is 10% at 0.6 that ratio is close to our prediction. Specific data are provided in Table S3. With the
accumulation of samples in the future, the optimization
measures, such as considering additives, selecting better
transport layer materials, etc., should be considered. In
addition, our proposed ML approach in the forwardreverse framework can be applied to other perovskites
materials with similar structures, such as ABX3-type
perovskite materials (A = MA/FA/Cs <sup>+</sup>, B = Pb/Sn <sup>2+</sup>,
X = Br/Cl/I <sup>-</sup> ).
Discussion
Combining with ML technology, we have proposed an
efficient forward-inverse method to research
MASnxPb1-xI3 material and explore high-performance
PSCs. We use real experimental data aiming at getting
Cai et al. Light: Science & Applications (2022) 11:234 Page 10 of 12
Materials and methods
Materials
6
4
2
0
0.6 0.62 0.624 0.636 0.64 0.66 0.68 0.7 0.8
The ratio of Sn
Fig. 5 The experimental PCE of MASnxPb1-xI3 perovskite solar cells
with different Sn contents
more practical results. During forward analysis, the Eg
model of MASnxPb1-xI3 is first built with 14 physicochemical parameters and Sn-Pb ratio as input respectively, and the asymmetrically bowing relationship
between Sn-Pb ratio and Eg of OMHP is found, which
match well with our fabricated ones. For the performance
models of PSC, the established NN-based models exhibit
satisfactory prediction for underlying data points and
provide some guidance and new discoveries for PSC
devices. The relationship of Jsc, Voc and PCE with Eg of
OMHP and energy level difference (ΔH/ΔL) are analyzed
in detail respectively. The relationship of Jsc and Voc with
Eg matches the theoretical results well in most case. The
deviation of Jsc and Voc in LBZ and DZ region from the
S-Q theory is also captured by our model, which is
experimentally observed recently. The conclusion that
hole extraction is more difficult is both obtained in Jsc and
Voc models. And the highest PCE of single-junction PSCs
at about 1.35 eV is predicted without any prior information, which is quite consistent with the theoretical result
of S-Q limit. Then in the reverse engineering, the optimal
ratio of Sn in MASnxPb1-xI3 within a set range is directly
obtained for high-performance PSCs and inference results
fit well with experimental validation.
With the proposed target-driven approach, the physical
laws obtained are reasonable and the predictions are
verified experimentally in MASnxPb1-xI3 system. Our
designed method could be expected to provide deeper
understanding of physical phenomena as well as explore
new functional materials and high-performance devices.
For complex systems involving multiple variables, this
method could give results significantly faster. With the
accumulation of a database, it could also constantly learn
with itself to obtain stronger predictive ability to give
more helpful and accurate guidance.
SnI2 (99.999% purity) was purchased from Alfa Aesar. N,
N-dimethylform-amide (DMF), dimethyl sulfoxide (DMSO)
and SnF2 (99% purity) were purchased from Sigma-Aldrich.
Methylammonium iodide (MAI) was purchased from
Dyesol. Chlorobenzene was purchased from Thermo Fisher.
PEDOT:PSS aqueous solution (Al 4083) was purchased
from Heraeus Clevios. PbI2 was purchased from TCL.
Mixed tin-lead perovskite film fabrication
A stock solution of 1.4 M MAPbI3 solution (i.e. 0% Sn)
was prepared by dissolving 1113 mg MAI and 3227 mg PbI2
in 5 mL of a mixed solvent of 7:3 DMF:DMSO by volume. A
stock solution of 1.4 M MASnI3 (i.e. 100% Sn) with 10%
molar excess of SnF2 with respect to the SnI2 content was
prepared by dissolving 1113 mg MAI, 2604 mg SnI2, 219 mg
SnF2 in 5 mL of a mixed solvent of 7:3 DMF:DMSO by
volume. Solutions with Sn content = 0, 15, 25, 30, 35, 45,
50, 55, 65, 70, 75, 85, 95, 100% were prepared by mixing the
0% and 100% Sn stock solutions in the appropriate ratio.
Solutions with Sn content = 62, 62.4, 63.6, 64, 66, 68% were
prepared through mixture of the 60% Sn solution with the
70% Sn solution. The precursor solution was stirred for at
least 2 h at room temperature. Prior to spin-coating, the
perovskite solution was filtered with a 0.22 μm PTFE syringe filter. The perovskite precursors with different Sn
content were spin-coated onto the ITO/PEDOT:PSS substrates at 5000 rpm for 30 s. During the spin-coating, 750 μL
of toluene was dropped onto the spinning substrates. Then
perovskite films were annealed at 100 °C for 10 min to form
mixed tin-lead perovskite films.
Mixed tin-lead perovskite solar cell fabrication
ITO-glass was cleaned using acetone, surfactant, deionized (DI) water, ethanol with ultrasonication for 30 min
sequentially and dried with N2 flow. ITO-glass was further
cleaned by O2-plasma treatment for 15 min. PEDOT:PSS
aqueous solution was then deposited on the ITO at
4000 rpm for 50 s followed by annealing on a hotplate at
175 °C for 60 min in ambient air. The perovskite films
were prepared on the ITO/PEDOT:PSS using mixed tinlead perovskite film fabrication method described above.
After the deposition of the perovskite film, C60 (20 nm)/
BCP (3 nm)/Ag (100 nm) were sequentially deposited by
thermal evaporation.
Material characterization
The transmission spectra and absorption spectra were
both measured using F20-UV thin-film analyzer (FILMETRICS) at wavelength range between 300 nm and
1100 nm. Tauc plots of absorption spectra to determine
the impact of different Sn contents on perovskite band
gaps was calculated by absorption spectra.
Cai et al. Light: Science & Applications (2022) 11:234 Page 11 of 12
Device characterization
The J–V curves of PSCs were measured using a Keithley
2602B source in N2 filled glove box at room temperature
under AM 1.5 G condition at an intensity of 100 mW/cm <sup>2</sup>,
calibrated by a standard Si solar cell (PVM937, Newport).
The light source was a 450 watt xenon lamp (Oriel solar
simulator, 94023 A). The active area of PSCs was 0.107 cm <sup>2</sup>,
defined by the cross of patterned Ag and ITO electrode, and
further calibrated by the microscope. The J–V curves were
tested both at forward scan (from −0.2 V to 0.7 V, step
0.04 V) without any pre-conditioning before the test.
Acknowledgements
This work is supported by the National Natural Science Foundation of China
(grant numbers 61774046 and 11374063), and by Shanghai Municipal Natural
Science Foundation under Grant Nos. 19ZR1402900.
Author details
1School of Information Science and Technology, Fudan University, Shanghai
200433, China. <sup>2</sup> College of Information, Mechanical and Electrical Engineering,
Shanghai Normal University, Shanghai 200234, China. <sup>3</sup> Center of Micro‐Nano
System, Fudan University, Shanghai 200433, China. <sup>4</sup> Department of Physics,
Chemistry and Biology, Linköping University, Linköping SE-58183, Sweden.
5Key Laboratory of Micro and Nano Photonic Structures and Department of
Optical Science and Engineering, Fudan University, Shanghai 200433, China.
6Yiwu Research Institute of Fudan University, Chengbei Road, Yiwu City,
Zhejiang 322000, China
Author contributions
Y.Z. and X.C. conceived the idea. X.C. did ML prediction and F.L. did
experimental realization. X.C., F.L. and Y.Z. co-wrote the paper with all authors
contributing to discussions and to finalizing the manuscript.
Competing interests
The authors declare no competing interests.
Supplementary information The online version contains supplementary
material available at [https://doi.org/10.1038/s41377-022-00924-3.](https://doi.org/10.1038/s41377-022-00924-3)
Received: 15 February 2022 Revised: 13 June 2022 Accepted: 30 June 2022
References
1. Kojima, A. et al. Organometal halide perovskites as visible-light sensitizers for
photovoltaic cells. J. Am. Chem. Soc. 131, 6050–6051 (2009).
2. Lee, M. M. et al. Efficient hybrid solar cells based on meso-superstructured
organometal halide perovskites. Science 338, 643–647 (2012).
3. Jeon, N. J. et al. Solvent engineering for high-performance inorganic–organic
hybrid perovskite solar cells. Nat. Mater. 13, 897–903 (2014).
4. Green, M. A., Ho-Baillie, A. & Snaith, H. J. The emergence of perovskite solar
cells. Nat. Photonics 8, 506–514 (2014).
5. Yang, W. S. et al. Iodide management in formamidinium-leadhalide–based perovskite layers for efficient solar cells. Science 356,
1376–1379 (2017).
6. National Renewable Energy Laboratory (NREL). Best research-cell efficiency
chart. (2022). [https://www.nrel.gov/pv/cell-efficiency.html.](https://www.nrel.gov/pv/cell-efficiency.html)
7. Oga, H. et al. Improved understanding of the electronic and energetic landscapes of perovskite solar cells: high local charge carrier mobility, reduced
recombination, and extremely shallow traps. J. Am. Chem. Soc. 136,
13818–13825 (2014).
8. Wehrenfennig, C. et al. High charge carrier mobilities and lifetimes in organolead trihalide perovskites. Adv. Mater. 26, 1584–1589 (2014).
9. Zhang, W. et al. Ultrasmooth organic-inorganic perovskite thin-film formation
and crystallization for efficient planar heterojunction solar cells. Nat. Commun.
6, 6142 (2015).
10. Jacobsson, T. J. et al. Exploration of the compositional space for mixed lead
halogen perovskites for high efficiency solar cells. Energy Environ. Sci. 9,
1706–1724 (2016).
11. Liu, D. Y. & Kelly, T. L. Perovskite solar cells with a planar heterojunction
structure prepared using room-temperature solution processing techniques.
Nat. Photonics 8, 133–138 (2014).
12. Shockley, W. & Queisser, H. J. Detailed balance limit of efficiency of p-n
junction solar cells. J. Appl. Phys. 32, 510–519 (1961).
13. Gu, S. et al. Tin and mixed lead–tin halide perovskite solar cells: progress and
their application in tandem solar cells. Adv. Mater. 32, 1907392 (2020).
14. Eperon, G. E. et al. Perovskite-perovskite tandem photovoltaics with optimized
band gaps. Science 354, 861–865 (2016).
15. Ogomi, Y. et al. CH3NH3SnxPb1-xI3 perovskite solar cells covering up to 1060
nm. J. Phys. Chem. Lett. 5, 1004–1011 (2014).
16. Hao, F. et al. Anomalous band gap behavior in mixed Sn and Pb perovskites
enables broadening of absorption spectrum in solar cells. J. Am. Chem. Soc.
136, 8094–8099 (2014).
17. Tsai, C. M. et al. Role of tin chloride in tin-rich mixed-halide perovskites applied
as mesoscopic solar cells with a carbon counter electrode. ACS Energy Lett. 1,
1086–1093 (2016).
18. Zhao, B. D. et al. High open-circuit voltages in tin-rich low-bandgap
perovskite-based planar heterojunction photovoltaics. Adv. Mater. 29,
1604744 (2017).
19. Rajagopal, A. et al. Highly efficient perovskite–perovskite tandem solar cells
reaching 80% of the theoretical limit in photovoltage. Adv. Mater. 29, 1702140
(2017).
20. Lin, R. X. et al. Monolithic all-perovskite tandem solar cells with 24.8% efficiency
exploiting comproportionation to suppress Sn(II) oxidation in precursor ink.
Nat. Energy 4, 864–873 (2019).
21. Wang, C. L. et al. Low-bandgap mixed tin-lead perovskites and their applications in all-perovskite tandem solar cells. Adv. Funct. Mater. 29, 1808801
(2019).
22. Chang, C. Y. et al. Solution-processed conductive interconnecting layer for
highly-efficient and long-term stable monolithic perovskite tandem solar cells.
Nano Energy 55, 354–367 (2019).
23. Kapil, G. et al. Tin-lead perovskite solar cells fabricated on hole selective
monolayers. ACS Energy Lett. 7, 966–974 (2022).
24. Wei, M. Y. et al. Combining efficiency and stability in mixed tin–lead perovskite
solar cells by capping grains with an ultrathin 2D layer. Adv. Mater. 32,
1907058 (2020).
25. Li, Z. Z. et al. Thermodynamic stability landscape of halide double perovskites
via high-throughput computing and machine learning. Adv. Funct. Mater. 29,
1807280 (2019).
26. Ramprasad, R. et al. Machine learning in materials informatics: recent applications and prospects. npj Computational Mater. 3, 54 (2017).
27. Liu, Y. et al. Materials discovery and design using machine learning. J. Materiomics 3, 159–177 (2017).
28. Schleder, G. R. et al. From DFT to machine learning: recent approaches to
materials science–a review. J. Phys. Mater. 2, 032001 (2019).
29. Liu, Z. et al. Computational functionality-driven design of semiconductors for
optoelectronic applications. InfoMat 2, 879–904 (2020).
30. Zhao, X. G. et al. JAMIP: an artificial-intelligence aided data-driven infrastructure for computational materials informatics. Sci. Bull. 66, 1973–1985
(2021).
31. Lopez, S. A. et al. Design principles and top non-fullerene acceptor candidates
for organic photovoltaics. Joule 1, 857–870 (2017).
32. Nagasawa, S., Al-Naamani, E. & Saeki, A. Computer-aided screening of conjugated polymers for organic solar cell: classification by random forest. J. Phys.
Chem. Lett. 9, 2639–2646 (2018).
33. Sun, W. B. et al. The use of deep learning to fast evaluate organic photovoltaic
materials. Adv. Theory Simul. 2, 1800116 (2019).
34. Sahu, H. et al. Toward predicting efficiency of organic solar cells via machine
learning and improved descriptors. Adv. Energy Mater. 8, 1801032 (2018).
35. David, T. W. et al. Enhancing the stability of organic photovoltaics through
machine learning. Nano Energy 78, 105342 (2020).
36. Odabaşı, Ç. & Yıldırım, R. Performance analysis of perovskite solar cells in 20132018 using machine-learning tools. Nano Energy 56, 770–791 (2019).
Cai et al. Light: Science & Applications (2022) 11:234 Page 12 of 12
37. Li, J. X. et al. Predictions and strategies learned from machine learning to
develop high-performing perovskite solar cells. Adv. Energy Mater. 9,
1901891 (2019).
38. Sani, F. et al. Advancement on lead-free organic-inorganic halide perovskite
solar cells: a review. Materials 11, 1008 (2018).
39. Pedregosa, F. et al. Scikit-learn: machine learning in python. J. Mach. Learn. Res.
12, 2825–2830 (2011).
40. Abadi, M. et al. TensorFlow: large-scale machine learning on heterogeneous
distributed systems. (2016). [https://arxiv.org/abs/1603.04467v1.](https://arxiv.org/abs/1603.04467v1)
41. Nogueira, F. Bayesian Optimization: open source constrained global optimization tool for Python. (2014). [https://github.com/fmfn/BayesianOptimization.](https://github.com/fmfn/BayesianOptimization)
42. Fortin, F. A. et al. DEAP: evolutionary algorithms made easy. J. Mach. Learn. Res.
13, 2171–2175 (2012).
43. Shi, L. et al. Using data mining to search for perovskite materials with
higher specific surface area. J. Chem. Inf. Modeling 58, 2420–2427
(2018).
44. Lundberg, S. M. & Lee, S. I. A unified approach to interpreting model
predictions. In Proceedings of the 31st International Conference on Neural
Information Processing Systems 4765–4774 (Long Beach: MIT Press,
2017).
45. Bergstra, J., Yamins, D. & Cox, D. D. Hyperopt:a python library for optimizing
the hyper parameters of machine learning algorithms. In Proceedings of the
12th Python in Science Conference 13–20 (Austin, Texas: SciPy Organizers,
2013).
46. Nayak, P. K. et al. Photovoltaic efficiency limits and material disorder. Energy
Environ. Sci. 5, 6022–6039 (2012).
47. Klug, M. T. et al. Metal composition influences optoelectronic quality in mixedmetal lead–tin triiodide perovskite solar absorbers. Energy Environ. Sci. 13,
1776–1787 (2020).
48. Xing, G. C. et al. Long-range balanced electron- and hole-transport lengths in
organic-inorganic CH3NH3PbI3. Science 342, 344–347 (2013).
49. Seo, J. Y. et al. Novel p-dopant toward highly efficient and stable perovskite
solar cells. Energy Environ. Sci. 11, 2985–2992 (2018).
50. Jeong, M. et al. Stable perovskite solar cells with efficiency exceeding 24.8%
and 0.3-V voltage loss. Science 369, 1615–1620 (2020).
51. Zong, Y. X. et al. Homogenous alloys of formamidinium lead triiodide and
cesium tin triiodide for efficient ideal-bandgap perovskite solar cells. Angew.
Chem. Int. Ed. 56, 12658–12662 (2017).
52. Zong, Y. X. et al. Lewis-adduct mediated grain-boundary functionalization for
efficient ideal-bandgap perovskite solar cells with superior stability. Adv. Energy
Mater. 8, 1800997 (2018).
53. Liu, H. et al. Modulated crystallization and reduced VOC deficit of mixed leadtin perovskite solar cells with antioxidant caffeic acid. ACS Energy Lett. 6,
2907–2916 (2021).
54. Zhang, L. et al. Grain boundary passivation with dion–jacobson phase perovskites for high-performance Pb–Sn mixed narrow-bandgap perovskite solar
cells. Sol. RRL 5, 2000681 (2021).
55. Zhang, L. et al. Surface defect passivation of Pb–Sn-alloyed perovskite film by
1,3-propanediammonium iodide toward high-performance photovoltaic
devices. Sol. RRL 5, 2100299 (2021).
56. Gómez, P. et al. Pyrene-based small-molecular hole transport layers for efficient
and stable narrow-bandgap perovskite solar cells. Sol. RRL 5, 2100454 (2021).