The invention discloses a visual
servo method for a
transformer substation drainage wire disconnecting and connecting
robot, and the method comprises the following steps: building a mapping relation between a mechanical arm
tail end camera and a mechanical arm kinematic model, and building an image-based visual
servo system IBVS; acquiring a drainage wire clamp image in real time, and extracting image feature points of a drainage wire clamp bolt by using the recognition model; the
model prediction controller carries out rolling optimization based on the deviation between the extracted current image features and the expected image features, estimates and compensates external disturbance and unmodeled dynamics borne by the
system in real time, and calculates an optimal, smooth and safe mechanical arm motion instruction; and the mechanical arm movement instruction is sent to a mechanical arm
movement control unit to drive the mechanical arm to move. According to the method, the
pose control of the drainage wire disconnecting
robot can be realized, the error convergence in the visual
servo process is rapid, the steady-state error is small, the dynamic response is timely, and the requirements of the drainage wire disconnecting operation on the precision, the stability and the real-time performance are fully met.