Generation method of automatic hole system measurement program

By post-processing the hole system machining program to generate an automated hole system measurement program, the problem of low efficiency in manual measurement in the existing technology is solved. It realizes the accurate measurement of hole system position and size, improves measurement efficiency and accuracy, and ensures the reliability and safety of the measurement process.

CN121386485APending Publication Date: 2026-01-23HARBIN DONGAN CIVIL AVIATION ENGINE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510921854.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

In the current hole processing process, the measurement method relies on manual measurement, which results in low measurement efficiency and is easily affected by human factors.

Method used

An automated hole measurement program is generated by post-processing the hole machining program, removing modal commands unrelated to the measurement function, adding commands for measurement planes, dimensional standards, and coordinates, and performing simulation to generate an automated hole measurement program, which is then executed by a CNC machine tool.

Benefits of technology

It enables precise measurement of hole positions and dimensions, improves measurement efficiency and accuracy, reduces human error, and ensures the reliability and safety of the measurement process. It is suitable for multi-hole measurement programming of complex parts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121386485A_ABST
    Figure CN121386485A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method for generating an automatic hole system measurement program, which comprises the following steps of: 1, performing post-processing on an automatic hole system machining program based on machining equipment to generate an automatic hole system measurement program; wherein in the generated automatic hole system measurement program, a modal instruction irrelevant to a measurement function in an original automatic hole system machining program is canceled, and an instruction used for determining a measurement plane, a size standard and coordinates in the measurement process is added; 2, carrying out analog simulation on the hole system measurement program generated in the step 1 to confirm the reliability and safety of the hole system measurement program; and step 3, executing a hole system measurement program by adopting a numerical control machine tool to realize automatic hole system measurement. The problems that in the hole machining process, an existing hole measurement mode depends on manual measurement, so that the measurement efficiency is low, and the measurement is prone to being influenced by human factors are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to, but is not limited to, the field of automated hole system processing technology, and particularly to a method for generating an automated hole system measurement program. Background Technology

[0002] With the development of the manufacturing industry, hole machining is a common processing requirement in the mechanical manufacturing process of aerospace products. How to accurately and quickly measure the position and dimensional accuracy of holes during hole machining is the key to ensuring product quality and production efficiency.

[0003] In existing hole machining methods, the measurement of the hole system typically involves the following: For hole position measurement, a dial indicator held in the tool holder is used to concentrically align the hole diameter, and the actual measured position coordinates are recorded; for hole diameter measurement, an inside dial indicator is used for comparative measurement. Clearly, these measurement methods in hole machining are entirely manual, resulting in low efficiency and susceptibility to human error. Summary of the Invention

[0004] The purpose of this invention is to solve the above-mentioned technical problems. This invention provides a method for generating an automated hole system measurement program to address the issues of low measurement efficiency and susceptibility to human factors in existing hole system measurement methods during hole system processing, which rely on manual measurement.

[0005] The technical solution of the present invention: An embodiment of the present invention provides a method for generating an automated hole system measurement program, comprising: Step 1: Based on the automated hole system machining program of the machining equipment, post-process it to generate an automated hole system measurement program; in the generated automated hole system measurement program, remove the modal instructions that are not related to the measurement function in the original automated hole system machining program, and add instructions for determining the measurement plane, dimensional standard and coordinates during the measurement process; Step 2: Simulate the hole system measurement program generated in Step 1 to confirm its reliability and safety. Step 3: Use a CNC machine tool to execute the hole measurement program to achieve automated hole measurement.

[0006] Optionally, in the method for generating an automated hole system measurement program as described above, step 1 involves setting remarks information for the hole system measurement program during the generation process. The set remarks information includes: specifying the hole to be measured, the top surface of the hole to be measured, the initial safety height 2, the measurement safety height 3, the position of the hole to be measured 4, the final safety height 5, the non-measurement movement path 6, the return safety height 7, the measurement contact trajectory 8, as well as the measuring tool, the measurement depth and the tool retraction distance, which are used to generate the measurement toolpath.

