Aiming at the rollover risk of heavy-duty vehicles, an adaptive rollover prediction and control algorithm based on identification of multiple road adhesion coefficients is proposed, and the control effect has been verified by hardware-in-the-loop experiments. Based on the establishment of a 3 DOFs (Degree of freedom) vehicle dynamic model, the roll angle of the vehicle dynamic model is estimated in real time by using Kalman filter algorithm. In order to ensure the real-time operation of anti-rollover control strategy for multi-body dynamic heavy vehicle model, a sliding mode variable structure controller for anti-rollover of vehicles is designed to determine the optimal yaw moment. Specially, the recognition algorithm of road surface type is integrated into the control rollover algorithm. When the control system with road recognition algorithm recognizes whether the vehicle is in danger of rollover, it can not only adjust the state of the vehicle, but also shorten the time to reach the stable area of the vehicle's lateral load transfer rate by about 2 s. In order to further improve its adaptability and control accuracy, a Hardware-in-loop test platform for three-axis heavy-duty vehicles is built to verify the proposed anti-rollover control strategy. The results prove that the proposed control strategy can accurately predict the rollover risk and control the rollover in time.