Part measurement method, device and equipment and computer readable storage medium

Through the visual module, the visual module automatically recognizes the component type and obtains the measurement program, and combines the measurement module to perform automatic dimensional measurement, the problem of low measurement efficiency of parts is solved, and the automation measurement and equipment utilization is improved.

CN120274685APending Publication Date: 2025-07-08DELIXI ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510435288.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, the parts measurement process requires manual assistance, resulting in low measurement efficiency and waste of human resources.

Method used

Automatically identify the component type through the visual module and obtain the corresponding measurement program, and use the measurement module to perform automatic dimension measurement to realize automatic measurement of components.

Benefits of technology

It reduces labor costs, improves measurement efficiency, and can be measured during unattended periods, increasing equipment utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120274685A_ABST
    Figure CN120274685A_ABST
Patent Text Reader

Abstract

The invention provides a part measurement method, device and equipment and a computer readable storage medium, after a measurement starting instruction is received, the type of at least one to-be-measured part in a preset area is automatically obtained through a visual module, and according to the type of each to-be-measured part, the type of each to-be-measured part is determined according to the type of each to-be-measured part; and obtaining a first measurement program corresponding to each to-be-measured part, and controlling the measurement module to measure the size of each to-be-measured part based on the first measurement program corresponding to each to-be-measured part to obtain a measurement result. According to the invention, the method can achieve the automatic measurement of various types of parts at present and different types of parts in the future, reduces the labor cost, is short in size measurement time, and improves the size measurement efficiency. Besides, the size measurement process of the part can be automatically completed, so that size measurement can be carried out at night and other time when people are unattended, and the utilization rate of the measurement equipment for the part is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of measurement technologies, and particularly to a measurement method, device, equipment and computer-readable storage medium for components. Background Art

[0002] In fields such as mold equipment, gear measurement, blade measurement, machinery manufacturing, tooling fixtures, automotive mold parts, electronic appliances, etc., it is usually necessary to measure components.

[0003] Usually, when measuring the dimensions of components, manual assistance is required to complete the measurement with a measuring instrument. For example, it is necessary for personnel to place the component to be measured on a designated measuring table, manually call the component measurement program, and at the same time, it is necessary for personnel to manually guide the measuring instrument to find the coordinate position of the component on the measuring table. After the measurement of the component to be measured is completed, it is necessary for personnel to replace the component manually. This wastes human resources and the measurement efficiency is not high. Summary of the Invention

[0004] The present disclosure provides a measurement method, device, equipment and computer-readable storage medium for components to solve the problem of low measurement efficiency for dimensions.

[0005] In a first aspect, the present disclosure provides a measurement method for components, the method including:

[0006] After receiving a start measurement instruction, determining the types of at least one component to be measured in a preset area through a vision module;

[0007] Respectively obtaining a first measurement program corresponding to each of the at least one component to be measured according to the type of each component to be measured in the at least one component to be measured;

[0008] Based on the first measurement programs respectively corresponding to the components to be measured, controlling a measurement module to respectively measure the dimensions of the components to be measured, and obtaining measurement results corresponding to the components to be measured.

[0009] In some embodiments, the determining the types of at least one component to be measured in a preset area through a vision module includes:

[0010] Obtaining component images of at least one component to be measured in the preset area through the vision module;

[0011] Respectively determining the type of each component to be measured in the at least one component to be measured according to the component images.

[0012] In some embodiments, the respectively determining the type of each component to be measured in the at least one component to be measured according to the component images includes:

[0013] Import the component images into a component type classification model to obtain the types of each component to be measured; the component type classification model is established based on a deep learning model and is a model that has been autonomously learned in advance.

[0014] In some embodiments, after obtaining the component images of at least one component to be measured in the preset area through the vision module, the following further includes:

[0015] Determine the first position information of each component to be measured according to the component images of the at least one component to be measured;

[0016] Controlling the measurement module to perform dimensional measurement on each component to be measured respectively based on the first measurement program corresponding to each component to be measured, and obtaining the measurement results corresponding to each component to be measured, includes:

[0017] Based on the first measurement program of each component to be measured and the first position information of each component to be measured, control the measurement module to perform dimensional measurement on each component to be measured respectively, and obtain the measurement results corresponding to each component to be measured.

[0018] In some embodiments, obtaining the component images of at least one component to be measured in the preset area through the vision module includes:

[0019] Starting from the starting position of the preset area, obtain the sub-region images of each sub-region of the preset area respectively through the vision module;

[0020] Determine the two-dimensional position information of each component to be measured in the preset area according to the sub-region images of each sub-region of the preset area;

