[go: up one dir, main page]

CN112414340B - Three-coordinate measuring method, device and equipment of workpiece and storage medium - Google Patents

Three-coordinate measuring method, device and equipment of workpiece and storage medium Download PDF

Info

Publication number
CN112414340B
CN112414340B CN201910778205.5A CN201910778205A CN112414340B CN 112414340 B CN112414340 B CN 112414340B CN 201910778205 A CN201910778205 A CN 201910778205A CN 112414340 B CN112414340 B CN 112414340B
Authority
CN
China
Prior art keywords
coordinates
workpiece
coordinate system
measurement
coordinate
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
Application number
CN201910778205.5A
Other languages
Chinese (zh)
Other versions
CN112414340A (en
Inventor
刘思仁
范晓骏
郑哲恩
邢宏文
方伟
沈立恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Aircraft Manufacturing Co Ltd
Original Assignee
Shanghai Aircraft Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Aircraft Manufacturing Co Ltd filed Critical Shanghai Aircraft Manufacturing Co Ltd
Priority to CN201910778205.5A priority Critical patent/CN112414340B/en
Publication of CN112414340A publication Critical patent/CN112414340A/en
Application granted granted Critical
Publication of CN112414340B publication Critical patent/CN112414340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B21/00Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The embodiment of the invention discloses a three-coordinate measuring method, a three-coordinate measuring device, three-coordinate measuring equipment and a storage medium of a workpiece. The measuring method comprises the following steps: illuminating a plurality of common measuring points of a first preset area on a supporting plate of a measuring platform to acquire a plurality of first coordinates of the common measuring points based on a first coordinate system, wherein the common measuring points have a plurality of second coordinates based on a second coordinate system of the measuring platform; determining a conversion relation between the first coordinate system and the second coordinate system according to the first coordinates and the second coordinates; acquiring initial coordinates of the workpiece based on a second coordinate system of the measuring platform through the conversion relation; and carrying out three-coordinate measurement on the workpiece based on the initial coordinates to acquire the measurement parameters of the workpiece in the second coordinate system. The embodiment of the invention realizes the three-coordinate measurement automation of different workpieces.

Description

一种工件的三坐标测量方法、装置、设备及存储介质A three-coordinate measuring method, device, equipment and storage medium for workpiece

技术领域technical field

本发明实施例涉及测量技术,尤其涉及一种工件的三坐标测量方法、装置、设备及存储介质。The embodiments of the present invention relate to measurement technology, and in particular, to a method, device, equipment and storage medium for measuring three coordinates of a workpiece.

背景技术Background technique

三坐标检测是检验工件的一种精密测量方法。广泛应用于机械制造业,汽车工业等现代工业中。三坐标测量机是测量和获得尺寸数据的最有效的方法之一,因为它可以代替多种表面测量工具及昂贵的组合量规,并把复杂的测量任务所需时间从小时减到分钟,这是其它仪器而达不到的效果。Three-coordinate detection is a precise measurement method for inspecting workpieces. Widely used in machinery manufacturing, automobile industry and other modern industries. CMM is one of the most effective ways to measure and obtain dimensional data, because it can replace a variety of surface measurement tools and expensive combination gauges, and reduce the time required for complex measurement tasks from hours to minutes. effect that cannot be achieved by other instruments.

在三坐标自动检测过程中,零件的自动化测量通常有两种方法。一种是首先对检测零件进行手动对齐,使零件和三坐标在统一的坐标系内,然后采用自动化编程完成后续的自动化测量。另一种是通过定位工装将零件定位,以保证零件与三坐标在一个坐标系内,再进行自动化测量。In the process of automatic three-coordinate detection, there are usually two methods for automatic measurement of parts. One is to manually align the detected parts so that the parts and the three coordinates are in a unified coordinate system, and then use automated programming to complete subsequent automated measurements. The other is to position the part through the positioning tool to ensure that the part and the three coordinates are in a coordinate system, and then perform automatic measurement.

第一种方法可以很好的解决各种零件的检测,但是每次检测前都要手动对齐,尤其是对于批量零件,费时费力。另一种方法虽然解决了零件手动对接的问题,但是不同的零件需要采用不同的定位工装,降低了自动化检测的通用性。The first method can solve the inspection of various parts very well, but manual alignment is required before each inspection, especially for batch parts, which is time-consuming and labor-intensive. Although the other method solves the problem of manual docking of parts, different parts need to use different positioning tooling, which reduces the versatility of automatic detection.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种工件的三坐标测量方法、装置、设备及存储介质,以实现不同种工件三坐标测量的自动化。Embodiments of the present invention provide a three-coordinate measurement method, device, device, and storage medium for workpieces, so as to realize automation of three-coordinate measurement of different types of workpieces.

为达此目的,本发明实施例提供了一种工件的三坐标测量方法、装置、设备及存储介质,该工件的三坐标测量方法包括:For this purpose, the embodiment of the present invention provides a three-coordinate measurement method, device, equipment and storage medium for a workpiece, and the three-coordinate measurement method for the workpiece includes:

照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标;根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系;通过所述转换关系获取所述工件基于所述测量平台的第二坐标系的初始坐标;基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。Irradiate a plurality of common measurement points in the first preset area on the support plate of the measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on the first coordinate system, and the plurality of common measurement points are based on the The second coordinate system of the measuring platform has a plurality of second coordinates; the conversion relationship between the first coordinate system and the second coordinate system is determined according to the plurality of first coordinates and the plurality of second coordinates; and the conversion relationship is obtained through the conversion relationship The workpiece is based on the initial coordinates of the second coordinate system of the measuring platform; based on the initial coordinates, three-coordinate measurement of the workpiece is performed to obtain measurement parameters of the workpiece in the second coordinate system.

作为优选的,通过所述转换关系以获取所述工件基于所述测量平台的初始坐标包括:Preferably, obtaining the initial coordinates of the workpiece based on the measurement platform through the conversion relationship includes:

将工件放置于所述第一预设区域;基于所述转换关系通过所述激光投影系统照射所述工件以获取所述工件基于所述测量平台的第二坐标系的初始坐标。placing the workpiece in the first preset area; irradiating the workpiece through the laser projection system based on the conversion relationship to obtain initial coordinates of the workpiece based on the second coordinate system of the measuring platform.

进一步的,通过所述转换关系以获取所述工件基于所述测量平台的初始坐标之前包括:将多个公共测量点所述导入所述工件的数据模型;将所述数据模型导入所述激光投影系统。Further, obtaining the initial coordinates of the workpiece based on the measurement platform through the conversion relationship includes: importing a plurality of common measurement points into the data model of the workpiece; importing the data model into the laser projection system.

进一步的,所述通过所述转换关系以获取所述工件基于所述测量平台的初始坐标包括:Further, obtaining the initial coordinates of the workpiece based on the measurement platform through the conversion relationship includes:

基于所述数据模型和转换关系以获取所述工件基于所述测量平台的第二坐标系的放置坐标;所述激光投影系统根据所述放置坐标在所述第一预设区域中照射第二预设区域;将所述工件放置于所述第一预设区域中的第二预设区域。Obtaining the placement coordinates of the workpiece based on the second coordinate system of the measuring platform based on the data model and the conversion relationship; the laser projection system irradiates a second preset area in the first preset area according to the placement coordinates setting an area; placing the workpiece in a second preset area in the first preset area.

一方面,本发明实施例还提供了一种工件的三坐标测量装置,该装置包括:On the one hand, an embodiment of the present invention also provides a three-coordinate measuring device for a workpiece, the device comprising:

激光投影系统,用于照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标,还用于根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系,通过所述转换关系以获取所述工件基于所述测量平台的初始坐标;The laser projection system is used to illuminate a plurality of common measurement points in the first preset area on the support plate of the measurement platform, so as to obtain a plurality of first coordinates of the plurality of common measurement points based on the first coordinate system, the plurality of The common measurement point has a plurality of second coordinates based on the second coordinate system of the measurement platform, and is further configured to determine the distance between the first coordinate system and the second coordinate system according to the plurality of first coordinates and the plurality of second coordinates a conversion relationship, through which the initial coordinates of the workpiece based on the measurement platform are obtained;

测量平台,基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。The measurement platform performs three-coordinate measurement on the workpiece based on the initial coordinates, so as to obtain measurement parameters of the workpiece in the second coordinate system.

作为优选的,激光投影系统还用于基于所述转换关系通过所述激光投影系统照射所述工件以获取所述工件基于所述测量平台的初始坐标。Preferably, the laser projection system is further configured to irradiate the workpiece through the laser projection system based on the conversion relationship to obtain the initial coordinates of the workpiece based on the measurement platform.

进一步的,激光投影系统还用于接收所述工件的数据模型,所述数据模型包括所述多个公共测量点。Further, the laser projection system is further configured to receive a data model of the workpiece, and the data model includes the plurality of common measurement points.

进一步的,所述激光投影系统还用于基于所述数据模型和转换关系通过以获取所述工件基于所述测量平台的初始坐标,根据所述初始坐标在所述第一预设区域中照射第二预设区域。Further, the laser projection system is also used to obtain the initial coordinates of the workpiece based on the measurement platform based on the data model and the conversion relationship, and to irradiate the first preset area according to the initial coordinates. Two preset areas.

另一方面,本发明实施例还提供了一种设备,该设备包括:On the other hand, an embodiment of the present invention also provides a device, and the device includes:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序,storage means for storing one or more programs,

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述任一实施例提供的测量方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the measurement method provided by any of the above embodiments.

又一方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述任一实施例提供的测量方法。In another aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the measurement method provided in any of the foregoing embodiments.

本发明实施例通过照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标;根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系;通过所述转换关系获取所述工件基于所述测量平台的第二坐标系的初始坐标;基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数,解决了对于不同种工件使用三坐标测量之前初始定位时需要手动对齐的问题,实现了不同种工件三坐标测量的自动化效果。In this embodiment of the present invention, multiple common measurement points in the first preset area on the support plate of the measurement platform are irradiated to obtain multiple first coordinates of the multiple common measurement points based on the first coordinate system, and the multiple common measurement points are based on the first coordinate system. The measurement point has a plurality of second coordinates based on the second coordinate system of the measurement platform; the conversion relationship between the first coordinate system and the second coordinate system is determined according to the plurality of first coordinates and the plurality of second coordinates; The conversion relationship obtains the initial coordinates of the workpiece based on the second coordinate system of the measuring platform; based on the initial coordinates, three-coordinate measurement is performed on the workpiece to obtain the measurement of the workpiece in the second coordinate system parameters, which solves the problem of manual alignment during initial positioning before using three-coordinate measurement for different kinds of workpieces, and realizes the automatic effect of three-coordinate measurement for different kinds of workpieces.

附图说明Description of drawings

图1是本发明实施例一提供的一种工件的三坐标测量方法的流程图;1 is a flowchart of a three-coordinate measurement method for a workpiece provided in Embodiment 1 of the present invention;

图2是本发明实施例二提供的一种工件的三坐标测量方法的流程图;2 is a flowchart of a three-coordinate measurement method for a workpiece provided in Embodiment 2 of the present invention;

图3是本发明实施例三提供的一种工件的三坐标测量方法的流程图;3 is a flowchart of a three-coordinate measurement method for a workpiece provided in Embodiment 3 of the present invention;

图4是本发明实施例四提供的一种工件的三坐标测量装置的结构示意图;4 is a schematic structural diagram of a three-coordinate measuring device for a workpiece according to Embodiment 4 of the present invention;

图5为本发明实施例五提供的一种设备的结构示意图。FIG. 5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

此外,术语“第一”、“第二”等可在本文中用于描述各种方向、动作、步骤或元件等,但这些方向、动作、步骤或元件不受这些术语限制。这些术语仅用于将第一个方向、动作、步骤或元件与另一个方向、动作、步骤或元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一速度差值称为第二速度差值,且类似地,可将第二速度差值称为第一速度差值。第一速度差值和第二速度差值两者都是速度差值,但其不是同一速度差值。术语“第一”、“第二”等不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本发明实施例的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。Furthermore, the terms "first," "second," etc. may be used herein to describe various directions, acts, steps or elements, etc., but are not limited by these terms. These terms are only used to distinguish a first direction, act, step or element from another direction, act, step or element. For example, a first speed difference may be referred to as a second speed difference, and similarly, a second speed difference may be referred to as a first speed difference, without departing from the scope of this application. Both the first speed difference and the second speed difference are speed differences, but they are not the same speed difference. The terms "first", "second", etc. should not be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, features defined as "first", "second" may expressly or implicitly include one or more of said features. In the description of the embodiments of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.

实施例一Example 1

如图1所示,本发明实施例一提供了一种工件的三坐标测量方法,该工件的三坐标测量方法包括:As shown in FIG. 1, Embodiment 1 of the present invention provides a three-coordinate measurement method for a workpiece, and the three-coordinate measurement method for the workpiece includes:

S101、照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标。S101. Irradiate a plurality of common measurement points in a first preset area on a support plate of a measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on a first coordinate system, and the plurality of common measurement points are based on The second coordinate system of the measurement platform has a plurality of second coordinates.

本实施例中,测量平台为三坐标测量机,通过激光投影系统照射测量平台的支撑板。可以在三坐标测量机的支撑板上预设一个第一预设区域,该第一预设区域的面积小于该三坐标测量机的支撑板的面积。在该第一预设区域中预设多个公共测量点,第一坐标系可以为待测工件相对于激光投影系统的极坐标系,多个公共测量点的第一坐标为极坐标,第二坐标系可以为待测工件相对于三坐标测量机的三维坐标系,多个公共测量点的第二坐标为三维坐标。激光投影系统照射第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的极坐标,即第一坐标,三坐标测量机测量第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的三维坐标,即第二坐标。In this embodiment, the measuring platform is a three-coordinate measuring machine, and the support plate of the measuring platform is irradiated by a laser projection system. A first preset area can be preset on the support plate of the CMM, and the area of the first preset area is smaller than the area of the support plate of the CMM. A plurality of common measurement points are preset in the first preset area, the first coordinate system may be the polar coordinate system of the workpiece to be measured relative to the laser projection system, the first coordinates of the plurality of common measurement points are polar coordinates, and the second coordinate system may be polar coordinates. The coordinate system may be a three-dimensional coordinate system of the workpiece to be measured relative to the three-coordinate measuring machine, and the second coordinates of the plurality of common measurement points are three-dimensional coordinates. The laser projection system illuminates multiple common measurement points in the first preset area to determine the polar coordinates of the multiple common measurement points relative to itself, that is, the first coordinates, and the three-coordinate measuring machine measures multiple common measurements in the first preset area. point to determine the three-dimensional coordinates of a plurality of common measurement points relative to itself, that is, the second coordinates.

S102、根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系。S102. Determine the conversion relationship between the first coordinate system and the second coordinate system according to the plurality of first coordinates and the plurality of second coordinates.

本实施例中,可以根据多个公共测量点的第一坐标和第二坐标确定第一坐标系和第二坐标系的转换关系。具体的,第一个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ1,θ1),在第二坐标系中相对于三坐标测量机的三维坐标为(x1,y1,z1);第二个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ2,θ2),在第二坐标系中相对于三坐标测量机的三维坐标为(x2,y2,z2);第三个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ3,θ3),在第二坐标系中相对于三坐标测量机的三维坐标为(x3,y3,z3)。以此类推,当存在足够多的公共测量点的时候,通过极坐标和三维坐标的互相转换关系,就可以确定当前激光投影系统摆放的位置与三坐标测量机摆放的位置之间的测量关系,也就是第一坐标系和第二坐标系的转换关系。本实施例中公共测量点可以为测量平台的支撑板上矩阵排列的多个参考点。In this embodiment, the conversion relationship between the first coordinate system and the second coordinate system may be determined according to the first coordinates and the second coordinates of the plurality of common measurement points. Specifically, the polar coordinates of the first common measurement point relative to the laser projection system in the first coordinate system are (ρ 1 , θ 1 ), and the three-dimensional coordinates relative to the CMM in the second coordinate system are (x 1 , y 1 , z 1 ); the polar coordinates of the second common measurement point relative to the laser projection system in the first coordinate system are (ρ 2 , θ 2 ), and relative to the CMM in the second coordinate system The three-dimensional coordinates are (x 2 , y 2 , z 2 ); the polar coordinates of the third common measurement point relative to the laser projection system in the first coordinate system are (ρ 3 , θ 3 ), and in the second coordinate system The three-dimensional coordinates relative to the CMM are (x 3 , y 3 , z 3 ). By analogy, when there are enough public measurement points, the measurement between the current position of the laser projection system and the position of the CMM can be determined through the mutual conversion relationship between polar coordinates and three-dimensional coordinates. relationship, that is, the conversion relationship between the first coordinate system and the second coordinate system. In this embodiment, the common measurement point may be a plurality of reference points arranged in a matrix on the support plate of the measurement platform.

