A method and device for measuring component precision dimensions

By scanning the 3D data of the components using a three-dimensional line laser sensor and guiding the camera to take pictures, the existing component measurement methods are solved, and efficient and accurate component measurement is achieved.

CN118111354BActive Publication Date: 2025-03-18深圳市利器精工科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410365456.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-03-18
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

The existing component measurement methods are inefficient and low accuracy, especially the image measuring instrument is slow to focus, and height measurement requires optional laser sensors.

Method used

A three-dimensional line laser sensor is used to scan out the 3D data of the component in advance, which is used to guide the camera to take pictures and save autofocus time.

Benefits of technology

This greatly improves measurement efficiency, achieves higher accuracy, and avoids the need for optional additional equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118111354B_ABST
    Figure CN118111354B_ABST
Patent Text Reader

Abstract

The present invention discloses a component precision dimension measurement method and device, the component precision dimension measurement method comprises the steps of: after the product is placed on the detection platform, controlling the three-dimensional line laser sensor to start, so as to scan the product and obtain the three-dimensional stereogram of the product; according to the three-dimensional stereogram, obtaining the numerical information of the product relative to the detection platform in the width direction Y, the length direction X and the height direction Z; controlling the camera to move to the contour line corresponding to the product according to the numerical information, and taking an image of the product; obtaining the photographed product photo, and measuring the contour line of the product photo to obtain the size of the product. Thus, by using the three-dimensional line laser sensor to scan out the 3D data of the entire component in advance at one time, which is used to guide the camera to take pictures, the automatic focus time is saved, and the efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of precision instruments, and in particular to a method and device for measuring the precise dimensions of a component. Background Art

[0002] Existing component measurement generally uses image measuring instruments, but the standard image measuring instrument can only measure plane dimensions and has slow focusing. Height measurement can only be performed with an optional laser sensor, which has low efficiency and low precision. Summary of the invention

[0003] The main purpose of the present invention is to propose a method and device for measuring the precise dimensions of a component, which aims to use a three-dimensional line laser sensor to scan the 3D data of the entire component in advance at one time to guide the camera to take pictures, save autofocus time, and greatly improve efficiency.

[0004] To achieve the above object, the component precision measurement method proposed in the present invention comprises the following steps:

[0005] After the product is placed on the inspection platform, the three-dimensional line laser sensor is controlled to turn on to scan the product to obtain a three-dimensional stereogram of the product;

[0006] According to the three-dimensional stereogram, obtain numerical information of the product relative to the detection platform in the width direction Y, the length direction X, and the height direction Z;

[0007] Controlling the camera to move to a contour line corresponding to the product according to the numerical information, and taking an image of the product;

[0008] A photograph of a product is obtained, and the outline of the product photograph is measured to obtain the size of the product.

[0009] Optionally, the step of obtaining numerical information of the product in a width direction Y, a length direction X, and a height direction relative to the detection platform according to the three-dimensional stereogram of the measurement method includes:

[0010] The three-dimensional image is used to derive a plane contour image of the product in the plane where the width direction Y and the length direction X are located, and the coordinate values ​​(X, Y) of the contour feature points are obtained;

[0011] Marking feature points in the X and Y directions on the plane contour map, and obtaining coordinate values ​​(X1, Y1) of the feature points relative to the platform;

[0012] The numerical information includes the coordinate value (X, Y) of the contour feature point and the coordinate value (X1, Y1) of the feature point.

[0013] Optionally, the step of obtaining numerical information of the product relative to the detection platform in the width direction Y, length direction X and height direction of the product according to the three-dimensional stereogram of the measurement method further includes:

[0014] Obtaining a coordinate value Z1 of the product in the Z direction by measuring with a height measuring tool;

[0015] The numerical information includes the coordinate value Z1.

[0016] Optionally, the measuring method further comprises, after the step of marking the feature points in the X direction and the Y direction on the plane profile diagram and obtaining the coordinate values ​​(X1, Y1) of the feature points relative to the platform:

[0017] Based on the X, Y plane where the coordinate value (X1, Y1) is located, a contour edge point is obtained on the contour line on the plane contour map, and the coordinate value (X2, Y2, Z2) of the contour edge point is obtained;

[0018] The numerical information includes the coordinate values ​​(X2, Y2, Z2).

[0019] Optionally, the measurement method further comprises, after the step of obtaining a contour edge point on a contour line on the plane contour map based on an X, Y plane where the coordinate value (X1, Y1) is located and obtaining the coordinate value (X2, Y2, Z2) of the contour edge point:

[0020] The camera moves to (X3, Y3, Z3) according to the coordinate value (X2, Y2, Z2) of the edge point of the contour to ensure clear imaging of the camera.

[0021] Optionally, a plurality of contour edge points may be obtained according to the number of contour lines.

[0022] Optionally, in the control method, the step of moving the camera to (X3, Y3, Z3) according to the coordinate value (X2, Y2, Z2) of the contour edge point to ensure clear imaging of the camera includes:

[0023] Calculate the transformation matrix A between the contour edge point coordinate system and the camera movement coordinate system, (X3, Y3, Z3) = (X2, Y2, Z2) * A.

[0024] The present invention also provides a device for measuring the precise dimensions of a component, the device comprising:

[0025] frame;

[0026] The transfer mechanism includes a mounting portion, and the mounting portion can move relative to the frame in the X direction, the Y direction and the Z direction;

[0027] A three-dimensional line laser sensor is fixedly arranged on the mounting portion;

[0028] The camera is fixedly arranged on the mounting portion.

[0029] Optionally, the transfer mechanism includes:

[0030] The Y-direction transfer mechanism comprises a transport platform, which is slidably arranged on the frame in the Y direction, so that the product can be placed on the transport platform to enable the product to slide relative to the frame in the Y direction;

[0031] The X-direction transfer mechanism comprises a sliding plate, and the sliding plate can slide in the X-direction relative to the frame.

[0032] Optionally, the transfer mechanism includes:

[0033] The Z-direction transfer mechanism comprises a mounting plate, wherein the mounting plate can slide in the Z direction relative to the sliding plate;

[0034] The mounting portion includes the mounting plate.

[0035] In the technical solution provided by the present invention, a component precision measurement method is provided, and the component precision measurement method includes the following steps: after the product is placed on the detection platform, the three-dimensional line laser sensor is controlled to be turned on to scan the product to obtain a three-dimensional stereogram of the product; according to the three-dimensional stereogram, the numerical information of the product in the width direction Y, the length direction X, and the height direction Z relative to the detection platform is obtained; the camera is controlled to move to the contour line corresponding to the product according to the numerical information to take an image of the product; the photographed product photo is obtained, and the contour line of the product photo is measured to obtain the size of the product. Thus, by using the three-dimensional line laser sensor to scan out the 3D data of the entire component in advance at one time, which is used to guide the camera to take pictures, the automatic focus time is saved, and the efficiency is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0037] Figure 1 A schematic diagram of a flow chart of an embodiment of a component precision measurement method provided by the present invention;

[0038] Figure 2A schematic diagram of the three-dimensional structure of an embodiment of a component measuring device provided by the present invention.

[0039] Description of Figure Numbers:

[0040]

[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] It should be noted that if there are directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention, the directional indications are only used to explain the direction of the user in a specific posture (such as the attached figure). Figure 1 The relative position relationship, movement status, etc. between the various components under the specific posture are shown. If the specific posture changes, the directional indication will also change accordingly.

[0044] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the meaning of "and / or" appearing in the full text includes three parallel schemes. Taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0045] Existing component measurement generally uses image measuring instruments, but the standard image measuring instrument can only measure plane dimensions and has slow focusing. Height measurement can only be performed with an optional laser sensor, which has low efficiency and low precision.