[0021] Determine the measurement order for each component to be measured according to the second position information of each component to be measured;

[0022] According to the measurement order of each component to be measured and the two-dimensional position information of each component to be measured in the preset area, obtain the component images of each component to be measured respectively through the vision module;

[0023] Determining the first position information of each component to be measured according to the component images of the at least one component to be measured includes:

[0024] Determine the coordinate information of the feature points of each component to be measured according to the component images of the at least one component to be measured;

[0025] Take the coordinate information of the feature points of the component to be measured as the first position information of the component to be measured.

[0026] In some embodiments, based on the first measurement program corresponding to each component to be measured, controlling the measurement module to perform dimensional measurements on each component to be measured respectively, and obtaining the measurement results corresponding to each component to be measured, including:

[0027] After determining that the vision module is in a safe position, based on the first measurement program corresponding to each component to be measured, controlling the measurement module to perform dimensional measurements on each component to be measured respectively, and obtaining the measurement results corresponding to each component to be measured.

[0028] In some embodiments, after obtaining the measurement results corresponding to each component to be measured, it further includes:

[0029] Sending the measurement results corresponding to each component to be measured to a terminal device, where the measurement results corresponding to the component to be measured include the measurement result data corresponding to the component to be measured, and the measurement results corresponding to the component to be measured further include: the first position information of the component to be measured and / or the measurement time of the component to be measured.

[0030] In a second aspect, an embodiment of the present disclosure provides a component measurement device, including:

[0031] A vision module, configured to determine the types of at least one component to be measured in a preset area after receiving a start measurement instruction;

[0032] A processing module, configured to respectively obtain the first measurement program corresponding to each component to be measured according to the type of each component to be measured in the at least one component to be measured;

[0033] A measurement module, configured to perform dimensional measurements on each component to be measured respectively based on the first measurement program corresponding to each component to be measured, and obtain the measurement results corresponding to each component to be measured.

[0034] In a third aspect, the present disclosure provides a component measurement device, including: a control module, a vision module, and a measurement module; the control module is configured to implement the method described in the first aspect when executing the program.

[0035] In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the method described in the first aspect.

[0036] The measurement method, device, equipment and computer-readable storage medium for components provided by the embodiments of the present disclosure, after receiving the start measurement instruction, automatically obtain the types of at least one component to be measured in a preset area through a vision module, respectively obtain the first measurement program corresponding to each component to be measured according to the type of each component to be measured, and based on the first measurement program corresponding to each component to be measured, control the measurement module to measure the sizes of each component to be measured respectively to obtain the measurement results. Thus, the vision module is used to replace manual identification of the types of components to be measured, and trigger the measurement module to measure the sizes of the components to be measured according to the identified types of components to be measured, so as to obtain the measurement results. The measurement process can be automatically completed for current various types of components and future different types of components, reducing the labor cost, shortening the time-consuming for size measurement, and improving the efficiency of size measurement. In addition, since the size measurement process of components can be automatically completed, the size measurement can be carried out during the time when people cannot be on duty, such as at night, improving the utilization rate of the component measurement equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a schematic structural diagram of a component measurement device provided by an embodiment of the present disclosure;

[0038] Figure 2 is a schematic flowchart of a component measurement method provided by an embodiment of the present disclosure;

[0039] Figure 3 is a schematic structural diagram of a component measurement device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0040] In the present disclosure, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression means any combination of these items, including any combination of single item (item) or multiple items (items). For example, at least one (item) of a alone, b alone or c alone may represent: a alone, b alone, c alone, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b and c may be single or multiple. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0041] The orientation or positional relationship indicated by terms such as "center", "longitudinal", "lateral", "upper", "lower", "left", "right", "front", "rear", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present disclosure.

[0042] The terms "connected" and "coupled" should be understood in a broad sense. For example, the "connection" or "coupling" of a circuit structure can refer not only to a physical connection, but also to an electrical connection or a signal connection. For example, it can be a direct connection, i.e., a physical connection, or can be indirectly connected through at least one intermediate element, as long as the circuit is connected. It can also be the communication inside two elements; the signal connection can refer not only to the signal connection through a circuit, but also to the signal connection through a media medium, for example, radio waves. For those of ordinary skill in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific situations.

[0043] During the process of measuring parts, it is usually necessary for the user to place a single part to be measured at the measurement position, find the coordinate position where the part is placed, select the measurement program corresponding to the part to be measured through the terminal device connected to the dimension measurement device, and the dimension measurement device automatically measures the part to be measured based on this detection program. After the detection is completed, the user manually removes the part to be measured from the dimension measurement device, and the measurement of the part to be measured is completed. If there are other parts to be measured, the user manually places the next part to be measured at the measurement position of the dimension measurement device, and repeats the above steps to measure the next part to be measured.

