SDR (Special drawing rights) will displace the dollar before the yuan does. SDRs are instruments created by the IMF that represent a basket of currencies held by IMF member countries.
The yuan currency market is too small and illiquid to displace the dollar as the world's reserve currency.