The application relates to the field of
robot control and discloses a live working
robot load
gravity compensation method, equipment and a storage medium, the method comprises the following steps: constructing a
gravity compensation model according to the position relationship of each joint of a
robot system; designing an installation angle optimization model with error sum of squares as a constraint index based on the installation angle of a
force sensor; collecting multiple sets of mechanical arm
pose and force data under experimental conditions; solving the installation angle optimization model by using the multiple sets of mechanical arm
pose and force data under the experimental conditions based on an improved PSO method to obtain the optimal installation angle of the
force sensor; installing the
force sensor through the optimal installation angle, and performing
gravity compensation on the mechanical arm end through the gravity compensation model under actual working conditions to obtain accurate external environment
contact force. The application has the beneficial effects that all gravity compensation parameters can be calculated at high speed and effectively, and higher-precision and higher-efficiency gravity compensation is realized.