[0044] Exemplarily, the dimension measurement device can be a contact type spatial measuring instrument. The contact type spatial measuring instrument will be briefly introduced below.

[0045] The contact type spatial measuring instrument has air source braking switches and fine motion devices on all three axes, can achieve precise transmission of a single axis, and adopts a high-performance data acquisition system. The contact type spatial measuring instrument refers to an instrument that can exhibit measurement capabilities such as geometric shape, length, and circular pitch within a six-sided spatial range, and is also called a coordinate measuring machine or a coordinate measuring bed. The contact type spatial measuring instrument can also be defined as "an instrument with a detector that can move in three directions, can move on three mutually perpendicular guide rails, and this detector transmits signals in contact or non-contact ways, and the displacement measurement systems of the three axes (such as grating scales) calculate the points (x, y, z) of the workpiece and various functional measurements through a data processor or a computer, etc.". The measurement functions of the contact type spatial measuring instrument should include dimensional accuracy, positioning accuracy, geometric accuracy, and profile accuracy, etc.

[0046] Although the contact space measuring instrument can be automatically detected based on the existing program, it requires personnel to accompany and search for positioning, and the armor needs to be continuously replaced during the detection of different components, which wastes human resources and will also face idleness during off-duty hours.

[0047] It can be seen that during the process of measuring components by the above-mentioned dimensional measurement device, the user needs to operate the dimensional measurement device, which consumes labor costs. In the absence of people, the dimensional measurement device cannot complete the measurement work independently, and the measurement cannot be carried out when people are resting, such as at night.

[0048] The measurement method for components provided by the embodiments of the present disclosure can be applied to the measurement device for components. The measurement device for components will be described below.

[0049] Please refer to Figure 1 , Figure 1 which is a schematic structural diagram of a measurement device for components provided by the embodiments of the present disclosure. As Figure 1 shown, the measurement device for components provided in this embodiment includes: a control module, a vision module 101, and a measurement module 102. The control module is respectively connected to the vision module 101 and the measurement module 102. It should be noted that Figure 1 the control module is not shown in Figure 1 , and the present disclosure does not limit the position where the control module is set. Figure 1 The structures of the vision module 101 and the measurement module 102 shown in

[0050] are only examples and do not constitute a limitation on the measurement device for components of the present disclosure. Exemplarily, the control module can be a programmable logic controller (PLC), and by inputting the corresponding program, the PLC can complete the corresponding functions.

[0051] After receiving the start measurement instruction, the measurement method for components provided by the embodiments of the present disclosure automatically obtains the types of at least one component to be measured in the preset area through the vision module, respectively obtains the first measurement programs corresponding to the components to be measured according to the types of the components to be measured, and controls the measurement module to measure the sizes of the components to be measured respectively based on the first measurement programs corresponding to the components to be measured. Thus, the vision module replaces manual identification of the types of components to be measured, and obtains the corresponding measurement programs according to the types of components to be measured, so as to measure the components to be measured. The entire measurement process is automatically completed, reducing labor costs and improving the efficiency of dimensional measurement. In addition, since the dimensional measurement process of components can be automatically completed, the time when people cannot be on duty, such as at night, can be utilized for dimensional measurement, improving the utilization rate of the component measurement device.

[0052] The technical solutions provided by the present disclosure will be described in detail below with specific embodiments.

[0053] Please refer to Figure 2 , Figure 2 , which is a schematic flowchart of a method for measuring a component provided by an embodiment of the present disclosure. As Figure 2 shown, the method provided by this embodiment is executed by a component measuring device or a control module. The component measuring device may be the component measuring device as Figure 1 shown, and the control module may be the control module in the component measuring device as Figure 1 shown. The method provided by this embodiment may include the following steps 201-step 203.

[0054] Step 201: After receiving the start measurement instruction, determine the type of at least one component to be measured in a preset area through a vision module.

[0055] Among them, the start measurement instruction may be generated by a user's trigger. For example, the start measurement instruction may be triggered by a user pressing the start measurement button on the component measuring device, or may be triggered by pressing the start measurement control on the human-computer interaction module of the component measuring device. The present disclosure does not limit the trigger form of the start measurement instruction.

[0056] Among them, the vision module can identify the type of the component to be measured placed in the preset area.

[0057] Step 202: Obtain the first measurement program corresponding to each component to be measured respectively according to the type of each component to be measured among at least one component to be measured.

