[go: up one dir, main page]

CN112621746A - PID control method with dead zone and mechanical arm visual servo grabbing system - Google Patents

PID control method with dead zone and mechanical arm visual servo grabbing system Download PDF

Info

Publication number
CN112621746A
CN112621746A CN202011400173.4A CN202011400173A CN112621746A CN 112621746 A CN112621746 A CN 112621746A CN 202011400173 A CN202011400173 A CN 202011400173A CN 112621746 A CN112621746 A CN 112621746A
Authority
CN
China
Prior art keywords
end effector
robotic arm
dead zone
pose
control method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011400173.4A
Other languages
Chinese (zh)
Inventor
陈祥
刘佩林
应忍冬
钱久超
文飞
张澜涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yantai Information Technology Research Institute Shanghai Jiaotong University
Shanghai Jiao Tong University
Original Assignee
Yantai Information Technology Research Institute Shanghai Jiaotong University
Shanghai Jiao Tong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yantai Information Technology Research Institute Shanghai Jiaotong University, Shanghai Jiao Tong University filed Critical Yantai Information Technology Research Institute Shanghai Jiaotong University
Priority to CN202011400173.4A priority Critical patent/CN112621746A/en
Publication of CN112621746A publication Critical patent/CN112621746A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)

Abstract

The invention discloses a PID control method with a dead zone, which is used for controlling a mechanical arm visual servo grabbing system and comprises the following steps: calculating the deviation of the target pose of the object and the pose of the end effector; processing the deviation by using a dead zone module, then taking the deviation as the input of a PID controller, and taking the output of the PID controller as the Cartesian space velocity of an end effector; converting the Cartesian space velocity into a joint space velocity; and filtering the joint space velocity by using a second-order Butterworth filter, and then transmitting the joint space velocity to a mechanical arm velocity controller to realize the real-time control of the pose of the mechanical arm. The invention also provides a mechanical arm vision servo grabbing system using the method. The control method provided by the invention can solve the problem of 'shaking' caused by frequent adjustment of the mechanical arm control system when the end effector of the mechanical arm approaches the target pose, and is beneficial to realizing the stable control of the pose of the mechanical arm.

Description

带死区的PID控制方法及机械臂视觉伺服抓取系统PID control method with dead zone and robotic arm visual servo grasping system

技术领域technical field

本发明涉及智能控制领域,尤其涉及一种带死区的PID控制方法及使用该方法的机械臂视觉伺服抓取系统。The invention relates to the field of intelligent control, in particular to a PID control method with dead zone and a mechanical arm visual servo grabbing system using the method.

背景技术Background technique

随着人工智能的快速发展、机器人与视觉传感器制造水平的提高,视觉感知与机器人技术相结合,极大提高了机器人自动化和智能化水平。其中,作为一种具有高度灵活性的机器人,机械臂结合视觉感知技术在完成物体的智能化抓取方面具有巨大的应用前景,可广泛用于汽车制造、医疗服务和仓储物流等行业,成为国内外学者研究的热点。为实现目标物料的成功抓取,需要根据视觉系统反馈的目标物料位姿对机械臂位姿进行调节,将视觉感知与机械臂控制技术相结合来实现机械臂的闭环控制称为视觉伺服控制。With the rapid development of artificial intelligence, the improvement of the manufacturing level of robots and visual sensors, the combination of visual perception and robot technology has greatly improved the level of robot automation and intelligence. Among them, as a highly flexible robot, the robotic arm combined with visual perception technology has great application prospects in completing the intelligent grasping of objects, and can be widely used in automobile manufacturing, medical services, warehousing and logistics and other industries The research hotspot of foreign scholars. In order to achieve successful grasping of the target material, it is necessary to adjust the position and posture of the robot arm according to the position and posture of the target material fed back by the vision system. The closed-loop control of the robot arm is called visual servo control by combining visual perception with the control technology of the robot arm.

在目前公布的机械臂视觉伺服控制中,CN 110116410 A公开了一种基于视觉伺服的机械臂目标导引系统,主要解决了视觉伺服中目标成像存在的遮挡、脱离视野问题;CN108058171A公布了一种基于位置且闭环控制的机械臂视觉伺服系统,主要涉及系统的硬件实现方法,而对控制算法没有涉及;CN 110919654 A公布了视觉伺服在机械臂自动对接领域的应用,所述内容没有涉及机械臂控制算法;CN 107414825 A公布了工业机器人平滑抓取移动物体的运动规划系统,主要涉及路径避障内容。对机械臂视觉伺服的精确、稳定、实时控制,上述现有技术未有涉及。In the currently published visual servo control of a robotic arm, CN 110116410 A discloses a visual servo-based robotic arm target guidance system, which mainly solves the problems of occlusion and separation from the visual field of target imaging in visual servoing; CN108058171A discloses a A position-based and closed-loop control robotic arm visual servo system mainly involves the hardware implementation method of the system, but not the control algorithm; CN 110919654 A discloses the application of visual servoing in the field of robotic arm automatic docking, and the content does not involve the robotic arm Control algorithm; CN 107414825 A discloses a motion planning system for an industrial robot to smoothly grasp a moving object, mainly involving the content of path obstacle avoidance. The precise, stable and real-time control of the visual servo of the robotic arm is not involved in the above-mentioned prior art.

准确到达目标物料位姿是机械臂成功抓取物体的关键,因此需要设计合理的控制器以实现基于视觉反馈的机械臂闭环控制。但是在闭环控制系统中,当机械臂接近目标位姿时会发生频繁调整,从而导致机械臂出现“抖动”现象,对机械臂驱动系统、硬件结构造成损坏。除此以外,在复杂的抓取场景中例如仓储物流行业物料通常随机摆放且位姿可能发生变动,要求机械臂可以实时跟踪目标物料位姿。综上,实现机械臂的精确、稳定、实时控制是机械臂视觉抓取物体中需要解决的问题。Accurately reaching the target material pose is the key to the successful grasping of the object by the robotic arm, so a reasonable controller needs to be designed to realize the closed-loop control of the robotic arm based on visual feedback. However, in the closed-loop control system, when the manipulator approaches the target pose, frequent adjustments will occur, which will cause the manipulator to “jitter” and cause damage to the manipulator drive system and hardware structure. In addition, in complex grasping scenarios such as warehousing and logistics industry materials are usually placed randomly and the pose may change, requiring the robotic arm to track the pose of the target material in real time. In summary, the realization of precise, stable and real-time control of the robotic arm is a problem that needs to be solved in the visual grasping of objects by the robotic arm.

因此,本领域的技术人员致力于开发一种带死区的PID控制方法及使用该方法的机械臂视觉伺服抓取系统,在实现机械臂位姿精确控制的基础上,通过死区模块可以去除机械臂末端执行器接近目标位姿时的“抖动”问题,有利于实现机械臂位姿的稳定控制。Therefore, those skilled in the art are committed to developing a PID control method with dead zone and a robotic arm visual servo grasping system using the method. On the basis of realizing precise control of the position and posture of the robotic arm, the dead zone module can remove the The "jitter" problem when the end effector of the manipulator is close to the target pose is conducive to the stable control of the pose of the manipulator.

发明内容SUMMARY OF THE INVENTION

为实现上述目的,本发明提供了一种带死区的PID控制方法,所述控制方法用于控制机械臂视觉伺服抓取系统,所述控制方法包括:In order to achieve the above object, the present invention provides a PID control method with dead zone, the control method is used to control the visual servo grasping system of the robotic arm, and the control method includes:

步骤1:计算物体的目标位姿与所述机械臂视觉伺服抓取系统的末端执行器的位姿的偏差;Step 1: Calculate the deviation between the target pose of the object and the pose of the end effector of the robotic arm visual servo grasping system;

步骤2:利用死区模块对所述偏差进行处理;Step 2: use the dead zone module to process the deviation;

步骤3:将所述步骤2得到的偏差作为PID控制器的输入,将所述PID控制器的输出作为所述末端执行器的笛卡尔空间速度;Step 3: take the deviation obtained in the step 2 as the input of the PID controller, and take the output of the PID controller as the Cartesian space velocity of the end effector;

步骤4:将所述步骤3得到的所述笛卡尔空间速度转换为关节空间速度;Step 4: Convert the Cartesian space velocity obtained in the step 3 into joint space velocity;

步骤5:利用二阶巴特沃斯滤波器对所述步骤4得到的所述关节空间速度进行滤波处理;Step 5: use the second-order Butterworth filter to filter the joint space velocity obtained in the step 4;

步骤6:将所述步骤5得到的结果下发至所述机械臂视觉伺服抓取系统的机械臂速度控制器,实现所述机械臂的位姿的实时控制。Step 6: Send the result obtained in Step 5 to the robot arm speed controller of the robot arm visual servo grasping system, so as to realize the real-time control of the pose of the robot arm.

在一些实施方式中,可选地,所述控制方法还包括步骤7:重复所述步骤1至所述步骤6。In some embodiments, optionally, the control method further includes step 7: repeating the step 1 to the step 6.

在一些实施方式中,可选地,所述末端执行器的所述笛卡尔空间速度与所述步骤2得到的所述偏差的关系如下:In some embodiments, optionally, the relationship between the Cartesian space velocity of the end effector and the deviation obtained in the step 2 is as follows:

Figure BDA0002812279050000021
Figure BDA0002812279050000021

其中,Ve(t)表示所述笛卡尔空间速度,e(t)表示所述步骤2得到的所述偏差,Kp、Ki和Kd分别为所述PID控制器的比例系数、积分系数和微分系数。Wherein, V e (t) represents the Cartesian space velocity, e(t) represents the deviation obtained in the step 2, and K p , K i and K d are the proportional coefficient and integral of the PID controller, respectively. coefficients and differential coefficients.

在一些实施方式中,可选地,所述步骤3包括:In some embodiments, optionally, the step 3 includes:

将所述笛卡尔空间速度表示为Ve(t)=[vx(t),vy(t),vz(t),wx(t),wy(t),wz(t),]T,其中,vx(t),vy(t)和vz(t)分别表示所述末端执行器在x、y和z轴方向上的线速度,ωx(t),ωy(t)和ωz(t)分别表示所述末端执行器在x、y和z轴方向上的角速度;Denote the Cartesian space velocity as V e (t) = [v x (t), v y (t), v z (t), w x (t), w y (t), w z (t ),] T , where v x (t), v y (t) and v z (t) represent the linear velocity of the end effector in the x, y and z-axis directions, respectively, ω x (t), ω y (t) and ω z (t) represent the angular velocities of the end effector in the directions of the x, y and z axes, respectively;

所述步骤2得到的所述偏差与所述vx(t),vy(t)和vz(t)的关系如下:The relationship between the deviation obtained in the step 2 and the v x (t), v y (t) and v z (t) is as follows:

Figure BDA0002812279050000022
Figure BDA0002812279050000022

其中,ex(t)、ey(t)和ez(t)分别为所述物体的位置与所述末端执行器的位置在x、y和z轴方向上的偏差,其中,ex(t)=xg(t)-xe(t),ey(t)=yg(t)-ye(t),ez(t)=zg(t)-ze(t),xg(t)、yg(t)和zg(t)分别表示所述物体在x、y和z轴方向上的位置,xe(t)、ye(t)和ze(t)分别表示所述末端执行器在x、y和z轴方向上的位置;where e x (t), e y (t) and e z (t) are the deviations between the position of the object and the position of the end effector in the x, y and z axis directions, respectively, where e x (t)=x g (t)-x e (t), e y (t)=y g (t)-y e (t), e z (t)=z g (t)-z e (t ), x g (t), y g (t) and z g (t) represent the position of the object in the x, y and z axis directions, respectively, x e (t), y e (t) and z e (t) represents the position of the end effector in the x, y and z axis directions, respectively;

所述角速度采用四元数进行表达,所述角速度与所述四元数的关系如下:The angular velocity is expressed by a quaternion, and the relationship between the angular velocity and the quaternion is as follows:

Figure BDA0002812279050000031
Figure BDA0002812279050000031

将公式(3)经过所述步骤2得到的结果作为所述四元数的微分表达式如下:Taking the result obtained by formula (3) through the step 2 as the differential expression of the quaternion as follows:

Figure BDA0002812279050000032
Figure BDA0002812279050000032

其中,eq0(t)、eq1(t)、eq2(t)和eq3(t)分别为目标姿态的qg0(t)、qg1(t)、qg2(t)和qg3(t)分量与实际姿态的qe0(t)、qe1(t)、qe2(t)和qe3(t)分量之间的偏差。Among them, e q0 (t), e q1 (t), e q2 (t) and e q3 (t) are q g0 (t), q g1 (t), q g2 (t) and q g3 of the target pose, respectively Deviation between the (t) component and the q e0 (t), q e1 (t), q e2 (t), and q e3 (t) components of the actual pose.

在一些实施方式中,可选地,所述步骤4包括如下步骤:In some embodiments, optionally, the step 4 includes the following steps:

基于D-H法推导所述机械臂的正运动学模型;Derive the forward kinematics model of the robotic arm based on the D-H method;

确定所述末端执行器的线速度雅可比矩阵和角速度雅可比矩阵,进而得到所述机械臂的雅可比矩阵;determining the linear velocity Jacobian matrix and the angular velocity Jacobian matrix of the end effector, and then obtaining the Jacobian matrix of the robotic arm;

根据所述机械臂的所述雅可比矩阵得到所述笛卡尔空间速度到所述关节空间速度的变换。The transformation from the Cartesian space velocity to the joint space velocity is obtained according to the Jacobian matrix of the robotic arm.

在一些实施方式中,可选地,基于所述D-H法推导所述机械臂的所述正运动学模型的过程如下:In some embodiments, optionally, the process of deriving the forward kinematics model of the robotic arm based on the D-H method is as follows:

根据所述D-H法得到坐标系{i-1}到坐标系{i}的变换矩阵,其齐次坐标表达式为:According to the D-H method, the transformation matrix from coordinate system {i-1} to coordinate system {i} is obtained, and its homogeneous coordinate expression is:

Figure BDA0002812279050000033
Figure BDA0002812279050000033

其中,c表示cos函数,s表示sin函数;Among them, c represents the cos function, and s represents the sin function;

所述末端执行器的三维位置与姿态相对机械臂基坐标系{0}的变换矩阵T0 6表示为:The three - dimensional position and attitude of the end effector is expressed as :

T0 6=T0 1T1 2T2 3T3 4T4 5T5 6(6)T 0 6 =T 0 1 T 1 2 T 2 3 T 3 4 T 4 5 T 5 6 (6)

所述末端执行器相对所述机械臂基坐标系{0}的齐次坐标变换矩阵T0 6的表达式如下:The expression of the homogeneous coordinate transformation matrix T 0 6 of the end effector relative to the manipulator base coordinate system {0} is as follows:

Figure BDA0002812279050000034
Figure BDA0002812279050000034

其中,(px,py,pz)表示所述末端执行器在笛卡尔空间中的位置,

Figure BDA0002812279050000041
为所述末端执行器姿态的旋转矩阵。where (p x , p y , p z ) represents the position of the end effector in Cartesian space,
Figure BDA0002812279050000041
is the rotation matrix of the end effector pose.

在一些实施方式中,可选地,所述线速度雅可比矩阵的计算为:In some embodiments, optionally, the calculation of the linear velocity Jacobian matrix is:

对关节空间向量(θ123456)进行微分求导可以得到所述线速度雅可比矩阵的表达式,如下所示:Differential derivation of the joint space vectors (θ 1 , θ 2 , θ 3 , θ 4 , θ 5 , θ 6 ) can obtain the expression of the linear velocity Jacobian matrix as follows:

Figure BDA0002812279050000042
Figure BDA0002812279050000042

其中,Jv表示所述线速度雅可比矩阵;Wherein, J v represents the linear velocity Jacobian matrix;

根据公式(7)得到公式(8)中各元素的表达式。The expression of each element in formula (8) is obtained according to formula (7).

在一些实施方式中,可选地,所述角速度雅可比矩阵的表达式如下:In some embodiments, optionally, the expression of the angular velocity Jacobian matrix is as follows:

Figure BDA0002812279050000043
Figure BDA0002812279050000043

其中,Jw表示所述角速度雅可比矩阵,

Figure BDA0002812279050000044
表示基坐标系到第i个关节坐标系的变换,
Figure BDA0002812279050000045
为所述变换矩阵T0i中第三列前三行所对应的向量。where J w represents the angular velocity Jacobian matrix,
Figure BDA0002812279050000044
Represents the transformation from the base coordinate system to the ith joint coordinate system,
Figure BDA0002812279050000045
is the vector corresponding to the first three rows of the third column in the transformation matrix T 0 i.

本发明还提供了一种机械臂视觉伺服控制系统,包括主控计算机、机械臂控制柜、六关节机械臂、末端执行器和RGBD相机;The present invention also provides a visual servo control system for a robotic arm, comprising a main control computer, a robotic arm control cabinet, a six-joint robotic arm, an end effector and an RGBD camera;

所述主控计算机与所述RGBD相机连接;所述机械臂控制柜与所述主控计算机连接,所述六关节机械臂与所述机械臂控制柜连接,所述末端执行器设置在所述六关节机械臂的末端,所述末端执行器与所述机械臂控制柜连接;The main control computer is connected with the RGBD camera; the robotic arm control cabinet is connected with the main control computer, the six-joint robotic arm is connected with the robotic arm control cabinet, and the end effector is arranged on the The end of the six-joint robotic arm, the end effector is connected to the control cabinet of the robotic arm;

其中,所述RGBD相机被配置为能够采集目标物体的图像并传输至所述主控计算机;所述主控计算机被配置为能够执行如上所述的控制方法,并将执行结果转换为机械臂关节空间的速度信号,并将所述速度信号发送至所述机械臂控制柜;所述机械臂控制柜被配置为根据所述速度信号控制所述六关节机械臂,使所述末端执行器到达目标位姿,然后控制所述末端执行器抓取所述物体,以及将所述末端执行器的实际位姿反馈至所述主控计算机。Wherein, the RGBD camera is configured to be able to capture the image of the target object and transmit it to the main control computer; the main control computer is configured to be able to execute the control method as described above, and convert the execution result into the robotic arm joints space speed signal, and send the speed signal to the robotic arm control cabinet; the robotic arm control cabinet is configured to control the six-joint robotic arm according to the speed signal, so that the end effector reaches the target pose, and then control the end effector to grasp the object, and feed back the actual pose of the end effector to the main control computer.

在一些实施方式中,可选地,所述末端执行器为吸取装置。In some embodiments, optionally, the end effector is a suction device.

本发明提供的带死区的PID控制方法及使用该方法的机械臂视觉伺服抓取系统,具有以下技术效果:The PID control method with dead zone provided by the present invention and the mechanical arm visual servo grasping system using the method have the following technical effects:

本发明的基于带死区PID控制器的机械臂视觉伺服抓取系统主要由主控计算机、机械臂控制柜、六关节机械臂、吸盘装置、RGBD相机等组成,可以应用在仓储物流行业物料的分拣中。相比现有的机械臂控制技术,本发明提出的带死区PID控制器的机械臂视觉伺服抓取系统在实现机械臂位姿精确控制的基础上,通过死区模块可以去除机械臂末端执行器接近目标位姿时由于机械臂控制系统频繁调整引起的“抖动”问题,有利于实现机械臂位姿的稳定控制。同时,为实现机械臂位姿的实时调整,采用机械臂速度控制模式,将带死区PID控制器的输出值作为机械臂末端执行器速度,可以实现目标物料的实时跟踪抓取。The robotic arm visual servo grasping system based on the dead zone PID controller of the present invention is mainly composed of a main control computer, a robotic arm control cabinet, a six-joint robotic arm, a suction cup device, an RGBD camera, etc., and can be applied to the storage and logistics industry materials. Sorting. Compared with the existing robotic arm control technology, the robotic arm visual servo grasping system with a dead zone PID controller proposed by the present invention realizes the precise control of the robotic arm pose and posture, and the dead zone module can remove the execution of the end of the robotic arm. When the robot approaches the target pose, the "jitter" problem caused by the frequent adjustment of the manipulator control system is beneficial to realize the stable control of the manipulator's pose. At the same time, in order to realize the real-time adjustment of the position and posture of the manipulator, the speed control mode of the manipulator is adopted, and the output value of the PID controller with dead zone is used as the speed of the end effector of the manipulator, which can realize the real-time tracking and grasping of the target material.

以下将结合附图对本发明的构思、具体结构及产生的技术效果作进一步说明,以充分地了解本发明的目的、特征和效果。The concept, specific structure and technical effects of the present invention will be further described below in conjunction with the accompanying drawings, so as to fully understand the purpose, characteristics and effects of the present invention.

附图说明Description of drawings

图1是本发明的带死区的PID控制方法的控制框图;Fig. 1 is the control block diagram of the PID control method with dead zone of the present invention;

图2是本发明的机械臂视觉伺服抓取系统硬件组成示意图。FIG. 2 is a schematic diagram of the hardware composition of the robotic arm visual servo grabbing system of the present invention.

具体实施方式Detailed ways

以下参考说明书附图介绍本发明的多个优选实施例,使其技术内容更加清楚和便于理解。本发明可以通过许多不同形式的实施例来得以体现,本发明的保护范围并非仅限于文中提到的实施例。The following describes several preferred embodiments of the present invention with reference to the accompanying drawings, so as to make its technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned herein.

在附图中,结构相同的部件以相同数字标号表示,各处结构或功能相似的组件以相似数字标号表示。In the drawings, structurally identical components are denoted by the same numerals, and structurally or functionally similar components are denoted by like numerals throughout.

如图1所示,本发明提供的带死区的PID控制方法包括以下步骤:As shown in Figure 1, the PID control method with dead zone provided by the present invention comprises the following steps:

步骤1:计算物体的目标位姿Pg与步骤5通过正运动学模型得到的末端执行器位姿Pe之间的偏差e(t),其表达式为:Step 1: Calculate the deviation e(t) between the target pose P g of the object and the end effector pose P e obtained by the forward kinematics model in step 5, and its expression is:

e(t)=Pg-Pe(1) e (t)= Pg -Pe(1)

步骤2:本发明中,为避免末端执行器到达目标位姿时由于机械臂视觉伺服系统频繁调整引起的机械臂“抖动”,在将步骤1得到的偏差e(t)输入PID控制器之前加入死区模块,其表达式为:Step 2: In the present invention, in order to avoid the “jitter” of the robot arm caused by the frequent adjustment of the visual servo system of the robot arm when the end effector reaches the target pose, the deviation e(t) obtained in step 1 is added before inputting the PID controller. Dead zone module, its expression is:

Figure BDA0002812279050000051
Figure BDA0002812279050000051

在死区模块对偏差e(t)进行处理,如果偏差在死区范围外,则需要对末端执行器位姿进行PID调整;反之,末端执行器位姿则不需要调整。其中,e0为死区值,需要根据带死区PID控制器的调节性能和控制精度要求进行确定。In the dead zone module, the deviation e(t) is processed. If the deviation is outside the dead zone range, PID adjustment of the pose of the end effector is required; otherwise, the pose of the end effector does not need to be adjusted. Among them, e 0 is the dead zone value, which needs to be determined according to the adjustment performance and control accuracy requirements of the PID controller with dead zone.

步骤3:利用步骤2得到的偏差e(t)作为PID控制器输入,将PID控制器输出作为末端执行器笛卡尔空间速度Ve(t)。根据PID控制器表达式得到Ve(t)如公式(3),其中Kp、Ki和Kd分别为PID控制器的比例系数、积分系数和微分系数。Step 3: Use the deviation e(t) obtained in Step 2 as the input of the PID controller, and use the output of the PID controller as the Cartesian space velocity Ve (t) of the end effector. According to the expression of the PID controller, V e (t) is obtained as formula (3), where K p , K i and K d are the proportional coefficient, integral coefficient and differential coefficient of the PID controller, respectively.

Figure BDA0002812279050000052
Figure BDA0002812279050000052

机械臂末端执行器具有六个自由度,包括三个位置和三个姿态角,因此末端执行器速度可以表示为Ve(t)=[vx(t),vy(t),vz(t),wx(t),wy(t),wz(t),]T。本发明描述的末端执行器笛卡尔空间速度都是以机械臂基坐标系为参考,下面将对线速度和角速度分别进行分析。The end effector of the robotic arm has six degrees of freedom, including three positions and three attitude angles, so the end effector velocity can be expressed as V e (t)=[v x (t),v y (t),v z (t),w x (t),w y (t),w z (t),] T . The Cartesian space velocity of the end effector described in the present invention is based on the base coordinate system of the manipulator, and the linear velocity and the angular velocity will be analyzed separately below.

(1)将带死区PID控制器计算结果作为机械臂末端执行器速度,x、y和z轴方向上的线速度分别为vx(t),vy(t)和vz(t),表达式为:(1) Taking the calculation result of the PID controller with dead zone as the speed of the end effector of the manipulator, the linear speeds in the x, y and z axis directions are vx(t), vy(t) and vz(t) respectively, the expression for:

Figure BDA0002812279050000061
Figure BDA0002812279050000061

其中ex(t)、ey(t)和ez(t)分别为目标位置与机械臂末端执行器位置在x、y和z轴方向上的偏差,也就是ex(t)=xg(t)-xe(t),ey(t)=yg(t)-ye(t),ez(t)=zg(t)-ze(t)。where e x (t), e y (t) and e z (t) are the deviations between the target position and the position of the end effector of the manipulator in the x, y and z axis directions, that is, e x (t)=x g (t) -xe (t), ey (t)= yg (t) -ye (t), ez (t)= zg (t) -ze (t).

(2)机械臂末端执行器姿态有多种表达方式,包括旋转矩阵、旋转向量、欧拉角和四元数。其中,四元数不仅是紧凑的,而且不具有奇异性,因此本发明基于四元数对末端执行器角速度进行分析。四元数表达式为

Figure BDA0002812279050000062
角速度与四元数的微分存在以下关系:(2) There are various expressions for the pose of the end effector of the manipulator, including rotation matrix, rotation vector, Euler angle and quaternion. Among them, the quaternion is not only compact, but also has no singularity, so the present invention analyzes the angular velocity of the end effector based on the quaternion. The quaternion expression is
Figure BDA0002812279050000062
The angular velocity is related to the differential of the quaternion as follows:

Figure BDA0002812279050000063
Figure BDA0002812279050000063

将四元数偏差经过带死区PID算法得到的结果作为四元数的微分表达式,即:The result obtained by the quaternion deviation through the PID algorithm with dead zone is used as the differential expression of the quaternion, namely:

Figure BDA0002812279050000064
Figure BDA0002812279050000064

其中,eq0(t)、eq1(t)、eq2(t)和eq3(t)分别为目标姿态的qg0(t)、qg1(t)、qg2(t)和qg3(t)分量与实际姿态的qe0(t)、qe1(t)、qe2(t)和qe3(t)分量之间的偏差。Among them, e q0 (t), e q1 (t), e q2 (t) and e q3 (t) are q g0 (t), q g1 (t), q g2 (t) and q g3 of the target pose, respectively Deviation between the (t) component and the q e0 (t), q e1 (t), q e2 (t), and q e3 (t) components of the actual pose.

步骤4:机械臂笛卡尔空间速度无法直接下发至机械臂速度控制器,需要将其转换为关节空间速度,涉及到机械臂瞬时运动学模型,推导过程为:Step 4: The Cartesian space velocity of the manipulator cannot be directly sent to the manipulator speed controller. It needs to be converted into the joint space velocity, which involves the instantaneous kinematics model of the manipulator. The derivation process is as follows:

(1)基于D-H法推导机械臂正运动学模型,在此基础上推导瞬时运动学模型,实现笛卡尔空间速度到关节空间速度的转换。为表述方便将cos函数和sin函数分别简化为c和s,根据D-H参数法可以得到坐标系{i-1}到坐标系{i}的变换矩阵,其齐次坐标表达式为:(1) The forward kinematics model of the manipulator is derived based on the D-H method, and the instantaneous kinematics model is derived on this basis to realize the conversion from Cartesian space velocity to joint space velocity. For the convenience of expression, the cos function and sin function are simplified to c and s respectively. According to the D-H parameter method, the transformation matrix from coordinate system {i-1} to coordinate system {i} can be obtained. The homogeneous coordinate expression is:

Figure BDA0002812279050000071
Figure BDA0002812279050000071

末端执行器的三维位置与姿态可以理解为相对机械臂基坐标系{0}的变换矩阵,即T0 6。根据相邻坐标系之间的关系可以得到末端执行器到基坐标系的转换为:The three-dimensional position and attitude of the end effector can be understood as a transformation matrix relative to the base coordinate system {0} of the manipulator, namely T 0 6 . According to the relationship between adjacent coordinate systems, the conversion from the end effector to the base coordinate system can be obtained as:

T0 6=T0 1T1 2T2 3T3 4T4 5T5 6(8)T 0 6 =T 0 1 T 1 2 T 2 3 T 3 4 T 4 5 T 5 6 (8)

