The stability of the single-energy X-ray device produced by X-ray machine and Bragg diffraction is studied. The stability of X-ray machine and double crystal structure is tested by controlling the temperature, humidity and other environmental factors. The test results show that the stability of the X-ray machine is less than 2.7% during the test time of 3000 s, and the double crystal structure is tested for 3000s, and the results show a periodic fluctuation of 1000s. When exploring the cause of fluctuation, the angle motor in the double crystal stepper motor is tested, and it is concluded that it is caused by the moment imbalance of the flexure hinge of the double crystal stepper. In the next work, the motion direction of the flexure hinge will be changed to ensure the stability of the double crystal structure.