Three-dimensional data generator, three-dimensional data generation method, three-dimensional data generation program, and three-dimensional data generation system

The three-dimensional data generation device corrects and aligns overlapping area surfaces to enhance accuracy in stitched data, addressing errors from shifting measurement directions and noise, thereby generating precise three-dimensional data.

JP2024144360APending Publication Date: 2024-10-11CITIZEN WATCH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024052418
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-03-27
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing three-dimensional data generation techniques suffer from accuracy decreases due to errors in the connection parts of stitched data when the measurement direction shifts during the stitching process.

Method used

A three-dimensional data generation device that measures the object's shape in multiple narrower detection regions, corrects overlapping area surfaces by aligning their inclinations and coordinates, and combines the corrected data to generate accurate three-dimensional data, excluding noise data and calculating overlapping area planes with high precision.

Benefits of technology

The device effectively suppresses accuracy loss in stitched three-dimensional data by aligning overlapping area surfaces and excluding noise, resulting in high-precision three-dimensional data generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144360000001_ABST
    Figure 2024144360000001_ABST
Patent Text Reader

Abstract

To provide a three-dimensional data generator which can suppress a decrease in accuracy of three-dimensional data generated by switching processing.SOLUTION: A three-dimensional data generator 1 comprises: a data acquisition unit 21 that acquires, by a sensor 101 for measuring a three-dimensional shape of a detection region 31 whose area is narrower than a plane 30 to be measured, detection data indicating the three-dimensional shape of a detection region 31 including an overlap area that an adjacent detection area partly overlaps; an overlap region surface calculation unit 25 that calculates, from detection data included in an overlap region 40 overlapping between adjacent detection regions 31, overlap region surfaces 41, 42 indicating an inclination of the overlap region 40; a correction processing unit 26 that corrects detection data so that the respective overlap regions 41, 42 of the adjacent detection regions 31 match each other and generate correction data; and a data joining unit 24 that generates three-dimensional data indicating the three-dimensional shape of the surface 30 to be measured, so as to join the respective correction data of the adjacent detection regions together.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a three-dimensional data generating device, a three-dimensional data generating method, a three-dimensional data generating program, and a three-dimensional data generating system. [Background technology]

[0002] There is known a technique for generating three-dimensional data showing the three-dimensional shape of a measurement target by a stitching process that generates measurement data showing the three-dimensional shape of the measurement target. For example, Patent Document 1 describes a technique for generating three-dimensional data of a measurement target surface by connecting measurement data of a plurality of measurement surfaces divided based on outline shape information of the measurement target surface when the three-dimensional shape of the measurement target surface having an undulating shape is measured by an interferometer such as a Michelson type. The technique described in Patent Document 1 divides the measurement target surface into a plurality of measurement surfaces based on outline shape information of the measurement target surface, thereby effectively shortening the measurement time even when the measurement target surface has a large undulating shape.

[0003] Patent Document 2 also describes a technique for classifying an imaging range included in a preliminary image into a measurement target range and a non-measurement target range, and stitching three-dimensional data showing a three-dimensional shape measured in the main measurement field of view range classified into the measurement target range. The technique described in Patent Document 2 can efficiently measure a wide measurement range by stitching three-dimensional data showing a three-dimensional shape measured in the main measurement field of view range without measuring the non-measurement target range. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-163092 A [Patent Document 2] JP 2014-215153 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the technology described in Patent Documents 1 and 2, if the measurement direction when measuring each of the multiple measurement areas is shifted, errors may occur at the connections of the three-dimensional data generated by the stitching process, which may reduce the accuracy of the generated three-dimensional data.

[0006] The present invention is devised to solve such problems, and has an object to provide a three-dimensional data generation device that is capable of suppressing a decrease in accuracy of three-dimensional data generated by stitching processing. [Means for solving the problem]

[0007] The three-dimensional data generating device of the present invention includes a data acquisition unit that acquires detection data indicating the three-dimensional shape of a detection area including overlap areas where adjacent detection areas partially overlap, using a sensor that measures the three-dimensional shape of the measurement object for multiple detection areas narrower than the area of ​​the measurement surface of the measurement object, an overlap area surface calculation unit that calculates an overlap area surface indicating the slope of the overlap area from the detection data included in the overlap area, a correction processing unit that corrects the detection data to make the overlap area surfaces of each of the adjacent detection areas coincide with each other and generates corrected data, a data combination unit that generates three-dimensional data indicating the three-dimensional shape of the measurement surface so as to combine the corrected data of each of the adjacent detection areas, and a three-dimensional data output unit that outputs the three-dimensional data.

[0008] Furthermore, in the three-dimensional data generation device of the present invention, it is preferable that the detection data is point cloud data, and the correction processing unit converts the coordinates of the point cloud data so as to match the inclinations of the overlapping area surfaces, and moves the coordinates of the coordinate-converted point cloud data so that the overlapping area surfaces overlap.

[0009] Furthermore, in the three-dimensional data generation device of the present invention, it is preferable that the detection data is point cloud data, and the overlap area surface calculation unit extracts the point cloud data contained in the overlap area, excludes noise data from the extracted point cloud data, and calculates the overlap area surface from the point cloud data from which the noise data has been excluded.

[0010] Furthermore, in the three-dimensional data generation device of the present invention, it is preferable that the detection area includes an area outside the measured surface, the point cloud data includes height information indicating the height of the detection area, and the overlap area surface calculation unit converts the height corresponding to the height information into a predetermined numerical value and uses the converted numerical value to exclude the point cloud data.

[0011] Furthermore, the three-dimensional data generation device according to the present invention further includes an origin region determination unit that determines an origin region that serves as a starting point when generating three-dimensional data indicating the three-dimensional shape of the measurement surface, The starting region is preferably a region that does not include the outer edge of the measurement surface.

[0012] Furthermore, the three-dimensional data generating device of the present invention further has a correction order determination unit that determines the order in which to correct the detection data, and it is preferable that the correction order determination unit determines the order so that the detection data corresponding to the detection area that does not include the outer edge of the measured surface is corrected first, and then the detection data corresponding to the detection area that includes the outer edge of the measured surface is corrected.

