The application provides a stacking
machine anti-
rollover control method, an electronic device, a storage medium and a program product. The method comprises the following steps: acquiring an operating
state parameter of a vehicle, and calculating a
center of mass position of the vehicle based on the operating
state parameter; wherein the
state parameter comprises a load weight and a load height; based on the
center of mass position, a driving speed and a tire angle, calculating a
rollover torque generated when the vehicle turns and a stable torque resisting
rollover; when a steering action is detected, comparing the rollover torque with the stable torque; if the rollover torque is greater than or equal to the stable torque, dynamically limiting the hydraulic flow of a steering oil cylinder according to the current driving speed; based on the current tire angle, the
center of mass height and the
wheelbase of the vehicle, calculating a maximum allowable driving speed, and when the current driving speed is greater than the maximum allowable driving speed, controlling the driving motor to
brake so that the vehicle is slowed down to not exceed the maximum allowable driving speed.