Inspection device, inspection method, and program

The inspection device addresses the challenge of extracting design values from paper-based drawings by using image recognition to superimpose and compare design and actual measurement data, enhancing the accuracy and efficiency of dimension comparison.

WO2025027720A1PCT designated stage expired Publication Date: 2025-02-06MITSUTECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/027873
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

Existing shape inspection devices face difficulties in accurately extracting design value information from paper-based design drawings due to the challenge of distinguishing between outer shape lines and dimension extension lines, which are often of the same line type, making it hard to mechanically compare measured dimensions with design dimensions.

Method used

An inspection device and method that superimposes design drawing data with actual measurement data, using image recognition to extract dimension lines and auxiliary lines, allowing for accurate comparison and evaluation of actual measured values against design values.

Benefits of technology

Significantly reduces the effort required to visually read design data, enabling easy and reliable comparison of dimensions on design drawings with actual measured values, even when drawings are on paper media.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023027873_06022025_PF_FP_ABST
    Figure JP2023027873_06022025_PF_FP_ABST
Patent Text Reader

Abstract

An inspection device according to an embodiment of the present invention is for inspecting dimensions of an object of interest, the inspection device comprising: a design information acquisition means for capturing a design drawing including an outer shape line of the object of interest, design dimension values, and dimension lines and dimension auxiliary lines that associate the outer shape line with the design dimension values; an outer shape image acquisition means for capturing an outer shape image of the object of interest corresponding to the design drawing; a superimposition means for superimposing design drawing data acquired by the design information acquisition means and outer shape data of the object of interest acquired by the outer shape image acquisition means; an actual measurement data extraction means for extracting actual measurement data of the object of interest from the outer shape data; a dimension line data extraction means for extracting the dimension lines and the dimension auxiliary lines from the design drawing data by using the outer shape data superimposed by the superimposition means; a design data extraction means; a comparison means; and an evaluation means.
Need to check novelty before this filing date? Find Prior Art

Description

Inspection device, inspection method, and program

[0001] The present invention relates to an inspection device, an inspection method, and a program.

[0002] Generally, a shape inspection device measures the dimensions of each part of an object to be measured using an image sensor or the like. The measured dimensions are then compared with the dimensions of design drawings, etc., to evaluate the quality of the object. When making the comparison, it may be necessary to input the dimensions on the design drawings so that they can be compared with the measured dimensions. In particular, when the design drawings are recorded on paper, it is necessary to manually input the dimensions on the design drawings that have been visually read. Therefore, there is a need to reduce the labor and time required for such work.

[0003] Patent Document 1 describes a measurement setting data creation device that includes a design value information extraction means that uses design data created from CAD data, etc. to extract design value information consisting of design values ​​close to measured dimensional values ​​from the design data. Patent Document 1 also describes that, based on the design value information, etc. (measurement setting data) associated with the measurement target location, dimensional measurement of the object to be measured and evaluation in comparison with tolerances are further performed.

[0004] JP 2012-37257 A

[0005] However, in Patent Document 1, it is assumed that the design data already includes position information of shape lines, position information of dimension lines, design values ​​and tolerances associated with the dimension lines, etc. Therefore, it is difficult to directly extract design value information from paper-based design drawings, etc. using the measurement setting data creation device of Patent Document 1. In this regard, a method of mechanically reading the design drawings in advance using OCR or the like is also conceivable. However, in order to extract design values, etc. associated with dimension lines, it is necessary to distinguish between the outline lines and extension lines of the object to be measured written on the design drawings. If the outline lines and extension lines of the object to be measured are written using the same line type, it is difficult to distinguish between them based on the line type, for example. Therefore, it is not easy to mechanically extract design value information from design drawings.

[0006] The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an inspection device that can easily and reliably compare dimensions on design drawings with actual measured values.

[0007] An inspection device according to one aspect of the present invention made to solve the above-mentioned problems is an inspection device for inspecting dimensions of an object to be measured, comprising: design information acquisition means for acquiring a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines that associate the outline lines with the design dimension values; outline image acquisition means for acquiring an outline image of the object to be measured corresponding to the design drawing; superimposition means for superimposing design drawing data acquired by the design information acquisition means on outline data of the object to be measured acquired by the outline image acquisition means; and The measurement device comprises actual measurement data extraction means for extracting actual measurement data of the object to be measured, dimension line data extraction means for extracting the dimension lines and the extension lines from the design drawing data using the outline data superimposed by the superimposition means, design data extraction means for extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted by the dimension line data extraction means, comparison means for comparing the actual measurement data with the design data while associating them with each other, and evaluation means for evaluating the actual measurement data based on the design data.

[0008] An inspection device according to one aspect of the present invention makes it possible to easily and reliably compare dimensions on design drawings with actual measured values.

