The invention discloses a
fluid loading and unloading arm dynamic
flange automatic docking method based on image visual
servo, which comprises the following steps: initializing the
tail end position of a loading and unloading arm, and controlling the loading and unloading arm to move until complete image information of a
flange to be docked can be acquired; the method comprises the following steps: acquiring an image of a
flange to be butted, and extracting initial candidate circles with circle features in the image by adopting a Hough circle detection
algorithm; through an RANSAC (Random Sample
Consensus)
algorithm, performing refined fitting to obtain a refined candidate circle; extracting the center coordinates of the positioning holes from the refined candidate circle; according to the circle center coordinate of the positioning hole and the
butt joint state coordinate position, calculating the
current time deviation; taking the
minimum deviation as a target, solving an angular motion
angular velocity instruction of each joint of the loading and unloading arm, driving each joint of the loading and unloading arm to adjust the
pose until the deviation converges, and completing the
butt joint of the flange at the
tail end of the loading and unloading arm and the to-be-butt-jointed flange. The method is suitable for
millimeter-level accurate
butt joint and control of loading and unloading arm flanges in the dynamic marine environment, and the operation efficiency and safety in the complex environment are remarkably improved.