[0058] Since there are various types of components to be measured, the dimensions, shapes, etc. of different types of components to be measured may be different. When measuring the dimensions of the components to be measured, it is usually necessary to determine the first measurement program for this type according to the type of the components to be measured. The first measurement program usually includes the operation steps when measuring the components to be measured. Taking a contact spatial measuring instrument as an example, the contact spatial measuring instrument can perform automated measurement on the components according to the first measurement program to obtain the measurement result.

[0059] Step 203: Based on the first measurement program corresponding to each component to be measured, control the measurement module to measure the dimensions of each component to be measured respectively.

[0060] Among them, the measurement module is used to measure the dimensions of the components to be measured. Exemplarily, the measurement module may be a contact spatial measuring instrument.

[0061] The measurement method of the components provided by the embodiments of the present disclosure, after receiving the start measurement instruction, automatically obtains the types of at least one component to be measured in the preset area through the vision module, respectively obtains the first measurement programs corresponding to the components to be measured according to the types of the components to be measured, and based on the first measurement programs corresponding to the components to be measured respectively, controls the measurement module to measure the sizes of the components to be measured respectively, and obtains the measurement results. Thus, the vision module is used to replace manual identification of the types of the components to be measured, and triggers the measurement module to measure the sizes of the components to be measured according to the identified types of the components to be measured, and obtains the measurement results. The measurement process can be automatically completed for current various types of components and future different types of components, reducing the labor cost, shortening the time consumed for size measurement, and improving the efficiency of size measurement. In addition, since the size measurement process of the components can be automatically completed, the size measurement can be carried out during the time when people cannot be on duty, such as at night, improving the utilization rate of the component measurement equipment.

[0062] In some embodiments, step 201 can be implemented by the following step 2011 and step 2012.

[0063] Step 2011: After receiving the start measurement instruction, obtain the component images of at least one component to be measured in the preset area through the vision module.

[0064] Further, the vision module may include a camera. For example, the camera may be a two-dimensional camera and a three-dimensional camera.

[0065] Wherein, the component images may be one or more, and the present disclosure does not limit the number of component images. The component images may be images taken of all components to be measured in the preset area, or may be images taken of each component to be measured in the preset area respectively.

[0066] Further, the control module may send a shooting instruction to the vision module after receiving the start measurement instruction. After receiving the shooting instruction, the vision module shoots the component images of at least one component to be measured in the preset area, and the vision module sends the component images to the control module.

[0067] Step 2012: According to the component images, respectively determine the types of each component to be measured in at least one component to be measured.

[0068] In a possible implementation manner, the component images may be imported into the component type classification model to obtain the types of the components to be measured.

[0069] Among them, the component type classification model is established based on a deep learning model and is a model that has been autonomously learned in advance, that is, a model that has been pre-trained. The component type classification model can be trained by images of various types of components.

[0070] In another possible implementation, images of various types of components can be pre-stored, and the component image is compared with the pre-stored images of various types of components to determine the type of the component to be measured.

[0071] In the component measurement method provided in this embodiment, after receiving the start measurement instruction, the vision module automatically obtains the component image of at least one component to be measured in the preset area. According to the component image, the type of at least one component to be measured in the preset area is determined, and respectively according to the types of the components to be measured, the first measurement procedures corresponding to the components to be measured are obtained, and based on the first measurement procedures corresponding to the components to be measured respectively, the measurement module is controlled to measure the dimensions of the components to be measured respectively. Thus, the type of the component to be measured is identified by the vision module instead of manual labor, and the corresponding measurement procedure is obtained according to the type of the component to be measured, and based on this measurement procedure, the component to be measured is measured. The dimension measurement process of the component is automatically completed, the labor cost is reduced, and the dimension measurement efficiency is improved. In addition, since the dimension measurement process of the component can be automatically completed, the dimension measurement can be performed during the time when personnel cannot be on duty, such as at night, and the utilization rate of the component measurement equipment is improved.

[0072] In some scenarios, the measurement module needs to move to the position of the component to be measured according to the position of the component to be measured, and measure the component to be measured. Therefore, the vision module can also obtain the position information of the component to be measured, so as to control the measurement module to accurately measure the component to be measured at this position. The following will be described in detail with specific embodiments.

[0073] In some embodiments, after step 2011, the following step 2013 may further be included. Correspondingly, step 203 may be implemented by the following step 2031.

[0074] Step 2013: Determine the first position information of each component to be measured according to the component images of at least one component to be measured.

[0075] Among them, the first position information is used to indicate the position of the component to be measured in space. For example, the first position information may be the X / Y / Z coordinate information of the component to be measured in space. For example, the coordinate system used for this coordinate information may be an X / Y / Z coordinate system established with a preset point on the preset area as the origin.