S103、通过所述转换关系获取所述工件基于所述测量平台的第二坐标系的初始坐标。S103. Obtain the initial coordinates of the workpiece based on the second coordinate system of the measuring platform through the conversion relationship.

本实施例中,确定转换关系后,只要确定待测工件在激光投影系统中的极坐标,就可以通过转换关系确定待测工件在三坐标测量机的三维坐标,将该三维坐标确定为初始坐标。In this embodiment, after the conversion relationship is determined, as long as the polar coordinates of the workpiece to be tested in the laser projection system are determined, the three-dimensional coordinates of the workpiece to be tested in the CMM can be determined through the conversion relationship, and the three-dimensional coordinates are determined as the initial coordinates .

S104、基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。S104. Perform three-coordinate measurement on the workpiece based on the initial coordinates to obtain measurement parameters of the workpiece in the second coordinate system.

本实施例中,确定待测工件在三坐标测量机的初始坐标后,将带有待测工件的初始坐标数据导入三坐标测量机的上位机中,当三坐标测量机知道待测工件在其支撑板上的初始坐标后,三坐标测量机的测量模块可以自动根据初始坐标移动,完成待测工件测量前的精确定位,并开始自动测量待测工件的测量参数。In this embodiment, after determining the initial coordinates of the workpiece to be measured on the CMM, import the initial coordinate data with the workpiece to be measured into the host computer of the CMM, when the CMM knows that the workpiece to be measured is in its After the initial coordinates on the support plate, the measurement module of the CMM can automatically move according to the initial coordinates, complete the precise positioning of the workpiece to be measured before measurement, and start to automatically measure the measurement parameters of the workpiece to be measured.