[0013] Furthermore, in the three-dimensional data generating device of the present invention, it is preferable that the correction order determination unit determines the order so as to correct detection data corresponding to a detection area that does not include the four corners of the measured surface, and then correct detection data corresponding to a detection area that includes the four corners of the measured surface.

[0014] In addition, the three-dimensional data generation method of the present invention includes obtaining detection data indicating the three-dimensional shape of a detection area including an overlap area where adjacent detection areas partially overlap, using a sensor that measures the three-dimensional shape of the object to be measured for multiple detection areas narrower than the area of ​​the measured surface of the object to be measured, calculating an overlap area surface indicating the slope of the overlap area from the detection data included in the overlap area, correcting the detection data so as to match the overlap area surfaces of each of the adjacent detection areas with each other, generating corrected data, combining the corrected data to generate three-dimensional data indicating the three-dimensional shape of the measured surface, and outputting the three-dimensional data.

[0015] In addition, the three-dimensional data generation program of the present invention acquires detection data indicating the three-dimensional shape of a detection area including an overlap area where adjacent detection areas partially overlap, using a sensor that measures the three-dimensional shape of the object to be measured for multiple detection areas narrower than the area of ​​the measured surface of the object to be measured, calculates an overlap area surface indicating the slope of the overlap area from the detection data included in the overlap area, corrects the detection data so that the overlap area surfaces of adjacent detection areas match each other, generates corrected data, combines the corrected data to generate three-dimensional data indicating the three-dimensional shape of the measured surface, and causes a computer to execute a process of outputting the three-dimensional data.

[0016] In addition, the three-dimensional data generation system of the present invention has a sensor that measures the three-dimensional shape of the object to be measured for a plurality of detection areas narrower than the area of ​​the measured surface of the object to be measured, and a three-dimensional data generation device that generates three-dimensional data indicating the three-dimensional shape of the detection areas detected by the sensor.The three-dimensional data generation device has a data acquisition unit that acquires detection data indicating the three-dimensional shape of the detection areas including overlap areas where adjacent detection areas partially overlap, an overlap area surface calculation unit that calculates an overlap area surface indicating the slope of the overlap area from the detection data included in the overlap area, a correction processing unit that corrects the detection data to make the overlap area surfaces of the adjacent detection areas coincide with each other and generates corrected data, a data combination unit that combines the correction data to generate three-dimensional data indicating the three-dimensional shape of the measured surface, and a three-dimensional data output unit that outputs the three-dimensional data. Effect of the Invention

[0017] The three-dimensional data generation device according to the present invention can suppress a decrease in accuracy of the three-dimensional data generated by the stitching process. [Brief description of the drawings]

[0018] [Figure 1] 1 is a perspective view of a three-dimensional data generation system according to an embodiment. [Diagram 2] FIG. 2 is a block diagram of the three-dimensional data generating device shown in FIG. [Diagram 3] 3 is a flowchart of a three-dimensional data generation process executed by the three-dimensional data generation device shown in FIG. 2. [Figure 4] 2A is a diagram showing the measurement sequence by the sensor shown in FIG. 1; FIG. 2B is a diagram showing blank map data; FIG. 2C is a diagram showing the starting area; FIG. 2D is a diagram (part 1) showing the correction order determined by the correction order determination unit shown in FIG. 2; FIG. 2E is a diagram (part 2) showing the correction order determined by the correction order determination unit shown in FIG. 2; and FIG. 2F is a diagram (part 3) showing the correction order determined by the correction order determination unit shown in FIG. 2. [Diagram 5] 4A is a flowchart showing the process of S109 shown in FIG. 3 in more detail, and FIG. 4B is a flowchart showing the process of S110 shown in FIG. [Figure 6] 1A is a diagram showing an overlapping area between unit data areas 36 indicated by "1" and "2", FIG. 1B is a diagram showing a process for aligning the normal direction of the overlapping area surface of the unit data area indicated by "1" with the normal direction of the overlapping area surface of the unit data area indicated by "2", and FIG. 1C is a diagram showing a process for calculating correction data that matches the overlapping area surface of the unit data area indicated by "1". [Figure 7]1A is a diagram showing an overlapping area between unit data areas indicated by "2" and "3" and a unit data area indicated by "4", FIG. 1B is a diagram showing a process for aligning the normal direction of the overlapping area surface of the unit data areas indicated by "2" and "3" with the normal direction of the overlapping area surface of the unit data area indicated by "4", and FIG. 1C is a diagram showing a process for calculating correction data that matches the overlapping area surface of the unit data areas indicated by "2" and "3". [Figure 8] 10A and 10B are diagrams for explaining noise data removal processing according to a modified example, where FIG. 10A shows a first processing and FIG. 10B shows a second processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, a 3D data generating device according to the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to the embodiments, but extends to the inventions described in the claims and their equivalents.

[0020] (Configuration and Functions of the Three-Dimensional Data Generation System According to the Embodiment) FIG. 1 is a perspective view of a three-dimensional data generating system according to an embodiment.

[0021] The three-dimensional data generation system 100 has a sensor 101, a sensor support 102, a stage 103, a two-axis actuator 104, and a three-dimensional data generation device 1, and generates three-dimensional data indicating the three-dimensional shape of the surface of a workpiece W that is a measurement object supported by the stage 103. The workpiece W has a rectangular parallelepiped shape, and the surface of the workpiece W is a measurement surface 30 having a surface roughness that can be measured by the sensor 101. The outer edge of the workpiece W may be R-chamfered.