[0076] Further, the coordinate positioning search of the parts to be measured can be carried out by the hand-eye calibration method. For example, the coordinate positioning search of the parts to be measured can be carried out according to the nine-point method.

[0077] Step 2031: Based on the first measurement program of each part to be measured and the first position information of each part to be measured, control the measurement module to measure the dimensions of each part to be measured respectively, and obtain the measurement results corresponding to each part to be measured.

[0078] In this embodiment, according to the part images of at least one part to be measured, determine the first position information of each part to be measured and the type of each part to be measured. Based on the first measurement program of each part to be measured and the first position information of each part to be measured, control the measurement module to measure the dimensions of each part to be measured respectively, and obtain the measurement results corresponding to each part to be measured. Automatically complete the dimension measurement process of the parts, reduce the labor cost, and improve the efficiency of dimension measurement. In addition, since the dimension measurement process of the parts can be completed automatically, the dimension measurement can be carried out during the time when people cannot be on duty, such as at night, improving the utilization rate of the part measurement equipment.

[0079] In some embodiments, step 2011 may include the following steps 20111-step 20114. Correspondingly, step 2013 may be implemented by the following steps 20131 and step 20132.

[0080] Step 20111: Starting from the starting position of the preset area, use the vision module to obtain the sub-area images of each sub-area of the preset area respectively.

[0081] Divide the preset area into multiple sub-areas, and the parts to be measured of the same type can be placed in the same sub-area. After receiving the start measurement instruction each time, start from the starting position of the preset area through the vision module, scan each sub-area, and obtain the sub-area images of each sub-area respectively.

[0082] Step 20112: According to the sub-area images of each sub-area of the preset area, determine the two-dimensional position information of each part to be measured in the preset area.

[0083] Among them, the two-dimensional position information is used to indicate the position of the part to be measured in the preset area. For example, the two-dimensional position information may be the X / Y coordinate information of the part to be measured in the preset area. For example, the coordinate system used for this coordinate information can be an X / Y coordinate system established with a preset point on the preset area as the origin.

[0084] According to the sub-area images of each sub-area, determine the parts to be measured placed in each sub-area and the two-dimensional position information of the parts to be measured.

[0085] Step 20113: Determine the measurement order for each component to be measured according to the second position information of each component to be measured.

[0086] Generally, the measurement order can be determined according to the distance of the second position information from the origin of the coordinate system, that is, the closer the sub-region is to the origin of the coordinate system, the earlier its measurement order. For the components to be measured in each sub-region, the measurement can also be carried out according to a custom measurement order.

[0087] Step 20114: According to the measurement order of each component to be measured and the two-dimensional position information of each component to be measured in the preset region, respectively obtain the component images of each component to be measured through the vision module.

[0088] Step 20131: Determine the coordinate information of the feature points of each component to be measured according to the component images of the at least one component to be measured.

[0089] Among them, the feature point refers to a point that can determine the position and attitude of the component to be measured. Generally, the feature points of a component to be measured can be one or more.

[0090] Step 20132: Use the coordinate information of the feature points of the component to be measured as the first position information of the component to be measured.

[0091] According to the measurement order of each component to be measured and the two-dimensional position information of each component to be measured in the preset region, respectively obtain the component images of each component to be measured through the vision module. It can be understood that the component image is more accurate than the sub-region image. Correspondingly, the first position information is more accurate than the second position information.

[0092] In this embodiment, starting from the starting position of the preset area, the vision module is used to obtain the sub-region images of each sub-region of the preset area respectively. According to the sub-region images of each sub-region of the preset area, the two-dimensional position information of each component to be measured in the preset area is determined, thereby realizing the rough positioning process. According to the second position information of each component to be measured, the measurement order of each component to be measured is determined. According to the measurement order of each component to be measured and the two-dimensional position information of each component to be measured in the preset area, the vision module is used to obtain the component images of each component to be measured respectively, and then the types and first position information of each component to be measured are obtained, realizing the fine positioning process. Through the above-mentioned rough positioning and fine positioning processes, the position of the component to be measured in space is accurately identified. According to the types of each component to be measured respectively, the first measurement program corresponding to each component to be measured is obtained. Based on the first measurement program corresponding to each component to be measured, the measurement module is controlled to measure the dimensions of each component to be measured respectively. Thus, the vision module is used to replace manual identification of the type of the component to be measured, and the corresponding measurement program is obtained according to the type of the component to be measured. Then, based on this measurement program, the component to be measured is measured. The dimension measurement process of the component is automatically completed, reducing the labor cost and improving the efficiency of dimension measurement. In addition, since the dimension measurement process of the component can be automatically completed, the dimension measurement can be carried out during the time when people cannot be on duty, such as at night, improving the utilization rate of the component measurement equipment.