[0046] In view of this, the present invention provides a method and device for measuring the precise dimensions of a component. Figure 1 to Figure 2 An embodiment of the present invention is provided.

[0047] Step S10: After the product is placed on the inspection platform, the three-dimensional line laser sensor 3 is controlled to turn on to scan the product to obtain a three-dimensional stereogram of the product;

[0048] Step S20: obtaining numerical information of the product relative to the detection platform in the width direction Y, the length direction X, and the height direction Z according to the three-dimensional stereogram;

[0049] Step S30: Control the camera 4 to move to a contour line corresponding to the product according to the numerical information, and take an image of the product;

[0050] Step S40: obtaining a photograph of the product, and measuring the contour of the product photograph to obtain the size of the product;

[0051] The camera 4 and the three-dimensional line laser sensor 3 are spaced apart in the X direction, and are both arranged in the extension direction of the z axis.

[0052] In the technical solution provided by the present invention, a component precision measurement method is provided, and the component precision measurement method includes the following steps: after the product is placed on the detection platform, the three-dimensional line laser sensor 3 is controlled to be turned on to scan the product and obtain a three-dimensional stereogram of the product; according to the three-dimensional stereogram, the numerical information of the product in the width direction Y, the length direction X, and the height direction Z relative to the detection platform is obtained; the camera 4 is controlled to move to the contour line corresponding to the product according to the numerical information to take an image of the product; the photographed product photo is obtained, and the contour line of the product photo is measured to obtain the size of the product. Thus, by using the three-dimensional line laser sensor 3 to scan out the 3D data of the entire component in advance at one time, which is used to guide the camera 4 to take pictures, the automatic focus time is saved, and the efficiency is greatly improved.

[0053] In this embodiment, the step of obtaining the numerical information of the product in the width direction Y, the length direction X and the height direction relative to the detection platform according to the three-dimensional stereogram of the measuring method includes:

[0054] Step S201: derive the three-dimensional stereogram into a plane contour diagram of the product in the plane where the width direction Y and the length direction X are located, and obtain the coordinate values ​​(X, Y) of the contour feature points. In this way, the coordinates of the product in the X direction and the Y direction are preliminarily obtained.

[0055] Step S202: Mark feature points in the X and Y directions on the plane contour map, and obtain the coordinate values ​​(X1, Y1) of the feature points relative to the platform; by taking points at the intersection of the X and Y directions, more accurately obtain the coordinate values ​​(X1, Y1) of the product in the X and Y directions, wherein the numerical information includes the coordinate values ​​(X, Y) of the contour feature points and the coordinate values ​​(X1, Y1) of the feature points.

[0056] Step S203: Based on the X and Y planes where the coordinate values ​​(X1, Y1) are located, the contour edge points are obtained on the contour line on the plane contour map, and the coordinate values ​​(X2, Y2, Z2) of the contour edge points are obtained; the numerical information includes the coordinate values ​​(X2, Y2, Z2). It can be understood that the projection of the product on the plane where the X and Y directions are located presents a contour line. In order to clearly obtain the size of the contour line, the contour edge points are obtained on the contour line on the plane contour map, and the coordinate values ​​(X2, Y2, Z2) of the contour edge points are obtained.

[0057] Step S2031: A plurality of contour edge points may be obtained according to the number of contour lines.

[0058] The products to be tested are of different sizes and shapes, and the contour lines are also diverse. A plurality of contour edge points can be obtained correspondingly according to the contour lines of different segments.

[0059] Step S204: Obtain the coordinate value Z1 of the product in the Z direction by measuring with a height measuring tool; the numerical information includes the coordinate value Z1. The height of the product is measured by moving the height measuring tool, which is perpendicular to the plane formed by the X direction and the Y direction and can pass through the product to measure the height of each part of the product. Then, the coordinate value of the product in the Z direction is obtained.