[0022] The sensor 101 is a white light interferometer having a sensor element 111, a sensor driving unit 112, and a sensor housing 113. The sensor 101 measures the three-dimensional shape of a detection area narrower than the area of ​​the measurement surface 30, and outputs detection data, which is point cloud data indicating the measured three-dimensional shape, to the three-dimensional data generating device 1. The detection data, which is point cloud data, includes position information indicating X coordinates and Y coordinates, which are coordinates indicating the position inside the detection area including the measurement surface 30 and the outside of the measurement surface 30, and height information indicating the height of the position corresponding to each position information. In one example, the height information is expressed by double precision floating point (64-bit float). The sensor element 111 is an optical unit including optical elements such as a light source and a mirror, and a light receiving element, and is arranged at the lower end of the sensor housing 113. The sensor driving unit 112 has a motor and a rack and pinion, is arranged inside the sensor housing 113, and moves the sensor element 111 in the Z direction parallel to the vertical direction of the surface of the workpiece W. The sensor housing 113 houses the sensor driving unit 112. The sensor 101 is a white light interferometer, but in the three-dimensional data generation system according to the embodiment, the sensor element that measures the three-dimensional shape may be any sensor capable of acquiring three-dimensional data of a rectangular area, such as a confocal laser microscope.

[0023] The sensor support part 102 has an arch shape, supports the sensor 101, and is disposed so as to straddle the stage 103 and the two-axis actuator 104. The height of a pair of legs of the sensor support part 102 can be changed according to the thickness of the workpiece W. The stage 103 has the workpiece W placed on its upper surface and is movably held by the two-axis actuator 104. The two-axis actuator 104 has a motor and a guide mechanism driven by the motor, and moves the stage 103 in the X direction and Y direction which are horizontal directions of the surface of the workpiece W. As the two-axis actuator 104 moves the stage 103 in the X direction and Y direction, the workpiece W held by the stage 103 moves in the X direction and Y direction.

[0024] FIG. 2 is a block diagram of the three-dimensional data generating device 1.

[0025] The three-dimensional data generation device 1 has a communication unit 11, a storage unit 12, an input unit 13, an output unit 14, and a processing unit 20, and executes various processes by referring to data stored in the storage unit 12 based on a program previously stored in the storage unit 12. The three-dimensional data generation device 1 also executes various processes in response to instructions input by an operator via the input unit 13, and outputs the execution results to the output unit 14. The three-dimensional data generation device 1 is an electronic computer. The three-dimensional data generation device 1 may also include a drive control device that generates a pulse signal, such as a PLC (Programmable Logic Controller) or an FPGA (Field Programmable Gate Array), in addition to the electronic computer.

[0026] The communication unit 11 has a communication interface circuit for connecting the three-dimensional data generation device 1 to a network (not shown). The communication unit 11 supplies data received from the sensor 101 and other devices (not shown) via the network to the processing unit 20. The communication unit 11 also transmits data supplied from the processing unit 20 to other devices via the network.

[0027] The storage unit 12 includes, for example, one of a semiconductor memory, a magnetic disk device, and an optical disk device. The storage unit 12 stores an operating system program, a driver program, an application program, data, and the like used in the processing in the processing unit 20. For example, the storage unit 12 stores, as the driver program, an input device driver program for controlling the input unit 13, an output device driver program for controlling the output unit 14, and the like. The storage unit 12 also stores, as the application program, a three-dimensional data generation program for causing the processing unit 20 to execute a three-dimensional data generation process for generating three-dimensional data indicating the three-dimensional shape of the measurement target surface 30. The storage unit 12 also stores measurement order information indicating the order of detection areas in which the three-dimensional shape of the measurement target surface 30 is measured by the sensor 101. The storage unit 12 also stores reference plane information indicating the horizontal direction of the measurement target surface 30 when it is placed on the stage 103. The horizontal direction corresponding to the reference plane information is, for example, the horizontal direction of the surface of the stage 103.

[0028] The input unit 13 may be any device capable of operating the three-dimensional data generation apparatus 1, such as a keyboard or a touch pad. An operator can input characters, numbers, and the like via the input unit 13. When the input unit 13 is operated by the operator, it generates a signal corresponding to the operation. The generated signal is then supplied to the processing unit 20 as an instruction from the operator.

[0029] The output unit 14 may be any device capable of displaying video, images, characters, etc., such as a liquid crystal display, an organic EL (Electro-Luminescence) display, etc. The output unit 14 displays video corresponding to video data, images corresponding to image data, characters corresponding to character data, etc., supplied from the processing unit 20. The output unit 14 may also display a graphical user interface (GUI) for operating the three-dimensional data generation device 1.

[0030] The processing unit 20 has one or more processors and their peripheral circuits. The processing unit 20 centrally controls the overall operation of the three-dimensional data generation device 1, and is, for example, a CPU (Central Processing Unit). The processing unit 20 controls the operation of the communication unit 11, the output unit 14, etc. so that various processes of the three-dimensional data generation device 1 are executed in an appropriate order according to the programs stored in the storage unit 12, the operation of the input unit 13, etc. The processing unit 20 executes processes based on the programs (operating system programs, driver programs, application programs, etc.) stored in the storage unit 12. The processing unit 20 can also execute multiple programs (application programs, etc.) in parallel.

[0031] The processing unit 20 has a data acquisition unit 21, a starting point region determination unit 22, a correction order determination unit 23, a data combination unit 24, an overlapping region surface calculation unit 25, a correction processing unit 26, and a three-dimensional data output unit 27. Each of these units is a functional module realized by a program executed by a processor included in the processing unit 20. Alternatively, each of these units may be implemented in the three-dimensional data generation device 1 as firmware.

[0032] (Three-dimensional data generation process by the three-dimensional data generation device according to the embodiment) Fig. 3 is a flowchart of the three-dimensional data generation process executed by the three-dimensional data generation device 1. Fig. 4(a) is a diagram showing the measurement sequence by the sensor 101, Fig. 4(b) is a diagram showing blank map data, and Fig. 4(c) is a diagram showing the starting point region. The three-dimensional data generation process shown in Fig. 3 is executed mainly by the processing unit 20 in cooperation with each element of the three-dimensional data generation system 100 based on a three-dimensional data generation program stored in advance in the storage unit 12.