在确定关节位置θi的前提下即可确定机械臂基坐标系{0}下的末端执行器位姿。机械臂末端执行器相对基坐标系{0}的齐次坐标变换矩阵具有公式(9)形式的表达式:On the premise of determining the joint position θ i , the pose of the end effector in the base coordinate system {0} of the manipulator can be determined. The homogeneous coordinate transformation matrix of the end effector of the manipulator relative to the base coordinate system {0} has an expression in the form of formula (9):

Figure BDA0002812279050000072
Figure BDA0002812279050000072

其中,(px,py,pz)表示末端执行器笛卡尔空间中位置,

Figure BDA0002812279050000073
为末端执行器姿态的旋转矩阵。根据公式(7)和公式(8)以及在确定各关节转角的条件下即可确定公式(9)中各元素的表达式。where (p x , p y , p z ) represents the position of the end effector in Cartesian space,
Figure BDA0002812279050000073
is the rotation matrix for the pose of the end effector. The expression of each element in formula (9) can be determined according to formula (7) and formula (8) and under the condition of determining the rotation angle of each joint.

(2)在视觉伺服控制器设计中,将带死区PID算法的计算结果作为末端执行器速度。为实现机械臂控制,需要将笛卡尔空间速度转换为关节空间速度。雅可比矩阵J建立了关节空间速度q到笛卡尔空间速度

Figure BDA0002812279050000074
的映射关系,表达式为:(2) In the design of the visual servo controller, the calculation result of the PID algorithm with dead zone is used as the speed of the end effector. In order to realize the control of the manipulator, it is necessary to convert the Cartesian space velocity to the joint space velocity. The Jacobian matrix J establishes the joint space velocity q to the Cartesian space velocity
Figure BDA0002812279050000074
The mapping relationship of , the expression is:

Figure BDA0002812279050000075
Figure BDA0002812279050000075

通过雅可比矩阵J的伪逆变换可以得到关节空间速度的表达式为

Figure BDA0002812279050000076
因此首先需要确定雅可比矩阵J的表达式。为便于推导,将机械臂雅可比矩阵拆分为两部分,即J=[Jv,Jw]T,其中Jv和Jw分别表示末端执行器线速度和角速度雅可比矩阵。首先对Jv进行推导,在机械臂正运动学模型中(px,py,pz)表示末端执行器位置,对关节空间向量(θ123456)进行微分求导可以得到Jv的表达式如公式(11)所示,根据公式(9)可以得到公式(11)中各元素的表达式。Through the pseudo-inverse transformation of the Jacobian matrix J, the expression of the joint space velocity can be obtained as
Figure BDA0002812279050000076
Therefore, the expression of the Jacobian matrix J needs to be determined first. For the convenience of derivation, the manipulator Jacobian matrix is divided into two parts, namely J=[J v , J w ] T , where J v and J w represent the end effector linear velocity and angular velocity Jacobian matrix, respectively. Firstly, J v is deduced. In the forward kinematics model of the manipulator (p x , p y , p z ) represents the position of the end effector, and the joint space vectors (θ 1 , θ 2 , θ 3 , θ 4 , θ 5 ) represent the position of the end effector. , θ 6 ) can be differentiated to obtain the expression of J v as shown in formula (11), and the expression of each element in formula (11) can be obtained according to formula (9).

Figure BDA0002812279050000077
Figure BDA0002812279050000077

机械臂旋转关节绕自身旋转轴旋转多少度,相应地会引起末端执行器绕这个轴旋转多少度。三维空间中角速度是一个指向旋转轴的向量,机械臂每个旋转关节绕自身Z轴旋转,如果某一旋转轴下关节转速为w,则末端执行器以该旋转轴为基准的单位角速度向量为[0,0,1]。为得到雅可比矩阵角速度部分Jw,需要将各旋转关节参考系变换到基坐标系下,可以得到雅可比矩阵角速度部分J表达式为:How many degrees the manipulator's rotary joint rotates around its own axis of rotation will correspondingly cause the end effector to rotate around this axis. The angular velocity in the three-dimensional space is a vector pointing to the rotation axis. Each rotating joint of the manipulator rotates around its own Z axis. If the joint rotation speed under a certain rotation axis is w, the unit angular velocity vector of the end effector based on the rotation axis is [0,0,1]. In order to obtain the angular velocity part J w of the Jacobian matrix, it is necessary to transform the reference system of each rotary joint into the base coordinate system, and the expression of the angular velocity part J of the Jacobian matrix can be obtained as:

Figure BDA0002812279050000081
Figure BDA0002812279050000081

其中,

Figure BDA0002812279050000082
表示基坐标系到第i个关节坐标系的变换,根据机械臂正运动学模型推导过程,可知
Figure BDA0002812279050000083
为变换矩阵T0 i中第三列前三行所对应的向量,因而得到Jw中各项的表达式。in,
Figure BDA0002812279050000082
Represents the transformation from the base coordinate system to the ith joint coordinate system. According to the derivation process of the forward kinematics model of the manipulator, it can be seen that
Figure BDA0002812279050000083
is the vector corresponding to the first three rows of the third column in the transformation matrix T 0 i , and thus the expressions of the terms in J w are obtained.

结合公式(11)和公式(12)可以得到机械臂雅可比矩阵J,根据公式

Figure BDA0002812279050000084
即可得到笛卡尔空间速度到关节空间速度的变换。Combining formula (11) and formula (12), the manipulator Jacobian matrix J can be obtained, according to the formula
Figure BDA0002812279050000084
The transformation from Cartesian space velocity to joint space velocity can be obtained.

步骤5:由于干扰信息的存在,会导致步骤4获得的关节空间速度发生波动,为实现机械臂的光滑、稳定控制,利用具有良好综合性能的二阶巴特沃斯滤波器对步骤4获得的关节空间速度进行滤波处理。Step 5: Due to the existence of interference information, the joint space velocity obtained in step 4 will fluctuate. In order to achieve smooth and stable control of the manipulator, a second-order Butterworth filter with good comprehensive performance is used for the joint obtained in step 4. The spatial velocity is filtered.

步骤6:将步骤5得到的关节空间速度下发至机械臂速度控制器,实现机械臂位姿的实时控制。Step 6: Send the joint space velocity obtained in Step 5 to the speed controller of the manipulator to realize real-time control of the pose of the manipulator.

步骤7:重复步骤1-6,实现机械臂末端执行器位姿相对目标位姿的精确、稳定、实时调节。Step 7: Repeat steps 1-6 to achieve accurate, stable and real-time adjustment of the pose of the end effector of the robotic arm relative to the target pose.