本发明实施例一提供的一种工件的三坐标测量方法,通过确定激光投影系统的坐标与三坐标测量机的坐标转换关系,解决了对于不同种工件使用三坐标测量之前初始定位时需要手动对齐的问题,实现了不同工件三坐标测量的自动化效果。The first embodiment of the present invention provides a three-coordinate measurement method for a workpiece. By determining the coordinate conversion relationship between the coordinates of the laser projection system and the three-coordinate measuring machine, it solves the need for manual alignment when initial positioning is used for different kinds of workpieces before using three-coordinate measurement. It realizes the automatic effect of the three-coordinate measurement of different workpieces.

实施例二Embodiment 2

如图2所示,本发明实施例二提供了一种工件的三坐标测量方法,本发明实施例二是以本发明实施例一的方案为基础,进行了优化改进,该工件的三坐标测量方法包括:As shown in FIG. 2 , the second embodiment of the present invention provides a three-coordinate measurement method for a workpiece. The second embodiment of the present invention is based on the solution of the first embodiment of the present invention, and has been optimized and improved. The three-coordinate measurement of the workpiece is Methods include:

S201、照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标。S201. Irradiate a plurality of common measurement points in a first preset area on a support plate of a measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on a first coordinate system, and the plurality of common measurement points are based on The second coordinate system of the measurement platform has a plurality of second coordinates.