[0093] In some embodiments, the vision module can move, and the measurement module can also move. Both need to move above and around the component to be measured. Therefore, to ensure safety, that is, to ensure that no collision or other situations occur between the two, safety measures can be added during the operation of the component measurement equipment to ensure the safety of the component measurement equipment. The following will be described in detail with specific embodiments.

[0094] On the basis of any of the above embodiments, further, step 203 may include step 203a and step 203b.

[0095] Step 203a: After determining that the vision module is in a safe position, based on the first measurement program corresponding to each component to be measured, the measurement module is controlled to measure the dimensions of each component to be measured respectively, and the measurement results corresponding to each component to be measured are obtained.

[0096] Among them, the safe position refers to the position and posture of the vision module that will not cause harm to personnel and equipment. Since the measurement module is usually in the initial position, when the measurement program is executed, the probe of the measurement module usually moves around the component to be measured. Therefore, the vision module needs to ensure that it will not collide with the probe of the measurement module, that is, it is in a safe position.

[0097] Further, the light curtain infrared module can be used to determine whether the vision module is in a safe position.

[0098] In this embodiment, after determining that the vision module is in a safe position, the control module controls the measurement module to measure the dimensions of each part to be measured respectively based on the first measurement program corresponding to each part to be measured, and obtains the measurement results corresponding to each part to be measured.

[0099] Further, before step 203a, the control module can send an end work instruction to the vision module to make the vision module in a safe position. It is also possible to pre-set that the vision module automatically enters a safe position after completing the capture of the part image.

[0100] Further, in a possible implementation manner, after the vision module obtains the part images of all parts to be measured, it returns to the safe position, 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, obtains the 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 measurement module measures the dimensions of each part to be measured respectively based on the first measurement program and the first position information of each part to be measured. After the measurement module finishes the measurement, it returns to the safe position of the measurement module.

[0101] In another possible implementation manner, after the vision module obtains the part image of one part to be measured each time, it returns to the safe position, 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, obtains the 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 measures the dimensions of the part to be measured based on the first measurement program and the first position information of the part to be measured. After the measurement module finishes the measurement, it returns to the safe position of the measurement module and sends a measurement completion notification to the control module. The control module controls the vision module to continue to obtain the part image of the next part to be measured, and returns to execute "return to the safe position" until the measurement module finishes the measurement of all parts to be measured.

[0102] In some embodiments, step 204 is further included after step 203.

[0103] Step 204: Send the measurement results corresponding to each part to be measured to the terminal device.

[0104] Among them, the measurement results corresponding to the parts to be measured include the measurement result data corresponding to the parts to be measured.

[0105] Among them, the measurement results corresponding to the parts to be measured further include: the first position information of the parts to be measured and / or the measurement time of the parts to be measured.

[0106] Generally, before and after measuring the parts to be measured, the position of the parts to be measured in the area to be measured does not change. Therefore, the measurement results can carry the first position information of the parts to be measured, so that the terminal device can determine that the measurement result is the measurement result of the parts to be measured corresponding to the first position information. In addition, when measuring the parts to be measured, usually according to the relative position relationship of the parts to be measured in the preset area, the measurement order of the parts to be measured can be determined. Therefore, according to the measurement time of the parts to be measured, the parts to be measured corresponding to the measurement result can be determined.

[0107] In this embodiment, after the measurement is completed, the measurement results corresponding to each part to be measured are sent to the terminal device, so as to automatically export the measurement results, improving the efficiency.

[0108] In some embodiments, the method provided in this embodiment may further include the following step 205.

[0109] Step 205: After a preset event occurs, store the preset event information.

[0110] Record the preset events generated during the operation of the measuring equipment for the parts to obtain event information. Among them, the preset event refers to an event that affects the normal operation of the measuring equipment for the parts, for example, an event that the vision module collides with the measurement module during the operation process.

[0111] The event information may include but is not limited to: the time information of the event occurrence, the event description information, and the information on whether it is solved.

[0112] Through the event information of the processing unit, it is convenient to trace the events that occur, find the reasons and solve them in time, which is convenient for equipment maintenance.

[0113] In some embodiments, the method provided in this embodiment may further include the following step 206.

[0114] Step 206: Real-time display of measurement-related data.

[0115] Among them, the measurement-related data may include at least one of the following: the first position information, the second position information, the type of the parts to be measured, and the measurement results of the parts to be measured, etc.

