CN104881548A - Discrete-domain force field based acquisition method of geometric evolution of adjacent process models - Google Patents
Discrete-domain force field based acquisition method of geometric evolution of adjacent process models Download PDFInfo
- Publication number
- CN104881548A CN104881548A CN201510308603.2A CN201510308603A CN104881548A CN 104881548 A CN104881548 A CN 104881548A CN 201510308603 A CN201510308603 A CN 201510308603A CN 104881548 A CN104881548 A CN 104881548A
- Authority
- CN
- China
- Prior art keywords
- model
- force
- adjacent
- field
- face
- 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
- 238000000034 method Methods 0.000 title claims abstract description 117
- 230000008569 process Effects 0.000 title claims abstract description 87
- 238000009826 distribution Methods 0.000 claims abstract description 17
- 238000005259 measurement Methods 0.000 claims abstract description 10
- 239000002245 particle Substances 0.000 claims description 23
- 239000011159 matrix material Substances 0.000 claims description 19
- 230000005484 gravity Effects 0.000 claims description 18
- 230000008859 change Effects 0.000 claims description 15
- 239000013598 vector Substances 0.000 claims description 15
- 230000004069 differentiation Effects 0.000 claims description 4
- 238000010606 normalization Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims 5
- 230000008033 biological extinction Effects 0.000 claims 2
- 238000013459 approach Methods 0.000 claims 1
- 238000012512 characterization method Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 claims 1
- 238000001914 filtration Methods 0.000 claims 1
- 238000003754 machining Methods 0.000 claims 1
- 230000004304 visual acuity Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 description 2
- 208000029152 Small face Diseases 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011960 computer-aided design Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Processing Or Creating Images (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种工序模型几何演变的获取方法,特别是涉及一种基于离散域力场的相邻工序模型几何演变的获取方法。The invention relates to a method for acquiring the geometric evolution of a process model, in particular to a method for acquiring the geometric evolution of an adjacent process model based on a discrete domain force field.
背景技术Background technique
文献“三维工序模型几何演变序列的相似性度量,计算机辅助设计与图形学学报,2014,Vol26(7),p1176-1182”公开了一种工序模型几何演变获取的方法。该方法针对的是用NURBS建模方法得到的模型,根据NURBS模型控制顶点计算得到一系列具有仿射不变性的向量,通过对这一系列向量的比较,得到相邻两个工序模型的相似体素、相同体素、恒等体素。在此基础上,构建发生几何变化的体素的属性邻接图,利用属性邻接图表达相邻两个工序模型的几何演变。文献所述方法仅局限于用NURBS方法建立的工序模型的几何演变的获取,不能用于其他类型的工序模型;另外该方法在计算一系列具有仿射不变性的向量时计算量大,效率不高。The document "Similarity Measurement of Geometric Evolution Sequence of 3D Process Model, Journal of Computer-Aided Design and Graphics, 2014, Vol26(7), p1176-1182" discloses a method for obtaining geometric evolution of process model. This method is aimed at the model obtained by the NURBS modeling method. According to the calculation of the control vertices of the NURBS model, a series of vectors with affine invariance are obtained. By comparing the series of vectors, the similarity of two adjacent process models is obtained. voxel, same voxel, identical voxel. On this basis, the attribute adjacency graph of voxels undergoing geometric changes is constructed, and the geometric evolution of two adjacent process models is expressed by the attribute adjacency graph. The method described in the literature is limited to the acquisition of the geometric evolution of the process model established by the NURBS method, and cannot be used for other types of process models; in addition, the method has a large amount of calculation when calculating a series of vectors with affine invariance, and the efficiency is not good. high.
发明内容Contents of the invention
为了克服现有工序模型几何演变的获取方法实用性差的不足,本发明提供一种基于离散域力场的相邻工序模型几何演变的获取方法。该方法首先对相邻的两个工序模型进行三角面片划分,要求划分的三角面片分布基本均匀,网格尺寸基本相同,进一步,在离散域力场中求解两个工序模型每个面上三角面片的受力情况,得到两个工序模型各表面的力场视角、力场距离和表面特征图,通过比较两个模型各表面的力场视角、力场距离和表面特征图来进行模型表面几何变化类型的判断,对新增面的邻接边的凹凸性进行判断并结合新增面的类型得到相邻两道工序模型的几何演变。将获取的模型的几何演变表示为扩展的属性邻接图,最后再把扩展属性邻接图表示成扩展的属性邻接矩阵,以便于在计算机的读取、存储及后续的工艺知识检索。基于离散域力场求解相邻工序模型的几何演变,对三维模型的类型没有要求,即适用于任何类型的三维模型;在进行模型表面几何变化类型的判断过程中,通过对模型表面力场视角、模型表面力场距离的比较筛选出两个相邻工序模型中有效配对的面,接着只对有效配对面的表面特征图进行相似性度量来判断两个工序模型间面的演变类型,提高了方法的效率;采用EMD距离比较算法对模型表面特征图进行整体的相似性度量,Fréchet距离相似性比对算法对模型表面特征图进行区域对比,因此该方法具有较高的分辨能力和精度。In order to overcome the disadvantage of poor practicability of the existing method for obtaining the geometric evolution of the process model, the present invention provides a method for obtaining the geometric evolution of the adjacent process model based on the discrete domain force field. This method first divides two adjacent process models into triangular patches. It is required that the distribution of the divided triangular patches is basically uniform and the grid size is basically the same. Further, the two process models are solved on each surface of the two process models in the discrete domain force field. The force of the triangular surface, the force field angle, force field distance and surface feature map of each surface of the two process models are obtained, and the model is developed by comparing the force field angle, force field distance and surface feature map of each surface of the two models. The judgment of the surface geometric change type is to judge the concavo-convexity of the adjacent edge of the newly added surface and combine the type of the newly added surface to obtain the geometric evolution of the two adjacent process models. The geometric evolution of the obtained model is expressed as an extended attribute adjacency graph, and finally the extended attribute adjacency graph is expressed as an extended attribute adjacency matrix, so as to facilitate reading, storage and subsequent process knowledge retrieval in the computer. Based on the discrete domain force field to solve the geometric evolution of the adjacent process model, there is no requirement for the type of 3D model, that is, it is applicable to any type of 3D model; in the process of judging the type of geometric change of the model surface, through the perspective of the model surface force field , The comparison of the model surface force field distance screens out the effectively paired surfaces in two adjacent process models, and then only performs similarity measurement on the surface feature maps of the effective paired surfaces to judge the evolution type of the surfaces between the two process models, which improves the The efficiency of the method; the EMD distance comparison algorithm is used to measure the overall similarity of the model surface feature map, and the Fréchet distance similarity comparison algorithm is used to compare the area of the model surface feature map, so this method has high resolution and precision.
本发明解决其技术问题所采用的技术方案是:一种基于离散域力场的相邻工序模型几何演变的获取方法,其特点是采用以下步骤:The technical solution adopted by the present invention to solve the technical problem is: a method for obtaining the geometric evolution of the adjacent process model based on the discrete domain force field, which is characterized in that the following steps are adopted:
(a)对相邻的两个工序模型的表面进行三角面片划分,要求划分的三角面片分布均匀,面片尺寸相同和不同工序模型表面上面片划分的一致性。工序模型表面由平面三角形面片集合逼近表达,模型表面的变化用有限个小面片的变化来度量。这样,每个工序模型的任一表面就表示成一个质点集合Q。(a) Divide the surfaces of two adjacent process models into triangular patches. It is required that the divided triangular patches are evenly distributed, the size of the patches is the same, and the consistency of the patch divisions on the surfaces of different process models is required. The surface of the process model is approximated by a set of planar triangle faces, and the change of the model surface is measured by the change of a limited number of small faces. In this way, any surface of each process model is represented as a particle set Q.
Q={q1,q2,…,qn} ⑴Q={q 1 ,q 2 ,…,q n } ⑴
式中,q1,q2,…,qn为模型任一表面所有三角面片的重心,n为该表面包含的三角面片的个数,重心qi的坐标由三角面的三个顶点计算得到。In the formula, q 1 , q 2 ,...,q n are the centers of gravity of all triangles on any surface of the model, n is the number of triangles contained in the surface, and the coordinates of the center of gravity q i are determined by the three vertices of the triangles calculated.
(b)基于离散域力场模型求解相邻两个工序模型各表面的表面特征图、表面的力场视角和表面的力场距离。用表面特征图、表面的力场视角和表面的力场距离共同描述模型上不同表面所受引力的分布状态,模型表面引力的分布状态表征模型各表面的形状。(b) Based on the discrete domain force field model, the surface characteristic map, the force field angle of view of the surface and the force field distance of the surface are solved for each surface of two adjacent process models. The distribution of gravitational force on different surfaces on the model is described by the surface feature map, the force field angle of view of the surface and the force field distance of the surface.
定义离散域力场模型:Define a discrete domain force field model:
设在工序模型的重心处存在一个质点O,且质点O的坐标在同一三维工艺规程中不随工序模型编号的变化而发生变化,根据牛顿第三定律,物体表面质点集Q中的元素qi均受到该质点O的万有引力作用,根据万有引力公式,得:Assuming that there is a mass point O at the center of gravity of the process model, and the coordinates of the mass point O do not change with the number of the process model in the same three-dimensional process specification, according to Newton’s third law, the elements q i in the particle set Q on the surface of the object are uniform Under the gravitational action of the particle O, according to the formula of universal gravitation, we get:
式中,mo和mqi分别为质点O和qi的质量,rqi为质点O到qi的距离,G为引力常数。In the formula, m o and m qi are the masses of particle O and q i respectively, r qi is the distance from particle O to q i , and G is the gravitational constant.
令mqi=1,即令元素qi为单位质点,则基于离散域力场模型方程如下:Let m qi =1, that is, element q i is a unit mass point, then the model equation based on the discrete domain force field is as follows:
式中,(xo,yo,zo)为工序模型的重心即质点O的坐标,(xqi,yqi,zqi)为元素qi的坐标。In the formula, (x o , y o , z o ) is the center of gravity of the process model, that is, the coordinates of the mass point O, and (x qi , yqi , z qi ) is the coordinates of the element q i .
定义模型表面特征图:Define a model surface feature map:
基于离散域力场模型求解模型某一表面上所有三角面片重心的受力大小,根据面片受力的大小将受力大小划分成若干个区间,以力的区间作为横坐标,区间内受力三角面片重心的个数作为纵坐标,生成频数分布直方图。对直方图的尺度归一化处理后进行保形插值得到的曲线称为模型表面特征图,用符号T表示。Based on the discrete domain force field model, the force of the center of gravity of all triangular patches on a certain surface of the model is solved, and the force is divided into several intervals according to the force of the surface, and the force interval is used as the abscissa. The number of the center of gravity of the force triangular patch is used as the ordinate to generate a frequency distribution histogram. The curve obtained by conformal interpolation after the scale normalization of the histogram is called the model surface feature map, denoted by the symbol T.
定义模型表面的力场视角:Define the force field perspective on the surface of the model:
力场视角为向量与模型表面法向量形成的夹角,用以标识模型上不同表面在力场中的方位,用符号θ表示。force field view as vector and the model surface normal vector The formed angle is used to identify the orientation of different surfaces on the model in the force field, and is represented by the symbol θ.
其中,向量为坐标系原点o与引力源质点O的连线指向O。这里规定,模型表面法向量垂直于模型表面且方向指向模型外侧。Among them, the vector The line connecting the origin o of the coordinate system and the point O of the gravitational source points to O. It is stipulated here that the model surface normal vector is perpendicular to the model surface and the direction points to the outside of the model.
定义模型表面的力场距离:Define the force field distance on the surface of the model:
力场距离为引力源质点O到模型表面的距离,用以标识在力场中模型表面到引力源的远近,用符号L表示。The force field distance is the distance from the particle O of the gravitational source to the surface of the model, which is used to identify the distance from the surface of the model to the gravitational source in the force field, represented by the symbol L.
(c)相邻工序模型表面引力分布状态的变化体现模型间的几何演变,通过对模型表面力场视角和模型表面力场距离的比较筛选出两个相邻工序模型中有效配对的面,接着对有效配对面的表面特征图进行相似性度量来判断两个工序模型间面的演变类型,两个面的表面特征图的相似性度量采用EMD距离相似性比较算法进行整体的比较,采用Fréchet距离相似性比对算法进行区域对比。(c) Changes in the surface gravitational force distribution of adjacent process models reflect the geometric evolution between the models. Through the comparison of the model surface force field angle and the model surface force field distance, the effectively paired surfaces in the two adjacent process models are selected, and then The similarity measurement is carried out on the surface feature map of the effective paired surface to judge the evolution type of the surface between the two process models. The similarity measurement of the surface feature map of the two surfaces adopts the EMD distance similarity comparison algorithm for overall comparison, and uses the Fréchet distance The similarity comparison algorithm performs regional comparison.
两个工序模型表面的演变类型分为四种:修改面、新增面、不变面和消亡面。修改面和不变面不参与加工特征的构造,消亡面只存在两个相邻工序模型的前一个工序模型中,识别两个相邻工序模型几何演变的关键是找到后一个工序模型中的新增面。The evolution types of the surfaces of the two process models are divided into four types: modified surfaces, newly added surfaces, unchanged surfaces and disappearing surfaces. The modified surface and the unchanged surface do not participate in the construction of processing features, and the disappearing surface only exists in the previous process model of the two adjacent process models. The key to identifying the geometric evolution of the two adjacent process models is to find the new process model in the latter process model. Increase surface.
(d)找到两道工序模型几何演变过程中的新增面,判断新增面邻接边的凹凸性,得到新增面间的拓扑关系,结合新增面的类型得到相邻两道工序模型的几何演变。(d) Find the newly added surfaces in the process of geometric evolution of the two process models, judge the concavity and convexity of the adjacent edges of the newly added faces, obtain the topological relationship between the newly added faces, and combine the types of the newly added faces to obtain the two adjacent process models Geometric evolution.
(e)将获取的相邻两道工序模型的几何演变表示为扩展的属性邻接图,进一步把扩展属性邻接图表示成扩展的属性邻接矩阵,方便计算机读取、存储及后续的工艺知识检索。(e) Express the geometric evolution of the acquired two adjacent process models as an extended attribute adjacency graph, and further express the extended attribute adjacency graph as an extended attribute adjacency matrix, which is convenient for computer reading, storage and subsequent process knowledge retrieval.
为了能更加完整的表达模型几何演变的几何特征信息,对属性邻接图的节点和弧或边的属性进行扩展,附加了面的类型、边的类型,得到扩展的属性邻接图。通过增加邻接矩阵的列数和元素aij值的位数避免邻接矩阵表达的二义性,在邻接矩阵a[n,n]中添加一列a[i,n+1],第n+1列对应面fi的类型属性。In order to express the geometric feature information of the geometric evolution of the model more completely, the attributes of the nodes and arcs or edges of the attribute adjacency graph are extended, and the types of faces and edges are added to obtain the extended attribute adjacency graph. Avoid the ambiguity expressed by the adjacency matrix by increasing the number of columns of the adjacency matrix and the number of digits of the element a ij value, and add a column a[i,n+1] to the adjacency matrix a[n,n], the n+1th column Corresponds to the type attribute of the face f i .
在邻接矩阵a[n,n]中,将aij的位数由二位增加到三位,aij前两位仍然表示面fi和fj邻接边的凹凸性,新增的第三位代面fi和fj邻接边的类型。In the adjacency matrix a[n,n], the number of digits of a ij is increased from two digits to three digits, the first two digits of a ij still represent the concavity and convexity of the adjacent sides of faces f i and f j , and the newly added third digit The type of the adjacent edge of f i and f j .
本发明的有益效果是:本发明方法通过对三维模型表面进行三角网格划分,进一步,在离散域力场中利用模型表面三角面片所受引力的分布状态来表征当前的模型表面形状,相邻工序模型表面引力分布状态的变化表征模型间的几何演变,对三维模型的类型没有要求,即适用于任何类型的三维模型。通过对模型表面力场视角、模型表面力场距离的比较筛选出两个相邻工序模型中有效配对的面,接着对有效配对面的表面特征图进行相似性度量来判断两个工序模型间面的演变类型,提高了方法的效率。采用EMD距离比较算法对模型表面特征图进行整体的相似性度量,Fréchet距离相似性比对算法对模型表面特征图进行区域对比,因此该方法具有较高的分辨能力和精度。The beneficial effects of the present invention are: the method of the present invention divides the triangular mesh on the surface of the three-dimensional model, and further, uses the distribution state of the gravitational force on the triangular surface of the model surface in the discrete domain force field to characterize the current model surface shape. The change of the gravitational force distribution on the surface of the adjacent process model represents the geometric evolution between the models, and there is no requirement for the type of the 3D model, that is, it is applicable to any type of 3D model. By comparing the angle of view of the model surface force field and the distance of the model surface force field, the effectively paired surfaces in two adjacent process models are screened out, and then the similarity measurement is performed on the surface feature maps of the effective paired surfaces to determine the surface between the two process models The evolution type of , which improves the efficiency of the method. The EMD distance comparison algorithm is used to measure the overall similarity of the model surface feature map, and the Fréchet distance similarity comparison algorithm is used to compare the area of the model surface feature map, so this method has high resolution and precision.
下面结合附图和具体实施方式对本发明作详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
附图说明Description of drawings
图1是本发明方法的流程图。Figure 1 is a flow chart of the method of the present invention.
图2是相邻工序的两个工序模型a和b。Figure 2 is two process models a and b of adjacent processes.
图3是对模型a和b进行三角面片划分后的示意图。Fig. 3 is a schematic diagram of models a and b after triangular mesh division.
图4是模型a各表面的特征图。Fig. 4 is a characteristic diagram of each surface of model a.
图5是模型b各表面的特征图。Fig. 5 is a characteristic diagram of each surface of model b.
图6是模型a、b工序模型几何演变获取结果的扩展属性邻接图表示。Fig. 6 is an extended attribute adjacency graph representation of the geometric evolution acquisition results of the process models a and b.
具体实施方式Detailed ways
参照图1-6。本发明基于离散域力场的相邻工序模型几何演变的获取方法体步骤如下:Refer to Figure 1-6. The steps of the method for obtaining the geometric evolution of the adjacent process model based on the discrete domain force field in the present invention are as follows:
将两个相邻的工序模型a和模型b的表面用集合分别表示为:The surfaces of two adjacent process model a and model b are expressed as:
Fa={fa 1,fa 2,fa 3,fa 4,fa 5,fa 6,fa 7,fa 8}F a ={f a 1 ,f a 2 ,f a 3 ,f a 4 ,f a 5 ,f a 6 ,f a 7 ,f a 8 }
Fb={fb 1,fb 2,fb 3,fb 4,fb 5,fb 6,fb 7,fb 8,fb 9,fb 10}F b ={f b 1 ,f b 2 ,f b 3 ,f b 4 ,f b 5 ,f b 6 ,f b 7 ,f b 8 ,f b 9 ,f b 10 }
在ANSYS软件中对模型a、b进行Delaunay三角面片划分。In ANSYS software, the models a and b are divided into Delaunay triangular patches.
Delaunay三角面片划分保证了划分的三角面片分布基本均匀,面片尺寸基本相同和不同工序模型表面上面片划分的一致性。The division of Delaunay triangular patches ensures that the distribution of the divided triangular patches is basically even, the size of the patches is basically the same, and the consistency of patch division on the surface of different process models is ensured.
计算模型a、b各表面三角面片的受力情况,每个面的力场视角和力场距离。由工序模型a、b各表面上的三角面片的顶点求出模型a、b各面上三角面片重心坐标,再将三角面片的重心qk坐标,模型a、b重心坐标导入Matlab软件里,根据离散域力场模型计算两个模型各面上三角面片受力情况,同时求出模型a、b每个面的力场视角和力场距离。Calculate the stress on the triangular faces of each surface of model a and b, the force field angle and force field distance of each face. Obtain the barycentric coordinates of the triangular faces on each surface of the model a and b from the vertices of the triangular faces on the surfaces of the process model a and b, and then import the barycenter q k coordinates of the triangular faces and the barycentric coordinates of the models a and b into the Matlab software Here, according to the discrete domain force field model, the triangular surface forces on each surface of the two models are calculated, and the force field viewing angle and force field distance of each surface of model a and b are obtained at the same time.
表1模型a各面的力场视角和力场距离Table 1 Force field viewing angles and force field distances of each surface of model a
表2模型b各面的力场视角和力场距离Table 2 Force field viewing angles and force field distances of each surface of model b
构造模型a、b各表面特征图。由模型各面上三角面片受力情况构造模型a、b各表面三角面片受力分布直方图,进行归一化处理,并使用Matlab软件的保形插值功能对直方图进行保形插值得到两个模型各表面的表面特征图。Construct the surface feature maps of models a and b. Construct the force distribution histograms of the triangular patches on the surfaces of models a and b based on the stress of the triangular patches on each surface of the model, and perform normalization processing, and use the shape-preserving interpolation function of Matlab software to perform shape-preserving interpolation on the histograms to obtain Surface feature maps for each surface of the two models.
判断两工序模型表面的变化情况。通过比较模型a、b各表面的力场视角、力场距离和表面特征图,得到两工序模型表面的变化情况。由结果知fb 9,fb 10是新增的面,判断出面fb 9,fb 10的邻接边为圆且是凹边,结合两个面的类型得到相邻两道工序模型的几何演变为盲孔制造特征。Judging the change of the surface of the two-process model. By comparing the force field angles, force field distances and surface feature maps of the surfaces of models a and b, the changes of the model surfaces in the two processes are obtained. It is known from the results that f b 9 and f b 10 are newly added surfaces, and it is judged that the adjacent sides of f b 9 and f b 10 are circular and concave, and the geometry of the two adjacent process models can be obtained by combining the types of the two surfaces Evolved to blind hole manufacturing feature.
表3模型b各面的演变类型获取结果Table 3 Obtaining results of evolution types of each face of model b
将获取的相邻两道工序模型的几何演变表示为扩展的属性邻接图,图6中1、2表示面fb 9、fb 10分别为扩展属性邻接图的节点1和2;30中的3表示面fb 9为圆柱面,30中的0表示面fb 9的内表面组成实体表面;20中的2表示面fb 10为平面,0的含义与30中的0相同;102中的10表示面fb 9、fb 10相邻,且邻接边为凹边,2表示邻接边的类型为圆,再把扩展属性邻接图表示成扩展的邻接矩阵:
(a)对相邻的两个工序模型的表面进行三角面片划分,要求划分的三角面片分布基本均匀,面片尺寸基本相同和不同工序模型表面上面片划分的一致性。根据微分思想,工序模型表面由平面三角形面片集合逼近表达,模型表面的变化用有限个小面片的变化来度量。这样,每个工序模型的任一表面就表示成一个质点集合Q。(a) Divide the surfaces of two adjacent process models into triangular patches. It is required that the distribution of the divided triangular patches is basically uniform, the size of the patches is basically the same, and the consistency of the patch divisions on the surfaces of different process models is required. According to the idea of differentiation, the surface of the process model is approximated by a set of plane triangle faces, and the change of the model surface is measured by the change of a limited number of small faces. In this way, any surface of each process model is represented as a particle set Q.
Q={q1,q2,…,qn} ⑴Q={q 1 ,q 2 ,…,q n } ⑴
式中q1,q2,…,qn为模型任一表面所有三角面片的重心,n为该表面包含的三角面片的个数,重心qi的坐标由三角面的三个顶点计算得到。In the formula, q 1 ,q 2 ,…,q n are the centers of gravity of all triangles on any surface of the model, n is the number of triangles contained in the surface, and the coordinates of the center of gravity q i are calculated from the three vertices of the triangles get.
(b)基于离散域力场模型求解相邻两个工序模型各表面的表面特征图、表面的力场视角、表面的力场距离。用表面特征图、表面的力场视角和表面的力场距离共同描述模型上不同表面所受引力的分布状态,模型表面引力的分布状态表征模型各表面的形状。(b) Based on the discrete domain force field model, the surface feature map, the force field angle of the surface, and the force field distance of the surface are solved for each surface of two adjacent process models. The distribution of gravitational force on different surfaces on the model is described by the surface feature map, the force field angle of view of the surface and the force field distance of the surface.
定义离散域力场模型:Define a discrete domain force field model:
设在工序模型的重心处存在一个质点O,且质点O的坐标在同一三维工艺规程中不随工序模型编号的变化而发生变化,根据牛顿第三定律,物体表面质点集Q中的元素qi均受到该质点O的万有引力作用,根据万有引力公式,得:Assuming that there is a mass point O at the center of gravity of the process model, and the coordinates of the mass point O do not change with the number of the process model in the same three-dimensional process specification, according to Newton’s third law, the elements q i in the particle set Q on the surface of the object are uniform Under the gravitational action of the particle O, according to the formula of universal gravitation, we get:
式中mo,mqi分别为质点O和qi的质量,rqi为质点O到qi的距离,G为引力常数。In the formula, m o and m qi are the masses of particle O and q i respectively, r qi is the distance from particle O to q i , and G is the gravitational constant.
令mqi=1,即令元素qi为单位质点,则基于离散域力场模型方程如下:Let m qi =1, that is, element q i is a unit mass point, then the model equation based on the discrete domain force field is as follows:
式中(xo,yo,zo)为工序模型的重心即质点O的坐标,(xqi,yqi,zqi)为元素qi的坐标。In the formula (x o , y o , z o ) is the center of gravity of the process model, that is, the coordinates of the mass point O, and (x qi , y qi , z qi ) is the coordinate of the element q i .
定义模型表面特征图:Define a model surface feature map:
基于离散域力场模型求解模型某一表面上所有三角面片重心的受力大小,根据面片受力的大小将受力大小划分成若干个区间,以力的区间作为横坐标,区间内受力三角面片重心的个数作为纵坐标,生成频数分布直方图。对直方图的尺度归一化处理后进行保形插值得到的曲线称为模型表面特征图,用符号T表示。Based on the discrete domain force field model, the force of the center of gravity of all triangular patches on a certain surface of the model is solved, and the force is divided into several intervals according to the force of the surface, and the force interval is used as the abscissa. The number of the center of gravity of the force triangular patch is used as the ordinate to generate a frequency distribution histogram. The curve obtained by conformal interpolation after the scale normalization of the histogram is called the model surface feature map, denoted by the symbol T.
定义模型表面的力场视角:Define the force field perspective on the surface of the model:
力场视角为向量与模型表面法向量形成的夹角,用以标识模型上不同表面在力场中的方位,用符号θ表示。force field view as vector and the model surface normal vector The formed angle is used to identify the orientation of different surfaces on the model in the force field, and is represented by the symbol θ.
其中向量为坐标系原点o与引力源质点O的连线指向O。这里规定,模型表面法向量垂直于模型表面且方向指向模型外侧。where the vector The line connecting the origin o of the coordinate system and the point O of the gravitational source points to O. It is stipulated here that the model surface normal vector is perpendicular to the model surface and the direction points to the outside of the model.
定义模型表面的力场距离:Define the force field distance on the surface of the model:
力场距离为引力源质点O到模型表面的距离,用以标识在力场中模型表面到引力源的远近,用符号L表示。The force field distance is the distance from the particle O of the gravitational source to the surface of the model, which is used to identify the distance from the surface of the model to the gravitational source in the force field, represented by the symbol L.
(c)相邻工序模型表面引力分布状态的变化体现模型间的几何演变,通过对模型表面力场视角和模型表面力场距离的比较筛选出两个相邻工序模型中有效配对的面,接着对有效配对面的表面特征图进行相似性度量来判断两个工序模型间面的演变类型,两个面的表面特征图的相似性度量采用EMD距离相似性比较算法进行整体的比较,采用Fréchet距离相似性比对算法进行区域对比。(c) Changes in the surface gravitational force distribution of adjacent process models reflect the geometric evolution between the models. Through the comparison of the model surface force field angle and the model surface force field distance, the effectively paired surfaces in the two adjacent process models are selected, and then The similarity measurement is carried out on the surface feature map of the effective paired surface to judge the evolution type of the surface between the two process models. The similarity measurement of the surface feature map of the two surfaces adopts the EMD distance similarity comparison algorithm for overall comparison, and uses the Fréchet distance The similarity comparison algorithm performs regional comparison.
两个工序模型表面的演变类型分为四种:修改面、新增面、不变面和消亡面。修改面和不变面不参与加工特征的构造,消亡面只存在两个相邻工序模型的前一个工序模型中,因此识别两个相邻工序模型几何演变的关键是找到后一个工序模型中的新增面。模型表面演变类型的判定依据及结果参照表4。The evolution types of the surfaces of the two process models are divided into four types: modified surfaces, newly added surfaces, unchanged surfaces and disappearing surfaces. The modified surface and the unchanged surface do not participate in the construction of processing features, and the disappearing surface only exists in the previous process model of the two adjacent process models. Therefore, the key to identifying the geometric evolution of the two adjacent process models is to find the Add facets. Refer to Table 4 for the judgment basis and results of the model surface evolution type.
表4模型表面演变类型的判定依据及结果Table 4 Judgment basis and results of model surface evolution types
(d)找到两道工序模型几何演变过程中的新增面,判断新增面邻接边的凹凸性,得到新增面间的拓扑关系,结合新增面的类型得到相邻两道工序模型的几何演变。(d) Find the newly added surfaces in the process of geometric evolution of the two process models, judge the concavity and convexity of the adjacent edges of the newly added faces, obtain the topological relationship between the newly added faces, and combine the types of the newly added faces to obtain the two adjacent process models Geometric evolution.
(e)将获取的相邻两道工序模型的几何演变表示为扩展的属性邻接图,进一步把扩展属性邻接图表示成扩展的属性邻接矩阵,方便计算机读取、存储及后续的工艺知识检索。(e) Express the geometric evolution of the acquired two adjacent process models as an extended attribute adjacency graph, and further express the extended attribute adjacency graph as an extended attribute adjacency matrix, which is convenient for computer reading, storage and subsequent process knowledge retrieval.
为了能更加完整的表达模型几何演变的几何特征信息,对属性邻接图的节点和弧(或边)的属性进行一定的扩展,附加了面的类型、边的类型,得到扩展的属性邻接图。通过增加邻接矩阵的列数和元素aij值的位数避免邻接矩阵表达的二义性,在邻接矩阵a[n,n]中添加一列a[i,n+1],第n+1列对应面fi的类型属性,取值定义参照表5。In order to more completely express the geometric feature information of the geometric evolution of the model, the attributes of the nodes and arcs (or edges) of the attribute adjacency graph are extended to a certain extent, and the types of faces and edges are added to obtain the extended attribute adjacency graph. Avoid the ambiguity expressed by the adjacency matrix by increasing the number of columns of the adjacency matrix and the number of digits of the element a ij value, and add a column a[i,n+1] to the adjacency matrix a[n,n], the n+1th column Corresponding to the type attribute of surface f i , the value definition refers to Table 5.
表5面的属性在扩展邻接矩阵中的定义The definition of the attributes of the surface in Table 5 in the extended adjacency matrix
表6面的邻接边的属性在扩展邻接矩阵中的定义Table 6 Definition of the attributes of the adjacent edges of the face in the extended adjacency matrix
在邻接矩阵a[n,n]中,将aij的位数由2位增加到3位,aij前两位仍然表示面fi和fj邻接边的凹凸性,新增的第3位代面fi和fj邻接边的类型,取值定义参照表6。In the adjacency matrix a[n,n], increase the number of digits of a ij from 2 to 3, the first two digits of a ij still represent the concavity and convexity of the adjacent sides of faces f i and f j , and the newly added third digit Refer to Table 6 for the value definition of the adjacent edge type of f i and f j .
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510308603.2A CN104881548B (en) | 2015-06-04 | 2015-06-04 | The acquisition methods that adjacent process model geometric based on the discrete domain field of force develops |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510308603.2A CN104881548B (en) | 2015-06-04 | 2015-06-04 | The acquisition methods that adjacent process model geometric based on the discrete domain field of force develops |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104881548A true CN104881548A (en) | 2015-09-02 |
CN104881548B CN104881548B (en) | 2017-12-05 |
Family
ID=53949041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510308603.2A Expired - Fee Related CN104881548B (en) | 2015-06-04 | 2015-06-04 | The acquisition methods that adjacent process model geometric based on the discrete domain field of force develops |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104881548B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354927A (en) * | 2016-08-29 | 2017-01-25 | 西北工业大学 | Construction method of optimization model for adaptive processing of front and rear edges of precisely-forged blade |
CN107273650A (en) * | 2017-08-21 | 2017-10-20 | 江南大学 | Typical process route extracting method based on coordinate representation |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080059879A1 (en) * | 2006-07-28 | 2008-03-06 | Fujitsu Limited | Combined sectional view producing method and apparatus |
CN103279603A (en) * | 2013-05-22 | 2013-09-04 | 沈阳黎明航空发动机(集团)有限责任公司 | Modeling method for showing machining process of part |
CN103577631A (en) * | 2013-10-11 | 2014-02-12 | 中航飞机股份有限公司西安飞机分公司 | Three-dimensional process model establishment method for numerical control machining of circular-arc chamfered part |
CN103729516A (en) * | 2014-01-03 | 2014-04-16 | 北京数码大方科技股份有限公司 | Three-dimensional technology inverted sequence modeling method and device |
-
2015
- 2015-06-04 CN CN201510308603.2A patent/CN104881548B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080059879A1 (en) * | 2006-07-28 | 2008-03-06 | Fujitsu Limited | Combined sectional view producing method and apparatus |
CN103279603A (en) * | 2013-05-22 | 2013-09-04 | 沈阳黎明航空发动机(集团)有限责任公司 | Modeling method for showing machining process of part |
CN103577631A (en) * | 2013-10-11 | 2014-02-12 | 中航飞机股份有限公司西安飞机分公司 | Three-dimensional process model establishment method for numerical control machining of circular-arc chamfered part |
CN103729516A (en) * | 2014-01-03 | 2014-04-16 | 北京数码大方科技股份有限公司 | Three-dimensional technology inverted sequence modeling method and device |
Non-Patent Citations (1)
Title |
---|
胡淑慧 等: "三维工序模型几何演变序列的相似性度量", 《计算机辅助设计与图形学学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354927A (en) * | 2016-08-29 | 2017-01-25 | 西北工业大学 | Construction method of optimization model for adaptive processing of front and rear edges of precisely-forged blade |
CN106354927B (en) * | 2016-08-29 | 2019-05-10 | 西北工业大学 | A method for constructing an adaptive machining optimization model for the leading and trailing edges of precision forging blades |
CN107273650A (en) * | 2017-08-21 | 2017-10-20 | 江南大学 | Typical process route extracting method based on coordinate representation |
CN107273650B (en) * | 2017-08-21 | 2020-11-10 | 江南大学 | Typical process route extraction method based on coordinate representation |
Also Published As
Publication number | Publication date |
---|---|
CN104881548B (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bazazian et al. | Fast and robust edge extraction in unorganized point clouds | |
CN103914571B (en) | Three-dimensional model search method based on mesh segmentation | |
CN106157309B (en) | A kind of airborne LiDAR ground point cloud filtering method based on virtual seed point | |
Liu et al. | Construction of iso-contours, bisectors, and Voronoi diagrams on triangulated surfaces | |
US8412492B2 (en) | System and method for fitting feature elements using a point-cloud of an object | |
CN112862972A (en) | Surface structure grid generation method | |
CN103839292B (en) | Method for sampling contour surface and generating high-quality triangular mesh | |
TW201616449A (en) | System and method for simplifying grids of point clouds | |
Joy et al. | Frame-sliced voxel representation: An accurate and memory-efficient modeling method for workpiece geometry in machining simulation | |
Pound et al. | A patch-based approach to 3D plant shoot phenotyping | |
CN103473811B (en) | Based on the convenient generation method of three-dimensional entity model that two dimension hand-drawing line is drawn | |
Wang et al. | A variational model for normal computation of point clouds | |
CN101937453A (en) | A 3D Model Retrieval Method Based on Weighted Topological Constraint Comparison | |
CN104422396A (en) | Product assembling clearance three-dimensional analysis system and method | |
Faion et al. | Recursive Bayesian pose and shape estimation of 3D objects using transformed plane curves | |
Aubry et al. | A three-dimensional parametric mesher with surface boundary-layer capability | |
CN104881548B (en) | The acquisition methods that adjacent process model geometric based on the discrete domain field of force develops | |
CN102289661A (en) | Method for matching three-dimensional grid models based on spectrum matching | |
CN106355641A (en) | Simulation method of scattering cross section of 3D rough target radar | |
Bénière et al. | Recovering primitives in 3D CAD meshes | |
Xia | A topological analysis of high-contrast patches in natural images. | |
Huska et al. | A meshless strategy for shape diameter analysis | |
Zakharov et al. | Synthesis of three-dimensional models from drawings based on spectral graph theory | |
TWI386864B (en) | Curved surface meshing method | |
Alexei et al. | Three-dimensional reconstruction from projections based on incidence matrices of patterns |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171205 Termination date: 20190604 |