Generic perovskite ABX3 crystal unit cell structure. In most typical PSCs A is the organic cation CH3NH3, B is the metallic cation Pb and X is the halide anion (I, Cl, Br or mixed).