本实施例中,测量平台为三坐标测量机,通过激光投影系统照射测量平台的支撑板。可以在三坐标测量机的支撑板上预设一个第一预设区域,该第一预设区域的面积小于该三坐标测量机的支撑板的面积。在该第一预设区域中预设多个公共测量点,第一坐标系可以为待测工件相对于激光投影系统的极坐标系,多个公共测量点的第一坐标为极坐标,第二坐标系可以为待测工件相对于三坐标测量机的三维坐标系,多个公共测量点的第二坐标为三维坐标。激光投影系统照射第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的极坐标,即第一坐标,三坐标测量机测量第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的三维坐标,即第二坐标。In this embodiment, the measuring platform is a three-coordinate measuring machine, and the support plate of the measuring platform is irradiated by a laser projection system. A first preset area can be preset on the support plate of the CMM, and the area of the first preset area is smaller than the area of the support plate of the CMM. A plurality of common measurement points are preset in the first preset area, the first coordinate system may be the polar coordinate system of the workpiece to be measured relative to the laser projection system, the first coordinates of the plurality of common measurement points are polar coordinates, and the second coordinate system may be polar coordinates. The coordinate system may be a three-dimensional coordinate system of the workpiece to be measured relative to the three-coordinate measuring machine, and the second coordinates of the plurality of common measurement points are three-dimensional coordinates. The laser projection system illuminates multiple common measurement points in the first preset area to determine the polar coordinates of the multiple common measurement points relative to itself, that is, the first coordinates, and the three-coordinate measuring machine measures multiple common measurements in the first preset area. point to determine the three-dimensional coordinates of a plurality of common measurement points relative to itself, that is, the second coordinates.

S202、根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系。S202. Determine the conversion relationship between the first coordinate system and the second coordinate system according to the plurality of first coordinates and the plurality of second coordinates.

本实施例中,可以根据多个公共测量点的第一坐标和第二坐标确定第一坐标系和第二坐标系的转换关系。具体的,第一个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ1,θ1),在第二坐标系中相对于三坐标测量机的三维坐标为(x1,y1,z1);第二个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ2,θ2),在第二坐标系中相对于三坐标测量机的三维坐标为(x2,y2,z2);第三个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ3,θ3),在第二坐标系中相对于三坐标测量机的三维坐标为(x3,y3,z3)。以此类推,当存在足够多的公共测量点的时候,通过极坐标和三维坐标的互相转换关系,就可以确定当前激光投影系统摆放的位置与三坐标测量机摆放的位置之间的测量关系,也就是第一坐标系和第二坐标系的转换关系。In this embodiment, the conversion relationship between the first coordinate system and the second coordinate system may be determined according to the first coordinates and the second coordinates of the plurality of common measurement points. Specifically, the polar coordinates of the first common measurement point relative to the laser projection system in the first coordinate system are (ρ 1 , θ 1 ), and the three-dimensional coordinates relative to the CMM in the second coordinate system are (x 1 , y 1 , z 1 ); the polar coordinates of the second common measurement point relative to the laser projection system in the first coordinate system are (ρ 2 , θ 2 ), and relative to the CMM in the second coordinate system The three-dimensional coordinates are (x 2 , y 2 , z 2 ); the polar coordinates of the third common measurement point relative to the laser projection system in the first coordinate system are (ρ 3 , θ 3 ), and in the second coordinate system The three-dimensional coordinates relative to the CMM are (x 3 , y 3 , z 3 ). By analogy, when there are enough public measurement points, the measurement between the current position of the laser projection system and the position of the CMM can be determined through the mutual conversion relationship between polar coordinates and three-dimensional coordinates. relationship, that is, the conversion relationship between the first coordinate system and the second coordinate system.

S203、将工件放置于所述第一预设区域。S203, placing the workpiece in the first preset area.

本实施例中,根据第一预设区域中的公共测量点已经确定了在第一预设区域中激光投影系统和三坐标测量机的转换关系,在需要测量待测工件时,可以将待测工件放置在第一预设区域中的任一位置。In this embodiment, the conversion relationship between the laser projection system and the CMM in the first preset area has been determined according to the common measurement points in the first preset area. When the workpiece to be measured needs to be measured, the The workpiece is placed at any position in the first preset area.

S204、基于所述转换关系通过所述激光投影系统照射所述工件以获取所述工件基于所述测量平台的第二坐标系的初始坐标。S204 , irradiating the workpiece through the laser projection system based on the conversion relationship to obtain the initial coordinates of the workpiece based on the second coordinate system of the measuring platform.

本实施例中,当待测工件放置在第一预设区域中的任一位置后,激光投影系统照射待测工件,以获取待测工件相对于激光投影系统的第一坐标系中的极坐标,然后根据转换关系可以得到待测工件相对于三坐标测量机在第二坐标系的三维坐标,确定该三维坐标为初始坐标。In this embodiment, after the workpiece to be tested is placed at any position in the first preset area, the laser projection system illuminates the workpiece to be tested to obtain the polar coordinates of the workpiece to be tested relative to the first coordinate system of the laser projection system , and then the three-dimensional coordinates of the workpiece to be measured relative to the three-coordinate measuring machine in the second coordinate system can be obtained according to the conversion relationship, and the three-dimensional coordinates are determined as the initial coordinates.

S205、基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。S205. Perform three-coordinate measurement on the workpiece based on the initial coordinates to obtain measurement parameters of the workpiece in the second coordinate system.

本实施例中,确定待测工件在三坐标测量机的初始坐标后,将带有待测工件的初始坐标数据导入三坐标测量机的上位机中,当三坐标测量机知道待测工件在其支撑板上的初始坐标后,三坐标测量机的测量模块可以自动根据初始坐标完成待测工件测量前的精确定位,并开始自动测量待测工件的测量参数。In this embodiment, after determining the initial coordinates of the workpiece to be measured on the CMM, import the initial coordinate data with the workpiece to be measured into the host computer of the CMM, when the CMM knows that the workpiece to be measured is in its After the initial coordinates on the support plate, the measurement module of the CMM can automatically complete the precise positioning of the workpiece to be measured according to the initial coordinates, and start to automatically measure the measurement parameters of the workpiece to be measured.

实施例三Embodiment 3

如图3所示,本发明实施例三提供了一种工件的三坐标测量方法,本发明实施例三是以本发明实施例一的方案为基础,进行了优化改进,该工件的三坐标测量方法包括:As shown in FIG. 3 , the third embodiment of the present invention provides a three-coordinate measurement method for a workpiece. The third embodiment of the present invention is based on the solution of the first embodiment of the present invention, and has been optimized and improved. The three-coordinate measurement of the workpiece is Methods include:

S301、照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标。S301. Irradiate a plurality of common measurement points in a first preset area on a support plate of a measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on a first coordinate system, and the plurality of common measurement points are based on The second coordinate system of the measurement platform has a plurality of second coordinates.

本实施例中,测量平台为三坐标测量机,通过激光投影系统照射测量平台的支撑板。可以在三坐标测量机的支撑板上预设一个第一预设区域,该第一预设区域的面积小于该三坐标测量机的支撑板的面积。在该第一预设区域中预设多个公共测量点,第一坐标系可以为待测工件相对于激光投影系统的极坐标系,多个公共测量点的第一坐标为极坐标,第二坐标系可以为待测工件相对于三坐标测量机的三维坐标系,多个公共测量点的第二坐标为三维坐标。激光投影系统照射第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的极坐标,即第一坐标,三坐标测量机测量第一预设区域的多个公共测量点,以确定多个公共测量点相对于自身的三维坐标,即第二坐标。In this embodiment, the measuring platform is a three-coordinate measuring machine, and the support plate of the measuring platform is irradiated by a laser projection system. A first preset area can be preset on the support plate of the CMM, and the area of the first preset area is smaller than the area of the support plate of the CMM. A plurality of common measurement points are preset in the first preset area, the first coordinate system may be the polar coordinate system of the workpiece to be measured relative to the laser projection system, the first coordinates of the plurality of common measurement points are polar coordinates, and the second coordinate system may be polar coordinates. The coordinate system may be a three-dimensional coordinate system of the workpiece to be measured relative to the three-coordinate measuring machine, and the second coordinates of the plurality of common measurement points are three-dimensional coordinates. The laser projection system illuminates multiple common measurement points in the first preset area to determine the polar coordinates of the multiple common measurement points relative to itself, that is, the first coordinates, and the three-coordinate measuring machine measures multiple common measurements in the first preset area. point to determine the three-dimensional coordinates of a plurality of common measurement points relative to itself, that is, the second coordinates.

S302、根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系。S302. Determine the conversion relationship between the first coordinate system and the second coordinate system according to the plurality of first coordinates and the plurality of second coordinates.

本实施例中,可以根据多个公共测量点的第一坐标和第二坐标确定第一坐标系和第二坐标系的转换关系。具体的,第一个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ1,θ1),在第二坐标系中相对于三坐标测量机的三维坐标为(x1,y1,z1);第二个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ2,θ2),在第二坐标系中相对于三坐标测量机的三维坐标为(x2,y2,z2);第三个公共测量点在第一坐标系中相对于激光投影系统的极坐标为(ρ3,θ3),在第二坐标系中相对于三坐标测量机的三维坐标为(x3,y3,z3)。以此类推,当存在足够多的公共测量点的时候,通过极坐标和三维坐标的互相转换关系,就可以确定当前激光投影系统摆放的位置与三坐标测量机摆放的位置之间的测量关系,也就是第一坐标系和第二坐标系的转换关系。In this embodiment, the conversion relationship between the first coordinate system and the second coordinate system may be determined according to the first coordinates and the second coordinates of the plurality of common measurement points. Specifically, the polar coordinates of the first common measurement point relative to the laser projection system in the first coordinate system are (ρ 1 , θ 1 ), and the three-dimensional coordinates relative to the CMM in the second coordinate system are (x 1 , y 1 , z 1 ); the polar coordinates of the second common measurement point relative to the laser projection system in the first coordinate system are (ρ 2 , θ 2 ), and relative to the CMM in the second coordinate system The three-dimensional coordinates are (x 2 , y 2 , z 2 ); the polar coordinates of the third common measurement point relative to the laser projection system in the first coordinate system are (ρ 3 , θ 3 ), and in the second coordinate system The three-dimensional coordinates relative to the CMM are (x 3 , y 3 , z 3 ). By analogy, when there are enough public measurement points, the measurement between the current position of the laser projection system and the position of the CMM can be determined through the mutual conversion relationship between polar coordinates and three-dimensional coordinates. relationship, that is, the conversion relationship between the first coordinate system and the second coordinate system.

S303、将所述多个公共测量点导入所述工件的数据模型。S303. Import the multiple common measurement points into the data model of the workpiece.

本实施例中,待测工件的数据模型是已知的,该数据模型可以是多个不同种类的工件的数据模型,且存储在三坐标测量机的上位机中,可以将预设的多个公共测量点的第二坐标导入数据模型中,确定待测工件的数据模型的坐标和多个公共测量点的第二坐标的相对位置。In this embodiment, the data model of the workpiece to be measured is known, and the data model can be a data model of a plurality of different types of workpieces, and is stored in the upper computer of the three-coordinate measuring machine. The second coordinates of the common measuring points are imported into the data model to determine the relative positions of the coordinates of the data model of the workpiece to be measured and the second coordinates of the plurality of common measuring points.

S304、将所述数据模型导入所述激光投影系统。S304. Import the data model into the laser projection system.

本实施例中,通过一通讯模块将存储在三坐标测量机的上位机中包括多个公共测量点的第二坐标的数据模型传输至激光投影系统。In this embodiment, a data model including the second coordinates of a plurality of common measurement points stored in the host computer of the three-coordinate measuring machine is transmitted to the laser projection system through a communication module.

S305、基于所述数据模型和转换关系以获取所述工件基于所述测量平台的第二坐标系的放置坐标。S305 , based on the data model and the conversion relationship, obtain the placement coordinates of the workpiece based on the second coordinate system of the measuring platform.

本实施例中,在三坐标测量机的上位机中已根据第一坐标系和第二坐标系的转换关系将包括多个公共测量点的第二坐标的数据模型转换为用第一坐标表示的放置坐标,该放置坐标是基于该三坐标测量机在第二坐标系的当前位置生成的,当待测工件在该放置坐标时,三坐标测量机可直接进行测量该待测工件。In this embodiment, in the upper computer of the CMM, the data model including the second coordinates of a plurality of common measurement points has been converted into a data model represented by the first coordinates according to the conversion relationship between the first coordinate system and the second coordinate system Placement coordinates. The placement coordinates are generated based on the current position of the CMM in the second coordinate system. When the workpiece to be measured is at the placement coordinates, the CMM can directly measure the workpiece to be tested.

S306、所述激光投影系统根据所述放置坐标在所述第一预设区域中照射第二预设区域。S306, the laser projection system illuminates a second preset area in the first preset area according to the placement coordinates.

本实施例中,第二预设区域的面积小于第一预设区域,该第二预设区域为放置坐标形成的区域,即待测工件放置在该区域时,三坐标测量机可直接进行测量该待测工件。In this embodiment, the area of the second preset area is smaller than that of the first preset area, and the second preset area is an area formed by placing coordinates, that is, when the workpiece to be measured is placed in this area, the CMM can directly measure the workpiece to be tested.

S307、将所述工件放置于所述第一预设区域中的第二预设区域。S307. Place the workpiece in a second preset area in the first preset area.

本实施例中,激光投影系统在第一预设区域中照射出第二预设区域,只需要人工根据第二预设区域的位置将待测工件与第二预设区域的边界对齐摆放即可。In this embodiment, the laser projection system irradiates the second preset area in the first preset area, and only needs to manually align the workpiece to be tested with the boundary of the second preset area according to the position of the second preset area. Can.

