This paper introduces how to measure the energy spectra od X rays by filter fluorescence spectroscopy. The design principle and structure of new developed double diaphragms and filter fluorescence spectroscopy with 5 channels are depicted. The parameters of optimized spectroscopy by numerical method are given. The filter fluorescence spectroscopy designed according as Rousseau balance principle improves signal nosise ratio.