[0116] Taking the measurement module as a contact type spatial measuring instrument as an example, a specific implementation process of the method provided in the present disclosure is illustrated below. Hereinafter, the contact type spatial measuring instrument will be simply referred to as a coordinate measuring machine.

[0117] Step 1: The inspector imports the CAD model of the component to be measured and the measurement program of the component to be measured into the database.

[0118] Step 2: Place dovetail grooves of different color quadrants on the coordinate measuring machine workbench surface.

[0119] Among them, the dovetail groove can be used for simple armor positioning of components with different structures.

[0120] Step 3: The inspector places the component to be measured on the coordinate measuring machine workbench surface.

[0121] When the inspector places the components to be measured, they can be placed crosswise, or can be placed in a simple armor positioning manner on the dovetail groove with different sizes, heights, and levels.

[0122] Step 4: The inspector starts the automatic module software and sends an instruction to the vision module. The vision module performs the recognition work of the components to be measured within the area of the coordinate measuring machine workbench surface, determines the quantity of the components to be measured through recognition, and at the same time recognizes the coordinate positions of each component to be measured placed on the workbench surface and stores them in the database.

[0123] Step 5: The vision module matches in the deep - learned image library to determine the type of the component to be measured and determines the corresponding measurement program for the component to be measured.

[0124] Step 6: After retrieving the program of the first component to be measured, send it to the coordinate measuring machine. The vision module returns to the safe position.

[0125] Step 7: After the vision module returns to the safe position, the control module sends a start measurement instruction to the coordinate measuring machine.

[0126] Step 8: The coordinate measuring machine measures the dimensions of the component to be measured.

[0127] Step 9: After the measurement program of the component to be measured in the coordinate measuring machine runs to completion, export the measurement results using the script file in the program and automatically perform the measurement work on the next component to be measured.

[0128] Please refer to Figure 3 , Figure 3 which is a schematic structural diagram of a component measurement device provided by an embodiment of the present disclosure. As Figure 3 shown, the component measurement device provided by this embodiment may include:

[0129] A vision module 301, configured to determine the type of at least one component to be measured in a preset area after receiving a start measurement instruction.

[0130] A processing module 302, configured to obtain a first measurement program corresponding to each of the at least one component to be measured according to the type of each component to be measured in the at least one component to be measured.

[0131] The measurement module 303 is configured to control the measurement module 303 to perform dimensional measurements on each part to be measured respectively based on the first measurement program corresponding to each part to be measured, and obtain the measurement results corresponding to each part to be measured.

[0132] In some embodiments, the vision module 301 is specifically configured to: acquire part images of at least one part to be measured in the preset area;

[0133] The processing module 302 is specifically configured to: determine the type of each part to be measured in the at least one part to be measured respectively according to the part images.

[0134] In some embodiments, the processing module 302 is specifically configured to: import the part images into a part type classification model to obtain the types of each part to be measured; the part type classification model is established based on a deep learning model and is a model that has been autonomously learned in advance.

[0135] In some embodiments, the processing module 302 is further configured to: determine the first position information of each part to be measured according to the part images of the at least one part to be measured;

[0136] The measurement module 303 is specifically configured to: control the measurement module 303 to perform dimensional measurements on each part to be measured respectively based on the first measurement program of each part to be measured and the first position information of each part to be measured, and obtain the measurement results corresponding to each part to be measured.

[0137] In some embodiments, the first position information of each part to be measured includes the coordinate information of the feature points of each part to be measured; the vision module 301 is further configured to: starting from the starting position of the preset area, acquire sub-region images of each sub-region of the preset area respectively;

[0138] The processing module 302 is further configured to: determine the two-dimensional position information of each part to be measured in the preset area according to the sub-region images of each sub-region of the preset area; determine the measurement order for each part to be measured according to the second position information of each part to be measured;

[0139] The vision module 301 is specifically configured to: acquire part images of each part to be measured respectively according to the measurement order of each part to be measured and the two-dimensional position information of each part to be measured in the preset area.

[0140] In some embodiments, the measurement module 303 is specifically configured to: after determining that the vision module 301 is in a safe position, based on the first measurement procedures corresponding to the parts to be measured respectively, control the measurement module 303 to perform dimensional measurements on the parts to be measured respectively, and obtain the measurement results corresponding to the parts to be measured.

[0141] In some embodiments, the device further includes:

[0142] A sending module, configured to send the measurement results corresponding to the parts to be measured to a terminal device. The measurement results corresponding to the parts to be measured include the measurement result data corresponding to the parts to be measured, and the measurement results corresponding to the parts to be measured further include: the first position information of the parts to be measured and / or the measurement time of the parts to be measured.

