A method, system and electronic equipment for detecting and correcting the machining accuracy of a workpiece.

By generating 3D inspection data and comparing error values ​​with CNC on-machine inspection, the problem of low 2D inspection efficiency of CNC machining equipment is solved, realizing automated and efficient inspection of workpiece machining accuracy and reducing rework rate.

CN116372668BActive Publication Date: 2026-03-06ZHUHAI GREE PRECISION MOLD CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310234574.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2026-03-06
Estimated Expiration
2043-03-10

AI Technical Summary

Technical Problem

Existing on-machine inspection methods for CNC machining equipment mainly rely on two-dimensional inspection, resulting in limited inspection data, cumbersome operation, low efficiency, and a high risk of errors, which affects the machining accuracy and quality of workpieces.

Method used

A three-dimensional inspection data generation method is adopted. By establishing standard machining parameters for the workpiece, the feature type matching tolerance requirements are obtained. The machining error values ​​are compared using CNC on-machine inspection, and accuracy error compensation is performed to ensure that the error is within the threshold range.

Benefits of technology

It improves workpiece inspection efficiency, ensures processing accuracy, reduces rework rate, and realizes automated and standardized inspection of workpiece processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116372668B_ABST
    Figure CN116372668B_ABST
Patent Text Reader

Abstract

This invention provides a workpiece machining accuracy detection and correction method, detection system, and electronic equipment, belonging to the field of mechanical processing inspection technology. The method includes: establishing standard machining parameters for the workpiece; acquiring the feature type of the workpiece to be inspected, matching tolerance requirements according to the feature type, and generating three-dimensional inspection data; performing on-machine inspection via CNC, comparing and determining whether the machining error value between the generated three-dimensional inspection data and the standard machining parameters exceeds a threshold; if so, performing accuracy error compensation on the machining equipment to ensure that the machining error value is within the threshold range; if not, proceeding to the next workpiece inspection. This method can improve the inspection efficiency of CNC workpiece machining, ensure part machining accuracy, and reduce rework rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic inspection technology, and in particular to a method, inspection system and electronic equipment for workpiece machining accuracy inspection and correction. Background Technology

[0002] CNC machining equipment plays a vital role in precision machining and is now widely used in my country. Post-CNC machining inspection is crucial for workpiece accuracy and quality control. Traditional inspection methods involve manually marking quality data on the workpiece. This method primarily focuses on two-dimensional inspection of the workpiece's planes and surfaces, resulting in limited data, cumbersome and inefficient operation, and low data reference value.

[0003] Therefore, it is necessary to improve the existing on-machine inspection methods of CNC to overcome the shortcomings of the existing technology. Summary of the Invention

[0004] To overcome the problems existing in related technologies, one of the objectives of this invention is to provide a workpiece machining accuracy detection and correction method, which can improve the detection efficiency of CNC workpiece machining, ensure the machining accuracy of parts, and reduce the rework rate.

[0005] A method for detecting and correcting the machining accuracy of a workpiece includes:

[0006] Establish standard machining parameters for the workpiece;

[0007] Obtain the feature type of the workpiece to be inspected, match the tolerance requirements according to the feature type, and generate three-dimensional inspection data;

[0008] By performing on-machine inspection using CNC, it is determined whether the machining error value between the generated 3D inspection data and the standard machining parameters exceeds the threshold.

[0009] If yes, then the processing equipment is compensated for precision error to ensure that the processing error value is within the threshold range; if not, then the next workpiece is inspected.

[0010] In a preferred embodiment of the present invention, the established standard processing parameters for the workpiece include:

[0011] The workpiece model has one or more standard machining parameters, including color, structural features, and machining accuracy requirements; the structural features of the workpiece include one or more of points, grooves, fillets, and holes.

[0012] In a preferred embodiment of the present invention, the established standard processing parameters for the workpiece include:

[0013] Based on the different structural features of the workpiece, obtain the inspection tolerance range for each different feature;