[0009] Fig. 1 is a block diagram showing the configuration of an inspection device according to one embodiment of the present invention. Fig. 2 is a schematic diagram showing a design drawing read by the inspection device of Fig. 1. Fig. 3 is a schematic diagram showing an outline image of an object read by the inspection device of Fig. 1. Fig. 4 is a schematic diagram showing outline data in which outline lines are extracted from the image of Fig. 3. Fig. 5 is a schematic diagram showing dimension lines, extension lines, and numerical information extracted from the design drawing data of Fig. 2. Fig. 6 is a schematic diagram showing a state in which the dimension lines and extension lines of Fig. 5 have been supplemented. Fig. 7 is a flow chart showing an inspection method according to one embodiment of the present invention.

[0010] [Description of the Embodiments of the Present Invention] First, the embodiments of the present invention will be listed and described.

[0011] An inspection device according to one aspect of the present invention is an inspection device for inspecting dimensions of an object to be measured, and includes: design information acquisition means for acquiring a design drawing including an outline line of the object to be measured, design dimension values, and dimension lines and extension lines that associate the outline lines with the design dimension values; outline image acquisition means for acquiring an outline image of the object to be measured corresponding to the design drawing; superimposition means for superimposing the design drawing data acquired by the design information acquisition means on the outline data of the object to be measured acquired by the outline image acquisition means; actual measurement data extraction means for extracting actual measurement data of the object to be measured from the outline data; dimension line data extraction means for extracting the dimension lines and the extension lines from the design drawing data using the outline data superimposed by the superimposition means; design data extraction means for extracting design data of the object to be measured using the dimension lines and the extension lines extracted by the dimension line data extraction means; comparison means for comparing the actual measurement data with the design data while associating them with each other; and evaluation means for evaluating the actual measurement data based on the design data.

[0012] The inspection device includes a dimension line data extraction unit that extracts the dimension lines and extension lines from the design drawing data using the outline data. Therefore, the design data of the object can be accurately extracted even when the design drawing contains a mixture of outline lines, dimension lines, and extension lines. Therefore, the inspection device significantly reduces the effort required to visually read the design data to inspect the dimensions of the object, especially when the design drawing is on paper. Therefore, dimensions on the design drawing can be easily and reliably compared with actual measurements. Here, "outline lines" refers to lines indicating the outer edge of the object and boundaries between portions of different shapes in the internal area surrounded by the outer edge. Examples of "boundaries between portions of different shapes" include boundaries between portions of different heights, boundaries between recesses or holes, and boundaries between flat portions and curved or inclined portions.

[0013] It is preferable that the design drawings are data or image data derived from a paper medium. When the design drawings are such data, the effect of the present invention, which allows the design data of the object to be accurately extracted from the design drawing data, is more pronounced. Here, "data derived from a paper medium" refers to figures, lines, numbers, symbols, etc., expressed on paper, and includes both handwritten and printed figures, lines, numbers, symbols, etc., on paper that are imported into a computer by scanning the paper. "Image data" refers to data drawn as an image, in which the elements of the image, such as figures, lines, numbers, symbols, etc., are not identified or structured as data.

[0014] It is preferable that the outline image acquisition means extracts the outline lines of the outline image by edge detection after capturing the outline image, and the outline data includes these outline lines. In this way, by the outline image acquisition means extracting the outline lines of the outline image and the outline data including these outline lines, it is possible to more easily extract the dimension lines and the dimension extension lines from the design drawing data.

[0015] It is preferable that the superimposing means adjusts the magnification of at least one of the design drawing data and the outline data. By adjusting the magnification of at least one of the design drawing data and the outline data in this manner, the extension lines can be extracted from the design drawing data more reliably.

[0016] When the outline data includes the outline lines, it is preferable that the superimposing means uses the outline lines included in the outline data to identify the outline lines included in the design drawing data, and the dimension line data extracting means deletes the outline lines from the design drawing data. In this way, the superimposing means identifies the outline lines included in the design drawing data, and the dimension line data extracting means deletes the outline lines from the design drawing data, making it possible to more easily extract the dimension lines and the extension lines from the design drawing data.

[0017] an outer shape image acquisition step of acquiring an outer shape image of the object to be measured corresponding to the design drawing; a superimposing step of superimposing the design drawing data acquired in the design information acquisition step on the outer shape data of the object to be measured acquired in the outer shape image acquisition step; an actual measurement data extraction step of extracting actual measurement data of the object to be measured from the outer shape data; a dimension line data extraction step of extracting the dimension lines and the extension lines from the design drawing data using the outer shape data superimposed in the superimposing step; a design data extraction step of extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted in the dimension line data extraction step; a comparison step of comparing the actual measurement data and the design data while associating them with each other; and an evaluation step of evaluating the actual measurement data based on the design data.