[0007] Optionally, in the method for generating the automated hole system measurement program as described above, step 1 includes: Step 11: Based on the hole system machining program, cancel the modal instructions in the program that are not related to the measurement function, and add instructions to ensure the measurement plane, dimensional standard and coordinates during measurement; Step 12: After setting the spindle to the initial safe height 2, and before loading the probe device onto the spindle, call the remarks information of the measurement program to obtain the measured hole and its diameter information; Step 13: Control the spindle to load the probe device 1 and call its parameter information, sequentially activate the quasi-stop machining mode command and the report generation command, and set the absolute coordinates of the measured part; Step 14: After quickly moving the probe device 1 to the initial safe height 2 set directly above the hole to be measured, turn off the spindle rotation; set the safe speed for the probe device 1 to move on the non-measuring movement path 6; wherein, the non-measuring movement path 6 is the non-machining movement path for machining the hole in the hole system machining program; Step 15: Move the probe device 1 to the safe measurement height 3 of the fixed end face of the hole to be measured; and set the probe device 1 to the measurement depth, that is, the preset depth into which the top end face of the hole to be measured extends downward. Step 16: Set the measurement parameters for the bore diameter to be measured, including: the geometric dimensions of the bore, the safety distance, and the measurement distance; Step 17: After the measurement is completed, control the spindle to quickly move the probe device 1 to the return safe height 7, then move it to the final safe height 5, and turn off the report generation. Step 18: Set the program to stop / end, which will generate an automated hole system measurement program based on the hole system machining program, i.e., hole system measurement program NC code generation.

[0008] Optionally, in the method for generating the automated hole system measurement program as described above, For the measurement of porous systems, for the measurement of each pore, repeat steps 14 to 17, and then proceed to step 18.

[0009] Optionally, in the method for generating the automated hole system measurement program as described above, The modal commands cancelled in step 11 include: tool radius compensation commands; The instructions added in step 11 include: selecting the measurement plane instruction, selecting the metric dimension instruction, and selecting the absolute coordinate instruction.

[0010] Optionally, in the method for generating the automated hole system measurement program as described above, the machine tool cutting mode includes: normal machining mode, continuous machining mode, high-efficiency machining mode, and quasi-stop machining mode; In the near-stop machining mode, the machine tool will actively decelerate when approaching the coordinate position to ensure that the final positioning is completed at a low speed, thereby reducing the following error.

[0011] Optionally, in the method for generating the automated hole system measurement program as described above, before step 1, the method further includes: Holes with a precision boring diameter tolerance of 0.03 mm or a position tolerance of 0.05 mm are designated as the holes for which the automated hole measurement program needs to perform measurements.

[0012] Optionally, in the method for generating an automated hole system measurement program as described above, before step 1, the method further includes: setting the measurement mode for hole system measurement. For products developed for the first time, a measurement method of measuring one hole at a time is adopted; for products produced in batches, a measurement method of measuring the machined hole system is adopted after all holes have been machined.

[0013] The beneficial effects of this invention are as follows: This invention provides a method for generating an automated hole system measurement program. It utilizes an automated hole system machining program from the UG machining module of a hole system machining equipment, performs post-processing on it, and generates NC code applicable to the machining equipment by optimizing program data. The generated hole system measurement program is then simulated to confirm its reliability and safety. Using the method provided by this invention, accurate measurement of the position and dimensions of holes can be achieved, significantly improving the efficiency and accuracy of machining inspection within machine tools. The above technical solution provided by this invention has the following beneficial effects: (1) The method provided by the present invention breaks through the traditional measurement and generates an efficient and accurate hole system measurement program through post-processing of the hole machining program; (2) The method provided by the present invention reduces the measurement procedures and human error that require manual intervention, and can greatly improve measurement efficiency and accuracy, as well as improve the reliability and safety of the measurement process; (3) The method provided by the present invention can verify the measurement path through the hole machining path to ensure that it meets the measurement requirements and safety standards; (4) The method provided by this invention can handle the measurement programming of complex parts with multiple holes; (5) The method provided by the present invention can expand and optimize the automated processing program of parts, and realize efficient automated alignment, processing and measurement. Attached Figure Description