S308、基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。S308. Perform three-coordinate measurement on the workpiece based on the initial coordinates to obtain measurement parameters of the workpiece in the second coordinate system.

本实施例中,当待测工件摆放在第二预设区域后,因第二预设区域是根据三坐标测量机当前的位置生成的,三坐标测量机不需要改变位置,三坐标测量机的测量模块就可以直接自动开始完成待测工件测量前的精确定位,并开始自动测量待测工件的测量参数。In this embodiment, after the workpiece to be measured is placed in the second preset area, since the second preset area is generated according to the current position of the CMM, the CMM does not need to change the position, and the CMM does not need to change the position. The measurement module can directly and automatically start to complete the precise positioning of the workpiece to be measured before measurement, and start to automatically measure the measurement parameters of the workpiece to be measured.

实施例四Embodiment 4

如图4所示,本发明实施例四提供了一种工件的三坐标测量装置,该工件的三坐标测量装置可执行本发明任意实施例所提供的工件的三坐标测量方法,具备执行方法相应的功能模块和有益效果。该工件的三坐标装置包括:As shown in FIG. 4 , Embodiment 4 of the present invention provides a three-coordinate measuring device for a workpiece. The three-coordinate measuring device for a workpiece can execute the three-coordinate measuring method for a workpiece provided by any embodiment of the present invention, and has the corresponding method for executing the method. functional modules and beneficial effects. The three-coordinate device of the workpiece includes:

激光投影系统300,用于照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标,还用于根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系,通过所述转换关系以获取所述工件基于所述测量平台的初始坐标;The laser projection system 300 is used to illuminate a plurality of common measurement points in a first preset area on a support plate of a measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on a first coordinate system, and the plurality of common measurement points are based on a first coordinate system. The common measurement points have multiple second coordinates based on the second coordinate system of the measuring platform, and are further configured to determine the first coordinate system and the second coordinate system according to the multiple first coordinates and the multiple second coordinates The conversion relationship, through the conversion relationship to obtain the initial coordinates of the workpiece based on the measurement platform;

测量平台,基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。The measurement platform performs three-coordinate measurement on the workpiece based on the initial coordinates, so as to obtain measurement parameters of the workpiece in the second coordinate system.

一实施例中,所述激光投影系统300还用于基于所述转换关系通过所述激光投影系统300照射所述工件以获取所述工件基于所述测量平台的初始坐标。In one embodiment, the laser projection system 300 is further configured to irradiate the workpiece through the laser projection system 300 based on the conversion relationship to obtain the initial coordinates of the workpiece based on the measurement platform.

具体的,测量平台为三坐标测量机100,三坐标测量机100包括上位机110,上位机110通过通信模块和激光投影系统300通讯。首先在上位机110中导入预设的多个公共测量点,激光投影系统300照射多个公共测量点后将获取的第一坐标通过通讯模块200传输给上位机110,上位机110通过三坐标测量机100确定多个公共测量点的第二坐标,然后根据第一坐标和第二坐标确定第一坐标系和第二坐标系的转换关系。激光投影系统300照射待测工件后获取待测工件当前在第一预设区域中摆放位置的极坐标,激光投影系统300通过通讯模块200将该极坐标传输给上位机110,上位机110通过转换关系将待测工件当前在第一预设区域中摆放位置的基于第一坐标系的极坐标转换为基于第二坐标系的三维坐标,确定当前待测工件在第二坐标系中的位置,并根据该三维坐标生成自动测量代码,控制三坐标测量机100的测量模块120根据当前待测工件在第二坐标系中的位置直接进行对齐和测量。Specifically, the measurement platform is a three-coordinate measuring machine 100, and the three-coordinate measuring machine 100 includes an upper computer 110, and the upper computer 110 communicates with the laser projection system 300 through a communication module. First, a plurality of preset public measuring points are imported into the host computer 110. After the laser projection system 300 illuminates the plurality of public measuring points, the acquired first coordinates are transmitted to the host computer 110 through the communication module 200, and the host computer 110 measures the three coordinates. The machine 100 determines the second coordinates of the plurality of common measurement points, and then determines the conversion relationship between the first coordinate system and the second coordinate system according to the first coordinates and the second coordinates. After irradiating the workpiece to be tested, the laser projection system 300 obtains the polar coordinates of the current position of the workpiece to be tested in the first preset area. The laser projection system 300 transmits the polar coordinates to the host computer 110 through the communication module 200, and the host computer 110 passes the polar coordinates. The conversion relationship converts the polar coordinates based on the first coordinate system of the current position of the workpiece to be tested in the first preset area into three-dimensional coordinates based on the second coordinate system, and determines the current position of the workpiece to be tested in the second coordinate system. , and generate an automatic measurement code according to the three-dimensional coordinates, and control the measurement module 120 of the three-coordinate measuring machine 100 to directly align and measure according to the current position of the workpiece to be measured in the second coordinate system.

又一实施例中,所述激光投影系统300用于接收所述工件的数据模型,所述数据模型包括所述多个公共测量点。所述激光投影系统300还用于基于所述数据模型和转换关系通过以获取所述工件基于所述测量平台的初始坐标,根据所述初始坐标在所述第一预设区域中照射第二预设区域。In yet another embodiment, the laser projection system 300 is configured to receive a data model of the workpiece, and the data model includes the plurality of common measurement points. The laser projection system 300 is further configured to obtain the initial coordinates of the workpiece based on the measurement platform based on the data model and the conversion relationship, and irradiate the second preset area in the first preset area according to the initial coordinates. set area.