[0018] Since the inspection method includes the dimension line data extraction step, when the design drawing is on paper, the labor required to visually read the design data in order to inspect the dimensions of the object to be measured can be significantly reduced, and therefore the dimensions on the design drawing can be easily and reliably compared with the actual measured values.

[0019] A program according to another aspect of the present invention includes a design information acquisition step of acquiring a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines that associate the outline lines with the design dimension values, an outline image acquisition step of acquiring an outline image of the object to be measured corresponding to the design drawing, a superposition step of superimposing design drawing data acquired in the design information acquisition step on outline data of the object to be measured acquired in the outline image acquisition step, and a step of extracting actual measurement data of the object to be measured from the outline data. a dimension line data extraction step of extracting the dimension lines and the extension lines from the design drawing data using the external data superimposed in the superimposing step; a design data extraction step of extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted in the dimension line data extraction step; a comparison step of comparing the actual measurement data with the design data while associating them with each other; and an evaluation step of evaluating the actual measurement data based on the design data.

[0020] The program executes the dimension line data extraction step, and therefore, when the design drawing is on paper, etc., it can operate the inspection device while significantly reducing the effort required to visually read the design data in order to inspect the dimensions of the object to be measured, thereby making it possible to easily and reliably compare the dimensions on the design drawing with the actual measured values.

[0021] [Details of the embodiment of the present invention] Hereinafter, the embodiment of the present invention will be described in detail with reference to the drawings as appropriate.

[0022] [Inspection Apparatus] The inspection apparatus 100 in Fig. 1 inspects the dimensions of an object to be measured. The inspection apparatus 100 includes an input unit 10 that receives input data, a processing unit 20 that processes the input data received by the input unit 10, and a storage unit 30 that stores the input data or data processed by the processing unit 20. The inspection apparatus 100 is also connected to an external terminal (not shown) that allows a user to operate it from outside. The inspection apparatus 100 may also include a mounting table on which the object to be measured is placed.

[0023] <Input Unit> The input unit 10 includes a design information acquiring means 11 that acquires a design drawing including the outline of the object to be measured, design dimension values, and dimension lines and extension lines that correspond to the outline lines and the design dimension values, and an outline image acquiring means 12 that acquires an outline image of the object to be measured that corresponds to the design drawing.

[0024] (Object to be measured) The object to be measured is, for example, a machined part such as an automobile part. It may also be an electronic device part such as a BGA, a PCB substrate, or a connector pin, or a resin molded product. This embodiment will be described using a flat plate A having a rectangular shape in a plan view and a hole as an example of the object to be measured. More specifically, the object to be measured has a circular hole B and an oval hole C. However, the object to be measured of the present invention is not limited to the above-mentioned object to be measured.

[0025] (Design Drawings) In this embodiment, the design drawings are printed on paper. That is, while the content of the design drawings can be visually read by humans, they must be appropriately digitized for mechanical processing. As shown in FIG. 2 , the design drawings include the outline of a rectangular flat plate A, the outline of a circular hole B and an oval hole C in the internal area surrounded by the outline, numerical information x1, x2, y1 to y4, z1, and z2 that describes the design dimension values ​​and tolerances of these outlines, and multiple dimension lines and extension lines that correspond to the outlines and the numerical information. The numerical information each has a design dimension value and a tolerance. For example, the numerical information x1 is written in a format such as x11±x12. In this case, x11 indicates the design dimension value, and x12 indicates the tolerance. That is, the length of the portion corresponding to the numerical information x1 is allowed to be between x11-x12 and x11+x12. In this embodiment, the numerical information x2, y1 to y4, z1, and z2 are also written in the same format as the above-mentioned numerical information x1. Furthermore, in Fig. 2, the dimension lines are lines including arrows, and the extension lines are lines connecting the tips of the arrows to the outline lines or lines connecting the tips of the arrows to the centers of the holes. In other words, the dimension lines and extension lines are the portions of Fig. 2 excluding the outline lines and the numerical information. In the design drawings, the outline lines, dimension lines, and extension lines are written in the same line type and thickness, but in Fig. 2, for convenience of explanation, the outline lines are written thicker than the dimension lines and extension lines.

[0026] (Design Information Acquisition Means) The design information acquisition means 11 is realized by, for example, a program that captures design drawings read by a scanner. The scanner may be built into the inspection device 100 or may be arranged externally. Publicly known scanners and programs may be used as the scanner and program.

