[go: up one dir, main page]

CN120274685A - Method, apparatus, device and computer readable storage medium for measuring parts - Google Patents

Method, apparatus, device and computer readable storage medium for measuring parts Download PDF

Info

Publication number
CN120274685A
CN120274685A CN202510435288.3A CN202510435288A CN120274685A CN 120274685 A CN120274685 A CN 120274685A CN 202510435288 A CN202510435288 A CN 202510435288A CN 120274685 A CN120274685 A CN 120274685A
Authority
CN
China
Prior art keywords
measured
measurement
module
parts
measuring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510435288.3A
Other languages
Chinese (zh)
Inventor
韩生华
卿广林
冯强
傅长青
王敏
孔令华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Delixi Electric Co Ltd
Original Assignee
Delixi Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Delixi Electric Co Ltd filed Critical Delixi Electric Co Ltd
Priority to CN202510435288.3A priority Critical patent/CN120274685A/en
Publication of CN120274685A publication Critical patent/CN120274685A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

本公开提供一种零部件的测量方法、装置、设备和计算机可读存储介质,在接收到开始测量指令后,通过视觉模块自动获取在预设区域的至少一个待测零部件的类型,分别根据各待测零部件的类型,获取各待测零部件分别对应的第一测量程序,基于各待测零部件分别对应的第一测量程序,控制测量模块分别对各待测零部件进行尺寸测量,得到测量结果。对当前多种类型的零部件以及未来不同类型的零部件均可以自动化完成测量过程,降低了人力成本,尺寸测量耗时短,提高了尺寸测量的效率。另外,由于可以自动化地完成对零部件的尺寸测量过程,因此,可以利用夜晚等人员无法值守的时间进行尺寸测量,提高了零部件的测量设备的利用率。

The present disclosure provides a component measurement method, device, equipment and computer-readable storage medium. After receiving a start measurement instruction, the type of at least one component to be measured in a preset area is automatically obtained through a visual module, and the first measurement program corresponding to each component to be measured is obtained according to the type of each component to be measured. Based on the first measurement program corresponding to each component to be measured, the measurement module is controlled to perform dimensional measurement on each component to be measured to obtain a measurement result. The measurement process can be automatically completed for the current multiple types of components and different types of components in the future, which reduces labor costs, shortens the dimensional measurement time, and improves the efficiency of dimensional measurement. In addition, since the dimensional measurement process of components can be completed automatically, the dimensional measurement can be performed at night when personnel are not on duty, thereby improving the utilization rate of the component measurement equipment.

Description