本发明基于上述带死区的PID控制方法,提出了一种机械臂视觉伺服抓取系统,如图2所示。本发明提出的基于带死区PID控制器的机械臂视觉伺服抓取系统,其硬件组成主要包括主控计算机、机械臂控制柜、六关节机械臂、末端执行器、RGBD相机。主控计算机与RGBD相机连接;机械臂控制柜与主控计算机连接,六关节机械臂与机械臂控制柜连接,末端执行器设置在六关节机械臂的末端,用于实现目标物料的抓取。末端执行器还与机械臂控制柜连接。RGBD相机采集到目标物料的二维图像和深度图像,实时传输到主控计算机;通过主控计算机进行目标物料识别和位姿计算,并将位姿结果转换为以机械臂基坐标系为参考的目标位姿;主控计算机执行带死区的PID控制方法计算,并将计算结果转换为机械臂关节空间的速度信号。速度控制信号发送到机械臂控制柜,进行六关节机械臂的实时控制,同时当机械臂末端执行器到达目标位姿后机械臂控制柜对吸盘装置输出抓取信号,另外机械臂控制柜将六关节机械臂实际位姿反馈到主控计算机,实现机械臂位姿的闭环控制。在一些实施方式中,末端执行器可以选择吸盘装置。Based on the above-mentioned PID control method with dead zone, the present invention proposes a mechanical arm visual servo grasping system, as shown in FIG. 2 . The mechanical arm visual servo grabbing system based on the dead zone PID controller proposed by the present invention mainly includes a main control computer, a mechanical arm control cabinet, a six-joint mechanical arm, an end effector, and an RGBD camera. The main control computer is connected to the RGBD camera; the robotic arm control cabinet is connected to the main control computer, the six-joint robotic arm is connected to the robotic arm control cabinet, and the end effector is set at the end of the six-joint robotic arm to grasp the target material. The end effector is also connected with the robotic arm control cabinet. The RGBD camera collects the two-dimensional image and depth image of the target material, and transmits it to the main control computer in real time; the main control computer performs the target material recognition and pose calculation, and converts the pose result to the base coordinate system of the robot arm as a reference. The target pose; the main control computer performs the calculation of the PID control method with dead zone, and converts the calculation result into the speed signal of the joint space of the manipulator. The speed control signal is sent to the manipulator control cabinet for real-time control of the six-joint manipulator. At the same time, when the manipulator end effector reaches the target pose, the manipulator control cabinet outputs a grasping signal to the suction cup device. The actual pose of the joint manipulator is fed back to the main control computer to realize the closed-loop control of the pose of the manipulator. In some embodiments, the end effector may choose a suction cup arrangement.

相比现有的机械臂控制技术,本发明提出的带死区PID控制器的机械臂视觉伺服抓取系统在实现机械臂位姿精确控制的基础上,通过死区模块可以去除机械臂末端执行器接近目标位姿时由于机械臂控制系统频繁调整引起的“抖动”问题,有利于实现机械臂位姿的稳定控制。同时,为实现机械臂位姿的实时调整,采用机械臂速度控制模式,将带死区PID控制器的输出值作为机械臂末端执行器速度,可以实现目标物料的实时跟踪抓取。Compared with the existing robotic arm control technology, the robotic arm visual servo grasping system with a dead zone PID controller proposed by the present invention realizes the precise control of the robotic arm pose and posture, and the dead zone module can remove the execution of the end of the robotic arm. When the robot approaches the target pose, the "jitter" problem caused by the frequent adjustment of the manipulator control system is beneficial to realize the stable control of the manipulator's pose. At the same time, in order to realize the real-time adjustment of the position and posture of the manipulator, the speed control mode of the manipulator is adopted, and the output value of the PID controller with dead zone is used as the speed of the end effector of the manipulator, which can realize the real-time tracking and grasping of the target material.

以上详细描述了本发明的较佳具体实施例。应当理解,本领域的普通技术无需创造性劳动就可以根据本发明的构思作出诸多修改和变化。因此,凡本技术领域中技术人员依本发明的构思在现有技术的基础上通过逻辑分析、推理或者有限的实验可以得到的技术方案,皆应在由权利要求书所确定的保护范围内。The preferred embodiments of the present invention have been described in detail above. It should be understood that many modifications and changes can be made according to the concept of the present invention by those skilled in the art without creative efforts. Therefore, all technical solutions that can be obtained by those skilled in the art through logical analysis, reasoning or limited experiments on the basis of the prior art according to the concept of the present invention shall fall within the protection scope determined by the claims.

Claims (10)