[0014] The detection tolerance ranges for different features are stored in a configuration file for easy retrieval and use.

[0015] In a preferred embodiment of the present invention, the step of obtaining the feature type of the workpiece to be inspected, matching tolerance requirements according to the feature type, and generating three-dimensional inspection data includes:

[0016] Use model processing software to create a three-dimensional workpiece model;

[0017] Select a detection point on the 3D workpiece model and obtain the 3D coordinate data of the detection point;

[0018] Based on the feature type of the surface where the inspection point is located, obtain the inspection tolerance range;

[0019] The detection tolerance range is compensated into the three-dimensional coordinate data of the detection point to generate three-dimensional detection data.

[0020] In a preferred embodiment of the present invention, obtaining the three-dimensional coordinate data of the detection point includes:

[0021] Select the detection points on the plane or curved surface through the UI interface of the UG software;

[0022] Obtain the coordinates of the detection point, the direction vector of the detection point in three-dimensional space, and the radius of the detection probe sphere; calculate the center of the probe sphere using these three factors.

[0023] The center of the probe sphere is the three-dimensional coordinate data of the detection point.

[0024] In a preferred embodiment of the present invention, the step of comparing and determining whether the machining error value between the generated three-dimensional inspection data and the standard machining parameters exceeds a threshold through CNC on-machine inspection includes:

[0025] Establish a processing card module;

[0026] Insert the detected images and 3D detection data into the processing card module;

[0027] The machining card module is inspected using CNC in-machine inspection to obtain its data parameters, and the machining error of the workpiece is determined based on these data parameters.

[0028] In a preferred embodiment of the present invention, the processing card module includes a workpiece number, a workpiece name, and a processing number;

[0029] The workpiece number, the workpiece name, and the number of processing steps are used to identify different workpieces during the inspection process.

[0030] In a preferred embodiment of the present invention, the processing card module further includes a pre-processing inspection table and a post-processing inspection table;

[0031] The pre-processing inspection table is used to record the inspection data of the workpiece before processing, and the post-processing inspection table is used to record the inspection data of the workpiece after processing.

[0032] A second objective of this invention is to provide a detection system for implementing the workpiece machining accuracy detection and correction method described above.

[0033] A third objective of this invention is to provide an electronic device, comprising:

[0034] Processor; and

[0035] The memory stores executable code, which, when executed by the processor, causes the processor to perform the workpiece machining accuracy detection and correction method as described above.

[0036] The beneficial effects of this invention are as follows:

[0037] This invention provides a workpiece machining accuracy detection and correction method, detection system, and electronic device. The detection method includes the following steps: establishing standard machining parameters for the workpiece; acquiring the feature type of the workpiece to be inspected, matching tolerance requirements according to the feature type, and generating three-dimensional inspection data; performing on-machine inspection via CNC, comparing and determining whether the machining error value between the generated three-dimensional inspection data and the standard machining parameters exceeds a threshold; if so, performing accuracy error compensation on the machining equipment to ensure that the machining error value is within the threshold range; if not, proceeding to the next workpiece inspection. This method automatically determines the feature type of the workpiece and matches the corresponding tolerance requirements, and utilizes the CNC on-machine inspection function to achieve automatic workpiece inspection, improving workpiece inspection efficiency. It can also compensate for the machining accuracy of the workpiece machining equipment when the workpiece machining deviation is too large, thereby ensuring the machining accuracy of the process. Therefore, it can guarantee the machining accuracy of parts and reduce the rework rate. Attached Figure Description

[0038] Figure 1 This is a flowchart of the workpiece machining accuracy detection and correction method provided by the present invention;

[0039] Figure 2 This is a flowchart of the process for generating three-dimensional detection data provided by the present invention;

[0040] Figure 3 This is a schematic diagram of the processing card module provided by the present invention. Detailed Implementation

[0041] Preferred embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0042] The terminology used in this invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The singular forms “a,” “the,” and “the” used in this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0043] It should be understood that although the terms "first," "second," "third," etc., may be used in this invention to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this invention, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Thus, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0044] Example