Method, apparatus, device and computer readable storage medium for measuring parts
Technical Field
The present disclosure relates to the field of measurement technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for measuring components.
Background
In the fields of mold equipment, gear measurement, blade measurement machinery manufacturing, tool fixtures, steam mold fittings, electronic appliances and the like, measurement of parts is generally required.
Usually, when the dimension measurement is performed on the parts, the measurement instrument needs to be manually assisted to finish the measurement, for example, a person is required to place the parts to be measured on a designated measurement table and manually call the part measurement program, and meanwhile, the person is required to manually guide the measurement instrument to search the coordinate position of the parts on the measurement table, and after the measurement of the parts to be measured is finished, the measurement instrument needs to manually replace the parts and the like. Thus, human resources are wasted, and the measurement efficiency is low.
Disclosure of Invention
The present disclosure provides a method, apparatus, device, and computer-readable storage medium for measuring components to solve the problem of low dimensional measurement efficiency.
In a first aspect, the present disclosure provides a method of measuring a part, the method comprising:
After receiving a measurement starting instruction, determining the type of at least one part to be measured in a preset area through a vision module;
respectively acquiring a first measurement program corresponding to each part to be measured according to the type of each part to be measured in the at least one part to be measured;
Based on the first measurement program corresponding to each part to be measured, the control measurement module respectively performs size measurement on each part to be measured to obtain measurement results corresponding to each part to be measured.
In some embodiments, the determining, by the vision module, the type of the at least one part to be tested in the preset area includes:
acquiring part images of at least one part to be tested in the preset area through the vision module;
And respectively determining the type of each part to be tested in the at least one part to be tested according to the part image.
In some embodiments, the determining the type of each part under test in the at least one part under test according to the part image includes:
and importing the part image into a part type classification model to obtain the types of the parts to be tested, wherein the part type classification model is built based on a deep learning model and is a model which is automatically learned in advance.
In some embodiments, after the capturing, by the vision module, the part image of the at least one part under test in the preset area, the method further includes:
Determining first position information of each part to be tested according to the part image of the at least one part to be tested;
the control measurement module performs size measurement on each part to be measured based on the first measurement program corresponding to each part to be measured, to obtain measurement results corresponding to each part to be measured, including:
Based on the first measurement program of each part to be measured and the first position information of each part to be measured, the control measurement module respectively performs size measurement on each part to be measured to obtain measurement results corresponding to each part to be measured.
In some embodiments, the acquiring, by the vision module, the part image of the at least one part under test in the preset area includes:
starting from the initial position of the preset area, respectively acquiring sub-area images of all sub-areas of the preset area through the vision module;
determining two-dimensional position information of each part to be tested in the preset area according to the subarea image of each subarea of the preset area;
Determining the sequence of measuring each part to be measured according to the second position information of each part to be measured;
According to the measuring sequence of each part to be measured and the two-dimensional position information of each part to be measured in the preset area, part images of each part to be measured are obtained through the vision module respectively;
The determining the first position information of each part to be tested according to the part image of the at least one part to be tested includes:
determining coordinate information of feature points of each part to be tested according to the part image of the at least one part to be tested;
and taking the coordinate information of the characteristic points of the part to be measured as the first position information of the part to be measured.
In some embodiments, the controlling the measuring module to measure the dimensions of each part to be measured based on the first measuring program corresponding to each part to be measured, respectively, to obtain the measuring result corresponding to each part to be measured, includes:
After the vision module is determined to be in the safety position, based on the first measurement program corresponding to each part to be measured, the control measurement module is used for measuring the size of each part to be measured, and the measurement result corresponding to each part to be measured is obtained.
In some embodiments, after obtaining the measurement result corresponding to each part to be tested, the method further includes:
And sending measurement results corresponding to the parts to be measured to terminal equipment, wherein the measurement results corresponding to the parts to be measured comprise measurement result data corresponding to the parts to be measured, and the measurement results corresponding to the parts to be measured further comprise first position information of the parts to be measured and/or measurement time of the parts to be measured.
In a second aspect, an embodiment of the present disclosure provides a measurement device for a component, including:
The vision module is used for determining the type of at least one part to be measured in the preset area after receiving the measurement starting instruction;
The processing module is used for acquiring a first measurement program corresponding to each part to be measured according to the type of each part to be measured in the at least one part to be measured;
And the measurement module is used for respectively carrying out size measurement on each part to be measured based on a first measurement program corresponding to each part to be measured, so as to obtain measurement results corresponding to each part to be measured.
In a third aspect, the disclosure provides a measurement device for a component, including a control module, a vision module, and a measurement module, where the control module is configured to implement the method according to the first aspect when executing the program.
In a fourth aspect, the present disclosure provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect described above.
According to the method, the device, the equipment and the computer readable storage medium for measuring the parts, after receiving a measurement starting instruction, the type of at least one part to be measured in a preset area is automatically obtained through a vision module, first measurement programs corresponding to the parts to be measured are respectively obtained according to the type of the parts to be measured, and based on the first measurement programs corresponding to the parts to be measured, the measurement module is controlled to measure the sizes of the parts to be measured respectively, so that measurement results are obtained. Therefore, the type of the part to be measured is identified by replacing manual work through the vision module, and the measurement module is triggered to measure the size of the part to be measured according to the identified type of the part to be measured, so that a measurement result is obtained. The measuring process can be automatically completed on various types of current parts and different types of future parts, so that the labor cost is reduced, the time consumption for measuring the dimension is short, and the efficiency of measuring the dimension is improved. In addition, the size measurement process of the parts can be automatically completed, so that the size measurement can be performed by utilizing the time that the personnel cannot watch at night, and the utilization rate of the measurement equipment of the parts is improved.
Drawings
Fig. 1 is a schematic structural diagram of a measurement device for parts according to an embodiment of the present disclosure;
Fig. 2 is a flow chart of a measurement method of a component according to an embodiment of the disclosure;
fig. 3 is a schematic structural diagram of a measurement device for a component according to an embodiment of the disclosure.
Detailed Description
In this disclosure, "at least one" means one or more, and "a plurality" means two or more. "and/or" describes an association of associated objects, meaning that there may be three relationships, e.g., A and/or B, and that there may be A alone, while A and B are present, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one of a alone, b alone or c alone may represent a alone, b alone, c alone, a combination of a and b, a combination of a and c, b and c, or a combination of a, b and c, wherein a, b, c may be single or plural. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The terms "center," "longitudinal," "transverse," "upper," "lower," "left," "right," "front," "rear," and the like refer to an azimuth or positional relationship based on that shown in the drawings, merely to facilitate description of the present disclosure and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a particular azimuth, be configured and operated in a particular azimuth, and therefore should not be construed as limiting the present disclosure.
The terms "connected," "connected," and "connected" are to be construed broadly and refer, for example, to a physical connection, an electrical connection or a signal connection, for example, to a direct connection, i.e., a physical connection, or an indirect connection via at least one element therebetween, and to a communication between two elements, as long as the electrical connection is achieved, and to a signal connection, for example, via a medium other than a circuit. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art in the specific context.
In the process of measuring the parts, a user is usually required to place a single part to be measured at a measurement position, find the coordinate position where the part is placed, select a measurement program corresponding to the part to be measured through a terminal device connected with a dimension measurement device, and the dimension measurement device automatically detects the part to be measured based on the detection program. After the detection is completed, the user manually removes the part to be detected from the dimension measuring equipment, and the measurement of the part to be detected is completed. If other parts are needed to be measured, the user manually places the next part to be measured at the measuring position of the dimension measuring equipment, and repeats the steps to measure the next part to be measured.
The dimensional measuring device may be, for example, a contact space meter. The following is a brief description of the touch space meter.
The three axes of the contact type space measuring instrument are provided with an air source brake switch and a micro-motion device, so that the precise transmission of a single axis can be realized, and a high-performance data acquisition system is adopted. The touch space measuring instrument is an instrument capable of representing the measuring capabilities of geometric shape, length, circumference graduation and the like in a hexahedral space range, and is also called a three-coordinate measuring machine or a three-coordinate measuring machine bed. The contact space measuring instrument can be defined as a measuring instrument which has a detector capable of moving in three directions and can move on three guide rails perpendicular to each other, the detector transmits signals in a contact or non-contact mode, and a displacement measuring system (such as a grating ruler) of three axes calculates each point (x, y, z) of a workpiece and each function measuring instrument through a data processor or a computer. The measurement functions of the contact type space measuring instrument include dimensional accuracy, positioning accuracy, geometric accuracy, contour accuracy and the like.
Although the contact type space measuring instrument can automatically detect on the basis of the existing program, personnel are required to search and position along with the contact type space measuring instrument, and armor is required to be continuously replaced in the detection process of different parts, so that personnel resources are wasted, and the contact type space measuring instrument is idle when the personnel leave work.
Therefore, in the process of measuring the parts by the dimension measuring device, a user is required to operate the dimension measuring device, and thus, labor cost is consumed. Under unmanned condition, the size measurement equipment can not independently finish measurement work, and under the condition that personnel have a rest such as night, measurement can not be performed.
The measuring method of the parts provided by the embodiment of the disclosure can be applied to measuring equipment of the parts, and the measuring equipment of the parts is described below.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a measurement device for parts according to an embodiment of the disclosure, and as shown in fig. 1, the measurement device for parts according to the embodiment includes a control module, a vision module 101 and a measurement module 102. The control module is connected with the vision module 101 and the measurement module 102, respectively. Note that, the control module is not shown in fig. 1, and the position where the control module is disposed is not limited in this disclosure. The configuration of vision module 101 and measurement module 102 shown in fig. 1 is only an example and does not constitute a limitation of the measurement apparatus of the components of the present disclosure.
For example, the control module may be a Programmable Logic Controller (PLC) that causes the PLC to perform a corresponding function by inputting a corresponding program.
According to the method for measuring the parts, after the measurement starting instruction is received, at least one type of the part to be measured in the preset area is automatically obtained through the vision module, the first measurement programs corresponding to the parts to be measured are respectively obtained according to the types of the parts to be measured, and the measurement module is controlled to measure the sizes of the parts to be measured respectively based on the first measurement programs corresponding to the parts to be measured. Therefore, the type of the part to be measured is identified by replacing manual work through the vision module, and a corresponding measurement program is obtained according to the type of the part to be measured, so that the part to be measured is measured. All the measuring processes are automatically completed, so that the labor cost is reduced, and the efficiency of size measurement is improved. In addition, because the dimension measurement process of the parts can be automatically completed, dimension measurement can be performed by utilizing the time when personnel cannot watch at night, and the utilization rate of the part measurement equipment is improved.
The technical scheme provided by the present disclosure is described in detail below with specific embodiments.
Referring to fig. 2, fig. 2 is a flow chart of a measurement method of a component according to an embodiment of the disclosure. As shown in fig. 2, the method provided in this embodiment is performed by a measurement device of a component, which may be the measurement device of the component shown in fig. 1, or a control module, which may be a control module in the measurement device of the component shown in fig. 1. The method provided by the present embodiment may include the following steps 201-203.
Step 201, after receiving a measurement starting instruction, determining the type of at least one part to be measured in a preset area through a vision module.
The measurement starting instruction may be generated by a user trigger, for example, the measurement starting instruction may be triggered by the user pressing a measurement starting button on the measurement device of the component, or may be triggered by pressing a measurement starting control on a man-machine interaction module of the measurement device of the component, and the triggering form of the measurement starting instruction is not limited in this disclosure.
The vision module can identify the type of the part to be tested placed in the preset area.
Step 202, respectively obtaining a first measurement program corresponding to each part to be measured according to the type of each part to be measured in at least one part to be measured.
Because of the variety of the parts to be measured, there may be differences in the sizes and shapes of different types of parts to be measured, when the sizes of the parts to be measured are measured, it is generally necessary to determine a first measurement procedure for the type of the parts to be measured according to the type of the parts to be measured. The first measurement procedure generally includes an operation step when measuring the part to be measured, and taking the touch space measuring instrument as an example, the touch space measuring instrument can automatically measure the part according to the first measurement procedure to obtain a measurement result.
Step 203, based on the first measurement procedure corresponding to each part to be measured, the control measurement module measures the dimensions of each part to be measured.
The measuring module is used for measuring the size of the part to be measured. The measurement module may be, for example, a contact space meter.
According to the method for measuring the parts, after the measurement starting instruction is received, at least one type of the part to be measured in the preset area is automatically obtained through the vision module, the first measurement programs corresponding to the parts to be measured are respectively obtained according to the types of the parts to be measured, and the measurement modules are controlled to respectively measure the sizes of the parts to be measured based on the first measurement programs corresponding to the parts to be measured, so that measurement results are obtained. Therefore, the type of the part to be measured is identified by replacing manual work through the vision module, and the measurement module is triggered to measure the size of the part to be measured according to the identified type of the part to be measured, so that a measurement result is obtained. The measuring process can be automatically completed on various types of current parts and different types of future parts, so that the labor cost is reduced, the time consumption for measuring the dimension is short, and the efficiency of measuring the dimension is improved. In addition, the size measurement process of the parts can be automatically completed, so that the size measurement can be performed by utilizing the time that the personnel cannot watch at night, and the utilization rate of the measurement equipment of the parts is improved.
In some embodiments, step 201 may be implemented by the following steps 2011 and 2012.
And step 2011, acquiring part images of at least one part to be measured in a preset area through a vision module after receiving a measurement starting instruction.
Further, the vision module may include a camera. For example, the cameras may be two-dimensional cameras and three-dimensional cameras.
Wherein the part images may be one or more, the present disclosure does not limit the number of part images. The part image may be an image taken of all the parts to be measured in the predetermined area, or may be an image taken of each part to be measured in the predetermined area.
Further, the control module may send a shooting instruction to the vision module after receiving the measurement start instruction, and the vision module shoots a part image of at least one part to be measured in the preset area after receiving the shooting instruction, and sends the part image to the control module.
Step 2012, determining the type of each part to be tested in the at least one part to be tested according to the part image.
In one possible implementation, the part image may be imported into a part type classification model to obtain the type of each part to be tested.
The part type classification model is built based on a deep learning model, and a model which is finished by autonomous learning in advance, namely a model which is finished by training in advance. The part type classification model may be trained from images of multiple types of parts.
In another possible implementation manner, images of multiple types of parts may be stored in advance, and the part images may be compared with the images of the multiple types of parts stored in advance to determine the types of the parts to be tested.
According to the method for measuring the parts, after the measurement starting instruction is received, part images of at least one part to be measured in the preset area are automatically acquired through the vision module. And determining the type of at least one part to be measured in a preset area according to the part image, respectively obtaining first measurement programs respectively corresponding to the parts to be measured according to the type of the parts to be measured, and controlling the measurement module to respectively measure the sizes of the parts to be measured based on the first measurement programs respectively corresponding to the parts to be measured. Therefore, the type of the part to be measured is identified by replacing manual work through the vision module, and a corresponding measurement program is acquired according to the type of the part to be measured, so that the part to be measured is measured based on the measurement program. The size measurement process of the parts is automatically completed, the labor cost is reduced, and the efficiency of size measurement is improved. In addition, because the dimension measurement process of the parts can be automatically completed, dimension measurement can be performed by utilizing the time when personnel cannot watch at night, and the utilization rate of the part measurement equipment is improved.
In some scenarios, the measurement module needs to move to the part to be measured according to the position of the part to be measured, so as to measure the part to be measured. Therefore, the vision module can also acquire the position information of the part to be measured, so that the measurement module is controlled to accurately measure the part to be measured at the position. Specific examples are described in detail below.
In some embodiments, the following step 2013 may also be included after step 2011. Accordingly, step 203 may be implemented by the following step 2031.
Step 2013, determining first position information of each part to be tested according to the part image of at least one part to be tested.
The first position information is used for indicating the position of the part to be tested in the space. For example, the first position information may be X/Y/Z coordinate information of the part to be tested in space. For example, the coordinate system used for the coordinate information may be an X/Y/Z coordinate system established with a preset point on a preset area as an origin.
Furthermore, the coordinate positioning and searching can be carried out on the part to be detected through a hand-eye calibration method. For example, the coordinate positioning search can be performed on the part to be tested according to a 9-point method.
Step 2031, controlling the measurement module to measure the sizes of the parts to be measured based on the first measurement program of the parts to be measured and the first position information of the parts to be measured, so as to obtain measurement results corresponding to the parts to be measured.
In this embodiment, according to the part image of at least one part to be measured, the first position information of each part to be measured and the type of each part to be measured are determined, and based on the first measurement program of each part to be measured and the first position information of each part to be measured, the control measurement module performs size measurement on each part to be measured, so as to obtain the measurement result corresponding to each part to be measured. The size measurement process of the parts is automatically completed, the labor cost is reduced, and the efficiency of size measurement is improved. In addition, because the dimension measurement process of the parts can be automatically completed, dimension measurement can be performed by utilizing the time when personnel cannot watch at night, and the utilization rate of the part measurement equipment is improved.
In some embodiments, step 2011 may include steps 20111-20114, and accordingly, step 2013 may be implemented by steps 20131 and 20132 as follows.
Step 20111, starting from the starting position of the preset area, respectively acquiring sub-area images of all sub-areas of the preset area through a vision module.
The preset area is divided into a plurality of subareas, and the same type of parts to be tested can be placed in the same subarea. After receiving the measurement starting instruction each time, scanning each subarea from the starting position of the preset area through the vision module, and respectively obtaining subarea images of each subarea.
And step 20112, determining the two-dimensional position information of each part to be tested in the preset area according to the subarea image of each subarea of the preset area.
The two-dimensional position information is used for indicating the position of the part to be tested in the preset area. For example, the two-dimensional position information may be X/Y coordinate information of the part to be measured in a preset area. For example, the coordinate system used for the coordinate information may be an X/Y coordinate system established with a preset point on a preset area as an origin.
And determining the parts to be tested and the two-dimensional position information of the parts to be tested, which are placed in each subarea, according to the subarea images of each subarea.
And step 20113, determining the measuring sequence of each part to be measured according to the second position information of each part to be measured.
In general, the measurement order may be determined based on the distance of the second position information from the origin of the coordinate system, i.e. the closer to the original coordinate system the sub-region is, the earlier the measurement order is. For the parts to be measured in each sub-area, the measurement can also be performed according to a custom measurement sequence.
And step 20114, acquiring part images of the parts to be measured through the vision module according to the measuring sequence of the parts to be measured and the two-dimensional position information of the parts to be measured in the preset area.
And 20131, determining coordinate information of feature points of each part to be tested according to the part image of the at least one part to be tested.
The feature points refer to points capable of determining the positions and the postures of the parts to be tested. Typically, the feature points of a part to be tested may be one or more.
And 20132, taking the coordinate information of the feature points of the part to be tested as the first position information of the part to be tested.
And acquiring part images of the parts to be measured through the vision module according to the measuring sequence of the parts to be measured and the two-dimensional position information of the parts to be measured in the preset area. It will be appreciated that the part image is more accurate relative to the sub-region image and, correspondingly, the first positional information is more accurate relative to the second positional information.
In this embodiment, from the starting position of the preset area, the sub-area images of the sub-areas of the preset area are respectively obtained through the vision module. And determining the two-dimensional position information of each part to be detected in the preset area according to the subarea image of each subarea of the preset area, thereby realizing the coarse positioning process. Determining the sequence of measuring each part to be measured according to the second position information of each part to be measured, and acquiring part images of each part to be measured through a vision module according to the sequence of measuring each part to be measured and the two-dimensional position information of each part to be measured in a preset area, so as to obtain the type and the first position information of each part to be measured, and realizing the precise positioning process. Through the rough positioning and the fine positioning processes, the positions of the parts to be measured in the space are accurately identified, the first measurement programs corresponding to the parts to be measured are obtained according to the types of the parts to be measured, and the measurement modules are controlled to measure the sizes of the parts to be measured based on the first measurement programs corresponding to the parts to be measured. Therefore, the type of the part to be measured is identified by replacing manual work through the vision module, and a corresponding measurement program is acquired according to the type of the part to be measured, so that the part to be measured is measured based on the measurement program. The size measurement process of the parts is automatically completed, the labor cost is reduced, and the efficiency of size measurement is improved. In addition, because the dimension measurement process of the parts can be automatically completed, dimension measurement can be performed by utilizing the time when personnel cannot watch at night, and the utilization rate of the part measurement equipment is improved.
In some embodiments, the vision module may be moved, and the measurement module may also be moved, where both of them need to be moved above and around the component to be measured, so, to ensure safety, that is, to ensure that the two cannot collide with each other, safety measures may be added in the working process of the measurement device of the component, so as to ensure safety of the measurement device of the component. Specific examples are described in detail below.
Further, step 203 may comprise step 203a and step 203b on the basis of any of the above embodiments.
Step 203a, after determining that the vision module is at the safe position, controlling the measurement module to measure the sizes of the parts to be measured based on the first measurement programs corresponding to the parts to be measured, respectively, so as to obtain measurement results corresponding to the parts to be measured.
The safe position refers to the position and the posture of the vision module, and the position and the posture are in a position and the posture which do not cause injury to personnel and equipment. Since the measuring module is usually in an initial position, the measuring head of the measuring module usually moves around the part to be measured when the measuring procedure is performed, so the vision module needs to ensure that the vision module cannot collide with the measuring head of the measuring module, i.e. is in a safe position.
Further, it may be determined whether the vision module is in a safe position by the light curtain infrared module.
In this embodiment, after determining that the vision module is at the safe position, the control module controls the measurement module to measure the sizes of the parts to be measured respectively based on the first measurement programs corresponding to the parts to be measured respectively, so as to obtain measurement results corresponding to the parts to be measured.
Further, prior to step 203a, the control module may place the vision module in a safe position by sending an end-of-job instruction to the vision module. The vision module may also be preset to be automatically in a safe position after the shooting of the part image is completed.
Further, in one possible implementation, the vision module may return to the safe position after acquiring the part images of all the parts under test, and the vision module sends the part images to the control module. The control module determines the type and the first position information of each part to be measured, acquires a corresponding first measurement program according to the type of each part to be measured, and sends the first measurement program and the first position information of each part to be measured to the measurement module. The measuring module is used for measuring the sizes of the parts to be measured based on a first measuring program and first position information of the parts to be measured, and the measuring module returns to a safe position of the measuring module after measuring.
In another possible implementation, the vision module may return to the secure position after each acquisition of a part image of one part under test, and the vision module sends the part image to the control module. The control module determines the type and the first position information of the part to be measured, acquires a corresponding first measurement program according to the type of the part to be measured, and sends the first measurement program and the first position information of the part to be measured to the measurement module. The measurement module performs size measurement on the part to be measured based on a first measurement program and first position information of the part to be measured, returns to a safe position of the measurement module after the measurement of the part to be measured is completed, and sends a measurement completion notification to the control module. The control module controls the vision module to continuously acquire the part image of the next part to be measured, and returns to the execution of the 'return to the safe position' until the measurement module measures all the parts to be measured.
In some embodiments, step 203 is followed by step 204 as follows.
And 204, sending measurement results corresponding to the parts to be measured to the terminal equipment.
The measurement results corresponding to the parts to be measured comprise measurement result data corresponding to the parts to be measured.
The measurement results corresponding to the parts to be measured further comprise first position information of the parts to be measured and/or measurement time of the parts to be measured.
In general, the position of the part to be measured in the area to be measured is not changed before and after the measurement is performed on the part to be measured, so that the measurement result can carry the first position information of the part to be measured, and the terminal device can determine that the measurement result is the measurement result of the part to be measured corresponding to the first position information. In addition, when the parts to be measured are measured, the measurement sequence of the parts to be measured can be determined according to the relative position relationship of the parts to be measured in the preset area, so that the parts to be measured corresponding to the measurement result can be determined according to the measurement time of the parts to be measured.
In this embodiment, after the measurement is finished, the measurement results corresponding to the parts to be measured are sent to the terminal device, so that the measurement results are automatically derived, and the efficiency is improved.
In some embodiments, the method provided in this embodiment may further include the following step 205.
Step 205, after the preset event occurs, storing the preset event information.
Recording a preset event generated in the running process of the measuring equipment of the part to obtain event information. The preset event refers to an event affecting normal operation of the measurement device of the component, for example, an event that the vision module collides with the measurement module in the operation process.
The event information may include, but is not limited to, time information of event occurrence, event description information, and information of whether to resolve.
The event information of the processing unit is convenient to trace back the occurred event, so that the cause is timely searched and solved, and the equipment is convenient to maintain.
In some embodiments, the method provided in this embodiment may further include the following step 206.
Step 206, displaying the measurement related data in real time.
The measurement related data may include at least one of first position information, second position information, a type of the part to be measured, a measurement result of the part to be measured, and the like.
A specific implementation of the method provided in the present disclosure is illustrated below by taking a measurement module as an example of a contact space measurement instrument. Hereinafter, the touch space measuring instrument will be simply referred to as a coordinate machine.
Step 1, a inspector imports a CAD model of a part to be measured and a measuring program of the part to be measured into a database.
And 2, placing dovetail grooves in quadrants with different colors on a working table surface of the coordinate machine.
The dovetail groove can be used for simply positioning armor for parts with different structures.
And 3, placing the part to be tested on the workbench surface of the coordinate machine by a detector.
When the detecting personnel place the parts to be measured, the parts can be placed in a crossed mode, and the simple armor positioning placement can be performed on the dovetail groove according to different sizes.
And 4, starting automatic module software by a detector, sending an instruction to a vision module, executing identification work of the parts to be detected in the working table surface area of the coordinate machine by the vision module, determining the number of the parts to be detected through identification, and simultaneously identifying the coordinate positions of the parts to be detected on the working table surface and storing the coordinate positions in a database.
And 5, matching the vision module in the deep-learned gallery, determining the type of the part to be tested, and determining a measuring program corresponding to the part to be tested.
And step 6, after the first part program to be tested is called out, the first part program to be tested is sent to a coordinate machine. The vision module returns to the secure position.
And 7, after the vision module returns to the safe position, the control module sends a measurement starting instruction to the coordinate machine.
And 8, measuring the size of the part to be measured by a coordinate machine.
And 9, after the measurement program of the part to be measured in the coordinate machine is run, deriving a measurement result by using a script file in the program, and automatically performing the measurement work of the next part to be measured.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a measurement device for a component according to an embodiment of the disclosure, and as shown in fig. 3, the measurement device for a component according to the embodiment may include:
the vision module 301 is configured to determine a type of at least one part to be tested in the preset area after receiving the measurement start instruction.
And the processing module 302 is configured to obtain a first measurement program corresponding to each part to be measured according to the type of each part to be measured in the at least one part to be measured.
The measurement module 303 is configured to control the measurement module 303 to measure the sizes of the parts to be measured based on the first measurement programs corresponding to the parts to be measured, respectively, so as to obtain measurement results corresponding to the parts to be measured.
In some embodiments, the vision module 301 is specifically configured to acquire a part image of at least one part under test in the predetermined area;
the processing module 302 is specifically configured to determine, according to the part image, a type of each part to be tested in the at least one part to be tested.
In some embodiments, the processing module 302 is specifically configured to import the part image into a part type classification model to obtain types of parts to be tested, where the part type classification model is built based on a deep learning model and is a model that is automatically learned in advance.
In some embodiments, the processing module 302 is further configured to determine first location information of each part under test based on the part image of the at least one part under test;
the measurement module 303 is specifically configured to control the measurement module 303 to measure the sizes of the parts to be measured based on a first measurement program of the parts to be measured and first position information of the parts to be measured, so as to obtain measurement results corresponding to the parts to be measured.
In some embodiments, the first position information of each part to be tested includes coordinate information of a feature point of each part to be tested, and the vision module 301 is further configured to obtain, from a start position of the preset area, a sub-area image of each sub-area of the preset area;
The processing module 302 is further configured to determine two-dimensional position information of each part to be measured in the preset area according to the sub-area image of each sub-area of the preset area;
the vision module 301 is specifically configured to obtain part images of each part to be measured according to the measurement sequence of each part to be measured and the two-dimensional position information of each part to be measured in the preset area.
In some embodiments, the measurement module 303 is specifically configured to, after determining that the vision module 301 is in the safe position, control the measurement module 303 to measure the size of each part to be measured based on a first measurement program corresponding to each part to be measured, so as to obtain a measurement result corresponding to each part to be measured.
In some embodiments, the apparatus further comprises:
The device comprises a transmitting module, a terminal device and a control module, wherein the transmitting module is used for transmitting measurement results corresponding to all parts to be measured to the terminal device, the measurement results corresponding to the parts to be measured comprise measurement result data corresponding to the parts to be measured, and the measurement results corresponding to the parts to be measured further comprise first position information of the parts to be measured and/or measurement time of the parts to be measured.
The implementation principle and beneficial effects of the device provided in this embodiment are similar to those of the above method embodiment, and are not described here again.
The disclosure provides a measurement device for parts, comprising a control module, a vision module and a measurement module. The control module is configured to perform the method of the embodiment shown in fig. 2 described above.
The implementation principle and the beneficial effects of the device provided in this embodiment are similar to those of the above method embodiment, and are not described here again.
Based on the measurement method of the components described in any of the above embodiments, the present disclosure further provides a computer readable storage medium, for example, a non-transitory computer readable storage medium may be a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the method for measuring components described in any of the above embodiments, which will not be described herein.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method of measuring a component, the method comprising:
After receiving a measurement starting instruction, determining the type of at least one part to be measured in a preset area through a vision module;
respectively acquiring a first measurement program corresponding to each part to be measured according to the type of each part to be measured in the at least one part to be measured;
Based on the first measurement program corresponding to each part to be measured, the control measurement module respectively performs size measurement on each part to be measured to obtain measurement results corresponding to each part to be measured.
2. The method according to claim 1, wherein the determining, by the vision module, the type of the at least one part to be tested in the predetermined area comprises:
acquiring part images of at least one part to be tested in the preset area through the vision module;
And respectively determining the type of each part to be tested in the at least one part to be tested according to the part image.
3. The method of claim 2, wherein the determining the type of each part under test in the at least one part under test from the part image comprises:
the part image is imported into a part type classification model,
And the model is built based on a deep learning model and is subjected to autonomous learning in advance.
4. The method of claim 2, wherein the acquiring, by the vision module, the part image of the at least one part under test in the predetermined area further comprises:
Determining first position information of each part to be tested according to the part image of the at least one part to be tested;
the control measurement module performs size measurement on each part to be measured based on the first measurement program corresponding to each part to be measured, to obtain measurement results corresponding to each part to be measured, including:
Based on the first measurement program of each part to be measured and the first position information of each part to be measured, the control measurement module respectively performs size measurement on each part to be measured to obtain measurement results corresponding to each part to be measured.
5. The method of claim 4, wherein the acquiring, by the vision module, the part image of the at least one part under test in the predetermined area comprises:
starting from the initial position of the preset area, respectively acquiring sub-area images of all sub-areas of the preset area through the vision module;
determining two-dimensional position information of each part to be tested in the preset area according to the subarea image of each subarea of the preset area;
Determining the sequence of measuring each part to be measured according to the second position information of each part to be measured;
According to the measuring sequence of each part to be measured and the two-dimensional position information of each part to be measured in the preset area, part images of each part to be measured are obtained through the vision module respectively;
The determining the first position information of each part to be tested according to the part image of the at least one part to be tested includes:
determining coordinate information of feature points of each part to be tested according to the part image of the at least one part to be tested;
and taking the coordinate information of the characteristic points of the part to be measured as the first position information of the part to be measured.
6. The method according to claim 1, wherein the controlling the measuring module to measure the dimensions of each part to be measured based on the first measuring program corresponding to each part to be measured, respectively, to obtain the measuring result corresponding to each part to be measured, includes:
After the vision module is determined to be in the safety position, based on the first measurement program corresponding to each part to be measured, the control measurement module is used for measuring the size of each part to be measured, and the measurement result corresponding to each part to be measured is obtained.
7. The method according to any one of claims 1 to 6, further comprising, after obtaining the measurement results corresponding to each part to be measured:
And sending measurement results corresponding to the parts to be measured to terminal equipment, wherein the measurement results corresponding to the parts to be measured comprise measurement result data corresponding to the parts to be measured, and the measurement results corresponding to the parts to be measured further comprise first position information of the parts to be measured and/or measurement time of the parts to be measured.
8. A measurement device for parts, comprising:
The vision module is used for determining the type of at least one part to be measured in the preset area after receiving the measurement starting instruction;
The processing module is used for acquiring a first measurement program corresponding to each part to be measured according to the type of each part to be measured in the at least one part to be measured;
And the measurement module is used for respectively carrying out size measurement on each part to be measured based on a first measurement program corresponding to each part to be measured, so as to obtain measurement results corresponding to each part to be measured.
9. A measuring device for components, characterized by comprising a control module, a vision module and a measuring module, said control module being adapted to perform the method according to any of the preceding claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202510435288.3A 2025-04-08 2025-04-08 Method, apparatus, device and computer readable storage medium for measuring parts Pending CN120274685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510435288.3A CN120274685A (en) 2025-04-08 2025-04-08 Method, apparatus, device and computer readable storage medium for measuring parts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510435288.3A CN120274685A (en) 2025-04-08 2025-04-08 Method, apparatus, device and computer readable storage medium for measuring parts

