After the machine tool works continuously, the temperature of the hydraulic system continues to rise, which affects the work efficiency of the machine tool. Therefore, it is very important to control the temperature within a reasonable range. This paper proposes an improved scheme to replace a single fan with dual fans to improve the heat dissipation capacity of the radiator. Starting from the principle of heat exchange between oil and air, the relationship between the oil temperature and the wind speed on the face of the heat exchanger is derived, and the theoretical basis of the cooling system is given. Combined with logic control, the fan has the advantages of fast action, high efficiency and low energy consumption, which ensures the efficient and reliable operation of the machine tool. A one-dimensional simulation model of the thermal hydraulic system is established, and the heat generation and heat dissipation power of each element are calculated. Among them, the heat dissipation of the radiator is the largest, accounting for about 55% of the total heat dissipation. The experimental results show that the optimal fan speed is 3200 r/min and the flow rate is 0.2 m3/s at 26 °C. The thermal balance temperature of the hydraulic system is reduced from the original 65 °C to 58 °C, and its cooling capacity meets the requirements of a high-altitude and high-temperature environment.