[0033] First, the data acquisition unit 21 sequentially measures the three-dimensional shapes of a plurality of detection regions narrower than the area of ​​the measurement surface 30 while overlapping adjacent detection regions, and acquires detection data indicating the measured three-dimensional shapes (S101). The data acquisition unit 21 sequentially measures the three-dimensional shapes of the plurality of detection regions according to the measurement sequence information stored in the storage unit 12. The data acquisition unit 21 sequentially moves the stage 103 by the two-axis actuator 104 according to the position information of each measurement position included in the measurement sequence information. After moving the stage 103 to a position according to the position information, the data acquisition unit 21 outputs a measurement instruction signal indicating a measurement instruction to the sensor 101. In response to the input of the measurement instruction signal, the sensor 101 measures the three-dimensional shape of the detection region and outputs the obtained detection data to the three-dimensional data generating device 1. The data acquisition unit 21 associates the detection data input from the sensor 101 with a measurement identifier corresponding to the measurement sequence and stores it in the storage unit 12.

[0034] As shown in FIG. 4(a), the data acquisition unit 21 divides the measurement surface 30, which is the surface of the workpiece W, into detection areas 31 of, for example, 5 rows and 12 columns, and assigns the measurement identifier value "1" to "60" to each detection area. The data acquisition unit 21 measures the three-dimensional shape in the column direction from the detection area 31 indicated by the measurement identifier "1" so as to include an overlapping area 32 where adjacent detection areas partially overlap. After measuring the three-dimensional shape of the detection area 31 indicated by the measurement identifier "5", the data acquisition unit 21 measures the three-dimensional shape of the adjacent detection area 31 indicated by the measurement identifier "6". Thereafter, the data acquisition unit 21 sequentially measures the three-dimensional shapes of the detection areas 31 adjacent in the column direction, and after measuring the three-dimensional shapes of all the detection areas 31 in the column, measures the three-dimensional shapes of the detection areas 31 in the same row of the adjacent column. Then, when the three-dimensional shape of the detection area 31 indicated by the measurement identifier "60" is measured, the process of S101 ends.

[0035] The data acquiring unit 21 sequentially acquires detection regions so that the overlapping region 32 between adjacent detection regions has a constant area. For example, the area of ​​the overlapping region 32 between the detection region 31 indicated by the measurement identifier "1" and the detection region 31 indicated by the measurement identifier "2" is the same as the area of ​​the overlapping region 32 between the detection region 31 indicated by the measurement identifier "2" and the detection region 31 indicated by the measurement identifier "3."

[0036] Next, the data acquiring unit 21 counts the number of pieces of detection data stored in the storage unit in the process of S101 (S102). The data acquiring unit 21 counts the number of measurement identifiers associated with the detection data as the number of pieces of detection data.

[0037] Next, the data acquiring unit 21 judges whether or not the number of detection data counted in the process of S102 matches the number of detection areas included in the measurement sequence information stored in the storage unit 12 (S103). When the data acquiring unit 21 judges that the number of detection data counted in the process of S102 does not match 60, which is the number of detection areas included in the measurement sequence information stored in the storage unit 12 (S103-NO), it outputs an alarm signal indicating that there has been a problem with the measurement (S104). When the alarm signal is output by the data acquiring unit 21, the process ends.

[0038] When the data acquiring unit 21 determines that the number of detection data counted in the process of S102 matches the number of detection areas included in the measurement order information stored in the storage unit 12 (S103-YES), it generates blank map data 35 (S105). As shown in Fig. 4(b), the blank map data 35 has 60 unit data areas 36 corresponding to the 60 detection areas 31, respectively.

[0039] Next, the origin region determining unit 22 determines an origin region that serves as a starting point when generating three-dimensional data of the measurement surface 30 (S106). The origin region determining unit 22 determines a unit data region 36 located near the center among the unit data regions 36 of 5 rows and 12 columns included in the blank map data 35 as an origin region 37. The origin region determining unit 22 may also determine the origin region 37 based on an instruction input via the input unit 13. As shown in FIG. 4(c), the origin region determining unit 22 determines the unit data region 36 located in the 3rd row and 6th column as the origin region 37.

[0040] Next, the correction order determination unit 23 determines the order in which correction data for correcting the detection data acquired in the process of S101 is generated (S107).

[0041] Figure 4(d) is a diagram (part 1) showing the correction order determined by the correction order determination unit 23, Figure 4(e) is a diagram (part 2) showing the correction order determined by the correction order determination unit 23, and Figure 4(f) is a diagram (part 3) showing the correction order determined by the correction order determination unit 23.

[0042] The correction order determination unit 23 determines the correction order so that the correction data of the adjacent unit data areas 36 from the vicinity of the center of the blank map data 35 toward the outer edge is generated in order from the origin area 37 determined in the process of S106. It is preferable that the correction order determination unit 23 determines the correction order so that the generated unit data areas 36 are point symmetrical with respect to the origin area. It is also preferable that the correction order determination unit 23 determines the correction order so that the correction data is located in a pair of unit data areas 36 whose two orthogonal sides are adjacent to each other to form an L-shaped overlap area 33. The correction order determination unit 23 determines the correction order so that the L-shaped overlap area 33 is formed by sequentially correcting the unit data areas 36 adjacent in the row direction and the column direction. For example, the correction order determination unit 23 determines to generate correction data from detection data corresponding to the unit data area 36 indicated by the correction identifier "2" that is adjacent in the column direction to the origin area 37 indicated by the correction identifier "1" in FIG. 4(d). Next, the correction order determination unit 23 determines to generate correction data from detection data corresponding to the unit data area 36 indicated by correction identifier "3" adjacent to the starting area 37 in the row direction. Next, the correction order determination unit 23 determines to generate correction data from detection data corresponding to the unit data area 36 indicated by correction identifier "4" which overlaps with one side of the unit data area 36 indicated by correction identifier "2" and one side of the unit data area 36 indicated by correction identifier "3". Thereafter, the correction order of the unit data areas 36 located in an area not including the outer edge of the blank map data 35 is determined until correction data is generated from detection data corresponding to the unit data area 36 indicated by correction identifier "30".