具体的,测量平台为三坐标测量机100,三坐标测量机100包括上位机110,上位机110通过通信模块和激光投影系统300通讯。首先在上位机110中导入预设的多个公共测量点,激光投影系统300照射多个公共测量点后将获取的第一坐标通过通讯模块200传输给上位机110,上位机110通过三坐标测量机100确定多个公共测量点的第二坐标,然后根据第一坐标和第二坐标确定第一坐标系和第二坐标系的转换关系。待测工件的数据模型是已知的,该数据模型可以是多个不同种类的工件的数据模型,且存储在三坐标测量机100的上位机110中,将预设的多个公共测量点的第二坐标导入数据模型中,通过上位机110确定待测工件的数据模型的坐标和多个公共测量点的第二坐标的相对位置。然后通过通讯模块200将存储在三坐标测量机100的上位机110中包括多个公共测量点的第二坐标的数据模型传输至激光投影系统300。在三坐标测量机100的上位机110中已根据第一坐标系和第二坐标系的转换关系将包括多个公共测量点的第二坐标的数据模型转换为用第一坐标表示的放置坐标,该放置坐标是基于该三坐标测量机100在第二坐标系的当前位置生成的,当待测工件在该放置坐标时,三坐标测量机100可直接进行测量该待测工件。第二预设区域的面积小于第一预设区域,该第二预设区域为放置坐标形成的区域,即待测工件放置在该区域时,三坐标测量机100可直接进行测量该待测工件。激光投影系统300在第一预设区域中照射出第二预设区域,只需要人工根据第二预设区域的位置将待测工件与第二预设区域的边界对齐摆放即可。当待测工件摆放在第二预设区域后,因第二预设区域是根据三坐标测量机100当前的位置生成的,三坐标测量机100不需要改变位置,三坐标测量机100的测量模块120就可以直接自动开始完成待测工件测量前的精确定位,并开始自动测量待测工件的测量参数。Specifically, the measurement platform is a three-coordinate measuring machine 100, and the three-coordinate measuring machine 100 includes an upper computer 110, and the upper computer 110 communicates with the laser projection system 300 through a communication module. First, a plurality of preset public measuring points are imported into the host computer 110. After the laser projection system 300 illuminates the plurality of public measuring points, the acquired first coordinates are transmitted to the host computer 110 through the communication module 200, and the host computer 110 measures the three coordinates. The machine 100 determines the second coordinates of the plurality of common measurement points, and then determines the conversion relationship between the first coordinate system and the second coordinate system according to the first coordinates and the second coordinates. The data model of the workpiece to be measured is known, and the data model can be a data model of a plurality of different types of workpieces, and is stored in the upper computer 110 of the CMM 100. The second coordinates are imported into the data model, and the host computer 110 determines the coordinates of the data model of the workpiece to be measured and the relative positions of the second coordinates of the plurality of common measurement points. Then, the data model including the second coordinates of the plurality of common measurement points stored in the host computer 110 of the CMM 100 is transmitted to the laser projection system 300 through the communication module 200 . In the host computer 110 of the coordinate measuring machine 100, the data model including the second coordinates of the plurality of common measurement points has been converted into the placement coordinates represented by the first coordinates according to the conversion relationship between the first coordinate system and the second coordinate system, The placement coordinates are generated based on the current position of the CMM 100 in the second coordinate system. When the workpiece to be measured is at the placement coordinates, the CMM 100 can directly measure the workpiece to be tested. The area of the second preset area is smaller than that of the first preset area, and the second preset area is an area formed by placing coordinates, that is, when the workpiece to be measured is placed in this area, the CMM 100 can directly measure the workpiece to be measured . The laser projection system 300 illuminates the second preset area in the first preset area, and only needs to manually align the workpiece to be tested with the boundary of the second preset area according to the position of the second preset area. After the workpiece to be measured is placed in the second preset area, since the second preset area is generated according to the current position of the CMM 100, the CMM 100 does not need to change the position, the CMM 100 does not need to change the position. The module 120 can directly and automatically start to complete the precise positioning of the workpiece to be measured before measurement, and start to automatically measure the measurement parameters of the workpiece to be measured.

实施例五Embodiment 5

图5为本发明实施例五提供的一种设备的结构示意图。图5示出了适于用来实现本发明实施方式的示例性计算机系统/服务器12的框图。图5显示的计算机系统/服务器12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention. Figure 5 shows a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 5 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present invention.

如图5所示,计算机系统/服务器12以通用计算设备的形式表现。计算机系统/服务器12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 5, computer system/server 12 takes the form of a general-purpose computing device. Components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 connecting various system components including system memory 28 and processing unit 16.

总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

计算机系统/服务器12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.

系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机系统/服务器12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in Figure 4, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected to bus 18 through one or more data media interfaces. Memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42, which may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other programs Modules and program data, each or some combination of these examples may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the described embodiments of the present invention.