[0027] The design information acquisition means 11 imports the design drawings as design drawing data D1, and then stores the design drawing data D1 in the storage unit 30. The design drawing data D1 is data including, for example, the outline lines, the design dimension values, the dimension lines, and the extension lines derived from the design drawings. As described above, the outline lines, the dimension lines, and the extension lines are written in the same line type and thickness in the design drawings, so it is difficult to identify the outline lines, the dimension lines, and the extension lines in the design drawing data D1 by their line type and thickness.

[0028] The design information acquisition means 11 distinguishes between at least lines including arrows, lines not including arrows (including the outline lines, dimension lines, and extension lines), and the numerical information on the design drawings, and then stores the design drawing data D1 in the storage unit 30. This distinction is made, for example, by image recognition AI or the like.

[0029] (Outline Image Acquisition Means) The outline image acquisition means 12 is, for example, an image sensor that captures an outline image of the object placed on the mounting table of the inspection device 100, captured from a direction corresponding to the design drawing. A known image sensor can be used as this image sensor. As shown in FIG. 3 , the outline image of the object includes a rectangular plate a and circular and oval holes b and c formed inside the plate. The outline image may be a monochrome image or a color image. In this embodiment, the outline image acquisition means 12 captures the outline image and then extracts outline lines from the outline image by edge detection. As a result, the outline image acquisition means 12 acquires outline data D2 including the outline lines. The acquired outline data D2 is stored in the memory unit 30. As shown in FIG. 4 , the outline data D2 includes the outline lines of the rectangular plate a extracted by edge detection and the outline lines of the circular and oval holes b and c. If the contour data D2 includes data other than the contour lines, such as data relating to color or color shading, the contour image acquisition means 12 may delete this data.

[0030] <Processing Unit> The processing unit 20 includes a superposition means 21, a measurement data extraction means 22, a dimension line data extraction means 23, a design data extraction means 24, a comparison means 25, and an evaluation means 26. The superposition means 21, the measurement data extraction means 22, the dimension line data extraction means 23, the design data extraction means 24, the comparison means 25, and the evaluation means 26 are realized by programs built into the inspection device 100, for example.

[0031] (Overlapping Means) The overlaying means 21 overlays the design drawing data D1 acquired by the design information acquisition means 11 and the outline data D2 of the object to be measured acquired by the outline image acquisition means 12. The overlaying means 21 adjusts the outline lines of the design drawing data D1 and the outline data D2 so that they most closely match. The adjustment procedure is, for example, as follows: First, the largest numerical value contained in the numerical information is extracted from the design drawing data D1, and the line including the arrow corresponding to that numerical value is selected. Meanwhile, the longest outline line is selected from the outline lines of the outline data D2. Then, the size of at least one of the design drawing data D1 and the outline data D2 is adjusted so that the length of the line including the arrow and the outline line match. After that, the position of at least one of the design drawing data D1 and the outline data D2 is adjusted or rotated so that the line not including the arrow in the design drawing data D1 most closely matches the outline line in the outline data D2. The correspondence between the lines not including arrows in the design drawing data D1 and the outline lines in the outline data D2 is evaluated by a known pattern matching method such as normalized correlation, Hough transform, feature point detection, etc. By superimposing the design drawing data D1 and the outline data D2 in this way by the superimposing means 21, the dimension line data extracting means 23 (described later) can more easily extract the dimension lines and extension lines from the design drawing data D1.

[0032] After adjusting the outline of the design drawing data D1 and the outline of the outline data D2, the superimposing means 21 stores the superimposed design drawing data D1 and outline data D2 in the storage unit 30 as superimposed data D3. For example, if the superimposing means 21 erroneously extracts the outline, there is a possibility that the superimposing means 21 may store the superimposed data D3 with the design drawing data D1 and the outline data D2 incorrectly superimposed. In consideration of this, the superimposing means 21 may have a function to display the superimposed data D3 on an external terminal and request confirmation from the user. This function allows the user to manually adjust the size, position, etc. of the design drawing data D1 or the outline data D2 by operating the external terminal.

[0033] The superimposing means 21 identifies the overlapping portion of the design drawing data D1 and the outline data D2 in the superimposed data 30 as the outline included in the design drawing data D1.

[0034] In this embodiment, after the above-described adjustment, the superimposing means 21 determines a reference point, x-axis direction, and y-axis direction for calculating the coordinates of the outlines, etc., included in the design drawing data D1 and the outline data D2. The method for determining the reference point, x-axis direction, and y-axis direction is not particularly limited. In this embodiment, the reference point of the design drawing data D1 is P1, located in the lower left corner of the flat plate A, as shown in FIG. 2 , and the reference point of the outline data D2 is p1, located in the lower left corner of the flat plate a, as shown in FIG. 4 . Furthermore, in this embodiment, the x-axis direction and y-axis direction of the design drawing data D1 are set parallel to the two outlines extending perpendicularly from the reference point P1, and the x-axis direction and y-axis direction of the outline data D2 are set parallel to the two outlines extending perpendicularly from the reference point p1. In the superimposed data 30, the position, x-axis direction, and y-axis direction of the reference point P1 of the design drawing data D1 coincide with the position, x-axis direction, and y-axis direction of the reference point p1 of the outline data D2.

