The invention relates to a mechanical arm path
planning method and device based on an improved DDPG
algorithm and a medium, and the method comprises the following steps: obtaining initial information and target point information of a mechanical arm, inputting a trained mechanical arm path planning model, and obtaining a mechanical arm path planning result; wherein the mechanical arm path planning model comprises a mechanical arm
state space, a mechanical arm action space and a reward function, and the mechanical arm
state space comprises a three-dimensional coordinate of the
tail end of the mechanical arm, a three-dimensional coordinate of a target point and an attitude angle of an
actuator at the
tail end of the mechanical arm; the mechanical arm action space comprises a displacement vector of the
tail end of the mechanical arm, a rotating attitude angle of an
actuator at the tail end of the mechanical arm and an opening and closing state of a clamping jaw at the tail end of the mechanical arm; the mechanical arm path planning model is trained by introducing an improved DDPG
algorithm of an HER technology, the state of a mechanical arm reaching or not reaching a target point is calibrated as a potential target state, and a
reward value is calculated according to the potential target state. Compared with the prior art, efficient mechanical arm path planning can be achieved.