The invention discloses a visual
servo switching control method and
system. The method comprises the following steps: determining actual coordinates and actual camera poses of image feature points with two-dimensional codes; if a distance between the actual coordinates of the image feature points and an
image boundary is greater than a boundary threshold value, adopting the visual
servo control method based on image features to calculate first joint
angular velocity of a mechanical arm, and controlling a
robot according to the first joint
angular velocity; judging whether the distance betweenthe actual coordinates of the image feature points and the
image boundary is equal to the boundary threshold value or not, distinguishing and calculating the joint
angular velocity; and adopting the visual
servo control method based on the image positions to calculate second joint angular velocity if a difference value of
Lyapunov function values of adjacent twice axle angle errors is smaller thanor equal to 0, and
operation time of the visual
servo control based on the image features is greater than an
operation time threshold value. The method and the
system disclosed by the invention havethe advantages of being capable of strengthening stability of a
robot control system, and improving the visual servo effect.