[0035] (Measurement Data Extraction Means) The measurement data extraction means 22 extracts the measurement data D4 of the object from the outline data D2. In this embodiment, the measurement data extraction means 22 extracts the measurement data D4 of the object based on the outline of the outline data D2. The measurement data extraction means 22 extracts the measurement data D4, for example, using the following procedure. At this time, instruction data for extracting the measurement data D4 is input to the inspection device 100 prior to the extraction of the measurement data D4. Examples of the instruction data include the shape of the object to be extracted (straight line, circle, ellipse, etc.), the distance between adjacent lines, the diameter of a circle, the radius of curvature of an ellipse, the distance between the centers of the circles, and information on the range in which the object to be extracted is detected. The instruction data may be manually input by a user or automatically input by image recognition AI or the like that analyzes the outline data D2. Next, the measurement data extraction means 22 calculates the actual measurement values ​​of the object to be measured based on the instruction data. Furthermore, the actual measurement data extraction means 22 calculates the short-side length (y-axis direction) of the flat plate a, the long-side length (x-axis direction) of the flat plate a, the coordinates of the holes b and c from the reference point P1, the diameter of the hole b, the radius of the curved portion of the hole c, etc.

[0036] The actual measurement data extraction means 22 assigns identification numbers E1 to E7 to the actual measurement values ​​of the object to be measured, for example, as shown in Table 1, and creates actual measurement value records. The actual measurement data extraction means 22 also assigns information on the measurement object and data type extracted based on the instruction data entered by the user to the actual measurement value records. The actual measurement data extraction means 22 stores a list of these actual measurement value records as actual measurement data D4 in the storage unit 30. Therefore, in this embodiment, each of the actual measurement value records has data such as an identification number, measurement object, data type, and actual measurement value. Note that e1 to e10 in Table 1 are numerical values ​​representing actual measurement values.

[0037]

[0038] (Dimension Line Data Extraction Means) The dimension line data extraction means 23 extracts dimension lines and extension lines from the design drawing data D1 using the outline data D2 superimposed by the superimposition means 21. In this embodiment, the dimension line data extraction means 23 extracts dimension lines, extension lines, and design dimension values ​​by deleting the outline lines of the design drawing data D1 identified by the superimposition means 21 from the design drawing data D1 as described above. FIG. 5 shows the dimension lines, extension lines, and design dimension values ​​extracted from the design drawing data D1. This prevents confusion between the dimension lines and extension lines and the outline lines of the outline data D2. Furthermore, the design data extraction means 24, which will be described later, can extract the design data D6 with higher accuracy. The extension line extraction means 23 may preliminarily increase the width of the outline lines of the outline data D2 to ensure that the outline lines of the design drawing data D1 are deleted.

[0039] In this embodiment, when the outline lines of the design drawing data D1 are deleted from the design drawing data D1, the intersections between the outline lines and the dimension lines and extension lines are also deleted. Therefore, as shown in Fig. 5, the dimension lines and extension lines extracted by the extension line extraction means 23 are partially missing. The missing portions of the dimension lines and extension lines are, for example, Q1 to Q3 in Fig. 5. The dashed line R in Fig. 5 is the deleted outline line.

[0040] As described above, the design drawing data D1 from which the outline lines have been deleted consists of missing dimension lines, extension lines, and design dimension values. The dimension line data extraction means 23 complements missing portions Q1 to Q3, etc., of the dimension lines and extension lines, and then extracts the complemented dimension lines, extension lines, and design dimension values. One method for complementing the dimension lines and extension lines is to identify missing portions equal to the width of the outline lines of the superimposed outline data D2 and connect those portions. The dimension line data extraction means 23 stores data including the complemented dimension lines, extension lines, and design dimension values ​​as analytical design drawing data D5 in the memory unit 30. The analytical design drawing data D5 is shown in FIG. 6.