Publications (1)

Publication Number Publication Date
CN120274685A true CN120274685A (en) 2025-07-08

Family

ID=96246193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510435288.3A Pending CN120274685A (en) 2025-04-08 2025-04-08 Method, apparatus, device and computer readable storage medium for measuring parts

Country Status (1)

Country Link
CN (1) CN120274685A (en)

Similar Documents

Publication Publication Date Title
US11511421B2 (en) Object recognition processing apparatus and method, and object picking apparatus and method
US10234260B2 (en) Method to control a drive mechanism of an automated machine having a camera
CN106826809B (en) Posture measurement apparatus and robot system
CN112161619B (en) Pose detection method, three-dimensional scanning path planning method and detection system
CN103846739B (en) Laser projection method and laser projection device
US20190193268A1 (en) Robotic arm processing system and method, and non-transitory computer-readable storage medium therefor
JP2017071001A (en) Robot system provided with camera for imaging target mark
US11045918B2 (en) Method for determining an X-Y-Z reference coordinate of a workpiece, and machine tool
US20180374265A1 (en) Mixed reality simulation device and computer readable medium
JP2017033429A (en) 3D object inspection system
US11436754B2 (en) Position posture identification device, position posture identification method and position posture identification program
KR101535801B1 (en) Process inspection device, method and system for assembling process in product manufacturing using depth map sensors
EP3322959B1 (en) Method for measuring an artefact
CN116678348B (en) Method and device for detecting missing parts of whole diesel engine
CN109313019A (en) For identification and confirm the CMM equipment of contact pilotage
JP6538345B2 (en) Work measuring device of machine tool
JP7397100B2 (en) Work image analysis device, work image analysis method, and program
CN120274685A (en) Method, apparatus, device and computer readable storage medium for measuring parts
CN220912219U (en) Automatic three-dimensional measuring device for rocket engine shell
JP2022123510A (en) SUPPORT SYSTEM, IMAGE PROCESSING DEVICE, SUPPORT METHOD AND PROGRAM
CN210893004U (en) Thread image acquisition positioning device based on vision guide
CN113670223A (en) 3D vision detection system and method thereof
CN113670816A (en) Device and system for visual identification positioning guide
CN114119926A (en) A method and related device for constructing a three-dimensional temperature field of a power inspection robot
KR101888363B1 (en) Sensor Test Bed, Object Sensing Device, Object Sensing Method for Sensing the 3D Shape of The Object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination