CN111428334B - Robot station planning method in laser radar measurement - Google Patents
Robot station planning method in laser radar measurement Download PDFInfo
- Publication number
- CN111428334B CN111428334B CN202010054454.2A CN202010054454A CN111428334B CN 111428334 B CN111428334 B CN 111428334B CN 202010054454 A CN202010054454 A CN 202010054454A CN 111428334 B CN111428334 B CN 111428334B
- Authority
- CN
- China
- Prior art keywords
- measurement
- point
- reachable
- industrial robot
- cone
- 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.)
- Active
Links
- 238000005259 measurement Methods 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004088 simulation Methods 0.000 claims abstract description 6
- 239000013598 vector Substances 0.000 claims description 21
- 238000001514 detection method Methods 0.000 claims description 14
- 239000011159 matrix material Substances 0.000 claims description 6
- 210000003857 wrist joint Anatomy 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 3
- 239000002131 composite material Substances 0.000 claims 2
- 239000008188 pellet Substances 0.000 claims 2
- 238000012216 screening Methods 0.000 claims 2
- 150000001875 compounds Chemical class 0.000 claims 1
- 230000003287 optical effect Effects 0.000 claims 1
- 238000004422 calculation algorithm Methods 0.000 abstract description 6
- 238000004364 calculation method Methods 0.000 abstract description 3
- 230000000717 retained effect Effects 0.000 abstract description 3
- 238000007689 inspection Methods 0.000 description 4
- 230000000712 assembly Effects 0.000 description 3
- 238000000429 assembly Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000013386 optimize process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种激光雷达测量中机器人站位规划方法,用于解决现有激光雷达测量中测量视点规划方法测量站位点多的技术问题。技术方案是首先构建CAD仿真模型并建立坐标系,再构建视点可达圆锥模型,根据测量精度要求对视点可达圆锥模型进行离散处理,利用激光雷达测量约束和工业机器人手臂可达空间范围约束对小球集合进行筛选,将满足约束条件的小球保留,取包含小球种类最多的相交区域,以相交区域的型心作为激光雷达测量站位点。本发明使用离散小球进行测量可达域计算,根据测量精度确定离小球半径,使测量速率与测量精度相适应。针对不同的测量精度,算法都保持较高的计算效率,激光雷达测量站位点总数减少20~30%。
The invention discloses a robot station planning method in laser radar measurement, which is used for solving the technical problem of many measurement stations in the existing measurement viewpoint planning method in laser radar measurement. The technical solution is to first build a CAD simulation model and establish a coordinate system, and then build a viewpoint reachable cone model. According to the measurement accuracy requirements, the viewpoint reachable cone model is discretely processed, and the measurement constraints of the lidar and the reachable space range of the industrial robot arm are used to measure the constraints. The collection of small balls is screened, the balls that meet the constraints are retained, the intersection area with the most types of balls is selected, and the center of the intersection area is used as the lidar measurement station. The invention uses discrete small balls to perform measurement reachable domain calculation, determines the distance from the small ball radius according to the measurement accuracy, and adapts the measurement rate to the measurement accuracy. For different measurement precisions, the algorithms maintain high computational efficiency, and the total number of lidar measurement stations is reduced by 20-30%.
Description
技术领域technical field
本发明涉及一种激光雷达测量中测量视点规划方法,特别涉及一种激光雷达测量中机器人站位规划方法。The invention relates to a measurement viewpoint planning method in laser radar measurement, in particular to a robot station planning method in laser radar measurement.
背景技术Background technique
激光雷达自动化三维测量是由多自由度机器人调整激光雷达位姿,从多个测量视点对零件进行测量,从而获得准确的测量数据。测量视点的生成过程影响检测的整体效率和准确率。Lidar automated 3D measurement is a multi-degree-of-freedom robot that adjusts the lidar pose and measures parts from multiple measurement viewpoints to obtain accurate measurement data. The generation process of measurement viewpoints affects the overall efficiency and accuracy of detection.
文献“CN109163674A一种面结构光自动化三维测量中传感器测量视点规划方法”提出了一种基于面结构光测量的测量视点规划方法。通过对复杂零件分块处理,将数量众多的被检测点分配到单个体积块中。使用一个测量视点检测多个类似的被检测点,从而提高检测效率。然而对于复杂装配体而言,装配体的空间结构更加复杂,需要的测量视点更多。检测任务也是复杂零件的数倍。该方法无法满足复杂的装配体的检测需求。The document "CN109163674A A method for planning a measurement viewpoint of a sensor in automatic three-dimensional measurement of surface structured light" proposes a measurement viewpoint planning method based on surface structured light measurement. Distribute a large number of inspected points into a single volume by partitioning complex parts. Use one measurement viewpoint to detect multiple similar detected points, thereby improving detection efficiency. However, for complex assemblies, the spatial structure of the assembly is more complex, and more measurement viewpoints are required. The inspection task is also several times that of complex parts. This method cannot meet the inspection needs of complex assemblies.
国内外已存在关于测量视点自动规划技术的多项研究。其中较为先进的方法是分析检测任务中的各种约束之间的相互关系,基于这些关系生成一个符合限制条件的测量视点。对于复杂装配体的检测而言,这种方法的计算量大、耗时高。缺乏对数量众多的测量视点聚类优化的过程。There have been many researches on automatic planning technology of measurement viewpoints at home and abroad. One of the more advanced methods is to analyze the relationship between various constraints in the detection task, and generate a measurement viewpoint that meets the constraints based on these relationships. For the detection of complex assemblies, this method is computationally intensive and time-consuming. There is a lack of an optimized process for clustering a large number of measurement viewpoints.
综上所述,目前复杂装配体测量过程中,存在算法效率低,测量点冗余等问题。To sum up, in the current complex assembly measurement process, there are problems such as low algorithm efficiency and redundant measurement points.
发明内容SUMMARY OF THE INVENTION
为了克服现有激光雷达测量中测量视点规划方法测量站位点多的不足,本发明提供一种激光雷达测量中机器人站位规划方法。该方法首先构建CAD仿真模型并建立坐标系,再构建视点可达圆锥模型,根据测量精度要求对视点可达圆锥模型进行离散处理,利用激光雷达测量约束和工业机器人手臂可达空间范围约束对小球集合进行筛选,将满足约束条件的小球保留,取包含小球种类最多的相交区域,以相交区域的型心作为激光雷达测量站位点。将从测量站位点能测量的测量点所对应的离散小球,从所有测量点所对应的离散小球集合中移除。对其余测量点继续上述过程,直至生成与所有测量点相对应的激光雷达测量站位点。本发明使用离散小球进行测量可达域计算,根据测量精度确定离小球半径,使测量速率与测量精度相适应。针对不同的测量精度,算法都可以保持较高的计算效率。本发明方法的柔性高于背景技术方法。对测量可达域进行几何求交运算,实现用数量最少激光雷达测量站位点完成检测任务,将激光雷达测量站位点总数减少20~30%。In order to overcome the shortage of many measuring stations in the existing measurement viewpoint planning method in the laser radar measurement, the present invention provides a robot station planning method in the laser radar measurement. This method first builds a CAD simulation model and establishes a coordinate system, and then builds a viewpoint reachable cone model. According to the measurement accuracy requirements, the viewpoint reachable cone model is discretized. The measurement constraints of lidar and the constraints of the reachable space range of industrial robot arms are used to adjust the small The ball set is screened, the balls that meet the constraints are retained, the intersection area with the most types of balls is selected, and the center of the intersection area is used as the lidar measurement station. The discrete spheres corresponding to the measurement points that can be measured from the measuring station are removed from the set of discrete spheres corresponding to all the measurement points. Continue the above process for the remaining measurement points until the lidar measurement station points corresponding to all the measurement points are generated. The invention uses discrete small balls to perform measurement reachable domain calculation, determines the distance from the small ball radius according to the measurement accuracy, and adapts the measurement rate to the measurement accuracy. For different measurement accuracy, the algorithm can maintain high computational efficiency. The flexibility of the method of the present invention is higher than that of the background art method. The geometric intersection operation is performed on the measurement reachable area, so that the detection task can be completed with the least number of lidar measurement stations, and the total number of lidar measurement stations can be reduced by 20-30%.
本发明解决其技术问题所采用的技术方案:一种激光雷达测量中机器人站位规划方法,其特点是包括以下步骤:The technical solution adopted by the present invention to solve the technical problem: a robot station planning method in laser radar measurement, which is characterized by comprising the following steps:
(a)构建CAD仿真模型并建立坐标系。采用三维造型软件,将已知的激光雷达、机器人手臂模型和零件模型装配在检测平台上。建立检测世界坐标系Sw,任选检测平台上一点作为Sw的原点,用三维移动平台的三个正交运动方向分别作为Sw的X,Y,Z轴的方向。以机器人手臂基座中心点Ob为基点建立运动坐标系Sb,三个坐标轴的方向与Sw的三个坐标轴的方向相同。标注出所有测量点的坐标和表面单位法矢。(a) Build a CAD simulation model and establish a coordinate system. Using 3D modeling software, the known lidar, robot arm model and part model are assembled on the inspection platform. Establish the detection world coordinate system S w , choose a point on the detection platform as the origin of S w , and use the three orthogonal motion directions of the three-dimensional moving platform as the directions of the X, Y, and Z axes of S w respectively. The motion coordinate system S b is established with the center point Ob of the base of the robot arm as the base point, and the directions of the three coordinate axes are the same as those of the three coordinate axes of S w . Label the coordinates and surface unit normals of all measurement points.
(b)构建视点可达圆锥模型;从被测模型中提取出每个测量点的坐标和表面单位法矢;根据每个测量点Pw,i的坐标(xw,i,yw,i,zw,i)和表面单位法矢i=1,2,...,m,m是测量点总个数。以Pw,i(xw,i,yw,i,zw,i)为视点可达圆锥顶点,为轴线作一个顶角为θk的视点可达圆锥。取视点可达圆锥上一条母线ζi,0,ζi,0的方向矢量为(b) Construct the view point reachable cone model; extract the coordinates of each measurement point and the surface unit normal vector from the measured model; according to the coordinates of each measurement point Pw,i ( xw,i , yw,i ,z w,i ) and the surface unit normal i=1,2,...,m, where m is the total number of measurement points. Taking P w,i (x w,i ,y w,i ,z w,i ) as the viewpoint, the vertex of the cone can be reached, Make a point of view accessibility cone with an apex angle θ k for the axis. Taking a generatrix ζ i,0 on the viewpoint reachable cone, the direction vector of ζ i,0 is
将ζi,0绕轴线旋转一个角度后得到站位可达圆锥上的另一条母线ζi,l,l=0,1,...L-1,ζi,l的方向矢量表示为:Rotate ζ i,0 around the axis by an angle Then get another bus ζ i,l on the station reachable cone, l=0,1,...L-1, the direction vector of ζ i,l is expressed as:
其中I为3×3单位矩阵,where I is a 3 × 3 identity matrix,
用多条离散的母线表示视点可达圆锥模型。The viewpoint-reachable cone model is represented by multiple discrete bus bars.
(c)根据测量精度要求对视点可达圆锥模型进行离散处理。小球半径C表示测量特征的精度要求。对站位可达圆锥分层离散,每层高度h=2×rq,共分为J层,第j层的圆半径再将圆离散成圆环,相邻圆环间距d=2×rq,共分为K层,第j层圆台的第k层圆环记为ringj,k,圆环半径表示为计算圆环的周长用圆环ringj,k的周长Cc,j,k除以小球直径dq=2·rq,结果向下取整,得到圆环ringj,k上离散小球的数量L。离散小球记作qj,k,l。计算得出小球qj,k,l的圆心坐标(xj,k,l,yj,k,l,zj,k,l)。(c) Discrete the viewpoint-reachable cone model according to the measurement accuracy requirements. Ball radius C represents the accuracy requirement of the measurement feature. The station reachable cone is discrete in layers, the height of each layer is h=2×r q , and it is divided into J layers. The circle radius of the jth layer The circle is then discretized into rings, and the distance between adjacent rings is d=2×r q , which are divided into K layers. The k-th ring of the j-th truncated cone is denoted as ring j,k , and the radius of the ring is expressed as Calculate the circumference of a ring Divide the perimeter C c,j,k of the ring j, k by the diameter of the sphere d q =2·r q , and round down the result to obtain the number L of discrete spheres on the ring j,k . The discrete ball is denoted q j,k,l . Calculate the coordinates of the center of the ball q j,k,l (x j,k,l ,y j,k,l ,z j,k,l ).
由测量点Pw,i建立的视点可达圆锥用离散小球的集合表示,记为:The viewpoint reachable cone established by the measurement point Pw,i is represented by a set of discrete spheres, denoted as:
Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+} (4)S i ={q j,k,l |j∈[1,J],k∈[1,K],l∈[1,L],N + } (4)
(d)激光雷达测量约束定义。根据每个测量点Pw,i特征类型及测量精度要求,激光雷达站位点Mw,i与测量点Pw,i满足距离约束、角度约和干涉约束。(d) Definition of lidar measurement constraints. According to the characteristic type and measurement accuracy requirements of each measurement point Pw,i , the lidar station Mw,i and the measurement point Pw,i satisfy the distance constraint, the angle approximation and the interference constraint.
距离约束:激光雷达站位Mw,i与测量点Pw,i之间的距离Li满足有效范围要求,即Lmin<Li<Lmax。其中Lmin,Lmax分别是在满足测量精度的要求下,允许的最小和最大距离。Distance constraint: the distance Li between the lidar station M w,i and the measurement point P w, i satisfies the effective range requirement, that is, L min <L i <L max . Among them, L min and L max are the minimum and maximum distances allowed under the requirement of measurement accuracy, respectively.
角度约束:由测量点Pw,i指向激光雷达站位Mw,i的向量与测量点Pw,i的法矢夹角θi满足有效范围要求,即θmin<θi<θmax。其中θmin,θmax是满足测量精度要求所允许的最小和最大角度。由检测对象的特征类型决定。Angle constraint: the vector from the measurement point Pw,i to the lidar station Mw,i The normal vector to the measurement point P w,i The included angle θ i meets the effective range requirement, that is, θ min <θ i <θ max . where θ min , θ max are the minimum and maximum angles allowed to meet the measurement accuracy requirements. It is determined by the feature type of the detected object.
测量约束边界用离散的母线矢量表示,其中圆锥顶角θk=2θi。根据距离约束Lmin,Lmax在母线ζi,0上截取线段μi,0,线段μi,0的端点为和PA,w,i PB,w,i以表面单位法矢为轴旋转360°得到激光雷达的测量约束边界。The measurement constraint boundaries are represented by discrete generatrix vectors, where the cone apex angle θ k = 2θ i . According to the distance constraint L min , L max intercepts the line segment μ i, 0 on the busbar ζ i,0 , and the end point of the line segment μ i,0 is and P A,w,i P B,w,i in surface units normal Rotate 360° for the axis to get the lidar's measurement constraint bounds.
(e)工业机器人手臂可达空间范围约束定义。采用经典D-H方法建立连杆坐标系,通过连杆坐标系Ri相对于连杆坐标系Ri-1的坐标变换矩阵 得到工业机器人前三个关节形成的工作空间的方程Wi(Pi b){W0(Pi b)、W1(Pi b)、W2(Pi b)},其中(e) The constraint definition of the reachable space range of the industrial robot arm. The connecting rod coordinate system is established by the classical DH method, and the coordinate transformation matrix of the connecting rod coordinate system R i relative to the connecting rod coordinate system R i-1 is used Obtain the equation Wi (P i b ){W 0 (P i b ), W 1 (P i b ), W 2 (P i b )} of the workspace formed by the first three joints of the industrial robot , where
cθi=cos(θi),sθi=sin(θi),cαi=cos(αi), c θi =cos(θ i ), s θi =sin(θ i ), c αi =cos(α i ),
sαi=sin(αi)s αi =sin(α i )
机器人手臂工作可达区域由前三个关节的工作区域决定。根据工业机器人的结构参数关节变量θi满足θi min<θi<θi max,对关节变量θ2、θ3采用极限组合原理,可得到当θ1=0时工业机器人腕关节端点Pi b在机器人坐标系中的工作空间边界,再根据工作空间边界求出工作空间W0(Pi b)关键点的z坐标,这些关键点为θ1=0时工作空间内外边界z坐标最大和最小的点以及边界表达式发生变化处点的z坐标,记为Z1,Z2......,Z7。然后求出腕关节端点Pi b到机器人坐标系z轴的距离Di,以及在对应Pi w的z坐标处工作空间W0(Pw)的内外边界到机器人坐标系z轴的距离和如果有成立,则说明Pi b在工作空间W0(Pi b)内部。W0(Pi b),W1(Pi b)W2(Pi b)的参数方程分别为:The working reachable area of the robot arm is determined by the working area of the first three joints. According to the structural parameters of the industrial robot, the joint variable θ i satisfies θ i min <θ i <θ i max , and the limit combination principle is adopted for the joint variables θ 2 and θ 3 , and the endpoint P i of the wrist joint of the industrial robot can be obtained when θ 1 =0 b is the workspace boundary in the robot coordinate system, and then according to the workspace boundary, the z-coordinates of the key points of the workspace W 0 (P i b ) are obtained. These key points are the maximum sum of the z-coordinates of the inner and outer boundaries of the workspace when θ 1 =0 The smallest point and the z-coordinate of the point where the boundary expression changes, denoted Z 1 , Z 2 ......, Z 7 . Then find the distance D i from the wrist joint endpoint P i b to the z-axis of the robot coordinate system, and the distance from the inner and outer boundaries of the workspace W 0 (P w ) at the z-coordinate of the corresponding P i w to the z-axis of the robot coordinate system and If there is If established, it means that P i b is inside the workspace W 0 (P i b ). The parametric equations of W 0 (P i b ), W 1 (P i b ) and W 2 (P i b ) are:
式中,In the formula,
c1=cos(θ1),c2=cos(θ2),c3=cos(θ3);c 1 =cos(θ 1 ), c 2 =cos(θ 2 ), c 3 =cos(θ 3 );
s1=sin(θ1),s2=sin(θ2),s3=sin(θ3);s 1 =sin(θ 1 ), s 2 =sin(θ 2 ), s 3 =sin(θ 3 );
s23=sin(θ2+θ3);s 23 =sin(θ 2 +θ 3 );
c23=cos(θ2+θ3);c 23 =cos(θ 2 +θ 3 );
d4是工业机器人连杆4的关节偏置距离;θ1是工业机器人连杆1的关节转角;θ2是工业机器人连杆2的关节转角;d 4 is the joint offset distance of the industrial robot link 4; θ 1 is the joint rotation angle of the industrial robot link 1; θ 2 is the joint rotation angle of the industrial robot link 2;
θ3是工业机器人连杆3的关节转角;a1是工业机器人连杆1的长度;a2是工业机器人连杆2的长度;θ 3 is the joint rotation angle of the industrial robot link 3; a 1 is the length of the industrial robot link 1; a 2 is the length of the industrial robot link 2;
a3是工业机器人连杆3的长度;机器人手臂运动空间边界用方程Wi(Pi b){W0(Pi b)、W1(Pi b)、W2(Pi b)}表示。a 3 is the length of the industrial robot link 3; the robot arm motion space boundary uses the equation Wi (P i b ){W 0 (P i b ), W 1 (P i b ), W 2 ( P i b ) } express.
(f)利用(d)、(e)中的激光雷达测量约束和工业机器人手臂可达空间范围约束对小球集合Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+}进行筛选。将满足约束条件的小球保留。对Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+}筛选处理得到测量可达域Si'。(f) Using the lidar measurement constraints in (d) and (e) and the reachable space range constraints of the industrial robot arm for the set of small balls S i ={q j,k,l |j∈[1,J],k ∈[1,K],l∈[1,L],N + } to filter. Keep the balls that meet the constraints. S i = {q j,k,l |j∈[1,J],k∈[1,K],l∈[1,L],N + } to obtain the measurement reachable domain Si '.
(h)将每个测量点的测量可达域Si'求交。取包含小球种类最多的相交区域Ti,以相交区域Ti的型心作为激光雷达测量站位点Qw,i。将从测量站位点Qw,i能测量的测量点Pw,i所对应的离散小球,从所有测量点所对应的离散小球集合中移除。对其余测量点继续上述过程,直至生成与所有测量点Pw,i相对应的激光雷达测量站位点Qw,i。(h) Intersect the measurement reachable domains S i ' of each measurement point. Take the intersection area Ti that contains the most types of spheres, and take the center of the intersection area Ti as the lidar measurement station Q w ,i . The discrete spheres corresponding to the measurement points P w,i that can be measured from the measuring station site Q w,i are removed from the set of discrete spheres corresponding to all the measurement points. The above process is continued for the remaining measurement points until the lidar measurement station points Q w, i corresponding to all the measurement points P w,i are generated.
本发明的有益效果是:该方法首先构建CAD仿真模型并建立坐标系,再构建视点可达圆锥模型,根据测量精度要求对视点可达圆锥模型进行离散处理,利用激光雷达测量约束和工业机器人手臂可达空间范围约束对小球集合进行筛选,将满足约束条件的小球保留,取包含小球种类最多的相交区域,以相交区域的型心作为激光雷达测量站位点。将从测量站位点能测量的测量点所对应的离散小球,从所有测量点所对应的离散小球集合中移除。对其余测量点继续上述过程,直至生成与所有测量点相对应的激光雷达测量站位点。本发明使用离散小球进行测量可达域计算,根据测量精度确定离小球半径,使测量速率与测量精度相适应。针对不同的测量精度,算法都可以保持较高的计算效率。本发明算法的柔性高于目前所使用的算法。对测量可达域进行几何求交运算,实现用数量最少激光雷达测量站位点完成检测任务,将激光雷达测量站位点总数减少20~30%。The beneficial effects of the invention are as follows: the method first constructs a CAD simulation model and establishes a coordinate system, and then constructs a viewpoint reachable cone model, performs discrete processing on the viewpoint reachable cone model according to the measurement accuracy requirements, and uses laser radar to measure constraints and industrial robot arms. The reachable space constraints are used to screen the set of small balls, and the small balls that meet the constraints are retained. The intersection area with the most types of small balls is selected, and the center of the intersection area is used as the lidar measurement station. The discrete spheres corresponding to the measurement points that can be measured from the measuring station are removed from the set of discrete spheres corresponding to all the measurement points. Continue the above process for the remaining measurement points until the lidar measurement station points corresponding to all the measurement points are generated. The invention uses discrete small balls to perform measurement reachable domain calculation, determines the distance from the small ball radius according to the measurement accuracy, and adapts the measurement rate to the measurement accuracy. For different measurement accuracy, the algorithm can maintain high computational efficiency. The algorithm of the present invention is more flexible than currently used algorithms. The geometric intersection operation is performed on the measurement reachable area, so that the detection task can be completed with the least number of lidar measurement stations, and the total number of lidar measurement stations can be reduced by 20-30%.
下面结合附图和具体实施方式对本发明作详细说明。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
附图说明Description of drawings
图1是本发明激光雷达测量中机器人站位规划方法的流程图。FIG. 1 is a flow chart of the robot station planning method in the laser radar measurement of the present invention.
图2是本发明方法中激光雷达测量约束定义。FIG. 2 is a definition of a lidar measurement constraint in the method of the present invention.
图3是本发明方法中测量可达圆锥离散化模型。Fig. 3 is the discretization model of the measurement reachable cone in the method of the present invention.
图4是本发明方法中机器人手臂运动范围约束。FIG. 4 is the restriction of the movement range of the robot arm in the method of the present invention.
图5是本发明方法中测量可达域求交示意图。FIG. 5 is a schematic diagram of the measurement reachable domain intersection in the method of the present invention.
具体实施方式Detailed ways
参照图1-5。本发明激光雷达测量中机器人站位规划方法具体步骤如下:Refer to Figures 1-5. The specific steps of the robot station planning method in the laser radar measurement of the present invention are as follows:
步骤1、构建CAD仿真模型并建立坐标系。Step 1. Build a CAD simulation model and establish a coordinate system.
使用UG软件,将已知的激光雷达、机器人手臂模型和零件模型装配在检测平台上。建立检测世界坐标系Sw,任选检测平台上一点作为Sw的原点,用三维移动平台的三个正交运动方向分别作为Sw的X,Y,Z轴的方向。以机器人手臂基座中心点Ob为基点建立运动坐标系Sb,三个坐标轴的方向与Sw的三个坐标轴的方向相同。标注出所有测量点的坐标和表面法式。Using UG software, the known lidar, robot arm model and part model are assembled on the inspection platform. Establish the detection world coordinate system S w , choose a point on the detection platform as the origin of S w , and use the three orthogonal motion directions of the three-dimensional moving platform as the directions of the X, Y, and Z axes of S w respectively. The motion coordinate system S b is established with the center point Ob of the base of the robot arm as the base point, and the directions of the three coordinate axes are the same as those of the three coordinate axes of S w . The coordinates and surface formulas of all measurement points are marked.
步骤2、构建视点可达圆锥模型。Step 2. Construct the viewpoint reachable cone model.
根据每个测量点Pw,i的坐标(xw,i,yw,i,zw,i)和表面单位法矢i=1,2,...,m,m是测量点总个数。以Pw,i(xw,i,yw,i,zw,i)为视点可达圆锥顶点,为轴线作一个顶角为θk的视点可达圆锥。取视点可达圆锥上一条母线ζi,0,ζi,0的方向矢量为其中 According to the coordinates ( xw,i , yw,i , zw,i ) of each measurement point Pw ,i and the surface unit normal vector i=1,2,...,m, where m is the total number of measurement points. Taking P w,i (x w,i ,y w,i ,z w,i ) as the viewpoint, the vertex of the cone can be reached, Make a point of view accessibility cone with an apex angle θ k for the axis. Taking a generatrix ζ i,0 on the viewpoint reachable cone, the direction vector of ζ i,0 is in
将ζi,0绕轴线旋转一个角度后得到站位可达圆锥上的另一条母线ζi,l,l=0,1,...L-1,ζi,l的方向矢量可表示为其中I为3×3单位矩阵, Rotate ζ i,0 around the axis by an angle Then get another bus ζ i,l on the station reachable cone, l=0,1,...L-1, the direction vector of ζ i,l can be expressed as where I is a 3 × 3 identity matrix,
用多条离散的母线表示视点可达圆锥模型。The viewpoint-reachable cone model is represented by multiple discrete bus bars.
步骤3、视点可达圆锥模型离散处理。Step 3: Discrete processing of the viewpoint reachable cone model.
根据测量精度要求对视点可达圆锥模型进行离散处理。用离散小球表示视点可达圆锥。小球半径C表示测量特征的精度要求。对站位可达圆锥分层离散,每层高度h=2×rq,共分为J层,第j层的圆半径再将圆离散成圆环,相邻圆环间距d=2×rq,共分为K层,第j层圆台的第k层圆环记为ringj,k,圆环半径表示为计算圆环的周长用圆环ringj,k的周长Cc,j,k除以小球直径dq=2·rq,结果向下取整,得到圆环ringj,k上离散小球的数量L。离散小球记作qj,k,l。计算得出小球qj,k,l的圆心坐标(xj,k,l,yj,k,l,zj,k,l)。According to the requirements of measurement accuracy, the viewpoint-reachable cone model is discretized. The viewpoint accessibility cone is represented by discrete spheres. Ball radius C represents the accuracy requirement of the measurement feature. The station reachable cone is discrete in layers, the height of each layer is h=2×r q , and it is divided into J layers. The circle radius of the jth layer The circle is then discretized into rings, and the distance between adjacent rings is d=2×r q , which are divided into K layers. The k-th ring of the j-th truncated cone is denoted as ring j,k , and the radius of the ring is expressed as Calculate the circumference of a ring Divide the perimeter C c,j,k of the ring j, k by the diameter of the sphere d q =2·r q , and round down the result to obtain the number L of discrete spheres on the ring j,k . The discrete ball is denoted q j,k,l . Calculate the coordinates of the center of the ball q j,k,l (x j,k,l ,y j,k,l ,z j,k,l ).
由测量点Pw,i建立的视点可达圆锥用离散小球的集合表示,记为Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+}。The viewpoint reachable cone established by the measurement point P w,i is represented by a set of discrete spheres, denoted as S i ={q j,k,l |j∈[1,J],k∈[1,K], l∈[1,L],N + }.
步骤4、激光雷达测量约束定义。Step 4. Definition of lidar measurement constraints.
根据每个测量点Pw,i特征类型及测量精度要求,激光雷达站位点Mw,i与测量点Pw,i满足距离约束、角度约束,干涉约束。According to the characteristic type and measurement accuracy requirements of each measurement point Pw,i , the lidar station Mw,i and the measurement point Pw,i satisfy distance constraints, angle constraints, and interference constraints.
距离约束:激光雷达站位Mw,i与测量点Pw,i之间的距离Li满足有效范围要求,即Lmin<Li<Lmax。其中Lmin,Lmax分别是在满足测量精度的要求下,允许的最小和最大距离。Distance constraint: the distance Li between the lidar station M w,i and the measurement point P w, i satisfies the effective range requirement, that is, L min <L i <L max . Among them, L min and L max are the minimum and maximum distances allowed under the requirement of measurement accuracy, respectively.
角度约束:由测量点Pw,i指向激光雷达站位Mw,i的向量与测量点Pw,i的法矢夹角θi满足有效范围要求,即θmin<θi<θmax。其中θmin,θmax是满足测量精度要求所允许的最小和最大角度。由检测对象的特征类型决定。Angle constraint: the vector from the measurement point Pw,i to the lidar station Mw,i The normal vector to the measurement point P w,i The included angle θ i meets the effective range requirement, that is, θ min <θ i <θ max . where θ min , θ max are the minimum and maximum angles allowed to meet the measurement accuracy requirements. It is determined by the feature type of the detected object.
测量约束边界用离散的母线矢量表示,其中圆锥顶角θk=2θi。根据距离约束Lmin,Lmax在母线ζi,0上截取线段μi,0,线段μi,0的端点为和PA,w,i PB,w,i以表面单位法矢为轴旋转360°得到激光雷达的测量约束边界。The measurement constraint boundaries are represented by discrete generatrix vectors, where the cone apex angle θ k = 2θ i . According to the distance constraint L min , L max intercepts the line segment μ i, 0 on the busbar ζ i,0 , and the end point of the line segment μ i,0 is and P A,w,i P B,w,i in surface units normal Rotate 360° for the axis to get the lidar's measurement constraint bounds.
步骤5、工业机器人手臂可达空间范围约束定义。Step 5. Define the reachable space range constraint of the industrial robot arm.
采用经典的D-H方法建立连杆坐标系,通过连杆坐标系Ri相对于连杆坐标系Ri-1的坐标变换矩阵得到工业机器人前三个关节形成的工作空间的方程Wi(Pi b){W0(Pi b)、W1(Pi b)、W2(Pi b)},其中The connecting rod coordinate system is established by the classical DH method, and the coordinate transformation matrix of the connecting rod coordinate system R i relative to the connecting rod coordinate system R i-1 is used Obtain the equation Wi (P i b ){W 0 (P i b ), W 1 (P i b ), W 2 (P i b )} of the workspace formed by the first three joints of the industrial robot , where
cθi=cos(θi),sθi=sin(θi),cαi=cos(αi), c θi =cos(θ i ), s θi =sin(θ i ), c αi =cos(α i ),
sαi=sin(αi)s αi =sin(α i )
机器人手臂工作可达区域由前三个关节的工作区域决定。根据工业机器人的结构参数关节变量θi满足θi min<θi<θi max,对关节变量θ2、θ3采用极限组合原理,可得到当θ1=0时工业机器人腕关节端点Pi b在机器人坐标系中的工作空间边界,再根据工作空间边界求出工作空间W0(Pi b)关键点的z坐标,这些关键点为θ1=0时工作空间内外边界z坐标最大和最小的点以及边界表达式发生变化处点的z坐标,记为Z1,Z2......,Z7。然后求出腕关节端点Pi b到机器人坐标系z轴的距离Di,以及在对应Pi w的z坐标处工作空间W0(Pw)的内外边界到机器人坐标系z轴的距离和如果有成立,则说明Pi b在工作空间W0(Pi b)内部。W0(Pi b),W1(Pi b)W2(Pi b)的参数方程分别为:The working reachable area of the robot arm is determined by the working area of the first three joints. According to the structural parameters of the industrial robot, the joint variable θ i satisfies θ i min <θ i <θ i max , and the limit combination principle is adopted for the joint variables θ 2 and θ 3 , and the endpoint P i of the wrist joint of the industrial robot can be obtained when θ 1 =0 b is the workspace boundary in the robot coordinate system, and then according to the workspace boundary, the z-coordinates of the key points of the workspace W 0 (P i b ) are obtained. These key points are the maximum sum of the z-coordinates of the inner and outer boundaries of the workspace when θ 1 =0 The smallest point and the z-coordinate of the point where the boundary expression changes, denoted Z 1 , Z 2 ......, Z 7 . Then find the distance D i from the wrist joint endpoint P i b to the z-axis of the robot coordinate system, and the distance from the inner and outer boundaries of the workspace W 0 (P w ) at the z-coordinate of the corresponding P i w to the z-axis of the robot coordinate system and If there is If established, it means that P i b is inside the workspace W 0 (P i b ). The parametric equations of W 0 (P i b ), W 1 (P i b ) and W 2 (P i b ) are:
式中:where:
c1=cos(θ1),c2=cos(θ2),c3=cos(θ3);c 1 =cos(θ 1 ), c 2 =cos(θ 2 ), c 3 =cos(θ 3 );
s1=sin(θ1),s2=sin(θ2),s3=sin(θ3);s 1 =sin(θ 1 ), s 2 =sin(θ 2 ), s 3 =sin(θ 3 );
s23=sin(θ2+θ3);s 23 =sin(θ 2 +θ 3 );
c23=cos(θ2+θ3);c 23 =cos(θ 2 +θ 3 );
d4是工业机器人连杆4的关节偏置距离;θ1是工业机器人连杆1的关节转角;θ2是工业机器人连杆2的关节转角;θ3是工业机器人连杆3的关节转角;a1是工业机器人连杆1的长度;a2是工业机器人连杆2的长度;a3是工业机器人连杆3的长度; d4 is the joint offset distance of the industrial robot link 4; θ1 is the joint rotation angle of the industrial robot link 1; θ2 is the joint rotation angle of the industrial robot link 2 ; θ3 is the joint rotation angle of the industrial robot link 3 ; a1 is the length of the industrial robot connecting rod 1 ; a2 is the length of the industrial robot connecting rod 2 ; a3 is the length of the industrial robot connecting rod 3 ;
机器人手臂运动空间边界用方程Wi(Pi b){W0(Pi b)、W1(Pi b)、W2(Pi b)}表示。The motion space boundary of the robot arm is represented by equations W i (P i b ){W 0 (P i b ), W 1 (P i b ), W 2 (P i b )}.
步骤6、根据约束筛选满足条件的小球生成测量可达域。Step 6: Screen the balls that meet the conditions according to the constraints to generate a measurement reachable domain.
利用步骤4、5中的激光雷达测量约束和工业机器人手臂可达空间范围约束对小球集合Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+}进行筛选。将满足约束条件的小球保留。对Si={qj,k,l|j∈[1,J],k∈[1,K],l∈[1,L],N+}筛选处理得到测量可达域Si'。Using the lidar measurement constraints and the reachable space constraints of the industrial robot arm in steps 4 and 5, the set of small balls S i ={q j,k,l |j∈[1,J],k∈[1,K] , l∈[1,L],N + } to filter. Keep the balls that meet the constraints. S i = {q j,k,l |j∈[1,J],k∈[1,K],l∈[1,L],N + } to obtain the measurement reachable domain Si '.
步骤7、测量可达域求交并计算得出测量站位点。Step 7: Find the intersection of the measurement reachable domain and calculate the measurement station location.
将每个测量点的测量可达域Si'求交。取包含小球种类最多的相交区域Ti,以相交区域Ti的型心作为激光雷达测量站位点Qw,i。将从测量站位点Qw,i能测量的测量点Pw,i所对应的离散小球,从所有测量点所对应的离散小球集合中移除。对其余测量点继续上述过程,直至生成与所有测量点Pw,i相对应的激光雷达测量站位点Qw,i。The measurement reachable domains S i ' of each measurement point are intersected. Take the intersection area Ti that contains the most types of spheres, and take the center of the intersection area Ti as the lidar measurement station Q w ,i . The discrete spheres corresponding to the measurement points P w,i that can be measured from the measuring station site Q w,i are removed from the set of discrete spheres corresponding to all the measurement points. The above process is continued for the remaining measurement points until the lidar measurement station points Q w, i corresponding to all the measurement points P w,i are generated.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010054454.2A CN111428334B (en) | 2020-01-17 | 2020-01-17 | Robot station planning method in laser radar measurement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010054454.2A CN111428334B (en) | 2020-01-17 | 2020-01-17 | Robot station planning method in laser radar measurement |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111428334A CN111428334A (en) | 2020-07-17 |
CN111428334B true CN111428334B (en) | 2022-05-06 |
Family
ID=71547594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010054454.2A Active CN111428334B (en) | 2020-01-17 | 2020-01-17 | Robot station planning method in laser radar measurement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111428334B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112258445B (en) * | 2020-08-21 | 2022-08-02 | 西北工业大学 | A Viewpoint Solution Method for False and Missing Installation of Aero-engine |
CN113239580B (en) * | 2020-12-21 | 2024-10-22 | 南京航空航天大学 | A laser radar measurement station planning method for large structural component surface inspection |
CN114047762A (en) * | 2021-11-15 | 2022-02-15 | 西安工业大学 | An Ant Colony Algorithm-Based Lidar Space Measurement Path Planning Method and System |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268933A (en) * | 2014-09-11 | 2015-01-07 | 大连理工大学 | Scanning imaging method for three-dimensional environment in vehicle-mounted two-dimensional laser movement |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9131118B2 (en) * | 2012-11-14 | 2015-09-08 | Massachusetts Institute Of Technology | Laser speckle photography for surface tampering detection |
US9852512B2 (en) * | 2013-03-13 | 2017-12-26 | Electronic Scripting Products, Inc. | Reduced homography based on structural redundancy of conditioned motion |
US9154773B2 (en) * | 2013-03-15 | 2015-10-06 | Seiko Epson Corporation | 2D/3D localization and pose estimation of harness cables using a configurable structure representation for robot operations |
CN104331542B (en) * | 2014-08-12 | 2017-10-03 | 清华大学 | A kind of spray robot erect-position planing method of large-scale free form surface |
CN106897501B (en) * | 2017-01-23 | 2019-07-05 | 西北工业大学 | Towards the positioning and optimizing method based on blade parts deformation in adaptive machining |
CN106959080B (en) * | 2017-04-10 | 2019-04-05 | 上海交通大学 | A kind of large complicated carved components three-dimensional pattern optical measuring system and method |
CN109990701B (en) * | 2019-03-04 | 2020-07-10 | 华中科技大学 | A mobile measurement system and method for a large-scale complex surface three-dimensional topography robot |
-
2020
- 2020-01-17 CN CN202010054454.2A patent/CN111428334B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268933A (en) * | 2014-09-11 | 2015-01-07 | 大连理工大学 | Scanning imaging method for three-dimensional environment in vehicle-mounted two-dimensional laser movement |
Also Published As
Publication number | Publication date |
---|---|
CN111428334A (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111428334B (en) | Robot station planning method in laser radar measurement | |
Gong et al. | Analytical inverse kinematics and self-motion application for 7-DOF redundant manipulator | |
CN106423656B (en) | Automatic spraying system and method based on cloud and images match | |
Chen et al. | An integrated reverse engineering approach to reconstructing free-form surfaces | |
CN101109944A (en) | Planning method for smooth and interference-free tool paths in five-axis NC machining | |
CN107972034B (en) | A complex workpiece trajectory planning simulation system based on ROS platform | |
CN112264991B (en) | Layered rapid on-orbit collision detection method suitable for space manipulator | |
CN109344533B (en) | Establishment Method of Cable Network Model in Underground Well | |
CN102622479A (en) | Reverse engineering computer-aided design (CAD) modeling method based on three-dimensional sketch | |
CN114012726B (en) | Method for detecting collision of spaceflight mechanical arm | |
CN113232025B (en) | An obstacle avoidance method for robotic arm based on proximity perception | |
CN118990517B (en) | Automatic scanning paint spraying method | |
Xú et al. | STEP-NC based reverse engineering of in-process model of NC simulation | |
Xu et al. | A new welding path planning method based on point cloud and deep learning | |
Vafaeesefat et al. | Automated accessibility analysis and measurement clustering for CMMs | |
Fan et al. | Fast global collision detection method based on feature-point-set for robotic machining of large complex components | |
Sadaoui et al. | Touch probe measurement in dimensional metrology: A review | |
CN117444968A (en) | Method for planning scanning measurement path of large-scale barrel part local characteristic robot | |
CN117162098A (en) | Autonomous planning system and method for robot gesture in narrow space | |
Jin et al. | Computing tëichmuller shape space | |
CN119223211A (en) | A method for calibrating eccentricity of insulation layer for cable | |
Li et al. | A workspace limit approach for teleoperation based on signed distance function | |
CN101308523B (en) | A geometric simulation method of virtual laser processing process | |
CN115032911B (en) | Multi-robot simulation system suitable for distributed optical detection | |
CN113884042B (en) | Three-coordinate measurement automatic planning method for battery pack |
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 | ||
GR01 | Patent grant |