[0014] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.

[0015] Figure 1This is a flowchart of the method for generating an automated hole system measurement program in an embodiment of the present invention; Figure 2 This is a flowchart illustrating the process of generating an automated hole system measurement program in an embodiment of the present invention; Figure 3 This is a schematic diagram of the measurement path of the automated hole system measurement program generated in an embodiment of the present invention; Figure 4 and Figure 5 This is a schematic diagram of a CNC program file for an automated hole system measurement program obtained using the generation method of the present invention.

[0016] Explanation of reference numerals in the attached figures: 1—Probe device; 2—Initial safety height; 3—Measurement safety height; 4—Measured hole position; 5—Final safety height; 6—Non-measurement movement path; 7—Return safety height; 8—Measurement contact trajectory; 9—Measured part. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be arbitrarily combined with each other.

[0018] As explained in the background section, there is a need for accurate and rapid measurement of the position and dimensions of holes during machining. However, existing hole measurement methods, whether for hole position or diameter, rely on manual measurement, which leads to low efficiency and susceptibility to human error.

[0019] To address the aforementioned problems, embodiments of the present invention provide a method for generating an automated hole system measurement program, which utilizes a hole system machining program to achieve an efficient post-processing method for the automated hole system measurement program.

[0020] The present invention provides the following specific embodiments, which can be combined with each other. For the same or similar concepts or processes, they may not be described again in some embodiments.

[0021] Figure 1 This is a flowchart illustrating the method for generating an automated hole system measurement program in an embodiment of the present invention. Figure 1 As shown, the method for generating an automated hole system measurement program provided in this embodiment of the invention utilizes a hole system machining program in an interactive CAD / CAM system (also known as Unigraphics NX, or UG). The automated hole system measurement program is generated by post-processing the hole system machining program. The method provided by this invention includes the following processing steps: Step 1: Based on the automated hole system machining program of the machining equipment, post-process it to generate an automated hole system measurement program; in the generated automated hole system measurement program, remove the modal instructions that are not related to the measurement function in the original automated hole system machining program, and add instructions for determining the measurement plane, dimensional standard and coordinates during the measurement process.

[0022] In this step, the automated hole machining program in the UG machining module of the hole machining equipment is used for post-processing. The program data is optimized to generate NC code applicable to the machining equipment. In this step of generating the hole system measurement program, it is important to set the remarks information for the hole system measurement program. The remarks information includes: specifying the hole to be measured, the top face of the hole to be measured, the initial safety height 2, the measurement safety height 3, the position of the hole to be measured 4, the final safety height 5, the non-measurement movement path 6, the return safety height 7, the measurement contact trajectory 8, as well as the measuring tool, the measurement depth and the tool retraction distance, which are used to generate the measurement toolpath.

[0023] Step 2: Simulate the hole system measurement program generated in Step 1 to confirm its reliability and safety. like Figure 4 and Figure 5 The diagram shown is a schematic of the CNC program file in the method for generating an automated hole system measurement program provided by the present invention.

[0024] Step 3: The CNC machine tool executes the hole measurement program to achieve automated hole measurement.

[0025] In one implementation of this invention, an implementation scheme for generating the hole system measurement program in step 1 is provided. Figure 2 This is a flowchart illustrating the process of generating an automated hole system measurement program in an embodiment of the present invention; Figure 3 This is a schematic diagram of the measurement path of the automated hole system measurement program generated in an embodiment of the present invention. (Refer to...) Figure 2 and Figure 3 As shown, step 1 of the above embodiment of the present invention includes the following S1 to S17. After generating an automated hole system measurement program using the process provided by the present invention in the following S1 to S17, it can be generated through operation. Figure 4 and Figure 5 The numerical control program file shown.

[0026] S1, based on the hole system machining program, remove the modal instructions that are not related to the measurement function in the program, and add instructions to determine the measurement plane, dimensional standard and coordinates during the measurement process; the instructions added to the program include modal instructions and non-modal instructions. Modal instructions are continuously effective instructions, and non-modal instructions are immediately effective and only valid in this section. The modal commands cancelled in this step include: tool radius compensation command; the commands added in this step include: select measurement plane command (used to replace the selected machining plane), select metric dimension command (used to replace the machining imperial / metric dimension units), select absolute coordinate command (used to replace the relative / absolute coordinates of the machining program). The purpose of replacing the commands is to ensure that the measurement plane, dimensions and coordinate measurements are in accordance with the standards required for measurement.