[0041] (Design Data Extraction Means) The design data extraction means 24 extracts design data D6 of the object to be measured from the design drawing data D1 using the dimension lines and extension lines extracted by the dimension line data extraction means 23. In this embodiment, the design data extraction means 24 extracts the design data D6 of the object to be measured using analytical design drawing data D5 including interpolated dimension lines, extension lines, and design dimension values. The procedure for the design data extraction means 24 to extract the design data D6 of the object to be measured is, for example, as follows. First, as shown in FIG. 6 , intersections or end points of the extension lines are extracted as P1 to P7. Then, for each intersection or end point, coordinates from the reference point P1 are calculated based on the design dimension values. For example, the x-axis position of P3 is calculated as the design dimension value (x11) of the numerical information x1, and the y-axis position of P3 is calculated as the sum (y11 + y21) of the design dimension value (y11) of the numerical information y1 and the design dimension value (y21) of the numerical information y2. Then, the distance between the intersections or endpoints is calculated. For example, the distance between P1 and P2 is calculated as the design dimension value (y41) of the numerical information y4. In this embodiment, the coordinates of all intersections or endpoints are calculated, and the distances between the intersections or endpoints are calculated for all combinations. Unnecessary calculated coordinates and distances are appropriately deleted by manual correction, as described below. Furthermore, for design dimension values ​​indicating the diameter of a hole or the radius of a curved portion of a hole, the data type is identified as diameter or radius based on the direction and shape of the dimension line and extension line. The above-described procedure in which the design data extraction means 24 extracts the design data D6 of the object to be measured may be implemented, for example, by a machine learning program, image recognition AI, or a combination thereof, capable of reading design dimension values ​​and extracting the distances between intersections or endpoints corresponding to these design dimension values.

[0042] The design data extraction means 24 creates design value records by assigning identification numbers F1 to F9 to the design values ​​of the object to be measured, for example, as shown in Table 2. The design data extraction means 24 further assigns information on the measurement object and data type extracted by the above-mentioned procedure to the design value records. The design data extraction means 24 stores a list of these design value records as design data D6 in the storage unit 30. Therefore, in this embodiment, each of the design value records has data such as the measurement object, data type, design dimension value, and tolerance. Table 2 shows some of the design value records stored by the design data extraction means 24.

[0043]

[0044] (Comparing Means) The comparing means 25 compares the actual measurement data D4 and the design data D6 while associating them. In this embodiment, the comparing means 25 associates the actual measurement value records created by the actual measurement data extracting means 22 with the design value records created by the design data extracting means 24. As a method of association, for example, the comparing means 25 refers to the data type and actual measurement value for each of the actual measurement value records E1 to E7, and selects a design value record from the design value records F1 to F9 that has a data type and design dimension value that are close to each other. As a result, for example, association between the actual measurement value record E1 and the design value record F1, between the actual measurement value record E2 and the design value record F2, between the actual measurement value record E3 and the design value record F3, between the actual measurement value record E4 and the design value record F4, between the actual measurement value record E5 and the design value record F5, between the actual measurement value record E6 and the design value record F6, and between the actual measurement value record E7 and the design value record F7 is performed. The comparison means 25 creates comparison result data D7 including a group of actual measurement value records and a group of design value records in a state in which the associated actual measurement value records and design value records are arranged so as to be comparable, and stores the data in the storage unit 30. In this embodiment, the design value records F8, F9, etc. that are not associated are also included in the comparison result data D7.

[0045] For example, when there are multiple design value records with similar data types and design dimension values, the comparison means 25 may associate an incorrect combination of actual measurement value records and design value records. Taking this into consideration, the comparison means 25 may have a function for displaying the comparison result data D7 on an external terminal and requesting a user's confirmation. This function allows the user to manually correct the correspondence between the actual measurement value records and design value records in the comparison result data D7 by operating the external terminal. The comparison means 25 also displays unassociated design value records, such as design value records F8 and F9, on the external terminal. This allows the user to delete unnecessary design value records, etc., from the comparison result data D7.

[0046] (Evaluation Means) The evaluation means 26 evaluates the actual measurement data D4 based on the design data D6. More specifically, the evaluation means 26 determines whether the actual measurement values ​​of each actual measurement value record in the comparison result data D7 are within the tolerance range of the corresponding design value record. The evaluation means 26 adds this determination result to the comparison result data D7 to create evaluation result data D8, which is then stored in the storage unit 30.

[0047] It is conceivable that the design data extraction means 24 may not be able to properly extract tolerance values ​​from the analytical design drawing data D5, for example. In consideration of this, the evaluation means 26 may have a function to display the evaluation result data D8 on an external terminal and request the user's confirmation. This function allows the user to manually correct the tolerances and judgment results in the evaluation result data D8 by operating the external terminal.

[0048] <Storage Unit> The storage unit 30 is a storage medium built into the inspection device 100. As the storage unit 30, a known hard disk or the like can be adopted.

