The invention provides a method and device for controlling multi-joint moving
robot to avoid an obstacle. The method is characterized in that a vision guidance device and the
infrared obstacle avoidance device are mutually coordinated to control the
robot to move during the process that the
robot moves from a starting point to a target point along a pre-planned
global optimal route; when a vision
system detects the obstacle in the preset distance, a robot base is stopped marching, the movement posture of each joint can be automatically adjusted by grade on the basis of a pre-constructed kinematic geometric model of each joint, and the joints can be swung, from a
tail end performer to the base, within a feasible region of each joint, so as to avoid the obstacle by grade; a
servo system can control the
pose position of each joint and the
chassis movement direction, so as to continuously control the robot to move toward the target point until the robot reaches the target point; the movement postures of each joint and the base can be synchronously adjusted during the
infrared obstacle avoiding process, thereby avoiding subsequent repeated adjusting, and as a result, the obstacle avoiding efficiency of the multi-joint moving robot can be improved.