A method and system for collaboratively controlling robotic arm motion based on visual servoing and force sensing admittance
By using the collaborative control method of visual servoing and force sensing, combined with image acquisition and force sensors to calculate the movement speed of the robotic arm, the problem of the inability of vision and force control to coordinate is solved, and high-precision and safe robotic arm assembly is achieved.
Patent Information
- Application Number
- CN202510093396.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-21
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-01-21
AI Technical Summary
In existing technologies, visual control and force control cannot be coordinated, making it difficult to balance assembly accuracy and safety. This is especially true in industrial scenarios where visual servoing relies on camera accuracy and the force sensor's shaft-hole docking stage may damage the robot.
The visual servo and force admittance collaborative control method is adopted. By combining the image acquisition device and the force sensor, the movement speed of the end of the robot arm is calculated in real time. The image and contact force information are weighted summed to achieve collaborative control of the robot arm.
It improves the flexibility and adaptability of the assembly system, ensures assembly accuracy and reduces the risk of robot damage, achieving an efficient and safe assembly process.
Smart Images

Figure CN119635663B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field related to robot vision control, and more specifically, relates to a method and system for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance. Background Art
[0002] Assembly is a common form of industrial robot production. Factories are usually equipped with sensors to guide robot assembly. Visual servoing with the help of cameras and impedance-admittance control with the help of force sensors are commonly used guidance methods.
[0003] Visual servoing offers good flexibility and robustness, but assembly accuracy is overly dependent on the accuracy of the camera itself and the accuracy of calibrated camera parameters, making high-precision servo control difficult to achieve, especially in industrial scenarios. Force sensors can achieve higher accuracy and safety in guiding the assembly process, but they often require an out-of-hole search phase for shaft-hole docking. The search strategy is typically a spiral search, which not only requires a thorough analysis of the contact pattern between the shaft and hole, but also may cause damage to the robot during the search. Multi-sensor fusion can achieve multi-level information fusion and reduce the accuracy requirements of a single sensor, but the combination of vision and force sensors is not simple.
[0004] Therefore, there is an urgent need for a method that can achieve collaborative control by combining vision and force sensors. Summary of the Invention
[0005] In response to the above defects or improvement needs of the prior art, the present invention provides a method and system for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance, which solves the problem in the prior art that visual control and force control cannot be coordinated.
[0006] To achieve the above object, according to one aspect of the present invention, a method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing is provided, the method comprising the following steps:
[0007] The robotic arm with an image acquisition device and a force sensor connected to its end is moved to the assembly target position, and the image acquisition device acquires an image of the target point at the assembly target position as the expected image; the robotic arm end clamps the workpiece to be assembled and moves to the assembly target position with the workpiece to be assembled. During the movement of the robotic arm end, the image acquisition device acquires an image of the target point in real time, and compares the real-time acquired image with the expected image to calculate the movement speed v of the robotic arm end under the control of the image acquisition device c ;
[0008] When the workpiece to be assembled contacts the pin at the assembly target position, the force sensor measures the force and torque at the contact, and uses the force and torque to calculate the motion speed v of the end of the robotic arm under the control of the force sensor. f;
[0009] Using the robot arm movement speed v c and v f Calculate the actual movement speed v of the end of the robotic arm at the next moment.
[0010] Further preferably, the movement speed v of the end of the robotic arm is c The calculation formula is as follows:
[0011]
[0012] Where η is the controller gain, It's L s The generalized inverse matrix, L s is the image Jacobian matrix of the image feature s, s is the image feature of the real-time collected image, s * is the image feature in the desired image.
[0013] Further preferably, the image Jacobian matrix L of the image feature s s The formula is as follows:
[0014]
[0015]
[0016] in, Represents the image features x g ,y g ,z g The corresponding image Jacobian matrix, L r1 ,L r2 ,L r3 Represent image features r1, r2, r z The corresponding image Jacobian matrix, p1, p2, p3, p4 respectively represent the coordinates of the four target points in the image, L1, L2, L3, L4 respectively represent the image Jacobian matrix of the four target points, I2 represents the second-order unit matrix, α represents the coordinates of the image along n 14 Direction to The unit vector of the direction.
[0017] Further preferably, the 14 Directions to The formula for the unit vector α of the direction is as follows:
[0018]
[0019] Among them, n 14 represents the unit vector along the direction from target point 1 to target point 4, is the expected image n 14The value of , ω represents the direction coefficient, and I2 represents the second-order unit matrix.
[0020] Further preferably, the force sensor controls the movement speed v of the end of the lower robotic arm f Follow the steps below to calculate:
[0021]
[0022] Among them, M is the manipulator inertia matrix, D is the damping matrix, K is the stiffness matrix, and F ext is the actual external contact force and torque, v is the actual movement speed of the end of the robot arm, X is the position of the end of the robot arm, is the acceleration of the end of the manipulator under force-sensing admittance control, v f0 It represents the velocity of the robot end at the last moment, and Δt represents the time interval.
[0023] Further preferably, the actual external contact force and torque are the differences between the force and torque generated when the force sensor contacts the tool end and the force and torque generated by the gravity of the workpiece to be assembled.
[0024] Further preferably, the calculation formula for the movement speed of the end of the robotic arm at the next moment is as follows:
[0025] v=(1-λ)v c +λv f
[0026] Among them, v is the movement speed of the end of the robot arm at the next moment, and λ is the proportion weight.
[0027] Further preferably, the calculation formula of the proportion weight λ is as follows:
[0028]
[0029] Among them, ΔZ represents the height to which the end of the robot arm descends after the workpiece and the pin come into contact, and ΔZ * Indicates the total height to which the end-of-arm is expected to descend after the workpiece and the pin make contact.
[0030] According to another aspect of the present invention, a system for collaboratively controlling the motion of a robotic arm based on visual servoing and force admittance is provided. The system includes an actuator for executing the above-mentioned method for collaboratively controlling the motion of a robotic arm based on visual servoing and force admittance.
[0031] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for collaboratively controlling the motion of a robotic arm based on visual servoing and force admittance is implemented.
[0032] In general, the above technical solutions conceived by the present invention have the following beneficial effects compared with the prior art:
[0033] 1. The present invention uses an image acquisition device and a force sensor to calculate the movement speed of the robot arm from two perspectives: image and contact force. The final movement speed of the robot arm is obtained by weighted summation of the movement speeds calculated from the two perspectives. This control method realizes the coordinated control of visual servoing and force control, improving the flexibility and adaptability of the assembly system.
[0034] 2. The present invention utilizes common, visually identifiable target points as image feature points for visual acquisition. The combination of four target points can be processed and calculated to control the six degrees of freedom of the end of the robotic arm. This control method is simple and efficient, the image is easy to identify, and the visual system has high robustness.
[0035] 3. The movement process of the robot arm in the present invention includes two stages. In the first stage, the end of the robot arm moves toward the assembly target position, and only the image acquisition device acquires images. In the second stage, the workpiece at the end of the robot arm contacts the pin, and the force sensor starts working. In the two processes, the image acquisition device and the force sensor work together to calculate a speed change respectively. The final speed of the end of the robot arm is calculated by weighted summation. As the robot arm gradually moves toward the target position, its height becomes lower and lower, the proportion of the image acquisition device becomes lower and lower, and the proportion of the force sensor becomes higher and higher. The smooth transition between the two ensures the assembly accuracy of the workpiece. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of a method for collaboratively controlling the motion of a robotic arm based on visual servoing and force admittance constructed according to a preferred embodiment of the present invention;
[0037] Figure 2 is a schematic diagram of a target point constructed according to a preferred embodiment of the present invention;
[0038] Figure 3 It is a structural diagram of a system for collaboratively controlling the motion of a robotic arm based on visual servoing and force-sensing admittance constructed according to a preferred embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely for the purpose of explaining the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
[0040] like Figure 1As shown, an assembly method based on visual servoing and force sensing admittance collaborative control includes the following steps:
[0041] S1 Figure 3 As shown, the robot arm moves to the assembly target position, and the camera captures the image of the target point at the assembly position as the desired image;
[0042] The camera collects the image features of the target point in real time, and calculates the movement speed of the end of the robotic arm from the current moment to the next moment in real time based on the difference between the expected image features and the current image features, completing the visual servo control;
[0043] like Figure 2 As shown, four target points are posted within the camera field of view at the assembly position of the robotic arm to form an irregular quadrilateral.
[0044] After the camera takes the picture, the obtained image is binarized, the corresponding area of the original image is extracted using a mask, and the white area is extracted using threshold processing to obtain the image coordinates of the four target points, P1 (x1, y1), P2 (x2, y2), P3 (x3, y3), P4 (x4, y4), and define the image features.
[0045] s=[x g y g z g r1 r2 r z ] T ∈R 6*1
[0046] s is calculated as follows:
[0047]
[0048] Among them, x g ,y g represents the coordinates of the center of mass, z g represents the area of the closed region formed by the target point. In this embodiment, the closed region is a quadrilateral. g y g z g}Control the translational freedom in the X, Y, and Z directions respectively.
[0049]
[0050] Among them, {r1 r2 rz} respectively control the rotational freedom in the RX, RY, and RZ directions, and n 14 represents the unit vector along the direction from target point 1 to target point 4, is the expected image n 14 The value of ω represents the direction coefficient.
[0051] The present invention is based on the following principle: in one embodiment of the present invention, a pinhole camera is used to normalize the target point P on the image plane coordinates. i (x i ,y i ), image Jacobian matrix of i∈1~4.
[0052]
[0053] Where Z represents the depth of the point in the camera coordinate system.
[0054] Calculate the motion velocity v of the robot end camera under visual servo control c :
[0055]
[0056] Where η is the controller gain, It's L s The generalized inverse matrix, L s is the image Jacobian matrix of the image feature s, s is the image feature of the real-time collected image, s * is the image feature in the desired image.
[0057] Define the image feature Jacobian matrix
[0058]
[0059] L s The calculation method is as follows:
[0060] According to the obtained four target point image features {r1 r2 r z}Construct the Jacobian matrix of the rotation direction image.
[0061]
[0062] in, Represents the image features x g ,y g ,z g The corresponding image Jacobian matrix,
[0063] L r1 ,L r2 ,L r3 Represent image features r1, r2, r z The corresponding image Jacobian matrix, p1, p2, p3, p4 respectively represent the coordinates of the four target points in the image, L1, L2, L3, L4 respectively represent the image Jacobian matrix of the four target points, I2 represents the second-order unit matrix, α represents the coordinates of the image along n 14 Directions to The unit vector of the direction.
[0064]
[0065] n 14 represents the unit vector along the direction from target point 1 to target point 4, is the expected image n 14 The value of , ω represents the direction coefficient, and I2 represents the second-order unit matrix.
[0066] Adjust the three rotation directions in real time according to the visual servo controller and the Jacobian matrix of the rotation direction image to ensure that the camera plane is parallel to the assembly plane. Otherwise, repeat this step.
[0067] According to the image features {x g y g z g}Construct the translation direction image Jacobian matrix.
[0068]
[0069] The three translation directions are adjusted in real time according to the visual servo controller and the Jacobian matrix of the translation direction image to realize visual servo control.
[0070] After the S2 workpiece contacts the hole, the controller processes the six-dimensional force sensor information in real time, obtains the contact force in Cartesian space, and completes the assembly according to the admittance model and control strategy.
[0071] In the world coordinate system, the various coefficients of the force sensor are calibrated by the gravity compensation method, including the zero-point values F0 and M0 of the force sensor force and torque, the tool end gravity G, and the center of gravity coordinate P;
[0072] In the world coordinate system, the force sensor measures the force and torque. This value includes the force and torque generated by the gravity of the workpiece to be assembled and the contact force. Through previous calibration work, the force and torque generated by the gravity of the workpiece to be assembled can be obtained, and the difference is used to obtain the force and torque generated by the contact force, that is, the real external contact force.
[0073] The actual external contact force is used to calculate the acceleration of the end of the manipulator from the current moment to the next moment under force-sensing admittance control:
[0074]
[0075] Among them, M is the manipulator inertia matrix, D is the damping matrix, K is the stiffness matrix, and F ext is the actual external contact force, v is the current velocity of the end of the robot arm, and X is the position of the end of the robot arm, X = [xyz] T .
[0076] Calculate the movement speed of the end of the robotic arm under force sensor admittance control:
[0077]
[0078] Among them, v f0 It represents the velocity of the robot end at the last moment, and Δt represents the time interval.
[0079] S3 calculates the movement speed v of the end of the robotic arm at the next moment using the speed calculated by the image processing device and the force sensor.
[0080] The rate of establishing visual and force-coordinated control is:
[0081] v=(1-λ)v c +λv f
[0082] Where v is the actual instantaneous motion of the robot, v∈R 6 , v c is the motion speed of the end of the robot under the guidance of visual servo, v f is the movement speed of the end of the robot under the admittance control of the force sensor. The value range of λ is [0,1], which represents the weight of the vision and force control of the robot.
[0083]
[0084] in, Z r , The actual height of the robot end and the height of the robot end at the moment the workpiece and the pin make contact (the external contact force is not zero) are represented, respectively. ΔZ represents the height to which the robot end descends after the workpiece and the pin make contact. Z t Indicates the height of the robot end at the assembly position. ΔZ * represents the total height to which the end-of-arm descends after the workpiece and the pin make contact. When the external contact force is zero, λ = 0, indicating that the robot is controlled by visual servoing. When the external contact force is not zero, indicating that the workpiece is in contact with the hole, the robot assembly is controlled by vision and force sensing. As the assembly depth increases, the proportion of force control gradually increases, while the proportion of visual servo control gradually decreases to zero.
[0085] It will be easily understood by those skilled in the art that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing, characterized in that: The method comprises the following steps: The robotic arm with an image acquisition device and a force sensor connected to its end is moved to the assembly target position, and the image acquisition device acquires an image of the target point at the assembly target position as the expected image; the robotic arm end clamps the workpiece to be assembled and moves to the assembly target position with the workpiece to be assembled. During the movement of the robotic arm end, the image acquisition device acquires an image of the target point in real time, and compares the real-time acquired image with the expected image to calculate the movement speed v of the robotic arm end under the control of the image acquisition device c ; When the workpiece to be assembled contacts the pin at the assembly target position, the force sensor measures the force and torque at the contact, and uses the force and torque to calculate the motion speed v of the end of the robotic arm under the control of the force sensor. f ; Using the robot arm movement speed v c and v f Calculate the actual movement speed v of the end of the robotic arm at the next moment.
2. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 1, characterized in that: The movement speed v of the end of the robot arm c The calculation formula is as follows: Where η is the controller gain, It's L s The generalized inverse matrix, L s is the image Jacobian matrix of the image feature s, s is the image feature of the real-time collected image, s * is the image feature in the desired image.
3. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 2, wherein: The image Jacobian matrix L of the image feature s s The formula is as follows: in, Represents the image features x g ,y g ,z g The corresponding image Jacobian matrix, L r1 ,L r2 ,L r3 Represent image features r1, r2, r z The corresponding image Jacobian matrix, p1, p2, p3, p4 respectively represent the coordinates of the four target points in the image, L1, L2, L3, L4 respectively represent the image Jacobian matrix of the four target points, I2 represents the second-order unit matrix, α represents the coordinates of the image along n 14 Directions to The unit vector of the direction.
4. A method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 1 or 3, characterized in that: The along n 14 Direction to The formula for the unit vector α of the direction is as follows: Among them, n 14 represents the unit vector along the direction from target point 1 to target point 4, is the expected image n 14 The value of , ω represents the direction coefficient, and I2 represents the second-order unit matrix.
5. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 1 or 4, characterized in that: The force sensor controls the movement speed v of the end of the lower robotic arm f Follow the steps below to calculate: Among them, M is the manipulator inertia matrix, D is the damping matrix, K is the stiffness matrix, and F ext is the actual external contact force and torque, v is the actual movement speed of the end of the robot arm, X is the position of the end of the robot arm, is the acceleration of the end of the manipulator under force-sensing admittance control, v f0 It represents the velocity of the robot end at the last moment, and Δt represents the time interval.
6. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 5, characterized in that: The actual external contact force and torque are the differences between the force and torque when the force sensor makes contact with the tool end and the force and torque generated by the gravity of the workpiece to be assembled.
7. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 1, wherein: The calculation formula for the motion speed of the end of the robotic arm at the next moment is as follows: v=(1-λ)v c +λv f Among them, v is the movement speed of the end of the robot arm at the next moment, and λ is the proportion weight.
8. The method for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing admittance according to claim 7, wherein: The calculation formula of the proportion weight λ is as follows: Among them, ΔZ represents the height to which the end of the robot arm descends after the workpiece and the pin come into contact, and ΔZ * Indicates the total height to which the end-of-arm is expected to descend after the workpiece and the pin make contact.
9. A system for collaboratively controlling the motion of a robotic arm based on visual servoing and force sensing, characterized in that: The system includes an actuator, which is used to execute the method for collaboratively controlling the motion of a robotic arm based on visual servoing and force-sensing admittance as described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for collaboratively controlling the motion of a robotic arm based on visual servoing and force admittance as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Control method for hybrid vision and force of mechanical arm based on preset performance control
CN119077744A
Autonomous mobile grabbing method for mechanical arm based on visual-haptic fusion under complex illumination condition
US20230042756A1