[0049] [Inspection Method] An inspection method according to one embodiment of the present invention is an inspection method for inspecting dimensions of an object to be measured, and includes a design information acquisition step S1 for acquiring a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines that associate the outline lines with the design dimension values; an outline image acquisition step S2 for acquiring an outline image of the object to be measured corresponding to the design drawing; a superposition step S3 for superimposing design drawing data D1 acquired in the design information acquisition step S1 on outline data D2 of the object to be measured acquired in the outline image acquisition step S2; the actual measurement data extraction step S5 for extracting dimension lines and extension lines from the design drawing data D1 using the external shape data D2 superimposed in the superimposing step S3; the design data extraction step S6 for extracting design data D6 of the object to be measured from the design drawing data D1 using the dimension lines and extension lines extracted in the dimension line data extraction step S5; the comparison step S7 for comparing the actual measurement data D4 and the design data D6 while associating them; and the evaluation step S8 for evaluating the actual measurement data D4 based on the design data D6.

[0050] The inspection method can be performed using, for example, the above-described inspection device 100. In this case, the content of the design information acquisition step S1 can be the same as the execution content of the above-described design information acquisition means 11, the content of the external image acquisition step S2 can be the same as the execution content of the above-described external image acquisition means 12, the content of the superposition step S3 can be the same as the execution content of the above-described superposition means 21, the content of the execution data extraction step S4 can be the same as the execution content of the above-described execution data extraction means 22, the content of the dimension line data extraction step S5 can be the same as the execution content of the above-described dimension line data extraction means 23, the content of the design data extraction step S6 can be the same as the execution content of the above-described design data extraction means 24, the content of the comparison step S7 can be the same as the execution content of the above-described comparison means 25, and the content of the evaluation step S8 can be the same as the execution content of the above-described evaluation means 26.

[0051] [Program] A program according to one embodiment of the present invention includes a design information acquisition step S1 for acquiring a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines that associate the outline lines with the design dimension values, an outline image acquisition step S2 for acquiring an outline image of the object to be measured corresponding to the design drawing, a superposition step S3 for superimposing design drawing data D1 acquired in the design information acquisition step S1 on outline data D2 of the object to be measured acquired in the outline image acquisition step S2, and a step S4 for deriving actual measurement data of the object to be measured from the outline data D2. the actual measurement data D4; a dimension line data extraction process S5 for extracting dimension lines and extension lines from the design drawing data D1 using the outline data D2 superimposed in the superimposition process S3; a design data extraction process S6 for extracting design data D6 of the object to be measured from the design drawing data D1 using the dimension lines and extension lines extracted in the dimension line data extraction process S5; a comparison process S7 for comparing the actual measurement data D4 and the design data D6 while associating them with each other; and an evaluation process S8 for evaluating the actual measurement data D4 based on the design data D6.

[0052] The program can be used, for example, to execute the above-described inspection device 100. In this case, the program may be built into the inspection device 100. Furthermore, the design information acquisition step S1, the external image acquisition step S2, the overlay step S3, the actual measurement data extraction step S4, the dimension line data extraction step S5, the design data extraction step S6, the comparison step S7, and the evaluation step S8, which the program causes the inspection device 100 to execute, can be the same as the corresponding steps of the above-described inspection method.

[0053] The program may be a single program, or may be a set of multiple programs that operate in conjunction with each other while performing each of the above steps.

[0054] [Advantages] The inspection device 100, the inspection method, or the program extracts dimension lines and extension lines from the design drawing of the object using the outline data D2. Therefore, even if the design drawing is printed on paper, as in this embodiment, the design data D6 of the object can be accurately extracted. Therefore, the inspection device 100, the inspection method, or the program significantly reduces the effort required to visually read the design data D6 and manually input the read data in order to inspect the dimensions of the object. Therefore, the dimensions on the design drawing can be easily and reliably compared with actual measurements.

[0055] [Other Embodiments] The above-described embodiments do not limit the configuration of the present invention. Therefore, the above-described embodiments may include omissions, substitutions, or additions of components based on the description in this specification and common general technical knowledge, and all of these should be construed as falling within the scope of the present invention.

[0056] In the above embodiment, the object to be measured is a flat plate having a rectangular shape in plan view and a hole, but the present invention can be used for objects to be measured having any shape.

[0057] In the above embodiment, the external image acquisition means is an image sensor that captures an external image of the object to be measured taken from a direction corresponding to the design drawing, but the configuration of the present invention is not limited to this. The external image acquisition means may be an image sensor that captures a three-dimensional image, in which case it may read a cross-sectional image of the object to be measured. In this case, data other than the cross-sectional image, such as height data, may be deleted from the external data acquired by the external image acquisition means.

[0058] In the above embodiment, the contour image acquisition means acquires the contour lines of the object to be measured and the contour lines of the holes by edge detection, but the contour image acquisition means may also detect the contour lines of the protrusions or recesses of the object to be measured. Furthermore, the contour lines detected by the contour image acquisition means are not limited to rectangular, circular, or elliptical shapes.