[0043] Next, the correction order determination unit 23 determines the correction order so as to correct the detection data corresponding to the unit data areas 36 other than those located at the four corners among the unit data areas 36 forming the outer edge of the blank map data 35. As shown in Fig. 4(e), the correction order determination unit 23 determines the correction order so as to generate correction data in order from the center on the outer edge of the blank map data 35. First, the correction order determination unit 23 determines to generate correction data from the detection data corresponding to the unit data area 36 in the 1st row and 6th column indicated by the correction identifier "31" from the detection data corresponding to the unit data area 36 in the 2nd row and 6th column.

[0044] Then, the correction order determination unit 23 determines the correction order so as to correct the detection data corresponding to the unit data areas 36 located at the four corners in the blank map data 35. As shown in Fig. 4(f), the correction order determination unit 23 determines the correction order so as to sequentially correct the detection data corresponding to the unit data areas 36 indicated by the correction identifiers "57" to "60".

[0045] Next, the data combination unit 24 acquires the detection data corresponding to the unit data area 36 according to the correction order determined in the process of S107 (S108). For example, the unit data area 36 indicated by the correction identifier "1" in Fig. 4(d) is located in the third row and sixth column. Since the detection data corresponding to the relevant location is the detection data of the measurement identifier "28" in Fig. 4(a), the data combination unit 24 adopts the detection data of the measurement identifier "28" stored in the storage unit 12 as the detection data of the correction identifier "1".

[0046] Next, the overlapping area surface calculation section 25 calculates an overlapping area surface indicating the inclination of the overlapping area that overlaps between adjacent unit data areas 36 from the detection data corresponding to the unit data areas 36 (S109).

[0047] Fig. 5(a) is a flowchart showing the process of S109 in more detail, and Fig. 6(a) is a diagram showing an overlapping area 40 between unit data areas 36 indicated by correction identifier "1" and correction identifier "2." Below, an overlapping area 40 between two unit data areas 36 will be described as an example.

[0048] First, the overlapping area surface calculation unit 25 extracts point cloud data of an area corresponding to the overlapping area 40 from detection data corresponding to one of the unit data areas 36 of the overlapping areas (S201). For example, in the unit data area 36 indicated by the correction identifier "1", the overlapping area surface calculation unit 25 extracts the coordinates of the four corners of the overlapping area 40 that overlaps with the unit data area 36 indicated by the correction identifier "2", and obtains the point cloud data included in the extracted area.

[0049] Next, the overlapping area surface calculation unit 25 excludes noise data from the point cloud data acquired in the process of S201 (S202). The noise data is data indicating noise generated due to the inclusion of an area outside the workpiece, a curved outer edge of the workpiece W, and a recess corresponding to a scratch formed on the surface of the workpiece W in the detection area. First, the overlapping area surface calculation unit 25 converts the coordinates of the point cloud data acquired in the process of S201 so as to follow a reference plane corresponding to the reference plane information stored in the storage unit 12. Next, the overlapping area surface calculation unit 25 calculates a center value of the normal direction of the reference plane corresponding to the reference plane information in the coordinate-converted point cloud data. Then, the overlapping area surface calculation unit 25 excludes point cloud data in which the coordinate value of the normal direction of the reference plane is greater than a predetermined exclusion threshold value from the calculated center value in the coordinate-converted point cloud data. The overlapping area surface calculation unit 25 places missing values ​​that are not used when calculating the overlapping area surface at the coordinates of the excluded point cloud data.

[0050] Next, the overlap area surface calculation unit 25 calculates an overlap area surface indicating the gradient of the overlap area 40 of one of the unit data areas 36 from the point cloud data from which noise data has been removed in the process of S202 (S203). The overlap area surface is a surface calculated from the point cloud data of the area corresponding to the overlap area 40, and is a virtual surface in which the overlap area 40 is assumed to be a flat surface without any unevenness. The overlap area surface calculation unit 25 calculates the overlap area surface of the unit data area 36 indicated by the correction identifier "1" by, for example, the Nelder-Mead method. Note that the overlap area surface calculation unit 25 may calculate the overlap area surface by known approximation calculation such as the least squares method.

[0051] Next, the overlapping area surface calculation unit 25 extracts point cloud data of an area corresponding to the overlapping area 40 in the detection data corresponding to the other unit data area 36 among the areas to be overlapped (S204). For example, in the unit data area 36 indicated by the correction identifier "2", the overlapping area surface calculation unit 25 extracts coordinates of the four corners of the overlapping area 40 that overlaps with the unit data area 36 indicated by the correction identifier "1", and acquires point cloud data included in the extracted area. Next, the overlapping area surface calculation unit 25 removes noise data from the point cloud data acquired in the process of S204 (S205). Then, the overlapping area surface calculation unit 25 calculates the overlapping area surface of the other unit data area 36 from the point cloud data from which the noise data has been removed in the process of S205 (S206). The processes of S204 to S206 are similar to the processes of S201 to S203, and therefore detailed explanations will be omitted here.

[0052] Next, the correction processing unit 26 generates correction data so that the overlapping area surfaces of the detection data corresponding to the unit data area 36 coincide with each other (S110).

[0053] Fig. 5(b) is a flowchart showing the more detailed process of S110. Fig. 6(b) is a diagram showing a process for matching the normal direction of the overlapping area surface of the unit data area 36 indicated by correction identifier "2" with the normal direction of the overlapping area surface of the unit data area 36 indicated by correction identifier "1". Fig. 6(c) is a diagram showing a process for calculating correction data that matches the overlapping area surface of the unit data area 36 indicated by correction identifier "1".

[0054] First, the correction processing unit 26 calculates the normal direction of one of the unit data areas 36 indicated by the overlapping areas calculated in the process of S203 (S301). For example, the correction processing unit 26 calculates the normal direction 46 of the overlapping area surface 41 of the unit data area 36 indicated by the correction identifier "1". Next, the correction processing unit 26 calculates the normal direction of the other unit data area 36 indicated by the process of S206 (S302). For example, the correction processing unit 26 calculates the normal direction 47 of the overlapping area surface 42 of the unit data area 36 indicated by the correction identifier "2".

