The application provides a kind of
motion optimization method and
system of mechanical arm based on improved
sparrow algorithm, based on the kinematic model of mechanical arm, the trajectory of mechanical arm is planned using polynomial interpolation method, and the joint motion trajectory is obtained;Based on the joint trajectory, the objective function and the constraint condition of the mechanical arm are constructed;The sine-cosine mapping, improved elite reverse learning strategy and Cauchy
Gaussian variation principle are integrated into the
sparrow algorithm to obtain the improved
sparrow algorithm;Based on the objective function and the constraint condition, the improved sparrow algorithm is applied to the
trajectory planning of the mechanical arm, and the motion of the mechanical arm is optimized.The application integrates the sine-cosine mapping, improved elite reverse learning strategy and Cauchy
Gaussian variation strategy into the sparrow algorithm to form the improved sparrow algorithm, improves the diversity of
population, avoids falling into
local optimum, and can effectively find the
global optimal solution.The improved sparrow algorithm is applied to the mechanical arm, which improves the running efficiency and running accuracy of the mechanical arm.