计算机系统/服务器12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机系统/服务器12交互的设备通信,和/或与使得该计算机系统/服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机系统/服务器12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机系统/服务器12的其它模块通信。应当明白,尽管图中未示出,可以结合计算机系统/服务器12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer system/server 12 may also communicate with one or more external devices 14 (eg, keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the computer system/server 12, and/or with any device (eg, network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 22 . Also, the computer system/server 12 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 20 . As shown, network adapter 20 communicates with other modules of computer system/server 12 via bus 18 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, Tape drives and data backup storage systems, etc.

处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的工件的三坐标测量方法:The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, realizes the three-coordinate measurement method of the workpiece provided by the embodiment of the present invention:

照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标。Irradiate a plurality of common measurement points in the first preset area on the support plate of the measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on the first coordinate system, and the plurality of common measurement points are based on the The second coordinate system of the measurement platform has a plurality of second coordinates.

根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系。The conversion relationship between the first coordinate system and the second coordinate system is determined according to the plurality of first coordinates and the plurality of second coordinates.

通过所述转换关系获取所述工件基于所述测量平台的第二坐标系的初始坐标。The initial coordinates of the workpiece based on the second coordinate system of the measuring platform are obtained through the conversion relationship.

基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。Three-coordinate measurement is performed on the workpiece based on the initial coordinates to obtain measurement parameters of the workpiece in the second coordinate system.

实施例六Embodiment 6

本发明实施例六还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请所有发明实施例提供的工件的三坐标测量方法:The sixth embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by the processor, realizes the three-coordinate measurement method of the workpiece provided by all the inventive embodiments of the present application:

照射测量平台的支撑板上第一预设区域的多个公共测量点,以获取所述多个公共测量点基于第一坐标系的多个第一坐标,所述多个公共测量点基于所述测量平台的第二坐标系具有多个第二坐标。Irradiate a plurality of common measurement points in the first preset area on the support plate of the measurement platform to obtain a plurality of first coordinates of the plurality of common measurement points based on the first coordinate system, and the plurality of common measurement points are based on the The second coordinate system of the measurement platform has a plurality of second coordinates.

根据所述多个第一坐标和多个第二坐标确定所述第一坐标系和第二坐标系的转换关系。The conversion relationship between the first coordinate system and the second coordinate system is determined according to the plurality of first coordinates and the plurality of second coordinates.

通过所述转换关系获取所述工件基于所述测量平台的第二坐标系的初始坐标。The initial coordinates of the workpiece based on the second coordinate system of the measuring platform are obtained through the conversion relationship.

基于所述初始坐标对所述工件进行三坐标测量,以获取所述工件在所述第二坐标系的测量参数。Three-coordinate measurement is performed on the workpiece based on the initial coordinates to obtain measurement parameters of the workpiece in the second coordinate system.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (6)

1. A method of three-coordinate measurement of a workpiece, comprising:
illuminating a plurality of common measuring points of a first preset area on a supporting plate of a measuring platform to acquire a plurality of first coordinates of the common measuring points based on a first coordinate system, wherein the common measuring points have a plurality of second coordinates based on a second coordinate system of the measuring platform;
determining a conversion relation between the first coordinate system and the second coordinate system according to the first coordinates and the second coordinates;
acquiring initial coordinates of the workpiece based on a second coordinate system of the measuring platform through the conversion relation;
performing three-coordinate measurement on the workpiece based on the initial coordinates to acquire measurement parameters of the workpiece in the second coordinate system;
wherein said obtaining initial coordinates of the workpiece based on the measurement platform via the transformation relation previously comprises:
importing the plurality of common measurement points into a data model of the workpiece;
importing the data model into a laser projection system;
wherein the obtaining the initial coordinates of the workpiece based on the measurement platform through the transformation relation comprises:
obtaining placement coordinates of the workpiece based on a second coordinate system of the measuring platform based on the data model and the conversion relation;
the laser projection system irradiates a second preset area in the first preset area according to the placement coordinate;
and placing the workpiece in a second preset area in the first preset area.
2. The measurement method of claim 1, wherein the obtaining initial coordinates of the workpiece based on the measurement platform through the transformation relationship comprises:
placing a workpiece in the first preset area;
illuminating the workpiece by a laser projection system based on the transformation relationship to obtain initial coordinates of the workpiece based on a second coordinate system of the measurement platform.
3. A three-coordinate measuring apparatus for a workpiece, comprising:
the laser projection system is used for irradiating a plurality of common measuring points of a first preset area on a supporting plate of a measuring platform to acquire a plurality of first coordinates of the common measuring points based on a first coordinate system, the common measuring points have a plurality of second coordinates based on a second coordinate system of the measuring platform, and the laser projection system is further used for determining a conversion relation of the first coordinate system and the second coordinate system according to the first coordinates and the second coordinates to acquire initial coordinates of the workpiece based on the measuring platform;
the measuring platform is used for carrying out three-coordinate measurement on the workpiece based on the initial coordinates so as to obtain the measurement parameters of the workpiece in the second coordinate system;
wherein the laser projection system is further configured to receive a data model of the workpiece, the data model including the plurality of common measurement points;
the laser projection system is further used for acquiring initial coordinates of the workpiece based on the measuring platform based on the data model and the conversion relation, and irradiating a second preset area in the first preset area according to the initial coordinates.
4. The measurement apparatus of claim 3, wherein the laser projection system is further configured to illuminate the workpiece through the laser projection system based on the transformed relationship to obtain initial coordinates of the workpiece based on the measurement platform.
5. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the measurement method of any one of claims 1-2.
6. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the measurement method according to any one of claims 1-2.
CN201910778205.5A 2019-08-22 2019-08-22 Three-coordinate measuring method, device and equipment of workpiece and storage medium Active CN112414340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910778205.5A CN112414340B (en) 2019-08-22 2019-08-22 Three-coordinate measuring method, device and equipment of workpiece and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910778205.5A CN112414340B (en) 2019-08-22 2019-08-22 Three-coordinate measuring method, device and equipment of workpiece and storage medium

Publications (2)

Publication Number Publication Date
CN112414340A CN112414340A (en) 2021-02-26
CN112414340B true CN112414340B (en) 2022-04-08

Family

ID=74780287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910778205.5A Active CN112414340B (en) 2019-08-22 2019-08-22 Three-coordinate measuring method, device and equipment of workpiece and storage medium

Country Status (1)

Country Link
CN (1) CN112414340B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114425643A (en) * 2021-12-27 2022-05-03 深圳模德宝科技有限公司 Method and device for automatically processing batch parts
CN115406387B (en) * 2022-07-21 2024-11-12 青岛海尔模具有限公司 Electrode detection method and detection device
CN116033733B (en) * 2022-08-30 2023-10-20 荣耀终端有限公司 Display device and assembly method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973202B2 (en) * 1998-10-23 2005-12-06 Varian Medical Systems Technologies, Inc. Single-camera tracking of an object
US6480271B1 (en) * 2001-01-08 2002-11-12 The Boeing Company Traversing laser locating system
CN104315978B (en) * 2014-11-10 2017-03-29 北京理工大学 A kind of measuring method and device of pipeline end face center point
CN107432750B (en) * 2017-07-31 2020-11-10 上海联影医疗科技股份有限公司 Method and system for calibrating an imaging system
CN107389028B (en) * 2017-08-14 2019-11-08 中南大学 A three-dimensional coordinate conversion method and device based on coordinate projection
CN109916350B (en) * 2017-12-12 2021-01-01 深圳模德宝科技有限公司 Method and device for generating three-coordinate measuring program and terminal equipment
CN108827187B (en) * 2018-07-28 2019-10-11 西安交通大学 A 3D Profile Measurement System
CN110006361B (en) * 2019-03-12 2021-08-03 精诚工科汽车系统有限公司 Automatic part detection method and system based on industrial robot

Also Published As

Publication number Publication date
CN112414340A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112414340B (en) Three-coordinate measuring method, device and equipment of workpiece and storage medium
US20080133173A1 (en) Method and system for measuring an image of an object
CN112824828B (en) Laser tracker station position determination method and system, electronic device and medium
US7830374B2 (en) System and method for integrating dispersed point-clouds of multiple scans of an object
CN110640747A (en) Hand-eye calibration method and system for robot, electronic equipment and storage medium
CN104626142A (en) Method for automatically locating and moving binocular vision mechanical arm for weight testing
CN109598637B (en) Ship pipe section calibration method, device, system, storage medium and terminal
CN110319771B (en) Online measurement method, device, system, electronic equipment and storage medium
TW201319769A (en) System and method for automatically replacing measuring probes
CN114668415A (en) Method, device and equipment for testing displacement of teleoperation ultrasonic scanning robot
CN111275662B (en) Workpiece positioning methods, devices, equipment and storage media based on QR codes
JP2019121076A (en) Information processing device, program and information processing method
CN112129227A (en) Method, device, equipment and medium for scanning printed circuit board
CN116117810B (en) Method and device for secondary calibration after data conversion among different robots
CN111723799A (en) Coordinate positioning method, device, equipment and storage medium
CN117808898A (en) Method and device for calibrating pose of robot base, robot and medium
CN117781875A (en) Data processing method, device and medium for contactless detection of automobile gauge
CN114593704B (en) Measuring methods, devices, equipment and media for curved parts
CN112598645B (en) Contour detection method, apparatus, device and storage medium
CN113592942B (en) Vibration measurement point matching method, device, equipment and storage medium
CN100501667C (en) Three-dimensional measurement program conversion system and method
CN113074686A (en) Method and device for creating measured coordinate system
CN120276375A (en) Measurement control method, electronic device and storage medium
CN119594913A (en) Dimension measurement method, device, equipment and storage medium
CN115533565B (en) Workpiece positioning method, workpiece processing method and device

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