[0059] The dimension line data extraction means and design data extraction means of the present invention may have a function of requesting the user to confirm the output dimension lines, extension dimension lines, and design data, and re-executing the extraction based on extraction conditions adjusted by the user.

[0060] In the above embodiment, the inspection device is connected to an external terminal that allows a user to operate it from outside, but the inspection device may be configured to include a monitor or the like that displays overlay data, etc. Alternatively, the inspection device may be configured so that a user directly operates it.

[0061] In the above embodiment, the inspection device is provided with a storage unit, but the storage unit may be disposed in an external terminal or the like connected to the inspection device.

[0062] In the above embodiment, the program is built into the inspection device, but the program may be externally provided to cause the inspection device to execute each step.

[0063] The inspection device according to one embodiment of the present invention can easily and reliably compare dimensions on design drawings with actual measured values, and therefore can be used for quality evaluation of an object to be measured, for example.

[0064] REFERENCE SIGNS LIST 100 Inspection device 10 Input unit 11 Design information acquisition means 12 Outline image acquisition means 20 Processing unit 21 Superposition means 22 Measurement data extraction means 23 Dimension line data extraction means 24 Design data extraction means 25 Comparison means 26 Evaluation means 30 Storage unit

Claims

1. An inspection device for inspecting dimensions of an object to be measured, comprising: design information acquisition means for importing a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines which correspond to the outline of the object to be measured; outline image acquisition means for importing an outline image of the object to be measured corresponding to the design drawing; superimposition means for superimposing the design drawing data acquired by the design information acquisition means and the outline data of the object to be measured acquired by the outline image acquisition means; actual measurement data extraction means for extracting actual measurement data of the object to be measured from the outline data; dimension line data extraction means for extracting the dimension lines and the extension lines from the design drawing data using the outline data superimposed by the superimposition means; design data extraction means for extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted by the dimension line data extraction means; comparison means for comparing the actual measurement data and the design data while associating them with each other; and evaluation means for evaluating the actual measurement data based on the design data.

2. The inspection device according to claim 1, wherein the design drawing is data derived from a paper medium or image data.

3. An inspection device as described in claim 1 or 2, wherein said external image acquisition means extracts the external lines of said external image by edge detection after capturing said external image, and said external data includes said external lines.

4. The inspection device according to claim 3, wherein said superimposing means adjusts the magnification of at least one of said design drawing data and said external shape data.

5. An inspection device as described in claim 3, wherein the superimposition means uses the outline contained in the outline data to identify the outline contained in the design drawing data, and the dimension line data extraction means extracts the dimension lines and extension lines by deleting the outline from the design drawing data.

6. An inspection method for inspecting dimensions of an object to be measured, comprising: a design information acquisition step of importing a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines that correspond to the outline of the object to be measured; an outline image acquisition step of importing an outline image of the object to be measured corresponding to the design drawing; a superimposition step of superimposing the design drawing data acquired in the design information acquisition step and the outline data of the object to be measured acquired by the outline image acquisition means; an actual measurement data extraction step of extracting actual measurement data of the object to be measured from the outline data; a dimension line data extraction step of extracting the dimension lines and the extension lines from the design drawing data using the outline data superimposed in the superimposition step; a design data extraction step of extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted in the dimension line data extraction step; a comparison step of comparing the actual measurement data and the design data while associating them with each other; and an evaluation step of evaluating the actual measurement data based on the design data.

7. A program for causing an inspection device to execute the following steps, in order to inspect the dimensions of an object to be measured: a design information acquisition step of importing a design drawing including an outline of the object to be measured, design dimension values, and dimension lines and extension lines which correspond to the outline lines and the design dimension values; an outline image acquisition step of importing an outline image of the object to be measured corresponding to the design drawing; a superposition step of superimposing the design drawing data acquired in the design information acquisition step and the outline data of the object to be measured acquired by the outline image acquisition means; an actual measurement data extraction step of extracting actual measurement data of the object to be measured from the outline data; a dimension line data extraction step of extracting the dimension lines and the extension lines from the design drawing data using the outline data superimposed in the superposition step; a design data extraction step of extracting design data of the object to be measured from the design drawing data using the dimension lines and the extension lines extracted in the dimension line data extraction step; a comparison step of comparing the actual measurement data and the design data while associating them with each other; and an evaluation step of evaluating the actual measurement data based on the design data.

Citation Information

Patent Citations

  • Automatic checking method for dimension line marking error in engineering drawing

    CN101446999A

  • Automatic generation apparatus for information on measuring place

    JP1998221054A

  • Drawing editing method and device

    JP2005190094A

  • Measurement setting data preparation device, measurement setting data preparation method, program for measurement setting data preparation device, and dimension measurement device

    JP2012032341A

  • Inspection device, computer program, and inspection method

    JP2022179314A