[0027] S2, set the spindle to move to the initial safe height 2; S3, before loading the probe device onto the spindle, calls the remarks information of the measurement program to obtain the measured hole diameter information; the remarks information is used to mark the measured hole and its diameter information.

[0028] S4 controls the spindle to load the probe device 1, that is, the probe holder and probe equipped on the machine tool; S5, call up the parameter information of probe device 1; S6, invokes the command to start the quasi-stop machining mode; It should be noted that machine tool cutting processes include normal machining mode, continuous machining mode, high-efficiency machining mode, and quasi-stop machining mode. Quasi-stop machining mode can ensure machine tool accuracy, thereby improving measurement accuracy. In quasi-stop machining mode, the machine tool actively decelerates when approaching the coordinate position, ensuring that the speed and acceleration during positioning are at their optimal state. It completes the final positioning at a lower speed, reducing following errors. It is suitable for machining processes requiring strict positional accuracy and can be applied to measurement movement to improve measurement accuracy.

[0029] S7 invokes the command to start generating a report; the function of this command is to record the diameter and coordinates of the measured hole. S8 sets the absolute coordinates of the part being measured; S9, quickly move the probe device 1 to the initial safe height 2 set directly above the measured hole; S10, turn off spindle rotation (indicating that it is in non-machining state and only performing measurement operation), set the safe speed for probe device 1 to move on non-measurement movement path 6; where non-measurement movement path 6 is the non-machining movement path for machining holes in the hole system machining program; S11, the probe device 1 is quickly moved to the measurement safety height 3 of the end face of the hole to be measured; in one embodiment, it is, for example, 10 mm; S12, the probe device 1 is set to move to the measurement depth, that is, the preset depth into which the top of the measured hole extends downward; in one embodiment, for example, it extends downward by -5mm. S13, set the measurement parameters for the bore diameter to be measured. The set values ​​of the measurement parameters include: individual measurement, the geometric dimensions of the bore (inner diameter of the bore), the safety distance (the safety distance for the probe device 1 to retract after being triggered, to prevent secondary contact), and the measurement distance, which refers to the distance at which the probe device 1 contacts the bore wall at the measurement speed; in one embodiment, for example, it is 10mm. S14, after the measurement is completed, the spindle is controlled to quickly move the probe device 1 to the return safe height 7, and then move it to the final safe height 5; S15, disable report generation; S16. For the measurement of porous systems, repeat S9 to S14 for the measurement of each pore. S17, set the program to stop / end, which will generate an automated hole system measurement program based on the hole system machining program, i.e., generate the NC code for the hole system measurement program.

[0030] Through the above S1~S17, an automated hole system measurement program is generated. During the automated machining of the hole system, the automated hole system measurement program is called to measure each hole in the machined hole system.

[0031] In practice, before step 1, holes with a diameter tolerance of less than 0.03 mm or a position tolerance of less than 0.05 mm are set as the holes to be measured by the automated hole system measurement program.

[0032] It should be noted that the automated hole system measurement program can be used to measure all holes after machining, or it can measure one hole at a time after machining. Accordingly, in one implementation of this invention, before step 1, the hole system measurement method is set as follows: for the first-time product, a method of measuring one hole at a time is used; for mass-produced products, a method of measuring the machined hole system in a concentrated manner after machining all holes is used, in order to improve machining measurement efficiency.