[0045] Because existing CNC in-machine inspection requires manual annotation of workpiece quality inspection data, this method mainly focuses on two-dimensional inspection of workpiece planes and straight surfaces, which is not only inefficient but also prone to errors during the inspection process.

[0046] Based on the aforementioned shortcomings, such as Figures 1-2 As shown, this application provides a method for detecting and correcting the machining accuracy of a workpiece, including:

[0047] S100. Establish standard machining parameters for the workpiece; specifically, the established standard machining parameters for the workpiece include:

[0048] The workpiece model includes one or more standard machining parameters based on its color, structural features, and machining accuracy requirements. The structural features of the workpiece include one or more of points, grooves, fillets, and holes. Classifying different structural features allows for better compensation of inspection data by selecting different inspection tolerance ranges based on these features during the inspection process, thus improving inspection accuracy and saving inspection resources.

[0049] Furthermore, after establishing the standard machining parameters for the workpiece, including:

[0050] Based on the different structural features of the workpiece, obtain the inspection tolerance range for each different feature;

[0051] The detection tolerance ranges for different features are stored in a configuration file for easy retrieval and use.

[0052] By storing different structural features in different configuration files, the system can quickly retrieve the tolerance requirements of different features during the generation of 3D detection data, which helps to improve detection efficiency.

[0053] S200. Obtain the feature type of the workpiece to be inspected, match the tolerance requirements according to the feature type, and generate three-dimensional inspection data; the specific process is as follows:

[0054] S210. Use model processing software to create a three-dimensional workpiece model;

[0055] S220. Select a detection point on the three-dimensional workpiece model and obtain the three-dimensional coordinate data of the detection point;

[0056] S230. Obtain the inspection tolerance range based on the feature type of the surface where the inspection point is located;

[0057] S240. Compensate the inspection tolerance range into the three-dimensional coordinate data of the inspection point to generate three-dimensional inspection data. After generating the three-dimensional inspection data, the three-dimensional inspection data, including images and three-dimensional coordinates, can be imported into the CNC machine tool for on-machine inspection to determine whether there are errors in the workpiece processing.

[0058] S300: Through CNC on-machine inspection, compare and determine whether the machining error value between the generated three-dimensional inspection data and the standard machining parameters exceeds the threshold.

[0059] S400. If yes, then perform precision error compensation on the processing equipment to ensure that the processing error value is within the threshold range; if no, proceed to the next workpiece inspection. More specifically, the precision error compensation process for the processing equipment includes adjusting the processing tool parameters and testing with the workpiece. Batch processing is only carried out after the test results meet the standards.

[0060] Furthermore, acquiring the three-dimensional coordinate data of the detection point includes:

[0061] Select the detection points on the plane or curved surface through the UI interface of the UG software;

[0062] Obtain the coordinates of the detection point, the direction vector of the detection point in three-dimensional space, and the radius of the detection probe sphere; calculate the center of the probe sphere using these three factors.

[0063] The center of the probe sphere is the three-dimensional coordinate data of the detection point.

[0064] In this application, the coordinate information of the inspection point can be obtained through the development library functions of the UG software. Specifically, after establishing the workpiece model in UG, the inspection point is selected, and the development library function is invoked to obtain the position coordinate information of the inspection point. This application, by combining UG software to achieve workpiece inspection, can effectively save workpiece measurement time and improve workpiece measurement accuracy, thus contributing to improving the workpiece machining quality of CNC equipment.

[0065] Furthermore, the step of comparing and determining whether the machining error value between the generated 3D inspection data and the standard machining parameters exceeds a threshold through CNC on-machine inspection includes:

[0066] A processing card module is established; the processing card module includes a workpiece number, a workpiece name, and a processing count. In practical applications, the workpiece number, workpiece name, and processing count are used to identify different workpieces during the inspection process. As part of the processing card, setting different parameters such as workpiece number, workpiece name, and processing count allows the CNC to quickly read different data and identify different workpieces during the inspection process, which helps improve inspection efficiency.