[0055] Next, the correction processing unit 26 converts the coordinates of the point cloud data included in the detection data corresponding to the unit data area 36 so that one normal direction coincides with the other normal direction calculated in the process of S301 (S303). First, the correction processing unit 26 calculates a rotation angle for making the extension direction of the normal 46 of the overlapping area surface 41 coincide with the extension direction of the normal 47 of the overlapping area surface 42. Next, the correction processing unit 26 converts the coordinates of the point cloud data included in the detection data corresponding to the unit data area 36 indicated by the correction identifier "2" by rotating the coordinates of the point cloud data included in the detection data corresponding to the unit data area 36 indicated by the correction identifier "2" according to the calculated rotation angle.

[0056] Then, the correction processing unit 26 generates correction data from the point cloud data that has been coordinate-converted in the process of S303 (S304), and stores the generated correction data in the storage unit 12. The correction processing unit 26 moves the coordinates of the point cloud data that has been coordinate-converted in the process of 303 so that the overlapping area surface 41 coincides with the overlapping area surface 42, and generates the correction data.

[0057] Fig. 7(a) is a diagram showing an overlapping area 45 between a unit data area 36 indicated by correction identifiers "2" and "3" and a unit data area 36 indicated by correction identifier "4". Fig. 7(b) is a diagram showing a process of matching the normal direction of the overlapping area surface of the unit data area 36 indicated by correction identifiers "2" and "3" with the normal direction of the overlapping area surface of the unit data area 36 indicated by correction identifiers "4". Fig. 7(c) is a diagram showing a process of calculating correction data that matches the overlapping area surface of the unit data area 36 indicated by correction identifiers "2" and "3". An overlapping area 45 between three unit data areas 36 will be described below as an example.

[0058] The data combining unit 24 acquires detection data corresponding to the unit data area 36 indicated by the correction identifier "4" in Fig. 4(d) (S108). Next, the overlapping area surface calculation unit 25 calculates the overlapping area surface of the overlapping area between the adjacent unit data areas 36 indicated by the correction identifiers "2" to "4" from the detection data corresponding to the unit data areas 36 indicated by the correction identifiers "2" to "4" (S109).

[0059] First, the overlapping area surface calculation unit 25 extracts point cloud data of an area corresponding to the overlapping area 45 in the detection data corresponding to the unit data area 36 indicated by the correction identifiers "2" and "3" (S201). Next, the overlapping area surface calculation unit 25 removes noise data from the point cloud data acquired in the process of S201 (S202). Next, the overlapping area surface calculation unit 25 calculates the overlapping area surface 43 of the unit data area 36 indicated by the correction identifiers "2" and "3" from the point cloud data from which the noise data has been removed in the process of S202 (S203). Next, the overlapping area surface calculation unit 25 extracts point cloud data of an area corresponding to the overlapping area 45 in the detection data corresponding to the unit data area 36 indicated by the correction identifier "4" (S204). Next, the overlapping area surface calculation unit 25 removes noise data from the point cloud data acquired in the process of S204 (S205). Then, the overlapping area surface calculation unit 25 calculates the overlapping area surface 44 of the unit data area 36 indicated by the correction identifier "4" from the point cloud data from which the noise data has been removed in the process of S205 (S206).

[0060] Next, the detection data corresponding to the unit data area 36 indicated by the correction identifier "4" is corrected so that the overlapping area surfaces of the detection data corresponding to the unit data areas 36 indicated by the correction identifiers "2" to "4" coincide with each other, and corrected data is generated (S110).

[0061] First, the correction processing unit 26 calculates the extension direction of the normal 48 of the overlapping area surface 43 of the unit data areas 36 indicated by the correction identifiers "2" and "3" calculated in the process of S203 (S301). Next, the correction processing unit 26 calculates the extension direction of the normal 49 of the overlapping area surface 44 of the unit data area 36 indicated by the correction identifier "4" calculated in the process of S206 (S302).

[0062] Next, the correction processing unit 26 converts the coordinates of the point cloud data contained in the detection data corresponding to the unit data area 36 indicated by the correction identifier "4" so that the extension direction of the normal 49 coincides with the extension direction of the normal 48 calculated in the processing of S301 (S303).

[0063] Then, the correction processing unit 26 generates correction data from the point cloud data that has been coordinate-converted in the process of S303 (S304), and stores the generated correction data in the storage unit 12. The correction processing unit 26 moves the coordinates of the point cloud data that has been coordinate-converted in the process of 303 so that the overlapping area surface 43 and the overlapping area surface 44 coincide with each other, and generates the correction data.

[0064] Next, the data combination unit 24 determines whether or not correction data has been generated for all of the detection data corresponding to all of the unit data areas 36 other than the origin area 37 (S111). If the data combination unit 24 determines that correction data has not been generated for all of the detection data (S111-NO), the process returns to S108. Thereafter, the processes of S108 to S111 are repeated until the data combination unit 24 determines that correction data has been generated for all of the detection data (S111-YES).

[0065] When the data combining unit 24 determines that correction data has been generated for all of the detection data (S111-YES), it places the corresponding detection data in the origin area 37 of the blank map data 35 (S112). The data combining unit 24 places the detection data associated with the measurement identifier "28" acquired in the process of S101 in the origin area 37 located in row 3, column 6 of the blank map data 35.

[0066] Next, the correction data generated in the processes of S108 to S111 is combined with the detection data arranged in the origin region 37 in the process of S111 so as to combine the correction data of each of the adjacent detection regions 31, thereby generating three-dimensional data (S113). The data combination unit 24 stores the generated three-dimensional data in the storage unit 12.

[0067] Then, the three-dimensional data output unit 27 outputs the three-dimensional data generated in the process of S112 to the output unit 14 (S114).

[0068] (Functions and Effects of the Three-Dimensional Data Generation Device According to the Embodiment) The three-dimensional data generating device 1 corrects each of the detection data so that the overlapping area surfaces of each of the adjacent detection areas 31 coincide with each other, so that the horizontal directions of the overlapping areas between the detection data coincide with each other, thereby suppressing a decrease in the accuracy of the three-dimensional data, and enabling the generation of three-dimensional data with high accuracy.

[0069] The three-dimensional data generation device 1 converts the coordinates of the point cloud data included in the detection data so as to match the inclinations of the overlapping area surfaces, so that the inclinations of the detection data of adjacent detection areas 31 can be matched.