[0060] Step S301: The camera 4 moves to (X3, Y3, Z3) according to the coordinate values ​​(X2, Y2, Z2) of the contour edge point to ensure that the camera 4 has clear imaging.

[0061] Step S3011: Calculate the transformation matrix A between the contour edge point coordinate system and the camera 4 moving coordinate system, (X3, Y3, Z3) = (X2, Y2, Z2) * A. It can be understood that there is a coordinate system conversion relationship between the contour edge point coordinates and the camera 4 moving coordinate system. First, calculate the transformation matrix A between the contour edge point coordinates and the camera 4 moving coordinate system, and then obtain the position (X3, Y3, Z3) of the camera 4 movement through the calculation formula (X3, Y3, Z3) = (X2, Y2, Z2) * A.

[0062] See also Figure 2 In a second aspect, an embodiment of the present invention provides a component precision dimension measuring device 100, which includes a frame 1, a transfer mechanism 2, a three-dimensional line laser sensor 3 and a camera 4. The transfer mechanism 2 includes a mounting portion 231, and the mounting portion 231 can move relative to the frame 1 in the X direction, the Y direction and the Z direction. The three-dimensional line laser sensor 3 is fixedly arranged on the mounting portion 231, and the camera 4 is fixedly arranged on the mounting portion 231.

[0063] Optionally, the transfer mechanism 2 includes a Y-direction transfer mechanism 222 and an X-direction transfer mechanism 212, wherein the Y-direction transfer mechanism 222 includes a transport platform 221, which is slidably disposed on the frame 1 in the Y direction, so that the product can be placed on the transport platform 221, so that the product can slide relative to the frame 1 in the Y direction, and the X-direction transfer mechanism 212 includes a sliding plate 211, which can slide relative to the frame 1 in the X direction. In this way, the product can slide relative to the frame 1 in the Y direction as the transport platform 221 slides, and the sliding plate 211 can slide relative to the frame 1 in the X direction.

[0064] Optionally, the transfer mechanism 2 includes a Z-direction transfer mechanism 232, including a mounting plate 231a, and the mounting plate 231a can slide in the Z direction relative to the sliding plate 211; the mounting portion 231 includes the mounting plate 231a. In this way, the mounting plate 231a can move in the Z direction relative to the sliding plate 211, and the mounting plate 231a can move in the Z direction and the X direction relative to the frame 1. So that the three-dimensional line laser sensor 3 and the camera 4 fixedly mounted on the mounting portion 231 can move in the Z direction and the X direction.

[0065] It is clear that the measurement principle of the present invention is that the three-dimensional line laser sensor cooperates with the movement of the detection platform in the X direction to scan the three-dimensional contour size of the product, wherein the data in the X and Y directions are used to generate the shooting coordinates of the two-dimensional vision, and the obtained numerical information in the Z direction is used to guide the object distance adjustment of the camera, that is, to replace the optical autofocus. Furthermore, it can be measured with high efficiency and high accuracy. The accuracy of the product depends on the two-dimensional vision of the camera, because the two-dimensional vision is a variable magnification lens with high optical magnification efficiency and high measurement accuracy, which is at the micron level. The measurement efficiency depends on the Z-direction data obtained by the three-dimensional line laser scanning, which saves a lot of optical focusing time.

[0066] It can be noted that this device uses the camera's two-dimensional vision with a rich combination of light sources, and can clearly capture ultra-small components through a zoom lens; this device obtains height data through a three-dimensional line laser sensor, and guides the two-dimensional visual focus through the device's dedicated algorithm. Because the depth of field of a high-zoom lens is very small, the autofocus is very slow. Compared with conventional measurement technologies on the market, it has higher measurement accuracy and higher measurement efficiency.