[0067] After establishing the processing card module, insert the inspection images and 3D inspection data into the processing card module; the inspection images and 3D inspection data correspond one-to-one with parameters such as workpiece number, workpiece name, and number of processing operations.

[0068] The machining trolley module is used for in-machine inspection of the CNC machine to determine the machining errors of the workpiece. Each workpiece has a corresponding machining trolley. The machining trolley module makes CNC operation more standardized and automated, reduces errors from manual data input, and improves machining efficiency and quality.

[0069] More specifically, the pre-processing inspection table is used to record the inspection data of the workpiece before processing, and the post-processing inspection table is used to record the inspection data of the workpiece after processing.

[0070] The inspection data for workpieces before processing includes: for workpieces with process feet, and for workpieces without process feet, the Z-value of the top surface of the process foot needs to be provided, and the XY coordinates need to be used to find the straight surface to provide the value; for workpieces without process feet, the Z-value is provided by finding the planar position, and the XY coordinates need to be used to find the straight surface to provide the inspection value.

[0071] The inspection data of the processed workpiece includes: inspection using tools such as probes, plug gauges, and dial indicators; in a plane, the number of inspections is recorded at the machining positions of different tools, and at least two inspections are recorded for planes machined by the same tool.

[0072] This application creatively establishes a machining card module and utilizes CNC in-machine inspection to inspect the machining card module, which standardizes and automates the inspection process. It also eliminates the need for manual labeling, reduces the probability of data entry errors, and improves inspection efficiency and workpiece machining quality.

[0073] A second objective of this invention is to provide a detection system for implementing the workpiece machining accuracy detection and correction method described above. This detection system can improve the machining quality of workpieces, efficiently detect whether there are machining errors in the workpiece during the detection process, and adjust the machining equipment based on the machining errors to ensure the machining quality of a single process.

[0074] A third objective of this invention is to provide an electronic device, comprising:

[0075] Processor; and

[0076] The memory stores executable code, which, when executed by the processor, causes the processor to perform the workpiece machining accuracy detection and correction method as described above.

[0077] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0078] Memory can include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM can store static data or instructions required by the processor or other modules of the computer. Permanent storage devices can be read-write storage devices. Permanent storage devices can be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use high-capacity storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices can be removable storage devices (e.g., floppy disks, optical drives). System memory can be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory can store some or all of the instructions and data required by the processor during operation. Furthermore, memory can include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks can also be used. In some implementations, the memory may include removable storage devices that are readable and / or writable, such as laser discs (CDs), read-only digital versatile optical discs (e.g., DVD-ROMs, dual-layer DVD-ROMs), read-only Blu-ray discs, ultra-high density optical discs, flash memory cards (e.g., SD cards, mini SD cards, Micro-SD cards, etc.), magnetic floppy disks, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.

[0079] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps described in these embodiments do not limit the scope of this application. It should also be understood that, for ease of description, the dimensions of the various parts shown in the drawings are not drawn to actual scale. Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and devices should be considered part of the specification. In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters in the following drawings denote similar items; therefore, once an item is defined in one drawing, it need not be further discussed in subsequent drawings. In the description of this application, it should be understood that the orientation or positional relationship indicated by directional terms such as "front, back, up, down, left, right", "horizontal, vertical, horizontal" and "top, bottom" is usually based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description. Unless otherwise stated, these directional terms do not indicate or imply that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on the scope of protection of this application; the directional terms "inner" and "outer" refer to the inner and outer contours relative to the outline of each component itself.

[0080] For ease of description, spatial relative terms such as "above," "on top of," "on the upper surface of," "above," etc., are used herein to describe the spatial positional relationship of a device or feature as shown in the figures to other devices or features. It should be understood that spatial relative terms are intended to encompass different orientations in use or operation beyond the orientation of the device as described in the figures. For example, if the device in the figures were inverted, a device described as "above" or "on top of" other devices or structures would subsequently be positioned as "below" or "under" other devices or structures. Thus, the exemplary term "above" can include both "above" and "below." The device may also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used herein will be interpreted accordingly.