[0070] Furthermore, since the three-dimensional data generation device 1 moves the coordinates of the converted point cloud data so that the overlapping area surfaces overlap, it is possible to match the heights of the detection data of adjacent detection areas 31.

[0071] Furthermore, the three-dimensional data generation device 1 can calculate the overlapping area surface with high accuracy because the origin area 37 is an area that does not include the outer edge of the measurement surface, which is curved and therefore difficult to calculate the overlapping area surface. Since the three-dimensional data generation device 1 can calculate the overlapping area surface with high accuracy, it can generate correction data with high accuracy using the overlapping area surface.

[0072] In addition, the three-dimensional data generating device 1 corrects the detection data corresponding to the detection area 31 that does not include the outer edge of the measured surface 30, and then corrects the detection data corresponding to the detection area 31 that includes the outer edge of the measured surface 30, so that the overlap area surface can be calculated with even higher accuracy.

[0073] In addition, the three-dimensional data generating device 1 corrects the detection data corresponding to the detection area 31 that does not include the four corners of the measured surface 30, and then corrects the detection data corresponding to the detection area 31 that includes the four corners of the measured surface 30, so that the overlap area surface can be calculated with even higher accuracy.

[0074] In the three-dimensional data generating device 1, the overlap area surface is calculated after excluding noise data resulting from the inclusion in the detection area of ​​areas outside the workpiece W, the curvature of the outer edge of the workpiece W, and depressions corresponding to scratches formed on the surface of the workpiece W, etc., so there is little risk that the normal direction of the overlap area surface will be shifted by the noise data.

[0075] (Modification of the 3D data generation device according to the embodiment) In the three-dimensional data generating device 1, correction data is generated by changing both the inclination and position of the overlapping area surface, but in the three-dimensional data generating device of the embodiment, correction data may be generated by changing either the inclination or the position of the overlapping area surface.

[0076] In addition, in the three-dimensional data generating device 1, the starting point region 37 is a unit data region 36 located at the center of the blank map data 35, but in the three-dimensional data generating device of the embodiment, the starting point region may be any region that does not include the outer edge of the measured surface 30.

[0077] Furthermore, in the three-dimensional data generation device 1, correction data is generated by converting the coordinates of point cloud data included in one of a pair of unit data areas sharing an overlapping area. However, in the three-dimensional data generation device according to the embodiment, correction data may be generated by converting the coordinates of point cloud data included in both of a pair of unit data areas sharing an overlapping area.

[0078] In addition, the three-dimensional data generation device according to the embodiment may convert the detection data by scaling it to a numerical value that contains less information than the height information contained in the detection data, and use the converted numerical value to exclude noise data from the detection data.

[0079] Fig. 8 is a diagram for explaining the noise data removal process according to the modified example, where Fig. 8(a) shows the first process and Fig. 8(b) shows the second process. Fig. 8 shows the process in the unit data area 36 indicated by the correction identifier "60" in Fig. 4(f).

[0080] First, in the first process, the overlapping area surface calculation unit 25 acquires detection data of the detection area 31 indicated by the correction identifier "60" in Fig. 4(f). The detection data acquired in the first process is included in the area indicated by the dashed line A in Fig. 8(a). The area indicated by the dashed line A includes a flat area 50 which is a substantially flat area on the measured surface 30 of the workpiece W, an outer edge area 51 which is a R-chamfered area near the outer edge of the workpiece W, and an outer-workpiece area 52 which is an area outside the workpiece W.

[0081] Since the flat region 50 is a flat surface with few projections and recesses, the variation (deviation) in height of the detection data in the flat region 50 is small. The outer edge region 51 is a region with R-chamfered edges, and the height in the Z direction gradually decreases compared to the flat region 50 toward the outside of the workpiece W. The outside-workpiece region 52 is a region such as the surface of the stage 103 that is farther away from the sensor 101 than the flat region 50, and the detection data in the outside-workpiece region 52 is obtained as a value that exceeds the detectable range of the sensor 101. Therefore, the variation in height of the detection data arranged in the outside-workpiece region 52 becomes large.

[0082] Next, in the second process, the overlapping area surface calculation unit 25 executes a conversion process to convert the height corresponding to the detection data acquired in the first process into a predetermined numerical value having less information than the height information. In the second process, the height information indicated by 64-bit float is converted into 256 numerical values ​​in 8-bit decimal notation, for example. The second process is also called an imaging process. The overlapping area surface calculation unit 25 divides the difference between the minimum and maximum values ​​of the height corresponding to the detection data into 256 numerical ranges, and defines the 256 numerical ranges such that the smallest numerical range among the divided 256 numerical ranges is the first numerical range and the largest numerical range is the 256th numerical range. The overlapping area surface calculation unit 25 defines the 256 numerical ranges, and converts the height corresponding to the detection data into 256 numerical values ​​from "0" to "255" by allocating the height corresponding to the detection data to each of the 256 numerical ranges.

[0083] In FIG. 8(b), the distribution of the detection data after the imaging process is shown in grayscale. In FIG. 8(b), the value "0" is shown in black, and the value "255" is shown in white. The heights of the detection data arranged in the flat region 50 have little variation and are classified as the same or similar values ​​within the 256 numerical range, so the flat region 50 is shown in a substantially single color. The Z-direction height of the outer edge region 51 gradually decreases compared to the flat region 50 toward the outside of the workpiece W and approaches the numerical value "0", so that the color of the flat region 50 gradually changes to a color close to black as it approaches the outer edge of the workpiece W. The heights of the three-dimensional data of the workpiece outer region 52 are values ​​with large variation, so the workpiece outer region 52 has various numerical values ​​within the 256 numerical range, and is a noise-like color in which various colors, including white and black, are mixed.

[0084] Next, in the third process, the overlapping area surface calculation unit 25 uses a known image processing technique to remove detection data whose converted height value is estimated to be noise data. The overlapping area surface calculation unit 25 removes detection data that is estimated to be noise data, for example, using a first-order differential filter process. By the third process, the detection data arranged in the outer edge area 51 and the workpiece outside area 52 is removed, and a missing value is placed in the workpiece outside area 52 in place of the removed detection data.

