Automatic machining detection method for mold

By using macro programs and high-precision detectors in CNC machine tools, the deviations in the mold processing process are monitored and corrected in real time, and the problem that the intelligent mold detection method in the existing technology cannot be monitored and corrected in real time is solved, and the mold production efficiency and quality are improved.

CN120170548APending Publication Date: 2025-06-20WUHAN LIANSU PRECISION MOLD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510350762.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In the prior art, the intelligent mold detection method cannot monitor the mold processing process in real time, and promptly discover and correct processing deviations, resulting in low mold production efficiency.

Method used

By inputting standard information of mold parts into the CNC unit of the CNC machine tool, setting the allowable error range, calling a macro program to control the machine tool tool unit processing, and measuring the processing results through a high-precision detector, automatically comparing and correcting the deviation until the qualified standards are met.

Benefits of technology

Real-time monitoring and correction of the mold processing process is achieved, the accuracy of inspection and production efficiency are improved, and the comprehensiveness and consistency of mold quality is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120170548A_ABST
    Figure CN120170548A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mold machining, in particular to an automatic machining detection method for a mold. The method comprises the following steps: inputting standard information of a mold part in a numerical control unit, and inputting a machining command in a macro program; calling a machine tool cutter unit to execute a machining command in the macro program to machine a mold part; the high-precision detector is used for measuring position coordinates and size information of the machined mold part in a machine tool coordinate system, the measured information is transmitted to the numerical control unit to be compared with standard information of the mold part, and whether the machined mold part is qualified or not is judged; and if the die part is not qualified, the numerical control unit generates the correction value larger than the value according to the setting rule of the macro program, and the macro program is called again to repeat the machining and measuring steps until the die part is qualified. The technical problem that in the prior art, an intelligent mold detection method cannot monitor the mold machining process in real time, and machining deviation cannot be found and corrected in time, so that the mold production efficiency is low is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mold processing, and particularly relates to an automatic processing and detection method for molds. Background Art

[0002] During the mold processing, the processing quality of the forming and blanking tools and the precision of the shearing die and die-cutting die are directly related to the quality and production efficiency of the final product. Especially for the quality of the patterns and textures on the mold surface, if they do not meet the qualified standards and requirements, surface defects will occur after the product is demolded. Traditional detection is carried out manually, with low accuracy.

[0003] In this regard, the patent document with the application publication number of CN117197103A discloses an intelligent detection method and system for mold processing. The detection method includes: first, obtaining the surface image of the mold to be detected; then converting the surface image of the mold to be detected into grayscale to obtain the grayscale image of the mold surface; then performing histogram equalization preprocessing and CLAHE color correction on the obtained grayscale image of the mold surface to obtain an enhanced mold surface detection image; then processing the enhanced mold surface detection image through a hybrid convolutional layer to obtain a detection feature map; performing robust clustering optimization on the detection feature map to obtain an optimized detection feature map; and finally classifying the optimized detection feature map through a classifier to obtain a classification result, and representing whether the quality of the mold to be detected is qualified through the classification result.

[0004] It can be seen that the above detection method can obtain the surface image of the mold to be detected based on the deep neural network model, process and classify the obtained surface image, and judge whether the mold is qualified, realizing the automatic detection of the mold surface quality, and improving the detection efficiency and accuracy of the mold quality to a certain extent. However, the above detection method can only judge whether the quality of the processed mold is qualified, and cannot monitor the mold processing process in real time, discover and correct the deviations in the processing process in time, nor can it provide processing suggestions for unqualified molds, resulting in low production efficiency of the molds. Summary of the Invention

[0005] The present invention provides an automatic processing and detection method for molds to solve the technical problem in the prior art that the intelligent detection method for molds cannot monitor the mold processing process in real time, discover and correct the processing deviations in time, resulting in low production efficiency of the molds.

[0006] To solve the above problems, the automatic processing and detection method for molds provided by the present invention adopts the following technical solutions:

[0007] An automatic processing and detection method for molds includes the following steps:

[0008] S1: Input the standard information of the mold parts into the numerical control unit of the CNC machine tool, set the allowable error range, and input the processing commands for controlling the tool unit of the machine tool in the macro program according to the standard information of the mold parts;

[0009] S2: The CNC machine tool calls the tool unit of the machine tool to execute the processing commands in the macro program to process the mold parts;

[0010] S3: Through the macro program, call the high-precision detector to measure the position coordinates, dimension information and surface roughness of the mold parts processed in step S2 in the machine tool coordinate system, and transmit the measured information to the numerical control unit. The numerical control unit compares the received information of the mold parts with the standard information of the mold parts. If the deviation between the two is within the error range, it is determined that the mold parts processed in step S2 are qualified. If the deviation between the two is greater than the error range, it is determined that the mold parts processed in step S2 are unqualified;

