This application belongs to the field of
robot motion control technology and discloses a
robot trajectory tracking method, device, storage medium, and electronic device. First, the
robot system is dynamically modeled; the current
error state vector is calculated, and the
dynamic equation of the
error state is constructed; the
error state is transformed into a three-dimensional z-space, and the
dynamic equation of the error state is constructed in the three-dimensional z-space; a sliding mode surface is constructed in the three-dimensional z-space, and the equivalent
phase space constraints corresponding to the sliding mode surface are calculated based on the optimization objective and constraints; a subspace is constructed according to the control strategy, and the subspace where the current state is located is determined through
a search algorithm; the relative distances of the current state to all subspaces are calculated, and the optimal sliding mode surface is determined based on the relative distances; the relative relationship between the optimal sliding mode surface and the current error is calculated, and the relative relationship is input into the control law to determine the final control quantity. This method can significantly suppress robot
jitter when approaching the
equilibrium point, while improving computational efficiency and achieving optimal arrival at the
target control point.