Could anyone help me on how to synthetise pure lanthanide orhtophosphates doped with rare earths using sol gel method. After undertaking XRD analysis, I got some polyphosphate or pentaphosphate as secondary phases. So, is there any way to control phase formation and avoid them ?