[0143] The device provided in this embodiment has the same implementation principle and beneficial effects as the above method embodiment, which will not be elaborated here.

[0144] The present disclosure provides a measurement device for parts, including: a control module, a vision module, and a measurement module. The control module is configured to execute the method of the above Figure 2 shown embodiment.

[0145] The device provided in this embodiment has the same implementation principle and beneficial effects as the above method embodiment, which will not be elaborated here.

[0146] Based on the measurement method of parts described in any of the above embodiments, the embodiments of the present disclosure further provide a computer-readable storage medium. For example, a non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. Computer instructions are stored on the storage medium for executing the measurement method of parts described in any of the above embodiments, which will not be elaborated here.

[0147] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, or an optical disc, etc.

[0148] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

Claims

1. A measuring method for parts, characterized in that The method includes: After receiving the start measurement instruction, determining the types of at least one component to be measured in a preset area through a vision module; Respectively obtaining a first measurement program corresponding to each component to be measured according to the type of each component to be measured in the at least one component to be measured; Based on the first measurement programs respectively corresponding to the components to be measured, controlling a measurement module to perform dimensional measurement on each component to be measured respectively, and obtaining measurement results corresponding to each component to be measured.

2. The method according to claim 1, wherein The determining the types of at least one component to be measured in a preset area through a vision module includes: Obtaining component images of at least one component to be measured in the preset area through the vision module; Respectively determining the type of each component to be measured in the at least one component to be measured according to the component images.

3. The method according to claim 2, wherein The respectively determining the type of each component to be measured in the at least one component to be measured according to the component images includes: Importing the component images into a component type classification model; Obtaining the types of the components to be measured; the component type classification model is established based on a deep learning model and is a model that has been autonomously learned in advance.

4. The method according to claim 2, wherein After obtaining the component images of at least one component to be measured in the preset area through the vision module, it further includes: Determining the first position information of each component to be measured according to the component images of the at least one component to be measured; The controlling a measurement module to perform dimensional measurement on each component to be measured respectively, and obtaining measurement results corresponding to each component to be measured based on the first measurement programs respectively corresponding to the components to be measured includes: Based on the first measurement programs of the components to be measured and the first position information of the components to be measured, controlling a measurement module to perform dimensional measurement on each component to be measured respectively, and obtaining measurement results corresponding to each component to be measured.

5. The method according to claim 4, wherein The obtaining the component images of at least one component to be measured in the preset area through the vision module includes: Starting from the starting position of the preset area, respectively obtaining sub-region images of each sub-region of the preset area through the vision module; Determining the two-dimensional position information of each component to be measured in the preset area according to the sub-region images of each sub-region of the preset area; Determining the measurement order for each component to be measured according to the second position information of each component to be measured; According to the measurement order of each component to be measured and the two-dimensional position information of each component to be measured in the preset area, respectively obtaining the component images of each component to be measured through the vision module; The determining the first position information of each component to be measured according to the component images of the at least one component to be measured includes: Determining the coordinate information of the feature points of each component to be measured according to the component images of the at least one component to be measured; Taking the coordinate information of the feature points of the component to be measured as the first position information of the component to be measured.

6. The method according to claim 1, characterized in that, The controlling a measurement module to perform dimensional measurement on each component to be measured respectively, and obtaining measurement results corresponding to each component to be measured based on the first measurement programs respectively corresponding to the components to be measured includes: After determining that the vision module is in a safe position, based on the first measurement procedures respectively corresponding to the parts to be measured, control the measurement module to perform dimensional measurements on the parts to be measured respectively, and obtain the measurement results corresponding to the parts to be measured.

7. The method according to any one of claims 1 to 6, characterized in that After obtaining the measurement results corresponding to the parts to be measured, it further includes: Send the measurement results corresponding to the parts to be measured to the terminal device. The measurement results corresponding to the parts to be measured include the measurement result data corresponding to the parts to be measured, and the measurement results corresponding to the parts to be measured further include: the first position information of the parts to be measured and / or the measurement time of the parts to be measured.

8. A measuring device for a component, characterized in that, It includes: A vision module, configured to determine the types of at least one part to be measured in a preset area after receiving a start measurement instruction; A processing module, configured to respectively obtain the first measurement procedure 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; A measurement module, configured to perform dimensional measurements on the parts to be measured respectively based on the first measurement procedures respectively corresponding to the parts to be measured, and obtain the measurement results corresponding to the parts to be measured.

9. A measuring device for a component, characterized in that, It includes: A control module, a vision module and a measurement module; the control module is configured to execute the method according to any one of the above claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.