CN118438312A - A remote operation method for a polishing robot - Google Patents
A remote operation method for a polishing robot Download PDFInfo
- Publication number
- CN118438312A CN118438312A CN202410636820.3A CN202410636820A CN118438312A CN 118438312 A CN118438312 A CN 118438312A CN 202410636820 A CN202410636820 A CN 202410636820A CN 118438312 A CN118438312 A CN 118438312A
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- point
- robot
- robot arm
- force
- 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.)
- Granted
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B24—GRINDING; POLISHING
- B24B—MACHINES, DEVICES, OR PROCESSES FOR GRINDING OR POLISHING; DRESSING OR CONDITIONING OF ABRADING SURFACES; FEEDING OF GRINDING, POLISHING, OR LAPPING AGENTS
- B24B27/00—Other grinding machines or devices
- B24B27/0084—Other grinding machines or devices the grinding wheel support being angularly adjustable
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B24—GRINDING; POLISHING
- B24B—MACHINES, DEVICES, OR PROCESSES FOR GRINDING OR POLISHING; DRESSING OR CONDITIONING OF ABRADING SURFACES; FEEDING OF GRINDING, POLISHING, OR LAPPING AGENTS
- B24B1/00—Processes of grinding or polishing; Use of auxiliary equipment in connection with such processes
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B24—GRINDING; POLISHING
- B24B—MACHINES, DEVICES, OR PROCESSES FOR GRINDING OR POLISHING; DRESSING OR CONDITIONING OF ABRADING SURFACES; FEEDING OF GRINDING, POLISHING, OR LAPPING AGENTS
- B24B49/00—Measuring or gauging equipment for controlling the feed movement of the grinding tool or work; Arrangements of indicating or measuring equipment, e.g. for indicating the start of the grinding operation
- B24B49/16—Measuring or gauging equipment for controlling the feed movement of the grinding tool or work; Arrangements of indicating or measuring equipment, e.g. for indicating the start of the grinding operation taking regard of the load
- B24B49/165—Measuring or gauging equipment for controlling the feed movement of the grinding tool or work; Arrangements of indicating or measuring equipment, e.g. for indicating the start of the grinding operation taking regard of the load for grinding tyres
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J11/00—Manipulators not otherwise provided for
- B25J11/005—Manipulators for mechanical processing tasks
- B25J11/0065—Polishing or grinding
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
- B25J19/02—Sensing devices
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Robotics (AREA)
- Manipulator (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及机器人运动控制,具体涉及一种打磨机器人遥操作方法。The invention relates to robot motion control, and in particular to a remote operation method for a polishing robot.
背景技术Background technique
传统的打磨机器人控制方法采用预编程或者手柄控制,对于待打磨的物体,当进行打磨作业时,由于物体在前序加工过程中产生的形状位置存在不确定性,不能通过机器人传统的示教功能完成,需要有操作人员的参与。人工成本在不断增长,同时打磨环境中存在的大量粉尘会危害操作人员健康。采用遥操作设备对机器人进行远程控制,作业人员可以安全地参与到机器人打磨作业中。CN114643576A公开的一种基于虚拟力引导的人机协同目标抓取方法,使用虚拟力场进行避障,并构建力场产生趋近任务的引导,但是其引导方式效率较低,并且引导内容只包含位置引导,未实现机械臂姿态引导。The traditional control method of the polishing robot adopts pre-programming or handle control. For the object to be polished, when the polishing operation is carried out, due to the uncertainty of the shape and position of the object generated in the previous processing process, it cannot be completed through the traditional teaching function of the robot, and the participation of the operator is required. Labor costs are constantly increasing, and the large amount of dust in the polishing environment will endanger the health of the operator. The robot is remotely controlled by a teleoperation device, and the operator can safely participate in the robot polishing operation. CN114643576A discloses a human-machine collaborative target grasping method based on virtual force guidance, which uses a virtual force field for obstacle avoidance and constructs a force field to generate guidance for approaching tasks, but its guidance method is less efficient, and the guidance content only includes position guidance, and the robot arm posture guidance is not realized.
发明内容Summary of the invention
发明目的:本发明的目的是提供一种位置引导效率高的打磨机器人遥操作方法。Purpose of the invention: The purpose of the present invention is to provide a remote operation method for a grinding robot with high position guidance efficiency.
技术方案:本发明所述的打磨机器人遥操作方法,所述打磨机器人为末端带有六维力传感器的机械臂,通过力反馈主手控制并实现力反馈;所述遥操作方法包括:Technical solution: The remote operation method of the polishing robot described in the present invention, the polishing robot is a mechanical arm with a six-dimensional force sensor at the end, and the force feedback is achieved through force feedback master control; the remote operation method includes:
(1)建立包括打磨机器人、待打磨物体和周边环境的虚拟空间,虚拟空间通过VR眼镜实现视觉反馈;对六维力传感器进行重力补偿,对力反馈主手与机械臂进行坐标转换与工作空间匹配,实现力反馈主手对机械臂的移动操作;(1) Establish a virtual space including the polishing robot, the object to be polished, and the surrounding environment. The virtual space realizes visual feedback through VR glasses; performs gravity compensation on the six-dimensional force sensor, performs coordinate transformation and workspace matching on the force feedback master hand and the robotic arm, and realizes the movement operation of the force feedback master hand on the robotic arm;
(2)确定待打磨物体表面的打磨目标点在虚拟空间中的位置;(2) determining the position of the grinding target point on the surface of the object to be ground in the virtual space;
(3)计算机械臂末端点与打磨目标点之间的距离,若距离大于距离阀值,则执行步骤(4),否则执行步骤(5);(3) Calculate the distance between the end point of the robot arm and the grinding target point. If the distance is greater than the distance threshold, execute step (4); otherwise, execute step (5);
(4)构建圆柱形通道生成距离优先的虚拟力引导,当机械臂末端点的位置在圆柱形引导通道内,不进行力反馈;当机械臂末端点超出圆柱形引导通道,生成虚拟力引导,方向为圆柱形引导通道距离机械臂末端点最近的点;然后返回步骤(3);(4) Construct a virtual force guide with distance priority in the cylindrical channel. When the end point of the robot arm is within the cylindrical guide channel, no force feedback is performed. When the end point of the robot arm exceeds the cylindrical guide channel, a virtual force guide is generated in the direction of the point in the cylindrical guide channel closest to the end point of the robot arm. Then return to step (3).
(5)构建漏斗形通道生成精度优先的虚拟力引导,若机械臂末端点在漏斗型通道内,根据机械臂末端点位置生成向中轴线与打磨目标点的虚拟力引导,所述中轴线为机械臂末端点与打磨目标点之间的连线;然后返回步骤(3);(5) constructing a virtual force guide with a priority on the accuracy of the funnel-shaped channel generation. If the end point of the robot arm is in the funnel-shaped channel, generate a virtual force guide toward the central axis and the polishing target point according to the position of the end point of the robot arm, wherein the central axis is the line connecting the end point of the robot arm and the polishing target point; then return to step (3);
(6)循环执行步骤(3)至(5),直至到达打磨目标点位置。(6) Repeat steps (3) to (5) until the grinding target point is reached.
进一步地,步骤(1)中,所述对六维力传感器进行重力补偿,包括:Furthermore, in step (1), performing gravity compensation on the six-dimensional force sensor includes:
测量六维力传感器在不同姿态下的数值,计算六维力传感器的工具重力以及质心点的位置:Measure the values of the six-dimensional force sensor in different postures, and calculate the tool gravity and the position of the center of mass of the six-dimensional force sensor:
其中,G为工具重力;Lx、Ly、Lz为质心点在传感器坐标系下的坐标位置,F为测量的轴向力,T为测量的力矩。Wherein, G is the tool gravity; L x , Ly , L z are the coordinate positions of the center of mass in the sensor coordinate system, F is the measured axial force, and T is the measured torque.
进一步地,步骤(2)包括:以待打磨物体底面已知的三个角点O、A和B建立平面坐标系,以OA方向为X轴,OB方向为Y轴;再以垂直于OAB并且朝向打磨目标点P的方向为Z轴,建立空间坐标系;将P点沿Y轴负方向平移至边界线,设为P′点,PP′的连线即为Y轴的坐标;对P′点沿着Z轴负方向作至OA的连线,即为P点在坐标系上Z轴的坐标;O点与连线的距离为X轴的坐标;由此获取P点相对于O点的坐标位置(Px,Py,Pz)。Furthermore, step (2) includes: establishing a plane coordinate system with three known corner points O, A and B on the bottom surface of the object to be polished, with the OA direction as the X-axis and the OB direction as the Y-axis; then establishing a space coordinate system with the direction perpendicular to OAB and toward the polishing target point P as the Z-axis; translating point P along the negative direction of the Y-axis to the boundary line, set as point P′, and the line connecting PP′ is the coordinate of the Y-axis; drawing a line from point P′ to OA along the negative direction of the Z-axis, which is the coordinate of point P on the Z-axis in the coordinate system; the distance between point O and the line is the coordinate of the X-axis; thereby obtaining the coordinate position of point P relative to point O (Px, Py, Pz).
进一步地,步骤(3)中,所述距离阀值取机械臂臂长的10%。Furthermore, in step (3), the distance threshold is 10% of the length of the robotic arm.
进一步地,步骤(4)中,圆柱形引导通道在虚拟空间中根据机械臂末端点坐标为起点、打磨目标点坐标作为终点生成;Further, in step (4), a cylindrical guide channel is generated in the virtual space based on the coordinates of the end point of the robot arm as the starting point and the coordinates of the grinding target point as the end point;
圆柱形引导通道的虚拟力Fd计算公式为:The calculation formula of the virtual force Fd of the cylindrical guide channel is:
Fd=kdδ(Xd)F d = k d δ(X d )
δ(Xd)=Xd-D(Xd)δ(X d )=X d −D(X d )
其中,Fd为引导力矢量,kd为力反馈的反馈系数;δ(Xd)为矢量,方向为机械臂末端点指向圆柱型引导通道轴线,大小为机械臂末端点到圆柱形引导通道轴线的距离;rd为圆柱形引导通道的半径;Xd表示机械臂末端点在虚拟空间中的坐标,D(Xd)表示引导路径上距离机械臂末端点最近的点;a为大于0的值。Wherein, Fd is the guiding force vector, kd is the feedback coefficient of force feedback; δ( Xd ) is a vector, the direction of which is from the end point of the robot arm to the axis of the cylindrical guiding channel, and the magnitude is the distance from the end point of the robot arm to the axis of the cylindrical guiding channel; rd is the radius of the cylindrical guiding channel; Xd represents the coordinate of the end point of the robot arm in the virtual space, D( Xd ) represents the point on the guiding path that is closest to the end point of the robot arm; a is a value greater than 0.
进一步地,步骤(5)中,漏斗形引导通道以机械臂末端点与打磨目标点之间的连线作为中轴线、距离作为高生成,其中打磨目标点作为顶面,机械臂末端点作为底面;Further, in step (5), the funnel-shaped guide channel is generated with the line between the end point of the robot arm and the grinding target point as the central axis and the distance as the height, wherein the grinding target point is the top surface and the end point of the robot arm is the bottom surface;
漏斗形引导通道的虚拟力Ff计算公式为:The calculation formula of the virtual force Ff of the funnel-shaped guide channel is:
Ff=Fsin+Fcos=ksinδsin(Xf)+kcosδcos(Xf)F f =F sin +F cos =k sin δ sin (X f )+k cos δ cos (X f )
Fsin为机械臂末端在漏斗范围内力反馈正弦分量的力,Fcos为机械臂末端在漏斗范围内力反馈余弦分量的力,ksin为机械臂末端在漏斗范围内力反馈正弦分量的反馈系数,kcos为机械臂末端在漏斗范围内力反馈余弦分量的反馈系数;δsin(Xf)为机械臂末端点指向漏斗轴线的矢量;δcos(Xf)机械臂末端点平行于漏斗轴线的矢量;Xf为机械臂末端点位置。F sin is the force of the sine component of the force feedback at the end of the robotic arm within the funnel range, F cos is the force of the cosine component of the force feedback at the end of the robotic arm within the funnel range, k sin is the feedback coefficient of the sine component of the force feedback at the end of the robotic arm within the funnel range, k cos is the feedback coefficient of the cosine component of the force feedback at the end of the robotic arm within the funnel range; δ sin (X f ) is the vector pointing to the axis of the funnel from the end point of the robotic arm; δ cos (X f ) is the vector parallel to the axis of the funnel from the end point of the robotic arm; X f is the position of the end point of the robotic arm.
进一步地,步骤(5)中,判断机械臂末端点在漏斗型通道内的方法为:Furthermore, in step (5), the method for determining whether the end point of the robot arm is within the funnel-shaped channel is:
获取机械臂末端点指向漏斗轴线的矢量δsin(Xf)和机械臂末端点指向打磨目标点的矢量δ(Xf);Obtain the vector δ sin (X f ) from the end point of the robot arm to the funnel axis and the vector δ (X f ) from the end point of the robot arm to the polishing target point;
通过|δsin(Xf)|/δ(Xf)计算出机械臂当前点与打磨目标点的连线与漏斗中轴线之间的夹角正弦值,若计算出的正弦值小于sinα,并且|δsin(Xf)|<rf,则判断机械臂末端点Xf在漏斗范围内;α为漏斗张角,rf为漏斗底部的半径。The sine value of the angle between the line connecting the current point of the robot arm and the grinding target point and the central axis of the funnel is calculated by |δ sin (X f )|/δ(X f ). If the calculated sine value is less than sinα and |δ sin (X f )|<r f , it is judged that the end point X f of the robot arm is within the range of the funnel; α is the funnel opening angle, and r f is the radius of the bottom of the funnel.
进一步地,所述的打磨机器人遥操作方法还包括:Furthermore, the polishing robot remote operation method also includes:
(7)确定打磨目标点处的法线;(7) Determine the normal line at the polishing target point;
(8)对法线姿态的欧拉角进行坐标系转换,先将虚拟空间坐标系转换为过渡坐标系,再将过渡坐标系转换为机器人坐标系;采用四元数运算以避免欧拉角的万向锁问题,先计算将虚拟空间坐标系的欧拉角转换为过渡坐标系所需的四元数,再计算过渡坐标系旋转为机器人坐标系的四元数,将两个四元数相乘,得到虚拟空间中欧拉角转换为机器人坐标系欧拉角所需的旋转变换;(8) Perform coordinate system conversion on the Euler angles of the normal posture, first convert the virtual space coordinate system into the transition coordinate system, and then convert the transition coordinate system into the robot coordinate system; use quaternion operation to avoid the universal lock problem of Euler angles, first calculate the quaternion required to convert the Euler angles of the virtual space coordinate system into the transition coordinate system, then calculate the quaternion of the transition coordinate system rotated into the robot coordinate system, multiply the two quaternions, and obtain the rotation transformation required to convert the Euler angles in the virtual space into the Euler angles in the robot coordinate system;
(9)虚拟力反馈引导姿态,获取机械臂当前姿态,将法线姿态减去机械臂姿态,计算出两者之间姿态的差值;根据差值生成靠近目标姿态的虚拟力引导。(9) Virtual force feedback guides the posture, obtains the current posture of the robot arm, subtracts the normal posture from the robot arm posture, and calculates the difference between the two postures; based on the difference, generates a virtual force guidance close to the target posture.
进一步地,步骤(7)包括:在虚拟空间中选择待打磨物体模型上距离打磨目标点处最近的顶点作为基础顶点a,获取与该基础顶点a构成三角形的其他两个点b、c;将b、c点的坐标分别减去基础顶点a的坐标,获得两个矢量Side1和Side2;将两个矢量进行叉积,获取垂直于两个矢量的第三矢量η,该第三矢量η的方向即为打磨目标点处的法线方向。Furthermore, step (7) includes: selecting the vertex on the model of the object to be polished in the virtual space that is closest to the polishing target point as the basic vertex a, and obtaining the other two points b and c that form a triangle with the basic vertex a; subtracting the coordinates of the basic vertex a from the coordinates of points b and c respectively to obtain two vectors Side1 and Side2; performing a cross product on the two vectors to obtain a third vector η that is perpendicular to the two vectors, and the direction of the third vector η is the normal direction at the polishing target point.
进一步地,步骤(8)包括:计算将虚拟空间坐标系的欧拉角转换为过渡坐标系所需的四元数qmid:Furthermore, step (8) includes: calculating the quaternion q mid required to transform the Euler angle of the virtual space coordinate system into the transition coordinate system:
qmid=qz*qy*qxq mid = qz*qy*qx
其中,(eulerx,eulery,eulerz)为虚拟空间坐标系中的欧拉角;Among them, (eulerx, eulery, eulerz) is the Euler angle in the virtual space coordinate system;
计算过渡坐标系旋转为机器人坐标系的四元数qsec:Calculate the quaternion q sec of the transition coordinate system rotation to the robot coordinate system:
从虚拟空间坐标系到机器人坐标系需要进行的旋转变换为:qend=qmid*qsec。The rotation transformation required from the virtual space coordinate system to the robot coordinate system is: q end =q mid *q sec .
本发明除了具有位置引导,还具有姿态引导,能够实现更加精确的辅助遥操作过程,显著改善作业精度与效率。In addition to position guidance, the present invention also has posture guidance, which can achieve a more accurate auxiliary remote operation process and significantly improve the operation accuracy and efficiency.
有益效果:本发明与现有技术相比,具有如下显著优点:Beneficial effects: Compared with the prior art, the present invention has the following significant advantages:
(1)遥操作过程中带有位置引导,相对于传统的引导方法,兼顾了移动效率与移动精度,引导效率更高,能够减轻操作人员的负担。(1) The remote operation process is accompanied by position guidance. Compared with the traditional guidance method, it takes into account both movement efficiency and movement accuracy, has higher guidance efficiency, and can reduce the burden on operators.
(2)使用力反馈主手与六维力传感器可以实现实时操控机械臂的位置、姿态,并实现在对物体打磨时的触觉感知,操作过程更加符合人类习惯,提高了操作效率。(2) The use of force feedback master hand and six-dimensional force sensor can realize real-time control of the position and posture of the robotic arm, and realize tactile perception when grinding objects. The operation process is more in line with human habits and improves operation efficiency.
(3)使用虚拟空间对工作空间进行立体视觉感知,使操作时具有沉浸感。(3) Use virtual space to provide stereoscopic visual perception of the workspace, making the operation immersive.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是打磨机器人遥操作系统的结构示意图;FIG1 is a schematic diagram of the structure of a polishing robot teleoperation system;
图2是六维力传感器标定姿态图;FIG2 is a six-dimensional force sensor calibration posture diagram;
图3是工作空间匹配及坐标转换示意图;FIG3 is a schematic diagram of workspace matching and coordinate conversion;
图4是打磨目标点定位示意图;FIG4 is a schematic diagram of positioning the polishing target point;
图5是位置引导流程图;FIG5 is a flow chart of location guidance;
图6是位置引导示意图,其中图6(a)为引导通道示意图,图6(b)为圆柱型引导示意图,图6(c)为漏斗型引导示意图;FIG6 is a schematic diagram of position guidance, wherein FIG6(a) is a schematic diagram of a guidance channel, FIG6(b) is a schematic diagram of a cylindrical guidance, and FIG6(c) is a schematic diagram of a funnel guidance;
图7是漏斗形引导通道中机械臂末端点位置判断示意图;FIG7 is a schematic diagram of determining the position of the end point of the robot arm in the funnel-shaped guide channel;
图8是模型表面法向矢量计算原理图;FIG8 is a schematic diagram showing the calculation principle of the normal vector of the model surface;
图9是虚拟空间坐标系与机器人坐标系示意图;FIG9 is a schematic diagram of a virtual space coordinate system and a robot coordinate system;
图10是虚拟空间坐标系到机器人坐标系转换过程示意图;FIG10 is a schematic diagram of the conversion process from the virtual space coordinate system to the robot coordinate system;
图11是姿态引导示意图。FIG11 is a schematic diagram of posture guidance.
具体实施方式Detailed ways
下面结合附图对本发明做进一步说明。The present invention will be further described below in conjunction with the accompanying drawings.
本发明实施例提供一种打磨机器人遥操作方法,其基于打磨机器人遥操作系统实现位置引导与姿态引导。An embodiment of the present invention provides a polishing robot teleoperation method, which realizes position guidance and posture guidance based on the polishing robot teleoperation system.
如图1所示,打磨机器人为末端带有六维力传感器的机械臂,打磨机器人遥操作系统包括力反馈主手、上位机、VR眼镜和双目相机。力反馈主手采用六维触觉力输入输出设备,机械臂采用六关节协作机器人,均为现有技术。力反馈主手用于控制机械臂的运动,六维力传感器用于感知机械臂末端接触力并将接触力反馈至力反馈主手。As shown in Figure 1, the polishing robot is a robotic arm with a six-dimensional force sensor at the end. The remote control system of the polishing robot includes a force feedback master hand, a host computer, VR glasses and a binocular camera. The force feedback master hand adopts a six-dimensional tactile force input and output device, and the robotic arm adopts a six-joint collaborative robot, both of which are existing technologies. The force feedback master hand is used to control the movement of the robotic arm, and the six-dimensional force sensor is used to sense the contact force at the end of the robotic arm and feed the contact force back to the force feedback master hand.
所述打磨机器人遥操作方法,具体包括如下的步骤:The polishing robot remote operation method specifically comprises the following steps:
(1)建立包括打磨机器人、待打磨物体和周边环境的虚拟空间,虚拟空间通过VR眼镜实现视觉反馈;对六维力传感器进行重力补偿,对力反馈主手与机械臂进行坐标转换与工作空间匹配,实现力反馈主手对机械臂的移动操作。(1) A virtual space including the polishing robot, the object to be polished, and the surrounding environment is established. The virtual space realizes visual feedback through VR glasses; gravity compensation is performed on the six-dimensional force sensor, and the coordinates of the force feedback master hand and the robotic arm are transformed and matched with the workspace, so as to realize the movement operation of the force feedback master hand on the robotic arm.
(101)获取力反馈主手与机械臂各个关节的长度,建立D-H坐标系,求解出D-H参数表,根据D-H参数表得到力反馈主手与机械臂的正逆解表达式。(101) Obtain the lengths of the joints of the force feedback master hand and the robotic arm, establish a D-H coordinate system, solve the D-H parameter table, and obtain the forward and inverse solution expressions of the force feedback master hand and the robotic arm based on the D-H parameter table.
(102)建立虚拟空间时,预先将机械臂模型、六维力传感器模型和工具模型(例如打磨头)导入至虚拟空间,然后利用双目相机采集待打磨物体及周边环境的点云数据,在上位机中根据点云数据实现工作场景的三维重构,由此实现虚拟空间的构建。(102) When establishing a virtual space, the robot arm model, the six-dimensional force sensor model, and the tool model (such as a grinding head) are imported into the virtual space in advance, and then the binocular camera is used to collect point cloud data of the object to be polished and the surrounding environment. The three-dimensional reconstruction of the work scene is realized in the host computer based on the point cloud data, thereby realizing the construction of the virtual space.
(103)测量六维力传感器在各个姿态下的测量读数并进行数据标定,根据公式计算重力补偿。(103) Measure the measurement readings of the six-dimensional force sensor in various postures and calibrate the data, and calculate the gravity compensation according to the formula.
在机器人姿态变化时会引起六维力传感器姿态变化,影响输出结果,因此需要对六维力传感器的力与力矩进行重力补偿。表1为采集的六维力传感器标定数据表。When the robot posture changes, the posture of the six-dimensional force sensor will change, affecting the output result. Therefore, it is necessary to perform gravity compensation on the force and torque of the six-dimensional force sensor. Table 1 is the collected six-dimensional force sensor calibration data table.
表1六维力传感器标定数据表Table 1 Six-axis force sensor calibration data table
六维力传感器的测量数据包含重力、加速度力与接触力,通常机器人在力控时运动速度较慢,加速度力可以忽略。在机器人控制器中采用RPY角来表示机器人坐标系姿态,即Roll、Pitch、Yam,对应表1中的X、Y、Z角,分别表示绕Z轴、Y轴、X轴旋转的角度;Fx、Fy、Fz为测量时所受的轴向力,单位为N;Tx、Ty、Tz为测量时所受的扭矩力,单位为N·m。The measurement data of the six-dimensional force sensor includes gravity, acceleration force and contact force. Usually, the robot moves slowly during force control, and the acceleration force can be ignored. In the robot controller, the RPY angle is used to represent the robot coordinate system posture, namely Roll, Pitch, Yam, corresponding to the X, Y, and Z angles in Table 1, which represent the angles of rotation around the Z axis, Y axis, and X axis respectively; Fx, Fy, and Fz are the axial forces during measurement, in N; Tx, Ty, and Tz are the torque forces during measurement, in N·m.
测量六维力传感器在图2所示六个姿态下的传感器读数,根据读数对传感器进行零点标定并计算出工具重力及质心点的位置。计算公式如下:Measure the sensor readings of the six-dimensional force sensor in the six postures shown in Figure 2, calibrate the sensor zero point based on the readings, and calculate the tool gravity and the position of the center of mass. The calculation formula is as follows:
其中,G为工具重力;Lx、Ly、Lz为质心点在传感器坐标系下的坐标位置;F为测量的轴向力值,T为测量的扭矩值,例如Fx1为姿态1测量时x方向的轴向受力,Tz5为姿态5测量时z方向所受的扭矩值。Among them, G is the tool gravity; Lx , Ly , and Lz are the coordinate positions of the center of mass in the sensor coordinate system; F is the measured axial force value, and T is the measured torque value. For example, Fx1 is the axial force in the x direction when measuring posture 1, and Tz5 is the torque value in the z direction when measuring posture 5.
对传感器数据进行重力补偿,即可获取接触力与接触力矩的大小。By performing gravity compensation on the sensor data, the magnitude of the contact force and contact torque can be obtained.
(104)采集力反馈主手末端位姿信息,对其进行坐标转换与工作空间匹配,转化为机械臂移动坐标点,并控制机械臂移动。(104) Collect the force feedback main hand end posture information, perform coordinate transformation on it and match it with the workspace, convert it into the robot arm movement coordinate point, and control the movement of the robot arm.
如图3所示,设置机械臂关节可以围绕上一关节连接点进行转动,六维力传感器与工具的模型固定在机械臂最末关节上。读取机械臂关节角度传感器数据,设置虚拟空间中机械臂组件相对于父组件的角度,令虚拟机械臂模型与现实机械臂同步动作。上位机通过传感器采集力反馈主手关节的角度,带入运动学正解表达式获取主手目标点位置P1(x1,y1,z1)与角度θ1(θx,θy,θz);对位置和角度进行坐标转换并进行工作空间匹配,将主手空间转化为工作空间(即主手坐标转化为在虚拟空间中机械臂的移动坐标点),工作空间转换的比例为K1(KX,KY,KZ)。As shown in Figure 3, the robot arm joints are set to rotate around the previous joint connection point, and the six-dimensional force sensor and tool model are fixed on the last joint of the robot arm. Read the robot arm joint angle sensor data, set the angle of the robot arm component in the virtual space relative to the parent component, and make the virtual robot arm model move synchronously with the real robot arm. The host computer collects the angle of the main hand joint through the sensor, and brings it into the kinematics forward expression to obtain the main hand target point position P1 (x 1 , y 1 , z 1 ) and angle θ1 (θx, θy, θz); perform coordinate conversion on the position and angle and perform workspace matching, convert the main hand space into the workspace (that is, the main hand coordinates are converted into the moving coordinate points of the robot arm in the virtual space), and the ratio of the workspace conversion is K1 (K X , K Y , K Z ).
结合图1,在控制端,操作者通过佩戴VR眼镜观察虚拟空间,并使用力反馈主手向上位机发送控制指令,上位机在虚拟空间中将力反馈主手移动转化为在虚拟空间中机械臂的移动,实现机器人的运动控制。在被控端,机器人运动并将实时信息发送至上位机,包括机器人各个关节角度和六维力传感器数据,通过力反馈主手与VR眼镜实现视觉与触觉(力觉)反馈。Combined with Figure 1, at the control end, the operator observes the virtual space by wearing VR glasses, and uses the force feedback master hand to send control instructions to the host computer. The host computer converts the movement of the force feedback master hand in the virtual space into the movement of the mechanical arm in the virtual space to achieve the motion control of the robot. At the controlled end, the robot moves and sends real-time information to the host computer, including the angles of each joint of the robot and the six-dimensional force sensor data, and realizes visual and tactile (force) feedback through the force feedback master hand and VR glasses.
(2)确定待打磨物体表面的打磨目标点在虚拟空间中的位置。(2) Determine the position of the grinding target point on the surface of the object to be ground in the virtual space.
如图4所示,在双目相机扫描待打磨物体后需要确定打磨目标点的位置,在对双目相机进行畸变矫正后扫描,已知待打磨物体的三维尺寸,在扫描后,识别待打磨物体上的打磨目标点P。以待打磨物体底面已知的三个角点O、A和B建立平面坐标系,以OA方向为X轴,OB方向为Y轴;再以垂直于OAB面并朝向打磨目标点P的方向为Z轴,建立空间坐标系。将P点沿Y轴负方向平移至边界线,设为P′点,PP′的连线即为Y轴的坐标。对P′点沿着Z轴负方向作至OA的连线,即为P点在空间坐标系上Z轴的坐标。O点与连线的距离为X轴的坐标。由此获取P点相对于O点的坐标位置(Px,Py,Pz)。As shown in Figure 4, after the binocular camera scans the object to be polished, the position of the polishing target point needs to be determined. After the binocular camera is scanned after distortion correction, the three-dimensional size of the object to be polished is known. After scanning, the polishing target point P on the object to be polished is identified. A plane coordinate system is established with the three known corner points O, A and B on the bottom surface of the object to be polished, with the OA direction as the X-axis and the OB direction as the Y-axis; then a spatial coordinate system is established with the direction perpendicular to the OAB surface and toward the polishing target point P as the Z-axis. Point P is translated to the boundary line along the negative direction of the Y-axis and is set as point P'. The line connecting PP' is the coordinate of the Y-axis. A line is drawn from point P' to OA along the negative direction of the Z-axis, which is the coordinate of point P on the Z-axis in the spatial coordinate system. The distance between point O and the line is the coordinate of the X-axis. The coordinate position of point P relative to point O (Px, Py, Pz) is thus obtained.
(3)计算机械臂末端点与打磨目标点之间的距离,若距离大于距离阀值,则执行步骤(4),否则执行步骤(5)。(3) Calculate the distance between the end point of the robot arm and the grinding target point. If the distance is greater than the distance threshold, execute step (4); otherwise, execute step (5).
根据虚拟空间,获取打磨目标点的位置和机械臂末端点的位置,计算两者之间距离,并判断机械臂是否接近打磨目标点。本实施例中,距离阀值取机械臂臂长的10%,取250mm。若距离大于250mm,则机械臂相对打磨目标点较远。若距离小于等于250mm,则机械臂与打磨目标点的距离较近。According to the virtual space, the position of the grinding target point and the position of the end point of the robot arm are obtained, the distance between the two is calculated, and it is determined whether the robot arm is close to the grinding target point. In this embodiment, the distance threshold is 10% of the length of the robot arm, which is 250mm. If the distance is greater than 250mm, the robot arm is far away from the grinding target point. If the distance is less than or equal to 250mm, the distance between the robot arm and the grinding target point is close.
(4)构建圆柱形通道生成距离优先的虚拟力引导,在力反馈主手移动控制机械臂移动的过程中,根据机械臂末端点位置进行力反馈引导,当机械臂末端点的位置在圆柱形引导通道内,不进行力反馈(引导力为0);当机械臂末端点超出圆柱形引导通道,生成虚拟力引导,方向为圆柱形引导通道距离机械臂末端点最近的点;然后返回步骤(3)。(4) Construct a cylindrical channel to generate distance-priority virtual force guidance. In the process of controlling the movement of the robot arm by the force feedback master hand, force feedback guidance is performed according to the position of the end point of the robot arm. When the position of the end point of the robot arm is within the cylindrical guidance channel, no force feedback is performed (the guidance force is 0); when the end point of the robot arm exceeds the cylindrical guidance channel, a virtual force guidance is generated in the direction of the point in the cylindrical guidance channel closest to the end point of the robot arm; then return to step (3).
圆柱形引导通道在虚拟空间中以机械臂末端点坐标为起点、打磨目标点坐标为终点生成。The cylindrical guide channel is generated in the virtual space with the coordinates of the end point of the robot arm as the starting point and the coordinates of the grinding target point as the end point.
图6(a)为引导通道示意图,圆柱形引导通道的虚拟力Fd计算公式为:Figure 6(a) is a schematic diagram of the guide channel. The calculation formula of the virtual force Fd of the cylindrical guide channel is:
Fd=kdδ(Xd)F d = k d δ(X d )
δ(Xd)=Xd-D(Xd)δ(X d )=X d −D(X d )
其中,Fd为引导力矢量,kd为力反馈的反馈系数;δ(Xd)为矢量,方向为机械臂末端点指向圆柱型引导通道轴线,大小为机械臂末端点到圆柱形引导通道轴线的距离;rd为圆柱形引导通道的半径;Xd表示机械臂末端点在虚拟空间中的坐标,D(Xd)表示引导路径上距离机械臂末端点最近的点;a为大于0的值,根据实际情况调整。Among them, Fd is the guiding force vector, kd is the feedback coefficient of force feedback; δ( Xd ) is a vector, the direction is the direction from the end point of the robot arm to the axis of the cylindrical guiding channel, and the magnitude is the distance from the end point of the robot arm to the axis of the cylindrical guiding channel; rd is the radius of the cylindrical guiding channel; Xd represents the coordinate of the end point of the robot arm in the virtual space, D( Xd ) represents the point on the guiding path that is closest to the end point of the robot arm; a is a value greater than 0, which is adjusted according to actual conditions.
如图6(b)所示,Xstart为机械臂末端点的起始位置,Xend为当前打磨目标点的位置。在开始引导时,以Xstart和Xend的连线作为轴线、rd为半径生成圆柱形引导通道。Xd为机械臂末端点的位置,Fd为引导力矢量。当机械臂末端点的位置在圆柱形引导通道内,即δ(Xd)≤rd时,不进行力反馈;当机械臂末端点超出圆柱形引导通道,即δ(Xd)>rd时,进行力反馈约束,方向为圆柱形通道距离机械臂坐标最近的点。As shown in Figure 6(b), X start is the starting position of the end point of the robot arm, and X end is the position of the current grinding target point. When the guidance starts, a cylindrical guide channel is generated with the line connecting X start and X end as the axis and r d as the radius. X d is the position of the end point of the robot arm, and F d is the guiding force vector. When the position of the end point of the robot arm is within the cylindrical guide channel, that is, δ(X d )≤r d , no force feedback is performed; when the end point of the robot arm exceeds the cylindrical guide channel, that is, δ(X d )>r d , force feedback constraint is performed, and the direction is the point in the cylindrical channel closest to the robot arm coordinates.
(5)构建漏斗形通道生成精度优先的虚拟力引导,若机械臂末端点在漏斗型通道内,根据机械臂末端点位置生成向中轴线与打磨目标点的虚拟力引导,所述中轴线为机械臂末端点与打磨目标点之间的连线;然后返回步骤(3)。(5) Construct a virtual force guide that prioritizes accuracy in generating a funnel-shaped channel. If the end point of the robot arm is in the funnel-shaped channel, generate a virtual force guide toward the central axis and the polishing target point according to the position of the end point of the robot arm. The central axis is the line connecting the end point of the robot arm and the polishing target point. Then return to step (3).
漏斗形引导通道以机械臂末端点与打磨目标点之间的连线作为中轴线、距离作为高生成,其中打磨目标点作为顶面,机械臂末端点作为底面。The funnel-shaped guide channel is generated with the line between the end point of the robot arm and the grinding target point as the central axis and the distance as the height, wherein the grinding target point is the top surface and the end point of the robot arm is the bottom surface.
图6(a)为引导通道示意图,漏斗型引导通道的虚拟力Ff的计算公式为:Figure 6(a) is a schematic diagram of the guide channel. The calculation formula of the virtual force Ff of the funnel-shaped guide channel is:
Ff=Fsin+Fcos=ksinδsin(Xf)+kcosδcos(Xf)F f =F sin +F cos =k sin δ sin (X f )+k cos δ cos (X f )
其中,Fsin为机械臂末端在漏斗范围内力反馈正弦分量的力,Fcos为机械臂末端在漏斗范围内力反馈余弦分量的力,ksin为机械臂末端在漏斗范围内力反馈正弦分量的反馈系数,kcos为机械臂末端在漏斗范围内力反馈余弦分量的反馈系数;δsin(Xf)为机械臂末端点指向漏斗轴线的矢量;δcos(Xf)机械臂末端点平行于漏斗轴线的矢量;Xf为机械臂末端点位置。Among them, F sin is the force of the sine component of the force feedback at the end of the robotic arm within the funnel range, F cos is the force of the cosine component of the force feedback at the end of the robotic arm within the funnel range, k sin is the feedback coefficient of the sine component of the force feedback at the end of the robotic arm within the funnel range, k cos is the feedback coefficient of the cosine component of the force feedback at the end of the robotic arm within the funnel range; δ sin (X f ) is the vector pointing to the funnel axis from the end point of the robotic arm; δ cos (X f ) is the vector parallel to the funnel axis from the end point of the robotic arm; X f is the position of the end point of the robotic arm.
如图6(c)所示,Xstart为机械末端点的起始位置,Xend为打磨目标点的位置,漏斗的中轴线为Xstart与Xend之间的连线,α=45°为漏斗开口的角度(即漏斗张角),rf=250mm为漏斗底部的半径。若机械臂末端点xf在漏斗内,生成力反馈引导操作者靠近打磨目标点,其中引导力分为正弦分量的力与余弦分量的力。As shown in Figure 6(c), X start is the starting position of the end point of the robot, X end is the position of the grinding target point, the central axis of the funnel is the line between X start and X end , α = 45° is the angle of the funnel opening (i.e., the funnel opening angle), and r f = 250 mm is the radius of the bottom of the funnel. If the end point x f of the robot arm is in the funnel, force feedback is generated to guide the operator to approach the grinding target point, where the guiding force is divided into the sine component force and the cosine component force.
如图7,判断机械臂末端点在漏斗型通道内的方法为:As shown in Figure 7, the method for determining whether the end point of the robot arm is in the funnel-shaped channel is:
已知机械臂末端点位置Xf,计算可得机械臂末端点指向漏斗轴线的矢量δsin(Xf)和机械臂末端点指向打磨目标点的矢量δ(Xf)。由于漏斗张开的角度α已知,sinα的值可以预先确定。通过|δsin(Xf)|/δ(Xf)计算出机械臂当前点与打磨目标点的连线与漏斗中轴线之间的夹角正弦值,若计算出的正弦值小于sinα,并且|δsin(Xf)|<rf,则判断机械臂末端点Xf在漏斗范围内。Given the position of the end point of the robot arm X f , the vector δ sin (X f ) pointing from the end point of the robot arm to the axis of the funnel and the vector δ(X f ) pointing from the end point of the robot arm to the grinding target point can be calculated. Since the angle α of the funnel opening is known, the value of sinα can be predetermined. The sine value of the angle between the line connecting the current point of the robot arm and the grinding target point and the center axis of the funnel is calculated by |δ sin (X f )|/ δ (X f ). If the calculated sine value is less than sinα and |δ sin (X f )|<r f , the end point of the robot arm X f is judged to be within the range of the funnel.
(6)循环执行步骤(3)至(5),直至到达打磨目标点位置,如图5所示的流程图。(6) Steps (3) to (5) are executed repeatedly until the grinding target point is reached, as shown in the flowchart of FIG5 .
本发明实施例将引导通道分为圆柱形引导通道与漏斗形引导通道,当机械臂距离打磨目标点较远时,使用圆柱形引导通道可以快速靠近打磨目标点,当距离较近时使用漏斗形引导通道可以保证有较高的精度。The embodiment of the present invention divides the guide channel into a cylindrical guide channel and a funnel-shaped guide channel. When the robot arm is far away from the grinding target point, the cylindrical guide channel can be used to quickly approach the grinding target point. When the distance is close, the funnel-shaped guide channel can be used to ensure higher precision.
(7)确定打磨目标点处的法线。(7) Determine the normal line at the polishing target point.
如图8所示,使用虚拟空间对待打磨物体模型进行识别,并计算待打磨物体表面的垂直点。在虚拟空间中,所有物体均为模型构建,而实体模型的生成是由一系列三角形创建。通常,实体模型的定义是在可以确定三角形三个角的数据基础上,由一组通过空间位置,在不同平面内的线相互连接而成的。为了获取打磨目标点处垂直于待打磨物体的方向,利用模型的三角形网格进行计算。在虚拟空间中选择待打磨物体模型上距离打磨目标点处最近的顶点作为基础顶点,由于模型为三角形构成,基础顶点一定可以与周边顶点构成1至n个三角形。选取其中一个三角形,基础顶点为a,其余两点分别为b、c。已知a、b、c三点坐标,将b、c点的坐标分别减去基础顶点a的坐标,获得两个矢量Side1和Side2。这两个矢量的叉积将得出垂直于表面的第三矢量η。在进行叉积运算时,需要利用左手定则确定运算顺序,在待打磨物体表面上方从上往下看(法线将指向外部)时,第一个矢量应顺时针扫过第二个矢量。如果运算方向错误,则会得出垂直于表面但是指向物体内部的矢量。As shown in FIG8 , the model of the object to be polished is identified using a virtual space, and the vertical points on the surface of the object to be polished are calculated. In the virtual space, all objects are constructed by models, and the generation of the physical model is created by a series of triangles. Generally, the definition of a physical model is based on data that can determine the three angles of the triangle, and is formed by a set of lines connected to each other in different planes through spatial positions. In order to obtain the direction perpendicular to the object to be polished at the polishing target point, the triangular mesh of the model is used for calculation. In the virtual space, the vertex closest to the polishing target point on the model of the object to be polished is selected as the basic vertex. Since the model is composed of triangles, the basic vertex can definitely form 1 to n triangles with the surrounding vertices. Select one of the triangles, the basic vertex is a, and the other two points are b and c. Given the coordinates of a, b, and c, the coordinates of points b and c are respectively subtracted from the coordinates of the basic vertex a to obtain two vectors Side1 and Side2. The cross product of these two vectors will result in a third vector η perpendicular to the surface. When performing the cross product, you need to use the left-hand rule to determine the order of operations. When looking down from above the surface of the object to be polished (the normal will point outward), the first vector should sweep across the second vector clockwise. If the operation is performed in the wrong direction, the result will be a vector that is perpendicular to the surface but points inward to the object.
通过a、b、c三个点的三维坐标,求出Side1与Side2两个向量:Through the three-dimensional coordinates of points a, b, and c, find the two vectors Side1 and Side2:
Side1=b-aSide1=b-a
Side2=c-aSide2=c-a
对两个向量进行叉积:Take the cross product of two vectors:
η=Side1×Side2=((by-ay)*(cz-az)-(bz-az)*(cy-ay))*i+((bx-ax)*(cz-az)-(bz-az)*(cx-ac))*j+((bx-ax)*(cy-ay)-(by-ay)*(cx-ax))*kη=Side1×Side2=((by -a y )*(c z -a z )-(b z -a z )*(c y -a y ))*i+((b x -a x )* (c z -a z )-(b z -a z )*(c x -a c ))*j+((b x -a x )*(c y -a y )-(b y -a y ) *(c x -a x ))*k
得到垂直于待打磨表面的第三矢量η,其方向为顶点的法线方向。A third vector η perpendicular to the surface to be polished is obtained, and its direction is the normal direction of the vertex.
(8)对法线姿态的欧拉角进行坐标系转换,先将虚拟空间坐标系转换为过渡坐标系,再将过渡坐标系转换为机器人坐标系;采用四元数运算以避免欧拉角的万向锁问题,先计算将虚拟空间坐标系的欧拉角转换为过渡坐标系所需的四元数,再计算过渡坐标系旋转为机器人坐标系的四元数,将两个四元数相乘,得到虚拟空间中欧拉角转换为机器人坐标系欧拉角所需的旋转变换;(8) Perform coordinate system conversion on the Euler angles of the normal posture, first convert the virtual space coordinate system into the transition coordinate system, and then convert the transition coordinate system into the robot coordinate system; use quaternion operation to avoid the universal lock problem of Euler angles, first calculate the quaternion required to convert the Euler angles of the virtual space coordinate system into the transition coordinate system, then calculate the quaternion of the transition coordinate system rotated into the robot coordinate system, multiply the two quaternions, and obtain the rotation transformation required to convert the Euler angles in the virtual space into the Euler angles in the robot coordinate system;
由于虚拟空间坐标系为左手坐标系,需要将其转化为机器人使用的右手坐标系。首先将虚拟空间中的左手坐标系中的某一轴反转,作为中间过渡的右手坐标系,然后将过渡右手坐标系旋转90度得到机器人坐标系。Since the virtual space coordinate system is a left-handed coordinate system, it needs to be converted into the right-handed coordinate system used by the robot. First, one axis in the left-handed coordinate system in the virtual space is reversed as the right-handed coordinate system for the intermediate transition, and then the transition right-handed coordinate system is rotated 90 degrees to obtain the robot coordinate system.
具体地,如图9所示为虚拟空间坐标系与机器人坐标系的对比图,在X轴正方向相同的情况下Y轴与Z轴正方向相互交换,且绕轴旋转正方向不同,在虚拟空间坐标系的位姿需要转换到机器人坐标系进行使用。在虚拟空间中求解欧拉角的值来确定打磨头的姿态,以虚拟场景的坐标为基准,使用右手坐标系完成公式推导,由于虚拟空间坐标系与机器人坐标系不同,根据相互对应关系,完成数据之间的转换。Specifically, as shown in Figure 9, it is a comparison diagram between the virtual space coordinate system and the robot coordinate system. When the positive direction of the X axis is the same, the positive directions of the Y axis and the Z axis are interchanged, and the positive directions of rotation around the axis are different. The position in the virtual space coordinate system needs to be converted to the robot coordinate system for use. The value of the Euler angle is solved in the virtual space to determine the posture of the grinding head. The coordinates of the virtual scene are used as the reference, and the formula is derived using the right-hand coordinate system. Since the virtual space coordinate system is different from the robot coordinate system, the conversion between data is completed based on the corresponding relationship.
为了方便计算机械臂打磨头垂直于待打磨表面的姿态,将计算出的顶点法线与工具坐标系的轴线重合。由于在虚拟空间坐标系中,欧拉角的顺序为Y轴、X轴、Z轴,将工具坐标系与法线重合,可以得到在虚拟空间坐标系中的欧拉角,其中pitch角为eulerx,Yaw角为eulery,Roll角为eulerz,通过欧拉角表示为(eulerx,eulery,eulerz)。In order to facilitate the calculation of the posture of the robot arm grinding head perpendicular to the surface to be polished, the calculated vertex normal is overlapped with the axis of the tool coordinate system. Since the order of Euler angles in the virtual space coordinate system is Y axis, X axis, and Z axis, the tool coordinate system is overlapped with the normal to obtain the Euler angle in the virtual space coordinate system, where the pitch angle is eulerx, the Yaw angle is eulery, and the Roll angle is eulerz, which is expressed by Euler angles as (eulerx, eulery, eulerz).
如图10,将欧拉角转换到机器人坐标系中。首先需要将虚拟空间坐标系中的旋转转化为过渡右手坐标系中的旋转。X轴旋转了eulerx度,在考虑旋转正向的情况下,相当于在过渡右手坐标系中绕Z轴旋转了-eulerx度;Y轴旋转了eulery度,在考虑旋转正向的情况下,相当于在过渡右手坐标系中绕Y轴旋转了-eulery度;绕Z轴旋转了eulerz度,在考虑旋转正向的情况下,相当于在过渡右手坐标系中绕X轴旋转了-eulerz度。As shown in Figure 10, the Euler angle is converted to the robot coordinate system. First, the rotation in the virtual space coordinate system needs to be converted into the rotation in the transition right-hand coordinate system. The X-axis is rotated by eulerx degrees, which is equivalent to a rotation of -eulerx degrees around the Z axis in the transition right-hand coordinate system when the positive rotation direction is considered; the Y-axis is rotated by eulery degrees, which is equivalent to a rotation of -eulery degrees around the Y axis in the transition right-hand coordinate system when the positive rotation direction is considered; the Z-axis is rotated by eulerz degrees, which is equivalent to a rotation of -eulerz degrees around the X axis in the transition right-hand coordinate system when the positive rotation direction is considered.
计算将虚拟空间坐标系的欧拉角转换为过渡坐标系所需的四元数:Calculate the quaternion required to transform the Euler angles of the virtual space coordinate system to the transition coordinate system:
则在过渡右手坐标系中的计算结果为qmid=qz*qy*qx。之后从过渡右手坐标系转化为机器人坐标系,即绕Y轴顺时针旋转90度。在右手坐标系中逆时针旋转为旋转的正方向,即:The calculation result in the transition right-hand coordinate system is q mid = qz*qy*qx. Then the transition right-hand coordinate system is converted to the robot coordinate system, that is, a 90-degree clockwise rotation around the Y axis. In the right-hand coordinate system, counterclockwise rotation is the positive direction of rotation, that is:
最终在机器人坐标系下的计算结果为qend=qmid*qsec。The final calculation result in the robot coordinate system is q end =q mid *q sec .
qend即为从虚拟空间坐标系到机器人坐标系需要进行的旋转变换。q end is the rotation transformation required from the virtual space coordinate system to the robot coordinate system.
(9)虚拟力反馈引导姿态,获取机械臂当前姿态,将法线姿态减去机械臂姿态,计算出两者之间姿态的差值;根据差值生成靠近目标姿态的虚拟力引导。(9) Virtual force feedback guides the posture, obtains the current posture of the robot arm, subtracts the normal posture from the robot arm posture, and calculates the difference between the two postures; based on the difference, generates a virtual force guidance close to the target posture.
如图11所示,根据姿态对操作者进行力反馈引导。在计算出待打磨物体表面法线并将其姿态转换到机器人坐标系后,获取机械臂当前的姿态。将法线姿态减去机械臂姿态即可计算出两者之间姿态的差值,将差值乘以反馈系数Kr,即可得到姿态反馈力Fr的大小并生成力反馈引导操作者靠近目标姿态。As shown in Figure 11, force feedback is performed to guide the operator according to the posture. After calculating the surface normal of the object to be polished and converting its posture to the robot coordinate system, the current posture of the robot arm is obtained. The difference between the postures of the normal and the robot arm can be calculated by subtracting the posture of the robot arm from the posture of the normal. The difference is multiplied by the feedback coefficient Kr to obtain the magnitude of the posture feedback force Fr and generate force feedback to guide the operator to approach the target posture.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410636820.3A CN118438312B (en) | 2024-05-22 | Remote operation method of polishing robot |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410636820.3A CN118438312B (en) | 2024-05-22 | Remote operation method of polishing robot |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118438312A true CN118438312A (en) | 2024-08-06 |
| CN118438312B CN118438312B (en) | 2025-10-17 |
Family
ID=
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119369385A (en) * | 2024-10-16 | 2025-01-28 | 安徽工程大学 | A polishing process virtualization simulation system and method based on Unity3D |
Citations (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000308985A (en) * | 1999-04-26 | 2000-11-07 | Japan Science & Technology Corp | Robot teaching method and teaching system |
| CN103085072A (en) * | 2013-03-11 | 2013-05-08 | 南京埃斯顿机器人工程有限公司 | Method for achieving industrial robot off-line programming based on three-dimensional modeling software |
| CN103112007A (en) * | 2013-02-06 | 2013-05-22 | 华南理工大学 | Human-machine interaction method based on mixing sensor |
| CN106272408A (en) * | 2015-06-24 | 2017-01-04 | 库卡罗伯特有限公司 | The method that the controller of robot is switched to manual guidance operational mode |
| CN110142770A (en) * | 2019-05-07 | 2019-08-20 | 中国地质大学(武汉) | A robot teaching system and method based on a head-mounted display device |
| CN110281108A (en) * | 2019-06-18 | 2019-09-27 | 蓝点触控(北京)科技有限公司 | A kind of robot flexibility intelligence polishing system based on six-dimension force sensor |
| CN114643576A (en) * | 2020-12-17 | 2022-06-21 | 中国科学院沈阳自动化研究所 | A Human-Machine Collaborative Target Grasping Method Based on Virtual Force Guidance |
| CN115179298A (en) * | 2022-08-26 | 2022-10-14 | 北京东土科技股份有限公司 | Cartesian space trajectory planning method and device |
| WO2022237787A1 (en) * | 2021-05-10 | 2022-11-17 | 武汉联影智融医疗科技有限公司 | Robot positioning and pose adjustment method and system |
| CN115609588A (en) * | 2022-10-30 | 2023-01-17 | 同济大学 | An eye-in-hand robot positioning system and method based on rotating cascaded prisms |
| CN115771144A (en) * | 2022-11-28 | 2023-03-10 | 法奥意威(苏州)机器人系统有限公司 | Parameter configuration method, device, equipment and medium for industrial manipulator |
| JP2023038781A (en) * | 2021-09-07 | 2023-03-17 | セイコーエプソン株式会社 | Robot teaching system, robot teaching method, and glove for robot teaching |
| CN116931905A (en) * | 2023-06-27 | 2023-10-24 | 上海航天精密机械研究所 | Event-driven AR (augmented reality) visual assembly system and construction and editing method thereof |
| CN117245649A (en) * | 2023-08-16 | 2023-12-19 | 东海实验室 | Robot teleoperation force sense of presence construction method integrating visual information |
| CN117291959A (en) * | 2023-09-25 | 2023-12-26 | 太原理工大学 | Working face integral working space virtual reconstruction method based on laser SLAM |
| CN118024238A (en) * | 2024-01-12 | 2024-05-14 | 华中科技大学 | Full-closed loop feedback control method and system for robot tail end pose compensation |
Patent Citations (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000308985A (en) * | 1999-04-26 | 2000-11-07 | Japan Science & Technology Corp | Robot teaching method and teaching system |
| CN103112007A (en) * | 2013-02-06 | 2013-05-22 | 华南理工大学 | Human-machine interaction method based on mixing sensor |
| CN103085072A (en) * | 2013-03-11 | 2013-05-08 | 南京埃斯顿机器人工程有限公司 | Method for achieving industrial robot off-line programming based on three-dimensional modeling software |
| CN106272408A (en) * | 2015-06-24 | 2017-01-04 | 库卡罗伯特有限公司 | The method that the controller of robot is switched to manual guidance operational mode |
| CN110142770A (en) * | 2019-05-07 | 2019-08-20 | 中国地质大学(武汉) | A robot teaching system and method based on a head-mounted display device |
| CN110281108A (en) * | 2019-06-18 | 2019-09-27 | 蓝点触控(北京)科技有限公司 | A kind of robot flexibility intelligence polishing system based on six-dimension force sensor |
| CN114643576A (en) * | 2020-12-17 | 2022-06-21 | 中国科学院沈阳自动化研究所 | A Human-Machine Collaborative Target Grasping Method Based on Virtual Force Guidance |
| WO2022237787A1 (en) * | 2021-05-10 | 2022-11-17 | 武汉联影智融医疗科技有限公司 | Robot positioning and pose adjustment method and system |
| JP2023038781A (en) * | 2021-09-07 | 2023-03-17 | セイコーエプソン株式会社 | Robot teaching system, robot teaching method, and glove for robot teaching |
| CN115179298A (en) * | 2022-08-26 | 2022-10-14 | 北京东土科技股份有限公司 | Cartesian space trajectory planning method and device |
| CN115609588A (en) * | 2022-10-30 | 2023-01-17 | 同济大学 | An eye-in-hand robot positioning system and method based on rotating cascaded prisms |
| CN115771144A (en) * | 2022-11-28 | 2023-03-10 | 法奥意威(苏州)机器人系统有限公司 | Parameter configuration method, device, equipment and medium for industrial manipulator |
| CN116931905A (en) * | 2023-06-27 | 2023-10-24 | 上海航天精密机械研究所 | Event-driven AR (augmented reality) visual assembly system and construction and editing method thereof |
| CN117245649A (en) * | 2023-08-16 | 2023-12-19 | 东海实验室 | Robot teleoperation force sense of presence construction method integrating visual information |
| CN117291959A (en) * | 2023-09-25 | 2023-12-26 | 太原理工大学 | Working face integral working space virtual reconstruction method based on laser SLAM |
| CN118024238A (en) * | 2024-01-12 | 2024-05-14 | 华中科技大学 | Full-closed loop feedback control method and system for robot tail end pose compensation |
Non-Patent Citations (1)
| Title |
|---|
| 化建宁;崔玉洁;李洪谊;王越超;席宁;: "具有虚拟力觉导引功能的机器人网络遥操作系统", 机器人, no. 04, 15 July 2010 (2010-07-15), pages 522 - 528 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119369385A (en) * | 2024-10-16 | 2025-01-28 | 安徽工程大学 | A polishing process virtualization simulation system and method based on Unity3D |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108638069B (en) | A method for precise motion control of the end of a manipulator | |
| CN110815258B (en) | Robot teleoperation system and method based on electromagnetic force feedback and augmented reality | |
| Horaud et al. | Visually guided object grasping | |
| US7272524B2 (en) | Method and a system for programming an industrial robot to move relative to defined positions on an object, including generation of a surface scanning program | |
| CN102581445B (en) | Visual real-time deviation rectifying system and visual real-time deviation rectifying method for robot | |
| CN111745267A (en) | A real-time tracking system and method for groove weld based on laser displacement sensor | |
| CN113967911A (en) | Follow control method and system of humanoid mechanical arm based on tail end working space | |
| Li et al. | A hybrid visual servo control method for simultaneously controlling a nonholonomic mobile and a manipulator | |
| Melchiorre et al. | Collison avoidance using point cloud data fusion from multiple depth sensors: a practical approach | |
| CN108942918B (en) | Stereo positioning method based on line structured light | |
| CN112907682B (en) | A hand-eye calibration method, device and related equipment for a five-axis motion platform | |
| CN114536346B (en) | Mechanical arm accurate path planning method based on man-machine cooperation and visual detection | |
| CN115469576A (en) | A Teleoperation System Based on Hybrid Mapping of Human-Robot Arm Heterogeneous Motion Space | |
| CN107097122A (en) | A kind of robot for independently grinding large-scale free form surface | |
| CN105643619B (en) | A kind of industrial robot instrument posture control method of use framework description | |
| CN115194774B (en) | A dual-arm grasping system control method based on multi-vision | |
| CN114310901A (en) | Coordinate system calibration method, apparatus, system and medium for robot | |
| CN113751981A (en) | Space high-precision assembling method and system based on binocular vision servo | |
| CN116766194A (en) | Binocular vision-based disc workpiece positioning and grabbing system and method | |
| CN117381788A (en) | High-precision positioning and intelligent operation guiding method for composite robot | |
| CN117840995A (en) | Automatic wall-building method and system based on two-stage visual servoing | |
| CN111702787B (en) | Human-machine cooperative control system and control method | |
| Chen et al. | Modeling and control of a rigid-flexible coupling robot for narrow space manipulations | |
| CN119515972A (en) | Generation and position calibration of motion mechanism trajectories and devices | |
| Jägersand et al. | Acquiring visual-motor models for precision manipulation with robot hands |
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 | ||
| GR01 | Patent grant |