Thread gauge body deviation determination method and device, storage medium and electronic equipment
By establishing a measurement point cloud model and a standard point cloud model, the body deviation of the thread gauge is determined, and the problems of low accuracy and low accuracy of the thread gauge body deviation determination method in the prior art are solved, achieving higher accuracy and accuracy.
Patent Information
- Application Number
- CN202311022642.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
In the prior art, the method for determining thread gauge body deviation is problematic of low accuracy and low accuracy.
By obtaining multiple measurement trajectories of the thread gauge to be measured, a measurement point cloud model and a standard point cloud model are established, and the volume deviation measurement results of the thread gauge are determined based on these models.
The accuracy and accuracy of the method for determining the body deviation of the thread gauge is improved, and the overall condition of the gauge can be more accurately reflected and the reliability of the detection results can be improved.
Smart Images

Figure CN119492305A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of metrology and verification, and in particular to a method, device, storage medium and electronic equipment for determining a thread gauge body deviation. Background Art
[0002] In the process of processing and producing special oil pipes, the threads of oil pipes and casings are the most important parts. In order to ensure the quality of threads, on the one hand, it is necessary to accurately set the technical parameters of thread processing, and on the other hand, it is necessary to select appropriate thread inspection tools and do a good job of thread inspection. The thread gauge for special oil pipes is a very commonly used gauge. It is mainly through the screwing of the proofreading gauge (generally placed in the calibration laboratory) and the working gauge (used on site), and then the working gauge is screwed with the special oil pipe products to check whether there is a body deviation in the comprehensive parameters (close distance) of the threads. Due to the different manufacturing materials of the gauges and frequent use, the local wear and deformation of the gauges will cause the transmission of the comprehensive parameters (close distance) of the threads to have body deviation. At present, the body deviation of the thread gauge for special oil pipes is mainly determined by the single parameter values and the matching close distance values of the calibration gauge. This method has the following problems: 1) The measurement of a single parameter can only reflect the parameters of a certain section or several sections, and cannot reflect the overall situation of the gauge and affect the test results; 2) There is a situation where the local size of the working gauge has exceeded the tolerance, but the matching close distance with the proofreading gauge is qualified, which makes the body deviation measurement result low in accuracy.
[0003] With regard to the problems of low precision and low accuracy in the method for determining the body deviation of the thread gauge in the related art, no effective solution has been proposed so far. Summary of the invention
[0004] Embodiments of the present invention provide a method, device, storage medium and electronic device for determining a thread gauge body deviation, so as to at least solve the technical problems of low precision and low accuracy existing in the method for determining a thread gauge body deviation in the related art.
[0005] According to one aspect of an embodiment of the present invention, a method for determining a body deviation of a thread gauge is provided, comprising: obtaining N measurement trajectories of a thread gauge to be measured, wherein N is an integer greater than 1; establishing a measurement point cloud model corresponding to the thread gauge to be measured based on point clouds included in the N measurement trajectories; determining a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; and determining a body deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
[0006] Optionally, establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement trajectories includes: determining the spatial coordinates corresponding to the point clouds included in the N measurement trajectories; and obtaining the measurement point cloud model based on the spatial coordinates corresponding to the point clouds included in the N measurement trajectories.
[0007] Optionally, before establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point cloud included in the N measurement trajectories, the method also includes: determining the radius of the thread gauge to be measured and a preset fitting accuracy; and determining the value of N based on the radius and the preset fitting accuracy.
[0008] Optionally, determining the value of N based on the radius and the preset fitting accuracy includes: determining the value of N based on the preset fitting accuracy and the radius in the following manner: Wherein, S is the preset fitting accuracy, and r is the radius.
[0009] Optionally, determining the standard point cloud model corresponding to the thread gauge to be measured includes: generating a standard tooth side contour line corresponding to the thread gauge to be measured based on the preset size information of the thread gauge to be measured; rotating the standard tooth side contour line with the center line of the thread gauge to be measured as the rotation center to obtain a standard digital model of the thread gauge to be measured; taking the starting position of the point cloud included in the N measurement trajectories as the starting point, collecting the N point cloud trajectories included in the standard digital model to obtain the standard point cloud model.
[0010] Optionally, determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model includes: determining the volume deviation values of the point clouds included in the measurement point cloud model to the corresponding point clouds on the standard point cloud model, and obtaining multiple volume deviation values; obtaining an average value of the multiple volume deviation values; and using the average value as the volume deviation measurement result.
[0011] Optionally, after determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model, the method further includes: obtaining a volume deviation distribution map based on the multiple volume deviation values; and calibrating the thread gauge to be measured based on the volume deviation distribution map.
[0012] According to another aspect of an embodiment of the present invention, a device for determining the body deviation of a thread gauge is also provided, comprising: a first acquisition module, used to acquire N measurement trajectories of the thread gauge to be measured, wherein N is an integer greater than 1; a first establishment module, used to establish a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement trajectories; a first determination module, used to determine a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; and a second determination module, used to determine the body deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
[0013] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the methods for determining a thread gauge body deviation.
[0014] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the methods for determining the thread gauge body deviation.
[0015] In an embodiment of the present invention, N measurement trajectories of the thread gauge to be measured are obtained, wherein N is an integer greater than 1; based on the point clouds included in the N measurement trajectories, a measurement point cloud model corresponding to the thread gauge to be measured is established; a standard point cloud model corresponding to the thread gauge to be measured is determined, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; based on the measurement point cloud model and the standard point cloud model, a volume deviation measurement result of the thread gauge to be measured is determined, thereby achieving the purpose of accurately determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model, thereby achieving the technical effect of improving the precision and accuracy of the method for determining the volume deviation of the thread gauge, and further solving the technical problems of low precision and low accuracy in the method for determining the volume deviation of the thread gauge in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0017] Figure 1is a schematic diagram of a method for determining a thread gauge body deviation according to an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of an optional thread gauge point cloud according to an embodiment of the present invention;
[0019] Figure 3 is a schematic diagram of an optional thread gauge point cloud fitting according to an embodiment of the present invention;
[0020] Figure 4 is a schematic diagram of an optional method for determining a thread gauge body deviation according to an embodiment of the present invention;
[0021] Figure 5 is a schematic diagram of a thread gauge body deviation determination device according to an embodiment of the present invention;
[0022] Figure 6 is a schematic diagram of an electronic device provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to an embodiment of the present invention, a method embodiment for determining the body deviation of a thread gauge is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flow chart of a method for determining a thread gauge body deviation according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0027] Step S102, obtaining N measurement tracks of the thread gauge to be measured, where N is an integer greater than 1.
[0028] Optionally, a scanning measuring instrument, a laser measuring instrument or other measuring equipment can be used to measure along the generatrix of the thread gauge profile to obtain N measurement tracks of the thread gauge to be measured, where N is the number of generatrixes of the tooth side profile. The tooth side profile refers to the shape of the tooth side of the thread, including the top, bottom and waist. By measuring the tooth side profile of the thread gauge, the geometric parameters of the thread gauge, such as tooth height, tooth pitch, etc., can be determined, thereby judging whether the thread gauge meets the standard. The generatrix of the thread gauge tooth side profile is the straight-line distance between the outer diameter and the inner diameter of the thread, which is used to determine the size and shape of the thread.
[0029] Step S104: establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement tracks.
[0030] Optionally, a computer-aided software can be used to establish a measurement point cloud model corresponding to the thread gauge to be measured. Since the point cloud of the thread gauge contains a large number of three-dimensional coordinate points, Figure 2 is a schematic diagram of an optional thread gauge point cloud according to an embodiment of the present invention, Figure 2 As shown, each point represents the position of a point on the surface of the thread gauge. Therefore, a measurement point cloud model corresponding to the thread gauge to be measured can be constructed based on the coordinate information of these point clouds. The model can be used for analysis, comparison and measurement of the thread gauge.
[0031] In an optional embodiment, a measurement point cloud model corresponding to the thread gauge to be measured is established based on the point clouds included in N measurement trajectories, including: determining the spatial coordinates corresponding to the point clouds included in the N measurement trajectories; and obtaining a measurement point cloud model based on the spatial coordinates corresponding to the point clouds included in the N measurement trajectories.
[0032] Optionally, based on the point clouds included in the N measurement tracks, the spatial coordinates corresponding to the point clouds included in the N measurement tracks are determined, and the spatial coordinates are imported into computer-aided software to obtain a measurement point cloud model. The measurement point cloud model can be used to perform metrological analysis, shape comparison and quality control of the thread gauge.
[0033] In an optional embodiment, before establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point cloud included in N measurement trajectories, the method also includes: determining the radius of the thread gauge to be measured and a preset fitting accuracy; and determining the value of N based on the radius and the preset fitting accuracy.
[0034] Optionally, the value of N is determined based on the radius of the thread gauge to be measured and the preset fitting accuracy, wherein the radius of the thread gauge to be measured is the radius of the outer diameter of the thread gauge to be measured. The preset fitting accuracy is the worst fitting accuracy when performing point cloud fitting on the generatrix of the thread gauge to be measured, wherein point cloud fitting is a method of converting discrete point cloud data into a continuous curve or surface. A more accurate shape of the generatrix of the thread gauge can be obtained by fitting, thereby achieving accurate measurement and analysis of the thread. When the radius of the thread gauge is a fixed value, the smaller the preset fitting accuracy is, the larger the value of N is.
[0035] In an optional embodiment, determining the value of N based on the radius and the preset fitting accuracy includes: determining the value of N based on the preset fitting accuracy and the radius in the following manner: Among them, S is the preset fitting accuracy and r is the radius.
[0036] Optionally, Figure 3 is a schematic diagram of an optional thread gauge point cloud fitting according to an embodiment of the present invention, such as Figure 3 As shown in FIG. 1 , this figure is a schematic diagram of point cloud fitting when N is equal to 4, where Figure 3 Where S is the preset fitting accuracy, r is the radius corresponding to the arc 12, and α is the center angle corresponding to the arc 12. The formula for the preset fitting accuracy, i.e. the worst fitting accuracy, is known to be: Through geometric theory derivation, we know When the radius and the preset fitting accuracy are known, the value of N can be determined according to the above formula, or by querying Table 1 to determine the value of N.
[0037] Table 1
[0038]
[0039] Step S106, determining a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud tracks included in the standard point cloud model correspond to the N measurement tracks.
[0040] Optionally, computer-aided software can be used to establish a standard point cloud model corresponding to the thread gauge to be measured based on the preset dimension information of the thread gauge to be measured, wherein the preset dimension information refers to key dimension information such as the pitch diameter, pitch, taper, and flank angle of the thread reference point. The accuracy and precision of the thread gauge can be checked by the standard point cloud model corresponding to the thread gauge, and the thread gauge can be calibrated and corrected, thereby improving the accuracy and precision of the measurement results of the body deviation of the thread gauge to be measured.
[0041] In an optional embodiment, a standard point cloud model corresponding to the thread gauge to be measured is determined, including: generating a standard tooth side contour line corresponding to the thread gauge to be measured based on preset size information of the thread gauge to be measured; rotating the standard tooth side contour line with the center line of the thread gauge to be measured as the rotation center to obtain a standard digital model of the thread gauge to be measured; taking the starting position of the point cloud included in the N measurement trajectories as the starting point, collecting N point cloud trajectories included in the standard digital model to obtain a standard point cloud model.
[0042] Optionally, based on the preset size information of the thread gauge to be measured, the tooth side profile standard line corresponding to the thread gauge to be measured is generated by the measurement software of the coordinate measuring machine, wherein the tooth side profile standard line of the thread gauge is a tooth side profile line whose shape and size meet the standard requirements. By comparing with the tooth side profile of the thread gauge, it is possible to determine whether the tooth side profile of the thread gauge meets the standard requirements and evaluate its quality level; the center line of the thread gauge to be measured is used as the rotation center, and the tooth side profile standard line is rotated to obtain a standard digital model of the thread gauge to be measured; the starting position of the point cloud included in the N measurement trajectories is used as the starting point, and the N point cloud trajectories included in the standard digital model are collected, and the standard entity digital model is decomposed into a three-dimensional point cloud with the same density as the measurement point cloud model to obtain a standard point cloud model. The N point cloud trajectories included in the standard point cloud model established by the above method correspond to the N measurement trajectories in the measurement point cloud model, thereby more accurately determining the volume deviation value of each point cloud in the measurement point cloud model.
[0043] Step S108, determining the volume deviation measurement result of the thread gauge to be measured based on the measured point cloud model and the standard point cloud model.
[0044] Optionally, computer-aided software can be used to obtain the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model. This method can improve the precision and accuracy of the measurement result and obtain a more precise and accurate volume deviation measurement result.
[0045] In an optional embodiment, based on the measurement point cloud model and the standard point cloud model, the volume deviation measurement result of the thread gauge to be measured is determined, including: determining the volume deviation values of the point clouds included in the measurement point cloud model to the corresponding point clouds on the standard point cloud model, and obtaining multiple volume deviation values; obtaining the average value of the multiple volume deviation values; and using the average value as the volume deviation measurement result.
[0046] Optionally, computer-aided software is used to calculate the volume deviation values of the point clouds included in the measurement point cloud model to the corresponding point clouds on the standard point cloud model, wherein the volume deviation value can be calculated using the Euclidean distance method, that is, calculating the straight-line distance between two points in three-dimensional space. By calculating the volume deviation values of all point clouds, the volume deviation between the entire measurement point cloud model and the standard point cloud model can be obtained, and the average value of multiple volume deviation values is used as the volume deviation measurement result. By taking the average value of multiple volume deviation values, the error caused by the random error or systematic error of individual volume deviation values can be reduced, thereby improving the reliability and accuracy of the measurement results.
[0047] In an optional embodiment, after determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model, the method also includes: obtaining a volume deviation distribution map based on multiple volume deviation values; and calibrating the thread gauge to be measured based on the volume deviation distribution map.
[0048] Optionally, multiple body deviation values are processed and analyzed to obtain a body deviation distribution graph, wherein the body deviation distribution graph may use different chart types such as histograms, box plots, scatter plots, etc. Using the body deviation distribution graph to display the distribution of body deviation values helps to understand the overall situation of the body deviation and identify abnormal values or areas of concentrated distribution. Calibration of the thread gauge according to the body deviation distribution graph can further improve the precision and accuracy of its body deviation measurement results.
[0049] Through the above steps S102 to S108, the purpose of accurately determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model can be achieved, thereby achieving the technical effect of improving the precision and accuracy of the method for determining the volume deviation of the thread gauge, and then solving the technical problems of low precision and low accuracy in the method for determining the volume deviation of the thread gauge in the related art.
[0050] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode: Figure 4 is a flow chart of an optional method for determining a thread gauge body deviation according to an embodiment of the present invention. Figure 4 As shown, the method includes:
[0051] Step S1, measuring the thread gauge using a scanning measuring instrument to obtain N measurement tracks of the thread gauge to be measured.
[0052] Step S2, determine the value of N in the following manner: Among them, S is the preset fitting accuracy and r is the radius.
[0053] Step S3, importing the point clouds included in the N measurement trajectories into computer-aided software to obtain a measurement point cloud model.
[0054] Step S4, inputting the preset dimension information of the thread gauge to be measured into computer-aided software to obtain a standard digital model.
[0055] Step S5, taking the starting position of the point cloud included in the N measurement trajectories as the starting point, collecting the N point cloud trajectories included in the standard digital model to obtain a standard point cloud model.
[0056] Step S6, using computer-aided software to calculate volume deviation values of the point clouds included in the measured point cloud model to the corresponding point clouds on the standard point cloud model.
[0057] Step S7, processing and analyzing the multiple body deviation values to obtain a body deviation distribution map.
[0058] Step S8, calibrating the thread gauge to be measured according to the body deviation distribution diagram to improve the precision and accuracy of the body deviation measurement result.
[0059] In this embodiment, a thread gauge body deviation determination device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the terms "module" and "device" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0060] According to an embodiment of the present invention, there is also provided an embodiment of a device for implementing the above-mentioned method for determining the body deviation of a thread gauge. Figure 5 is a structural schematic diagram of a device for determining a thread gauge body deviation according to an embodiment of the present invention. Figure 5 As shown, the above-mentioned thread gauge body deviation determination device includes: a first acquisition module 502, a first establishment module 504, a first determination module 506, and a second determination module 508, wherein:
[0061] A first acquisition module 502 is used to acquire N measurement tracks of the thread gauge to be measured, where N is an integer greater than 1;
[0062] A first establishing module 504, connected to the first acquiring module 502, is used to establish a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement tracks;
[0063] A first determining module 506, connected to the first establishing module 504, is used to determine a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud tracks included in the standard point cloud model correspond to the N measurement tracks;
[0064] The second determination module 508 is connected to the first determination module 506 and is used to determine the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
[0065] In the embodiment of the present invention, a first acquisition module 502 is set to acquire N measurement tracks of the thread gauge to be measured, wherein N is an integer greater than 1; a first establishment module 504 is used to establish a measurement point cloud model corresponding to the thread gauge to be measured based on the point cloud included in the N measurement tracks; a first determination module 506 is used to determine the standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on the preset size information of the thread gauge to be measured, and the N point cloud tracks included in the standard point cloud model correspond to the N measurement tracks; a second determination module 508 is used to determine the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model. The purpose of accurately determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model is achieved, thereby achieving the technical effect of improving the precision and accuracy of the method for determining the volume deviation of the thread gauge, and thus solving the technical problems of low precision and low accuracy in the method for determining the volume deviation of the thread gauge in the related art.
[0066] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0067] It should be noted that the first acquisition module 502, the first establishment module 504, the first determination module 506, and the second determination module 508 correspond to steps S102 to S108 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the modules as part of the device can be run in a computer terminal.
[0068] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.
[0069] The above-mentioned thread gauge body deviation determination device may also include a processor and a memory. The above-mentioned first acquisition module 502, first establishment module 504, first determination module 506, second determination module 508, etc. are all stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to realize corresponding functions.
[0070] The processor includes a kernel, which retrieves the corresponding program module from the memory. The kernel may be one or more. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory includes at least one memory chip.
[0071] According to an embodiment of the present invention, an embodiment of a non-volatile storage medium is also provided. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any of the above-mentioned methods for determining the body deviation of a thread gauge.
[0072] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group, and the non-volatile storage medium includes a stored program.
[0073] Optionally, when the program is running, the device where the non-volatile storage medium is located is controlled to perform the following functions: obtain N measurement trajectories of the thread gauge to be measured, where N is an integer greater than 1; based on the point clouds included in the N measurement trajectories, establish a measurement point cloud model corresponding to the thread gauge to be measured; determine a standard point cloud model corresponding to the thread gauge to be measured, where the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; based on the measurement point cloud model and the standard point cloud model, determine the volume deviation measurement result of the thread gauge to be measured.
[0074] According to an embodiment of the present invention, an embodiment of a processor is further provided. Optionally, in this embodiment, the processor is used to run a program, wherein when the program is run, any one of the thread gauge body deviation determination methods is executed.
[0075] According to an embodiment of the present invention, there is also provided an embodiment of a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes any of the above-mentioned thread gauge body deviation determination method steps.
[0076] Optionally, the above-mentioned computer program product, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: obtaining N measurement trajectories of the thread gauge to be measured, wherein N is an integer greater than 1; establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement trajectories; determining a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; and determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
[0077] Optionally, the above-mentioned computer program product is also suitable for executing a program initialized with the following method steps: determining the spatial coordinates corresponding to the point clouds included in the N measurement trajectories; and obtaining a measurement point cloud model based on the spatial coordinates corresponding to the point clouds included in the N measurement trajectories.
[0078] Optionally, the above-mentioned computer program product is also suitable for executing a program initialized with the following method steps: determining the radius of the thread gauge to be measured and a preset fitting accuracy; determining the value of N based on the radius and the preset fitting accuracy.
[0079] Optionally, the computer program product is further adapted to execute a program that is initialized with the following method steps: based on a preset fitting accuracy and radius, determining a value of N in the following manner: Among them, S is the preset fitting accuracy and r is the radius.
[0080] Optionally, the above-mentioned computer program product is also suitable for executing an initialization program having the following method steps: based on the preset size information of the thread gauge to be measured, generating a standard line of the tooth side contour corresponding to the thread gauge to be measured; using the center line of the thread gauge to be measured as the rotation center, rotating the standard line of the tooth side contour to obtain a standard digital model of the thread gauge to be measured; taking the starting position of the point cloud included in the N measurement trajectories as the starting point, collecting N point cloud trajectories included in the standard digital model to obtain a standard point cloud model.
[0081] Optionally, the above-mentioned computer program product is also suitable for executing an initialized program having the following method steps: determining the volume deviation values of the point clouds included in the measurement point cloud model to the corresponding point clouds on the standard point cloud model, and obtaining multiple volume deviation values; obtaining the average value of the multiple volume deviation values; and using the average value as the volume deviation measurement result.
[0082] Optionally, the above-mentioned computer program product is also suitable for executing a program initialized with the following method steps: obtaining a body deviation distribution map based on multiple body deviation values; and calibrating the thread gauge to be measured based on the body deviation distribution map.
[0083] like Figure 6As shown, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining N measurement trajectories of the thread gauge to be measured, wherein N is an integer greater than 1; establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement trajectories; determining a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud trajectories included in the standard point cloud model correspond to the N measurement trajectories; and determining a volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
[0084] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0085] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above modules can be a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.
[0086] The modules described above as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0087] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.
[0088] If the above-mentioned integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable non-volatile storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a non-volatile storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present invention. The aforementioned non-volatile storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0089] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining the body deviation of a thread gauge, characterized in that: include: Obtaining N measurement tracks of the thread gauge to be measured, where N is an integer greater than 1; Based on the point clouds included in the N measurement tracks, a measurement point cloud model corresponding to the thread gauge to be measured is established; Determine a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud tracks included in the standard point cloud model correspond to the N measurement tracks; Based on the measurement point cloud model and the standard point cloud model, a volume deviation measurement result of the thread gauge to be measured is determined.
2. The method according to claim 1, characterized in that The step of establishing a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement tracks includes: Determine the spatial coordinates corresponding to the point clouds included in the N measurement trajectories; The measurement point cloud model is obtained based on the spatial coordinates respectively corresponding to the point clouds included in the N measurement trajectories.
3. The method according to claim 1, characterized in that Before establishing the measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement tracks, the method further includes: Determine the radius of the thread gauge to be measured, and preset the fitting accuracy; The value of N is determined based on the radius and the preset fitting accuracy.
4. The method according to claim 3, characterized in that The determining the value of N based on the radius and the preset fitting accuracy includes: Based on the preset fitting accuracy and the radius, the value of N is determined in the following manner: Wherein, S is the preset fitting accuracy, and r is the radius.
5. The method according to claim 1, characterized in that Determining the standard point cloud model corresponding to the thread gauge to be measured includes: Based on the preset size information of the thread gauge to be measured, generating a tooth side profile standard line corresponding to the thread gauge to be measured; Taking the center line of the thread gauge to be measured as the rotation center, rotating the standard line of the tooth side profile to obtain a standard digital model of the thread gauge to be measured; Taking the starting position of the point cloud included in the N measurement trajectories as the starting point, the N point cloud trajectories included in the standard digital model are collected to obtain the standard point cloud model.
6. The method according to any one of claims 1 to 5, characterized in that The step of determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model includes: Determine volume deviation values of the point clouds included in the measured point cloud model to the corresponding point clouds on the standard point cloud model, and obtain a plurality of volume deviation values; Obtaining an average value of the plurality of body deviation values; The average is taken as the body deviation measurement.
7. The method according to claim 6, characterized in that After determining the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model, the method further includes: Based on the plurality of body deviation values, obtaining a body deviation distribution map; Based on the body deviation distribution diagram, the thread gauge to be measured is calibrated.
8. A device for determining the body deviation of a thread gauge, characterized in that: include: A first acquisition module is used to acquire N measurement tracks of the thread gauge to be measured, where N is an integer greater than 1; A first establishing module, used to establish a measurement point cloud model corresponding to the thread gauge to be measured based on the point clouds included in the N measurement tracks; A first determination module is used to determine a standard point cloud model corresponding to the thread gauge to be measured, wherein the standard point cloud model is determined based on preset size information of the thread gauge to be measured, and the N point cloud tracks included in the standard point cloud model correspond to the N measurement tracks; The second determination module is used to determine the volume deviation measurement result of the thread gauge to be measured based on the measurement point cloud model and the standard point cloud model.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for determining the thread gauge body deviation according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the thread gauge body deviation as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Method for analyzing uncertainty in high-precision measurement of complex spiral curved surfaces
CN102997875A
Detection method for pitch diameter and thread pitch of taper thread of oil bushing joint
CN110631534A
Stud characteristic parameter measuring method based on line laser scanning
CN111815503A
Metering calibration method for thread gauge
CN112729039A
Pipe fitting internal thread three-dimensional reconstruction method combined with bus measurement specification
CN115131495A