[0085] In the noise data exclusion process of the modified example, the overlap area surface calculation unit 25 performs an exclusion process to exclude detection data using a numerical value obtained by converting the height corresponding to the height information, thereby reducing the amount of data used when performing the exclusion process.

[0086] Furthermore, in the noise data elimination process according to the modified example, the overlap area surface calculation unit 25 performs an elimination process to exclude the detection data using a numerical value obtained by converting the height corresponding to the height information into 8-bit data, so that the elimination process can be performed by applying image processing technology.

[0087] In the noise data removal process according to the modified example, the height corresponding to the height information is converted to 8-bit data, but in the noise data removal process according to the embodiment, the height corresponding to the height information may be converted to a specified amount of data other than 8 bits. [Explanation of symbols]

[0088] 1. 3D data generation device 21 Data Acquisition Section 22 Starting point area determination section 23 Correction order determining unit 24 Data connection section 25 Overlapping area surface calculation unit 26 Correction processing section 27 3D data output section 100 Three-dimensional data generation system 101 Sensors

Claims

1. a data acquisition unit that acquires detection data indicating the three-dimensional shape of a plurality of detection regions, including overlapping regions, in which adjacent detection regions partially overlap, by a sensor that measures the three-dimensional shape of the measurement object with respect to the plurality of detection regions that are smaller than the area of ​​the measurement surface of the measurement object; an overlapping area surface calculation unit that calculates an overlapping area surface indicating a gradient of the overlapping area from the detection data included in the overlapping area; a correction processing unit that corrects the detection data so that the overlapping area surfaces of the adjacent detection areas are aligned with each other to generate corrected data; a data combining unit that generates three-dimensional data indicating a three-dimensional shape of the measurement surface so as to combine the correction data of each of the adjacent detection areas; a three-dimensional data output unit that outputs the three-dimensional data; A three-dimensional data generating device comprising:

2. the detection data is point cloud data, The correction processing unit: Transforming coordinates of the point cloud data so as to match the inclinations of the overlapping area surfaces; moving the coordinates of the point cloud data that has been subjected to coordinate transformation so that the overlapping area surfaces overlap; 2. The three-dimensional data generating device according to claim 1.

3. the detection data is point cloud data, The overlapping area surface calculation unit Extracting point cloud data included in the overlapping area; removing noise data from the extracted point cloud data; Calculating the overlapping area surface from the point cloud data from which the noise data has been removed; 2. The three-dimensional data generating device according to claim 1.

4. the detection region includes a region outside the measurement surface, the point cloud data includes height information indicating a height of the detection area, The overlapping area surface calculation unit converting a height corresponding to the height information into a predetermined value; Using the converted numerical value, filter out the point cloud data.

4. The three-dimensional data generating device according to claim 3.

5. a starting point region determining unit for determining a starting point region that serves as a starting point when generating three-dimensional data indicating the three-dimensional shape of the measurement surface, 5. The three-dimensional data generating device according to claim 1, wherein the origin region is a region that does not include an outer edge of the measurement surface.

6. A correction order determination unit that determines an order in which the detection data is corrected, The three-dimensional data generating device according to claim 5 , wherein the correction order determination unit determines an order so as to correct the detection data corresponding to the detection area including the outer edge of the measured surface after correcting the detection data corresponding to the detection area not including the outer edge of the measured surface.

7. The three-dimensional data generating device according to claim 6, wherein the correction order determination unit determines an order so as to correct the detection data corresponding to the detection area including the four corners of the measured surface after correcting the detection data corresponding to the detection area not including the four corners of the measured surface.

8. a sensor that measures a three-dimensional shape of a plurality of detection regions that are smaller than an area of ​​a measurement surface of the measurement object, and obtains detection data that indicates the three-dimensional shape of the detection regions including overlapping regions where adjacent detection regions partially overlap; calculating an overlapping area surface indicating a gradient of the overlapping area from the detection data included in the overlapping area; correcting each of the detection data so as to make the overlapping area surfaces of the adjacent detection areas coincide with each other, thereby generating corrected data; combining the correction data to generate three-dimensional data indicative of a three-dimensional shape of the measurement surface; Outputting the three-dimensional data. A three-dimensional data generating method comprising:

9. a sensor that measures a three-dimensional shape of a plurality of detection regions that are smaller than an area of ​​a measurement surface of the measurement object, and obtains detection data that indicates the three-dimensional shape of the detection regions including overlapping regions where adjacent detection regions partially overlap; calculating an overlapping area surface indicating a gradient of the overlapping area from the detection data included in the overlapping area; correcting the detection data so that the overlapping area surfaces of the adjacent detection areas are aligned with each other to generate corrected data; combining the correction data to generate three-dimensional data indicative of a three-dimensional shape of the measurement surface; Outputting the three-dimensional data. A three-dimensional data generation program that causes a computer to execute a process.

10. a sensor for measuring a three-dimensional shape of a measurement object in a plurality of detection areas smaller than an area of ​​a measurement surface of the measurement object; a three-dimensional data generating device that generates three-dimensional data indicating a three-dimensional shape of the detection area detected by the sensor, The three-dimensional data generating device includes: a data acquisition unit that acquires detection data indicating a three-dimensional shape of a detection area including an overlap area where adjacent detection areas partially overlap each other by the sensor; an overlapping area surface calculation unit that calculates an overlapping area surface indicating a gradient of the overlapping area from the detection data included in the overlapping area; a correction processing unit that corrects the detection data so that the overlapping area surfaces of the adjacent detection areas are aligned with each other to generate corrected data; a data combining unit that combines the correction data to generate three-dimensional data representing a three-dimensional shape of the measurement surface; a three-dimensional data output unit that outputs the three-dimensional data; A three-dimensional data generation system comprising:

Citation Information

Patent Citations

  • Image measuring apparatus and program for controlling the same

    JP2014215153A

  • Surface shape measurement device, and switching measurement method of the same

    JP2018163092A