[0011] S4: When it is determined that the mold parts processed in step S2 are qualified, the display unit of the CNC machine tool issues a processing completion signal. When it is determined that the mold parts processed in step S2 are unqualified, the numerical control unit generates a correction value for the greater value according to the setting rules of the macro program, and re-calls the macro program to repeat step S3 until it is determined that the processed mold parts are qualified.

[0012] The beneficial effects of the automatic processing and detection method for molds provided by the present invention are as follows: During the production process of molds, if it is only possible to judge whether the processed mold parts are qualified, separate the qualified mold parts from the unqualified mold parts, and it cannot provide suggestions for the processing of unqualified mold parts, which will lead to a significant reduction in the production efficiency of mold parts. The automatic processing and detection method for molds provided by the present invention uses a macro program to call a high-precision detector to detect mold parts, with high automation, avoiding errors caused by manual detection and improving the accuracy of detection; By detecting the size, position and surface roughness of the mold, the quality of the mold is comprehensively ensured; By using a high-precision detector to check the mold parts after a single processing and analyzing the obtained data, the deviation in the processing process can be found in time and corrective suggestions can be put forward, facilitating timely correction of the mold processing process, thereby improving the production efficiency of the mold.

[0013] Through the above settings, the present invention effectively solves the technical problem in the prior art that the intelligent detection method for molds cannot monitor the mold processing process in real time, discover and correct processing deviations in time, resulting in low mold production efficiency.

[0014] Further, the macro program includes a detector calling module and an evaluation rule library module.

[0015] Further, the evaluation rule library module includes a detection result comparison rule and a secondary loop processing inspection logic rule.

[0016] Further, the macro program is stored in an external device, and the external device is signal-connected to the numerical control unit.

[0017] Further, the external device is connected to the numerical control unit through a network cable.

[0018] Beneficial effects: Storing the macro program in an external device and connecting the external device to the numerical control unit of the CNC machine tool through a network cable. Compared with storing the macro program in the hard disk of the machine tool, the size of the macro program is not limited by the storage space of the machine tool hard disk, and there is no need to streamline the macro program, so as to achieve the purpose of processing workpieces while transmitting data.

[0019] Further, the high-precision detector is a machine tool probe.

[0020] Further, the machine tool probe is a contact type machine tool probe.

[0021] Beneficial effects: The contact type machine tool probe triggers signals through physical contact, is not affected by external factors such as light and temperature, and can accurately measure parameters such as the size and shape of workpieces.

[0022] Further, the CNC machine tool is a multi-axis CNC machine tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the drawings, several embodiments of the present invention are shown in an exemplary rather than restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0024] Figure 1 is a flowchart of the automatic processing and detection method for molds provided by the present invention;

[0025] Figure 2 is a schematic diagram of the main program and subprogram of the macro program in the automatic processing and detection method for molds provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0026] The following refers to several representative embodiments of the present invention to elaborate in detail the principles and spirit of the present invention.

[0027] Embodiments of the automatic processing and detection method for molds provided by the present invention:

[0028] As Figure 1 shown, the automatic processing and detection method for molds includes the following steps:

[0029] S1: Input the standard information of the die parts into the numerical control unit of the CNC machine tool, set the allowable error range, and input the machining commands for controlling the tool unit of the machine tool into the macro program according to the standard information of the die parts.

[0030] S2: The CNC machine tool calls the tool unit of the machine tool to execute the machining commands in the macro program to machine the die parts.

[0031] S3: Through the macro program, call the high-precision detector to measure the position coordinates, dimensional information, and surface roughness of the die parts machined in step S2 in the machine tool coordinate system, and transmit the measured information to the numerical control unit. The numerical control unit compares the received information of the die parts with the standard information of the die parts. If the deviation between the two is within the error range, it is determined that the die parts machined in step S2 are qualified; if the deviation between the two is greater than the error range, it is determined that the die parts machined in step S2 are unqualified.

[0032] S4: When it is determined that the die parts machined in step S2 are qualified, the display unit of the CNC machine tool issues a machining completion signal. When it is determined that the die parts machined in step S2 are unqualified, the numerical control unit generates a correction value for the greater value according to the setting rules of the macro program, and re-calls the macro program to repeat step S3 until it is determined that the machined die parts are qualified.

[0033] Among them, the macro program includes a detector calling module and an evaluation rule library module. The evaluation rule library module includes a detection result comparison rule and a secondary loop machining inspection logic rule.