[0033] The method for generating an automated hole system measurement program provided in this invention employs an automated hole system machining program from the UG machining module of a hole system machining equipment. This program is post-processed to generate NC code applicable to the machining equipment by optimizing the program data. The generated hole system measurement program is then simulated to confirm its reliability and safety. Using the method provided by this invention, precise measurement of the position and dimensions of holes can be achieved, significantly improving the efficiency and accuracy of machining inspection within the machine tool. The above-mentioned technical solution provided by this invention has the following beneficial effects: (1) The method provided by the present invention breaks through the traditional measurement and generates an efficient and accurate hole system measurement program through post-processing of the hole machining program; (2) The method provided by the present invention reduces the measurement procedures and human error that require manual intervention, and can greatly improve measurement efficiency and accuracy, as well as improve the reliability and safety of the measurement process; (3) The method provided by the present invention can verify the measurement path through the hole machining path to ensure that it meets the measurement requirements and safety standards; (4) The method provided by this invention can handle the measurement programming of complex parts with multiple holes; (5) The method provided by the present invention can expand and optimize the automated processing program of parts, and realize efficient automated alignment, processing and measurement.

[0034] The following examples illustrate the implementation of the method for generating an automated hole system measurement program provided in this invention.

[0035] For example, this implementation example provides a method for generating an automated hole measurement program. It utilizes the efficient post-processing of the automated hole measurement program in the UG machining module of a processing equipment. The automated hole machining program in the UG machining module is used for post-processing to generate the hole measurement program. It is important to set the remarks information for the hole measurement program; the remarks information includes: specifying the hole to be measured, the top face of the hole to be measured, initial safety height 2, measurement safety height 3, the position of the hole to be measured 4, the final safety height 5, non-measurement movement path 6, return safety height 7, measurement contact trajectory 8, as well as the measuring tool, measurement depth, and tool retraction distance, used to generate the measurement toolpath. The reliability and safety of the toolpath are confirmed through simulation. The hole measurement post-processing is then called to generate the NC program for the CNC machine tool. The CNC machine tool executes the measurement program to achieve automated hole measurement.

[0036] For example, to achieve efficient post-processing of the above-mentioned automated hole measurement program, this embodiment of the invention also provides a simulated actual trajectory diagram of the automated hole measurement program. For example... Figure 3 As shown in the diagram, the measurement trajectory diagram illustrates: probe device 1, initial safety height 2, measurement safety height 3, measured hole position 4, final safety height 5, non-measurement movement path 6, return safety height 7, measurement contact trajectory 8, and measured part 9.

[0037] For example, probe device 1 is a measuring tool invoked by CNC equipment. (e.g.) Figure 3As shown, the initial safety height 2 is used to ensure a sufficient safety distance between the probe device 1 and the measured part 9; the probe device 1 moves rapidly to the measurement safety height 3 according to the non-measurement rapid movement 6; the non-measurement movement path 6 is used to set the speed of non-measurement movement; the measurement safety height 3 is used to improve the safety of non-measurement movement and to visually observe the position of the measured hole 4; the probe device 1 moves along the measurement contact trajectory 8 using the set measurement speed; the measurement contact trajectory 8 is a cross-shaped four-point measurement method; the probe device 1, which ends the measurement spindle, moves rapidly to the return safety height 7; the return safety height 7 can realize the non-measurement rapid movement to the next measured hole position during the multi-hole system measurement process; the probe device 1, which ends the measurement spindle, will move rapidly to the final safety height 5; the final safety height 5 is used to ensure the safe movement of the probe device 1 after the measurement spindle ends.

[0038] For example, by using the efficient post-processing of the automated hole system measurement program provided by the present invention, and utilizing the hole machining program in the UG machining module to perform the post-processing hole system measurement program, a high-quality and high-efficiency measurement program can be obtained, realizing efficient programming processing from machining of the hole system on the part to inspection.

[0039] After generating an automated hole system measurement program using the processes provided in S1 to S17 of the above embodiments of the present invention, it can be generated through operation. Figure 4 and Figure 5 The CNC program file shown is shown here; since one image cannot display everything, two pages have been cropped, respectively. Figure 4 and Figure 5 , Figure 5 The content of line numbers N28-N46 and Figure 4 The content in lines N28-N46 is duplicate content.

