This study aims to address the energy efficiency release and environmental impact of coal dust in rotating detonation engines (RDEs) by monitoring the detonation characteristics of lignite and anthracite in methane gas-solid mixtures using high-precision sensor technology. Experimental results indicate that the peak detonation pressure of anthracite is 1.4% higher than that of lignite, and its detonation wave propagation speed is at least 5.5% faster, suggesting that anthracite exhibits more stable and efficient fuel energy release characteristics during detonation. Additionally, the sensor technology enabled detailed recording of pressure fluctuations and gas composition changes during the detonation process, providing accurate data for assessing and controlling emissions of harmful gases such as carbon monoxide and carbon dioxide. These data are crucial for designing more efficient and environmentally friendly coal dust detonation systems, enhancing mine safety and environmental protection. The outcomes of this research not only advance technological progress in the field of energy science but also address efficiency and environmental issues in industrial applications, offering significant support for achieving safer and more sustainable energy production methods.