X-ray photon correlation spectroscopy (XPCS) is important for probing mesoscale material dynamics by using synchrotron radiation. However, the complex influences of parameters such as light source properties, beam propagation, and detector response on speckle dynamics are hard to directly observe. In this study, a Monte Carlo-based full optical path numerical model is developed to systematically analyze these effects, thereby aiding experimental optimization.
A simulation framework integrating Brownian dynamics, beam coherence, and detector response is constructed to replicate the entire photon emission-to-detection process. A Fraunhofer diffraction-based speckle generation algorithm reproduces speckle fluctuations via atomic position evolution and phase modulation. Feasibility is validated via Siegert relation fitting (\beta, \gamma), \varGamma\text-q^2 linearity (R^2=0.99904), and consistency with the Einstein-Stokes law.
Key parameter sensitivity analysis reveals some points below. 1) Optimal aperture matching (r/\sigma=1) balances coherence and photon flux; 2) Mechanical vibrations with \Delta x/s=1500 induce periodic oscillations in g_2(q,\tau), masking intrinsic relaxation, which is validated by a 24.658-Hz pump experiment; 3) Poisson noise and intensity fluctuations degrade low-light signal-to-noise ratio, with Poisson noise causing discrete errors and classical noise inducing baseline shifts.
This framework clarifies how source properties, optical parameters, and noise affect experimental results, providing guidance for XPCS optimization and a foundation for extending its applications to high-precision coherent scattering scenarios.