In the confined space of the underground coal mine, which is dominated by transportation lanes, explosion-proof diesel-powered trackless rubber-wheeled vehicles are becoming the main transportation equipment, and the exhaust gas produced by them is hazardous to the health of workers and pollutes the underground environment. In this experiment, a similar test platform is built to study the effects of wind speed, vehicle speed, and different wind directions on the diffusion characteristics of exhaust gas. In this paper, CO and SO2 are mainly studied. The results show that the diffusion of CO and SO2 gas is similar and the maximum SO2 concentration only accounts for 11.4% of the CO concentration. Exhaust gas is better diluted by increasing the wind speed and vehicle speed, respectively. Downwind is affected by the reverse wind flow and diffuses to the driver's position, which is easy to cause occupational diseases. When the wind is a headwind, the exhaust gases spread upwards and make a circumvention movement, gathering at the top. When the wind speed and vehicle speed are both 0.6m/s, the CO concentration corresponds to the change trend of the Lorentz function when the wind is downwind and the CO concentration corresponds to the change trend of the BiDoseResp function when the wind is headwind. The study of exhaust gas diffusion characteristics is of great significance for the subsequent purification of the air in the restricted mine space and the protection of the workers' occupational health.