This paper proposes a temporary support system for improving the efficiency and safety of underground roadway excavation in coal mines. Firstly, this study establishes a calculation model for the initial supporting force of the excavation of roadway temporary support and a gray system-based automatic prediction model for the initial supporting force level, based on the mechanism of temporary support controlling the roof. These models enable the prediction of the required initial supporting force at different locations along the roadway’s temporary support area, thereby providing a basis for controlling the initial supporting force of the temporary support system. To achieve efficient and adaptive control of the initial supporting force of temporary supports at different locations, this study designs a support force controller based on Simulated Annealing Particle Swarm Optimization Proportional-Integral-Derivative (SAPSO-PID). This study establishes a mathematical model for the hydraulic cylinder pressure system controlled by the temporary support overflow valve and conducts a stability analysis and model verification. The study constructs a simulation control system for the initial supporting force based on SAPSO-PID using the combined simulation platform of AMESim and Matlab. The simulation results demonstrate that the proposed support force control system efficiently achieves adaptive control of the initial supporting force of temporary supports. An experimental system in the underground roadway of a coal mine is constructed to validate the results of the simulation analysis.