[0067] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A method for measuring the precise dimensions of a component, characterized in that: The steps include: After the product is placed on the inspection platform, the three-dimensional line laser sensor is controlled to turn on to scan the product to obtain a three-dimensional stereogram of the product; According to the three-dimensional stereogram, obtain numerical information of the product relative to the detection platform in the width direction Y, the length direction X, and the height direction Z; Controlling the camera to move to a contour line corresponding to the product according to the numerical information, and taking an image of the product; Obtain a photograph of a product, and measure the contour of the product photograph to obtain the size of the product; Wherein, the camera and the three-dimensional line laser sensor are spaced apart in the X direction, and are both arranged in the extension direction of the z axis; The step of obtaining the numerical information of the product in the width direction Y, the length direction X and the height direction relative to the detection platform according to the three-dimensional stereogram of the measurement method comprises: The three-dimensional image is used to derive a plane contour image of the product in the plane where the width direction Y and the length direction X are located, and the coordinate values ​​(X, Y) of the contour feature points are obtained; Marking feature points in the X and Y directions on the plane contour map, and obtaining coordinate values ​​(X1, Y1) of the feature points relative to the platform; The numerical information includes the coordinate value (X, Y) of the contour feature point and the coordinate value (X1, Y1) of the feature point; The step of obtaining numerical information of the product relative to the detection platform in the width direction Y, the length direction X, and the height direction of the product according to the three-dimensional stereogram in the measurement method further includes: Obtaining a coordinate value Z1 of the product in the Z direction by measuring with a height measuring tool; The numerical information includes the coordinate value Z1; The measuring method further comprises the following steps after the step of marking the feature points in the X and Y directions on the plane profile diagram and obtaining the coordinate values ​​(X1, Y1) of the feature points relative to the platform: Based on the X, Y plane where the coordinate value (X1, Y1) is located, a contour edge point is obtained on the contour line on the plane contour map, and the coordinate value (X2, Y2, Z2) of the contour edge point is obtained; The numerical information includes the coordinate values ​​(X2, Y2, Z2); The step of controlling the camera to move to a contour line corresponding to the product according to the numerical information and taking an image of the product in the measurement method includes: The camera moves to (X3, Y3, Z3) according to the coordinate value (X2, Y2, Z2) of the edge point of the contour to ensure that the camera image is clear; The step of moving the camera to (X3, Y3, Z3) according to the coordinate value (X2, Y2, Z2) of the edge point of the contour to ensure that the camera image is clear includes: Calculate the transformation matrix A between the contour edge point coordinate system and the camera movement coordinate system, (X3, Y3, Z3) = (X2, Y2, Z2) * A; The 3D data of the entire component is scanned out in advance at one time by using the three-dimensional line laser sensor to guide the camera to take pictures, thus saving the time of automatic focusing.

2. The component precision dimension measurement method according to claim 1, characterized in that: The contour edge points may be obtained in plurality according to the number of contour lines.

3. A component precision dimension measuring device, applied to a component precision dimension measuring method as claimed in any one of claims 1 to 2, characterized in that: The component precision dimension measuring device comprises: frame; The transfer mechanism includes a mounting portion, and the mounting portion can move relative to the frame in the X direction, the Y direction and the Z direction; A three-dimensional line laser sensor is fixedly arranged on the mounting portion; The camera is fixedly arranged on the mounting portion.

4. The component precision dimension measuring device according to claim 3, characterized in that: The transfer mechanism comprises: The Y-direction transfer mechanism comprises a transport platform, which is slidably arranged on the frame in the Y direction, so that the product can be placed on the transport platform to enable the product to slide relative to the frame in the Y direction; The X-direction transfer mechanism comprises a sliding plate, and the sliding plate can slide in the X-direction relative to the frame.

5. The component precision dimension measuring device according to claim 4, characterized in that: The transfer mechanism comprises: The Z-direction transfer mechanism comprises a mounting plate, wherein the mounting plate can slide in the Z direction relative to the sliding plate; The mounting portion includes the mounting plate.

Citation Information

Patent Citations

  • 3D curved glass contour scanning detection method and system based on line structured light dynamic vision

    CN112629441A