Non-statistical event-by-event fluctuations are considered as an important signal for the critical endpoint of the QCD phase diagram. In this work we present the energy and centrality dependence of event-by-event fluctuations of particle yield ratios measured by the NA49 experiment in Pb+Pb collisions at 20 - 158 AGeV. Systematic studies of the influence of the dE/dx resolution on the particle identification and the centrality bin size were performed. In future, the CBM experiment at FAIR will investigate the intermediate region of the QCD phase diagram in great detail searching for the first order phase transition line and the expected critical endpoint. It is therefore important to closely investigate its sensitivity towards particle ratio fluctuations in Au+Au collisions at 10-45 AGeV beam energy. Detailed simulation studies will be presented.