The invention relates to the technical field of hoisting vehicles, and discloses a method for realizing
active center-of-gravity shift compensation, which comprises the following steps of: acquiring related data reflecting the working condition of a vehicle by using a plurality of sensors arranged at different positions of the hoisting vehicle; constructing a
system model comprising a suspension arm, a counterweight and a vehicle
chassis on the basis of the collected data, and considering the
relative motion relation of all parts, the elastic deformation of the suspension arm and the
terrain condition of the vehicle in the model; and the real-time
gravity center position of the suspension arm in the operation process is calculated through the
system model in combination with a Lagrange equation. Through cooperative operation of multiple links, the effects of high-precision sensing of multi-dimensional physical quantities of the lifting vehicle, sub-
centimeter-level precision calculation of the
gravity center position, keeping of control precision at a high level, fault diagnosis, quick response and the like are achieved, the safety and stability of operation of the lifting vehicle are guaranteed in an all-around mode, and the operation quality and efficiency are improved. The problem that the
gravity center of a traditional lifting vehicle cannot be accurately maintained to be stable under complex working conditions is solved.