[0034] The macro program is stored in an external device, and the external device is signal-connected to the numerical control unit of the CNC machine tool. In this embodiment, the external device is connected to the numerical control unit of the CNC machine tool through a network cable. In other embodiments, the macro program is copied on the hard disk of the machine tool of the CNC machine tool. During machining, the numerical control unit directly calls the macro program for use. It should be noted that for the purpose of cost savings, machine tool manufacturers usually do not make the hard disk for storing machining program data of the machine tool large (the storage space of the general machine tool hard disk is about 200MB). Therefore, the macro program stored in the machine tool hard disk can only be a reduced code, and the connection method of connecting the macro program and the numerical control unit through a network cable is not limited by the storage space of the machine tool hard disk. Therefore, currently, a network cable is often used to connect the macro program and the numerical control unit to achieve the purpose of machining while transmitting.

[0035] In this embodiment, the high-precision detector is a machine tool probe, and it is a contact type machine tool probe; in other embodiments, the high-precision detector is a non-contact type machine tool probe or a laser interferometer.

[0036] In this embodiment, the CNC machine tool is a multi-axis CNC machine tool. In other embodiments, the CNC machine tool is a machining center.

[0037] First, macro programs allow the use of variables to perform corresponding operations, and the actual variable values can be assigned through macro program instructions. This makes macro programs more flexible and efficient when processing data and performing operations. In controlling the operation of the tool, the macro program can automatically adjust parameters such as the feed rate and cutting depth of the tool according to preset variables and calculation formulas, thereby optimizing the machining process. When controlling the inspection instrument to inspect the workpiece, the macro program can automatically adjust the inspection parameters and paths, improving the inspection efficiency. Therefore, the use of macro programs can significantly improve the overall efficiency of the production line.

[0038] Second, macro programs have a high degree of precision and repeatability. Once a macro program is written and verified, it can ensure that the same machining program is repeatedly executed, thus eliminating the errors caused by differences in the personal skill levels of operators. This is crucial for ensuring machining quality and product consistency. When controlling the operation of the tool and the inspection instrument to inspect the workpiece, the macro program can ensure that each operation is carried out according to the preset parameters and paths, thereby greatly reducing the manual precision error.

[0039] Third, macro programs have powerful variable assignment and expression calculation capabilities, which enables them to easily handle various complex and changing machining requirements. When the shape or size of the workpiece changes, only the relevant variables and calculation formulas in the macro program need to be modified, without having to rewrite the entire program. This flexibility makes macro programs perform excellently when machining workpieces with regular changes. At the same time, macro programs can also be combined with other numerical control functions, such as automatic measurement and tool compensation, to further enhance their applicability and functions.

[0040] Next, taking the machining of the insert of mold B as an example, the automatic machining and inspection method for molds provided by the present invention will be introduced in detail.

[0041] The standard diameter of the core fixing hole on the insert of mold B is 20.00 mm, and the standard diameter of the fixing hole of the insert of mold B is also 20.00 mm. Before machining, first input the standard dimension information of the mold part, that is, a diameter of 20.00 mm, set the allowable error range to 0.02 mm in the numerical control unit of the numerical control machine tool, and then input the machining command for controlling the tool unit of the machine tool in the macro program according to the standard dimension information of the mold part. Some code instructions and code meanings of the machining command are shown in Table 1; afterwards, the numerical control machine tool calls the tool unit of the machine tool to execute the machining command in the macro program to machine the mold part.

[0042] Table 1 Some code instructions and code meanings of the machining command

[0043]

[0044]

[0045]

[0046] Note: 1. In Table 1, each code is executed in sequence from left to right and from top to bottom;

[0047] 2. The I / O port refers to the input / output port.

[0048] After the fixing holes on the insert of Die B are machined, first call the high-precision detector to execute the detection program, that is: in the machine tool coordinate system, with the origin of the machine tool coordinate system as the center and a radius of 10 mm, a circle with a diameter of 20 mm is obtained. Among them, the coordinates of the two points at the far end of the circle diameter are X-10.00 and X10.00 respectively, and the high-precision detector executes the trajectory from X-10.00 to X10.00; if the diameter of the machined fixing hole in the insert of Die B is 19.9 mm, when the high-precision detector executes the detection program, it will touch the inner wall of the fixing hole at the coordinates X-9.95 and X9.95. After that, the high-precision detector transmits the two coordinate information of X-9.95 and X9.95 detected to the numerical control unit. The numerical control unit compares the detected coordinate information of X-9.95 and X9.95 with the standard coordinate information of X-10.00 and X10.00. According to the pre-set allowable error range and the setting rules of the macro program, the numerical control unit automatically takes the actually measured error value of 0.05 mm as the correction value, and re-calls the macro program to repeat the above processing and detection steps for the machining of the fixing hole until the deviation between the actually measured size information of the fixing hole and the standard size information is within the error range, that is, the machined fixing hole is qualified, and the display unit of the CNC machine tool issues a processing completion signal, and a qualified insert of Die B can be obtained.