1.一种带死区的PID控制方法,其特征在于,所述控制方法用于控制机械臂视觉伺服抓取系统,所述控制方法包括:1. a PID control method with dead zone, is characterized in that, described control method is used to control mechanical arm visual servo grasping system, and described control method comprises: 步骤1:计算物体的目标位姿与所述机械臂视觉伺服抓取系统的末端执行器的位姿的偏差;Step 1: Calculate the deviation between the target pose of the object and the pose of the end effector of the robotic arm visual servo grasping system; 步骤2:利用死区模块对所述偏差进行处理;Step 2: use the dead zone module to process the deviation; 步骤3:将所述步骤2得到的偏差作为PID控制器的输入,将所述PID控制器的输出作为所述末端执行器的笛卡尔空间速度;Step 3: take the deviation obtained in the step 2 as the input of the PID controller, and take the output of the PID controller as the Cartesian space velocity of the end effector; 步骤4:将所述步骤3得到的所述笛卡尔空间速度转换为关节空间速度;Step 4: Convert the Cartesian space velocity obtained in the step 3 into joint space velocity; 步骤5:利用二阶巴特沃斯滤波器对所述步骤4得到的所述关节空间速度进行滤波处理;Step 5: use the second-order Butterworth filter to filter the joint space velocity obtained in the step 4; 步骤6:将所述步骤5得到的结果下发至所述机械臂视觉伺服抓取系统的机械臂速度控制器,实现所述机械臂的位姿的实时控制。Step 6: Send the result obtained in Step 5 to the robot arm speed controller of the robot arm visual servo grasping system, so as to realize the real-time control of the pose of the robot arm. 2.如权利要求1所述的带死区的PID控制方法,其特征在于,所述控制方法还包括步骤7:重复所述步骤1至所述步骤6。2 . The PID control method with dead zone according to claim 1 , wherein the control method further comprises step 7 : repeating the step 1 to the step 6 . 3 . 3.如权利要求1所述的带死区的PID控制方法,其特征在于,所述末端执行器的所述笛卡尔空间速度与所述步骤2得到的所述偏差的关系如下:3. The PID control method with dead zone as claimed in claim 1, wherein the relationship between the Cartesian space velocity of the end effector and the deviation obtained in the step 2 is as follows:
Figure FDA0002812279040000011
Figure FDA0002812279040000011
其中,Ve(t)表示所述笛卡尔空间速度,e(t)表示所述步骤2得到的所述偏差,Kp、Ki和Kd分别为所述PID控制器的比例系数、积分系数和微分系数。Wherein, V e (t) represents the Cartesian space velocity, e(t) represents the deviation obtained in the step 2, and K p , K i and K d are the proportional coefficient and integral of the PID controller, respectively. coefficients and differential coefficients.
4.如权利要求3所述的带死区的PID控制方法,其特征在于,所述步骤3包括:4. the PID control method with dead zone as claimed in claim 3, is characterized in that, described step 3 comprises: 将所述笛卡尔空间速度表示为Ve(t)=[vx(t),vy(t),vz(t),wx(t),wy(t),wz(t),]T,其中,vx(t),vy(t)和vz(t)分别表示所述末端执行器在x、y和z轴方向上的线速度,ωx(t),ωy(t)和ωz(t)分别表示所述末端执行器在x、y和z轴方向上的角速度;Denote the Cartesian space velocity as V e (t) = [v x (t), v y (t), v z (t), w x (t), w y (t), w z (t ),] T , where v x (t), v y (t) and v z (t) represent the linear velocity of the end effector in the x, y and z-axis directions, respectively, ω x (t), ω y (t) and ω z (t) represent the angular velocities of the end effector in the directions of the x, y and z axes, respectively; 所述步骤2得到的所述偏差与所述vx(t),vy(t)和vz(t)的关系如下:The relationship between the deviation obtained in the step 2 and the v x (t), v y (t) and v z (t) is as follows:
Figure FDA0002812279040000012
Figure FDA0002812279040000012
其中,ex(t)、ey(t)和ez(t)分别为所述物体的位置与所述末端执行器的位置在x、y和z轴方向上的偏差,其中,ex(t)=xg(t)-xe(t),ey(t)=yg(t)-ye(t),ez(t)=zg(t)-ze(t),xg(t)、yg(t)和zg(t)分别表示所述物体在x、y和z轴方向上的位置,xe(t)、ye(t)和ze(t)分别表示所述末端执行器在x、y和z轴方向上的位置;where e x (t), e y (t) and e z (t) are the deviations between the position of the object and the position of the end effector in the x, y and z axis directions, respectively, where e x (t)=x g (t)-x e (t), e y (t)=y g (t)-y e (t), e z (t)=z g (t)-z e (t ), x g (t), y g (t) and z g (t) represent the position of the object in the x, y and z axis directions, respectively, x e (t), y e (t) and z e (t) represents the position of the end effector in the x, y and z axis directions, respectively; 所述角速度采用四元数进行表达,所述角速度与所述四元数的关系如下:The angular velocity is expressed by a quaternion, and the relationship between the angular velocity and the quaternion is as follows:
Figure FDA0002812279040000021
Figure FDA0002812279040000021
将公式(3)经过所述步骤2得到的结果作为所述四元数的微分表达式如下:Taking the result obtained by formula (3) through the step 2 as the differential expression of the quaternion as follows:
Figure FDA0002812279040000022
Figure FDA0002812279040000022
其中,eq0(t)、eq1(t)、eq2(t)和eq3(t)分别为目标姿态的qg0(t)、qg1(t)、qg2(t)和qg3(t)分量与实际姿态的qe0(t)、qe1(t)、qe2(t)和qe3(t)分量之间的偏差。Among them, e q0 (t), e q1 (t), e q2 (t) and e q3 (t) are q g0 (t), q g1 (t), q g2 (t) and q g3 of the target pose, respectively Deviation between the (t) component and the q e0 (t), q e1 (t), q e2 (t), and q e3 (t) components of the actual pose.
5.如权利要求4所述的带死区的PID控制方法,其特征在于,所述步骤4包括如下步骤:5. the PID control method with dead zone as claimed in claim 4, is characterized in that, described step 4 comprises the steps: 基于D-H法推导所述机械臂的正运动学模型;Derive the forward kinematics model of the robotic arm based on the D-H method; 确定所述末端执行器的线速度雅可比矩阵和角速度雅可比矩阵,进而得到所述机械臂的雅可比矩阵;determining the linear velocity Jacobian matrix and the angular velocity Jacobian matrix of the end effector, and then obtaining the Jacobian matrix of the robotic arm; 根据所述机械臂的所述雅可比矩阵得到所述笛卡尔空间速度到所述关节空间速度的变换。The transformation from the Cartesian space velocity to the joint space velocity is obtained according to the Jacobian matrix of the robotic arm. 6.如权利要求5所述的带死区的PID控制方法,其特征在于,基于所述D-H法推导所述机械臂的所述正运动学模型的过程如下:6. The PID control method with dead zone as claimed in claim 5, wherein the process of deriving the forward kinematics model of the robotic arm based on the D-H method is as follows: 根据所述D-H法得到坐标系{i-1}到坐标系{i}的变换矩阵,其齐次坐标表达式为:According to the D-H method, the transformation matrix from coordinate system {i-1} to coordinate system {i} is obtained, and its homogeneous coordinate expression is:
Figure FDA0002812279040000023
Figure FDA0002812279040000023
其中,c表示cos函数,s表示sin函数;Among them, c represents the cos function, and s represents the sin function; 所述末端执行器的三维位置与姿态相对机械臂基坐标系{0}的变换矩阵T0 6表示为:The three - dimensional position and attitude of the end effector is expressed as :
Figure FDA0002812279040000024
Figure FDA0002812279040000024
所述末端执行器相对所述机械臂基坐标系{0}的齐次坐标变换矩阵T0 6的表达式如下:The expression of the homogeneous coordinate transformation matrix T 0 6 of the end effector relative to the manipulator base coordinate system {0} is as follows:
Figure FDA0002812279040000025
Figure FDA0002812279040000025
其中,(px,py,pz)表示所述末端执行器在笛卡尔空间中的位置,
Figure FDA0002812279040000031
为所述末端执行器姿态的旋转矩阵。
where (p x , p y , p z ) represents the position of the end effector in Cartesian space,
Figure FDA0002812279040000031
is the rotation matrix of the end effector pose.
7.如权利要求6所述的带死区的PID控制方法,其特征在于,所述线速度雅可比矩阵的计算为:对关节空间向量(θ123456)进行微分求导可以得到所述线速度雅可比矩阵的表达式,如下所示:7. The PID control method with dead zone as claimed in claim 6, wherein the calculation of the linear velocity Jacobian matrix is: for joint space vectors (θ 1 , θ 2 , θ 3 , θ 4 , θ 5 , θ 6 ) to perform differential derivation to obtain the expression of the linear velocity Jacobian matrix, as follows:
Figure FDA0002812279040000032
Figure FDA0002812279040000032
其中,Jv表示所述线速度雅可比矩阵;Wherein, J v represents the linear velocity Jacobian matrix; 根据公式(7)得到公式(8)中各元素的表达式。The expression of each element in formula (8) is obtained according to formula (7).
8.如权利要求6所述的带死区的PID控制方法,其特征在于,所述角速度雅可比矩阵的表达式如下:8. the PID control method with dead zone as claimed in claim 6, is characterized in that, the expression of described angular velocity Jacobian matrix is as follows:
Figure FDA0002812279040000033
Figure FDA0002812279040000033
其中,Jw表示所述角速度雅可比矩阵,
Figure FDA0002812279040000034
表示基坐标系到第i个关节坐标系的变换,
Figure FDA0002812279040000035
为所述变换矩阵
Figure FDA0002812279040000036
中第三列前三行所对应的向量。
where J w represents the angular velocity Jacobian matrix,
Figure FDA0002812279040000034
Represents the transformation from the base coordinate system to the ith joint coordinate system,
Figure FDA0002812279040000035
for the transformation matrix
Figure FDA0002812279040000036
The vector corresponding to the first three rows of the third column in .
9.一种机械臂视觉伺服控制系统,其特征在于,包括主控计算机、机械臂控制柜、六关节机械臂、末端执行器和RGBD相机;9. A visual servo control system for a robotic arm, comprising a main control computer, a robotic arm control cabinet, a six-joint robotic arm, an end effector and an RGBD camera; 所述主控计算机与所述RGBD相机连接;所述机械臂控制柜与所述主控计算机连接,所述六关节机械臂与所述机械臂控制柜连接,所述末端执行器设置在所述六关节机械臂的末端,所述末端执行器与所述机械臂控制柜连接;The main control computer is connected with the RGBD camera; the robotic arm control cabinet is connected with the main control computer, the six-joint robotic arm is connected with the robotic arm control cabinet, and the end effector is arranged on the The end of the six-joint robotic arm, the end effector is connected to the control cabinet of the robotic arm; 其中,所述RGBD相机被配置为能够采集目标物体的图像并传输至所述主控计算机;所述主控计算机被配置为能够执行如权利要求1-8任一项所述的控制方法,并将执行结果转换为机械臂关节空间的速度信号,并将所述速度信号发送至所述机械臂控制柜;所述机械臂控制柜被配置为根据所述速度信号控制所述六关节机械臂,使所述末端执行器到达目标位姿,然后控制所述末端执行器抓取所述物体,以及将所述末端执行器的实际位姿反馈至所述主控计算机。Wherein, the RGBD camera is configured to be able to capture the image of the target object and transmit it to the main control computer; the main control computer is configured to be able to execute the control method according to any one of claims 1-8, and Converting the execution result into a speed signal in the joint space of the manipulator, and sending the speed signal to the manipulator control cabinet; the manipulator control cabinet is configured to control the six-joint manipulator according to the speed signal, The end effector is made to reach the target pose, and then the end effector is controlled to grab the object, and the actual pose of the end effector is fed back to the main control computer. 10.如权利要求9所述的机械臂视觉伺服控制系统,其特征在于,所述末端执行器为吸取装置。10 . The visual servo control system for a robotic arm according to claim 9 , wherein the end effector is a suction device. 11 .
CN202011400173.4A 2020-12-02 2020-12-02 PID control method with dead zone and mechanical arm visual servo grabbing system Pending CN112621746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011400173.4A CN112621746A (en) 2020-12-02 2020-12-02 PID control method with dead zone and mechanical arm visual servo grabbing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011400173.4A CN112621746A (en) 2020-12-02 2020-12-02 PID control method with dead zone and mechanical arm visual servo grabbing system