[0040] While the embodiments disclosed in this invention are as described above, they are merely illustrative of the embodiments to facilitate understanding of the invention and are not intended to limit the invention. Any person skilled in the art to which this invention pertains may make any modifications and variations in the form and details of the implementation without departing from the spirit and scope disclosed herein; however, the scope of patent protection for this invention shall still be determined by the scope defined in the appended claims.

Claims

1. A method for generating an automated hole series measurement procedure, characterized by, The method comprises the following steps: Step 1: based on the automatic hole series processing program of the machine tool, post-processing is performed to generate an automatic hole series measurement program; in the generated automatic hole series measurement program, the modal instructions irrelevant to the measurement function in the original automatic hole series processing program are cancelled, and instructions for determining the measurement plane, size standard and coordinate in the measurement process are added; Step 2: simulation is performed on the hole series measurement program generated in step 1 to confirm the reliability and safety of the hole series measurement program; Step 3: the hole series measurement program is executed by using a numerical control machine tool to realize automatic hole series measurement.

2. The method of claim 1, wherein, In the process of generating the hole series measurement program, the note information of the hole series measurement program is set in step 1; The note information includes: the measured hole, the top surface of the measured hole, the initial safety height (2), the measurement safety height (3), the measured hole position (4), the final safety height (5), the non-measurement movement path (6), the return safety height (7), the measurement contact trajectory (8), and the measurement tool, the measurement depth and the tool retract distance, which are used to generate the measurement tool path.

3. The method of claim 1, wherein: The step 1 comprises: Step 11: based on the hole series processing program, the modal instructions irrelevant to the measurement function in the program are cancelled, and the instructions for ensuring the measurement plane, size standard and coordinate in the measurement are added; Step 12: after the spindle is moved to the initial safety height (2), the note information of the measurement program is called before the spindle is loaded with the probe device to obtain the measured hole and the hole diameter information; Step 13: the spindle is controlled to load the probe device (1) and call the parameter information of the probe device (1), the quasi-stop processing modal instruction and the report generation instruction are sequentially turned on, and the absolute coordinate of the measured part is set; Step 14: after the probe device (1) is quickly moved to the initial safety height (2) above the measured hole, the spindle rotation is turned off; the safety speed of the probe device (1) moving on the non-measurement movement path (6) is set; the non-measurement movement path (6) is the non-processing movement path of the processing hole in the hole series processing program; Step 15: the probe device (1) is moved to the measurement safety height (3) of the measured hole end surface; and the probe device (1) is moved to the measurement depth, i.e. the preset depth of the measured hole top end surface extending downward; Step 16: the measurement parameters of the measured hole diameter are set, including the geometric size, safety distance and measurement distance of the measured hole; Step 17: after the measurement is completed, the spindle is controlled to quickly move the probe device (1) to the return safety height (7), then to the final safety height (5), and the report generation is turned off; Step 18: the program is set to stop / end, and the automatic hole series measurement program based on the hole series processing program is obtained, i.e. the hole series measurement program NC code is generated.

4. The method according to claim 3, wherein for the measurement of multiple hole series, steps 14 to 17 are repeatedly executed for the measurement of each hole, and then step 18 is executed.

5. The method according to claim 3, wherein the modal instructions cancelled in step 11 include the tool radius compensation instruction. ​ ​ The instructions added in step 11 include: selecting a measurement plane instruction, selecting a metric size instruction, and selecting an absolute coordinate instruction.

6. The method of claim 3, wherein: The machine tool cutting processing mode includes: a normal processing mode, a continuous processing mode, an efficient processing mode, and a quasi-stop processing mode. In the quasi-stop processing mode, the machine tool actively slows down when approaching the coordinate position to ensure that the final positioning is completed at a low speed, thereby reducing the following error.

7. The method of claim 3, wherein: Before step 1, the method further includes: Setting a hole with a precision bored hole diameter tolerance within 0.03 mm or a position degree tolerance within 0.05 mm as a hole required to be measured by the automatic hole system measurement program.

8. The method of claim 1-7, wherein, Before step 1, the method further includes setting a measurement method for hole system measurement: For the first developed product, a measurement method of processing one hole and measuring one hole is adopted; for batch production products, a measurement method of processing all holes and then collectively measuring the processed hole system is adopted.