[0049] It should be noted that the macro program has a program structure of "main folder + subfolder". Among them, the name of the main folder is modified to FZCHXU_ZHCHXU (FZCHXU is the name of the centering program, and ZHCHXU is the name of the main program); TOOLPATH_M98P**50 is the processing program. Adding _TOL-0.035 behind it means that the detection result range of [-0.035, 0] is qualified. If not added, it is defaulted to [-0.02, 0] being qualified; in TOOLPATH_M98P**50, ** represents the serial number. When the measurement program name is PROB I NG_M98P**50, ** also represents the serial number, and the corresponding processing program and detection program need to have the same serial number; the tolerance of the roughing program is set to 0.03mm, and the tolerance of the finishing program is set to 0.005mm; the judgment condition is A15, and the name is FZCHXU_ZHCHXU; during the operation process, the fixed upload programs FZCHXU, ZHCHXU and other subprograms are uploaded, but only the centering program and the main program are run during automatic processing (the subprograms will be called by the main program).

[0050] In the set program, the machining code is output to the subprogram, and only GOTO_ and the return N number are output in the main program. The numbers of GOTO_ and the return N number correspond to the tool path folder, and the name of the output subprogram also corresponds to the tool path folder. Take Figure 2 as an example: if the folder name is "TOOLPAHT_M98P0150", then GOTO60100 is output, the return N number is 60199, and the subprogram name is 0150.

[0051] According to the above description of this specification, those skilled in the art can also understand the following terms used, such as the terms indicating orientation or position relationship, such as "upper", "lower", "front", "rear", "left", "right", "width", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or position relationship shown in the drawings of this specification. It is only for the purpose of facilitating the description of the solution of the present invention and simplifying the description, rather than explicitly or implicitly indicating that the device or component involved must have the specific orientation, be constructed and operate in the specific orientation. Therefore, the above terms of orientation or position relationship cannot be understood or interpreted as a limitation to the solution of the present invention.

[0052] In addition, in the description of this specification, the meaning of "a plurality of" is at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

Claims

1. An automatic processing detection method for a mold, characterized in that: The steps include: S1: Input the standard information of the mold parts into the CNC unit of the CNC machine tool, set the allowable error range, and input the processing command of the tool unit of the machine tool into the macro program according to the standard information of the mold parts; S2: The CNC machine tool calls the machine tool tool unit to execute the processing commands in the macro program to process the mold parts; S3: calling a high-precision detector through a macro program to measure the position coordinates, size information and surface roughness of the mold part processed in step S2 in the machine tool coordinate system, and transmitting the measured information to the CNC unit, which compares the received information of the mold part with the standard information of the mold part. If the deviation between the two is within the error range, the mold part processed in step S2 is judged to be qualified; if the deviation between the two is greater than the error range, the mold part processed in step S2 is judged to be unqualified; S4: When it is determined that the mold part processed in step S2 is qualified, the display unit of the CNC machine tool sends a processing completion signal. When it is determined that the mold part processed in step S2 is unqualified, the CNC unit generates a correction value greater than the value according to the setting rules of the macro program, and calls the macro program again to repeat step S3 until it is determined that the processed mold part is qualified.

2. The automatic processing detection method for mold according to claim 1 is characterized in that: The macro program includes a detector calling module and an evaluation rule base module.

3. The automatic processing detection method for mold according to claim 2 is characterized in that: The evaluation rule base module includes detection result comparison rules and secondary cycle processing inspection logic rules.

4. The automatic processing detection method for molds according to any one of claims 1 to 3, characterized in that: The macro program is stored in an external device, and the external device is connected to the numerical control unit signal.

5. The automatic processing detection method for mold according to claim 4 is characterized in that: The external device is connected to the numerical control unit via a network cable.

6. The automatic processing detection method for molds according to any one of claims 1 to 3, characterized in that: The high-precision detector is a machine tool probe.

7. The automatic processing detection method for mold according to claim 6, characterized in that: The machine tool probe is a contact type machine tool probe.

8. The automatic processing detection method for molds according to any one of claims 1 to 3, characterized in that: The CNC machine tool is a multi-axis CNC machine tool.

Citation Information

Patent Citations

  • Intelligent detection method and system for mold processing

    CN117197103A

  • Numerical control machine tool and automatic precision correction method

    CN105094052A

  • Machining Machine System Which Determines Acceptance / Rejection Of Workpieces

    CN107229252A

  • Macro-program mirror image detection method, system and device and storage medium

    CN109785304A

  • Die female die hole numerical control machining program generation system and method based on point location data

    CN116974242A