Publications (1)

Publication Number Publication Date
CN112621746A true CN112621746A (en) 2021-04-09

Family

ID=75308324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011400173.4A Pending CN112621746A (en) 2020-12-02 2020-12-02 PID control method with dead zone and mechanical arm visual servo grabbing system

Country Status (1)

Country Link
CN (1) CN112621746A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113117943A (en) * 2021-04-30 2021-07-16 泉州华中科技大学智能制造研究院 Robot spraying method and device for shoe material spraying
CN113814985A (en) * 2021-10-29 2021-12-21 遨博(北京)智能科技有限公司 Robot control method, control cabinet and system
CN114161399A (en) * 2021-12-20 2022-03-11 大连理工大学 A real-time tracking control method for a Cartesian space moving target of a six-degree-of-freedom manipulator
CN116512237A (en) * 2022-11-28 2023-08-01 广东建石科技有限公司 Industrial robot vision servo method, device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60189412A (en) * 1984-03-09 1985-09-26 Star Seiki:Kk Automatic removing device of injection molded article
CN105676880A (en) * 2016-01-13 2016-06-15 零度智控(北京)智能科技有限公司 Control method and system of holder camera device
CN106502162A (en) * 2016-11-30 2017-03-15 北京理工大学 A kind of automatic Control Theory Experiment teaching system based on portable mechanical arm
CN107856029A (en) * 2017-11-29 2018-03-30 长春工业大学 A kind of electro-hydraulic combination drive industrial machinery arm configuration and control system
CN108121215A (en) * 2017-09-12 2018-06-05 山东科技大学 Process control loops method of evaluating performance and device based on full loop reconstruct emulation
CN108372130A (en) * 2018-03-20 2018-08-07 华南理工大学 A kind of target locating, sorting system and its implementation based on FPGA image procossings
CN109782764A (en) * 2019-01-21 2019-05-21 湖北汽车工业学院 An intelligent solar energy unmanned logistics distribution system, control method and distribution vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60189412A (en) * 1984-03-09 1985-09-26 Star Seiki:Kk Automatic removing device of injection molded article
CN105676880A (en) * 2016-01-13 2016-06-15 零度智控(北京)智能科技有限公司 Control method and system of holder camera device
CN106502162A (en) * 2016-11-30 2017-03-15 北京理工大学 A kind of automatic Control Theory Experiment teaching system based on portable mechanical arm
CN108121215A (en) * 2017-09-12 2018-06-05 山东科技大学 Process control loops method of evaluating performance and device based on full loop reconstruct emulation
CN107856029A (en) * 2017-11-29 2018-03-30 长春工业大学 A kind of electro-hydraulic combination drive industrial machinery arm configuration and control system
CN108372130A (en) * 2018-03-20 2018-08-07 华南理工大学 A kind of target locating, sorting system and its implementation based on FPGA image procossings
CN109782764A (en) * 2019-01-21 2019-05-21 湖北汽车工业学院 An intelligent solar energy unmanned logistics distribution system, control method and distribution vehicle

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张成宇: "基于视觉伺服的机器人控制研究", 《中国硕士学位论文全文数据库(电子期刊)信息科技辑》 *
朱 枫等: "跟踪微分器在陀螺信号去噪方面的应用", 《中国光学》 *
谭元捷: "基于视觉伺服的移动机械臂抓取研究", 《中国硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113117943A (en) * 2021-04-30 2021-07-16 泉州华中科技大学智能制造研究院 Robot spraying method and device for shoe material spraying
CN113814985A (en) * 2021-10-29 2021-12-21 遨博(北京)智能科技有限公司 Robot control method, control cabinet and system
CN114161399A (en) * 2021-12-20 2022-03-11 大连理工大学 A real-time tracking control method for a Cartesian space moving target of a six-degree-of-freedom manipulator
CN114161399B (en) * 2021-12-20 2023-08-18 大连理工大学 A real-time tracking control method for a six-degree-of-freedom manipulator in Cartesian space
CN116512237A (en) * 2022-11-28 2023-08-01 广东建石科技有限公司 Industrial robot vision servo method, device, electronic equipment and storage medium
CN116512237B (en) * 2022-11-28 2023-09-19 广东建石科技有限公司 Industrial robot vision servo method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP2698660B2 (en) Manipulator control method and control device, and manipulator device
CN112621746A (en) PID control method with dead zone and mechanical arm visual servo grabbing system
CN111546315B (en) Robot flexible teaching and reproducing method based on human-computer cooperation
Wilson et al. Relative end-effector control using cartesian position based visual servoing
Spong et al. Robot modeling and control
Zhang et al. Acceleration-level pseudo-dynamic visual servoing of mobile robots with backstepping and dynamic surface control
CN107214702B (en) Planning method and system for determining robot track by using virtual reality handle
JP5114019B2 (en) Method for controlling the trajectory of an effector
Baeten et al. Hybrid vision/force control at corners in planar robotic-contour following
CN111230873B (en) Teaching learning-based collaborative handling control system and method
CN112894812A (en) Visual servo trajectory tracking control method and system for mechanical arm
CN114378827A (en) Dynamic target tracking and grabbing method based on overall control of mobile mechanical arm
CN111258267A (en) Man-machine cooperation carrying system and hybrid vision control method thereof
Luo et al. Repulsive reaction vector generator for whole-arm collision avoidance of 7-DoF redundant robot manipulator
Sharma et al. On the observability of robot motion under active camera control
Han et al. Grasping control method of manipulator based on binocular vision combining target detection and trajectory planning
Tongloy et al. An image-based visual servo control system based on an eye-in-hand monocular camera for autonomous robotic grasping
CN115366115B (en) Mechanical arm control method and control system thereof and computer readable storage medium
Vahrenkamp et al. Planning and execution of grasping motions on a humanoid robot
CN116652962A (en) An Object Grasping Method Based on Visual Feedback Control
Negishi et al. Operation assistance using visual feedback with considering human intention on master-slave systems
Guangyao et al. Visual servo control of omnidirectional mobile manipulator
Bae et al. A dynamic visual servoing of robot manipulator with eye-in-hand camera
Mut et al. Tracking adaptive impedance robot control with visual feedback
CN116100562B (en) Visual guiding method and system for multi-robot cooperative feeding and discharging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210409

RJ01 Rejection of invention patent application after publication