[0081] Furthermore, it should be noted that the use of terms such as "first" and "second" to define components is merely for the purpose of distinguishing the corresponding components. Unless otherwise stated, these terms have no special meaning and therefore should not be construed as limiting the scope of protection of this application. The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention can have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method of detecting and correcting machining accuracy of a workpiece, characterized by, Comprise: Establish the standard machining parameters of the workpiece; Obtain the feature type of the workpiece to be detected, match the tolerance requirements according to the feature type, and generate three-dimensional detection data; Through CNC in-machine detection, compare and judge whether the machining error value between the generated three-dimensional detection data and the standard machining parameters exceeds the threshold value; If yes, the precision error of the machining equipment is compensated to ensure that the machining error value is within the threshold value; If not, the next workpiece detection is performed; After the establishment of the standard machining parameters of the workpiece, comprising: According to the different structural features of the workpiece, obtain the detection tolerance range of each different feature; Store the detection tolerance range of different features in the configuration file for retrieval and use; The feature type of the workpiece to be detected is obtained, the tolerance requirements are matched according to the feature type, and three-dimensional detection data is generated, comprising: Establish a three-dimensional workpiece model using model processing software; Select a detection point on the three-dimensional workpiece model and obtain three-dimensional coordinate data of the detection point; According to the feature type of the detection point, obtain the detection tolerance range; Compensate the detection tolerance range to the three-dimensional coordinate data of the detection point to generate three-dimensional detection data.

2. The workpiece machining precision detection correction method according to claim 1, characterized in that: The standard machining parameters of the workpiece established include: One or more standard machining parameters of the color, structural features, and machining precision requirements of the workpiece model; wherein the structural features of the workpiece include one or more of points, grooves, fillets, and hole positions.

3. The workpiece machining precision detection correction method according to claim 1, characterized in that: The three-dimensional coordinate data of the detection point is obtained, comprising: Select a detection point on a plane or a curved surface through the ui interface of ug software; Obtain the coordinates of the detection point, the directional vector of the detection point in the three-dimensional space, and the ball radius of the detection probe ball, and calculate the ball center of the probe ball through the three; The ball center of the probe ball is the three-dimensional coordinate data of the detection point.

4. The workpiece machining precision detection correction method according to claim 1, characterized in that: The machining error value between the generated three-dimensional detection data and the standard machining parameters is compared and judged through CNC in-machine detection, comprising: Establish a machining card module; Insert the detection picture and three-dimensional detection data into the machining card module; Use CNC in-machine detection to detect the machining card module, obtain the data parameters of the machining card module, and judge the machining error of the workpiece through the data parameters of the machining card module.

5. The workpiece machining precision detection correction method according to claim 4, characterized in that: The machining card module includes workpiece number, workpiece name, and machining frequency; The workpiece number, the workpiece name, and the machining frequency are used to identify different workpieces during detection.

6. The workpiece machining precision detection correction method according to claim 5, characterized in that: The machining card module further comprises a pre-machining detection table and a post-machining detection table; The pre-machining detection table is used to record the detection data of the workpiece before machining, and the post-machining detection table is used to record the detection data of the workpiece after machining.

7. A detection system characterized by, The detection system is used to implement the workpiece machining precision detection correction method according to any one of claims 1-6.

8. An electronic device, comprising: Comprise: A processor; And A memory having stored thereon executable code that, when executed by the processor, causes the processor to perform the workpiece processing precision detection correction method of any one of claims 1-6.

Citation Information

Patent Citations

  • Detection method and detection system for part processing size standard authentication

    CN107044825A

  • Method, system and equipment for calculating angle of workpiece in numerical control machining process of die

    CN114248149A