Tool path planning method and device and computer readable storage medium

By constructing a theoretical model of the target workpiece and combining it with in-machine measurement to obtain errors, an adaptive toolpath is planned, which solves the problems of low efficiency and poor accuracy in rounding machining, and realizes efficient and accurate rounding machining.

CN115562159BActive Publication Date: 2025-12-12SUZHOU QIANJI INTELLIGENT SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211062773.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2025-12-12
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

Existing rounding machining technology suffers from low efficiency, large clamping errors, and poor versatility, making it difficult to achieve high-precision and consistent rounding machining.

Method used

A theoretical model is constructed by obtaining the design parameters of the target workpiece. On-machine measurement is performed using a CNC machine tool to obtain clamping errors and manufacturing errors. The actual model is then reconstructed, and an adaptive rounding machining toolpath is planned. Toolpath planning is then performed by combining the theoretical and actual models.

Benefits of technology

It enables fast and accurate rounding, improves machining quality and cutting efficiency, is applicable to workpieces of different shapes and types, reduces manual intervention, and ensures machining consistency and precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115562159B_ABST
    Figure CN115562159B_ABST
Patent Text Reader

Abstract

The application provides a tool path planning method and device and a computer readable storage medium. The method comprises: obtaining design parameters of a target workpiece to construct a theoretical model of the target workpiece after rounding; using a numerical control machine tool to perform on-machine measurement according to the theoretical model to obtain position data of measurement points of each surface of the target workpiece; obtaining clamping errors and manufacturing errors of the target workpiece based on the position data; reconstructing the theoretical model based on the clamping errors and the manufacturing errors to obtain an actual model of the target workpiece; and planning a rounding machining tool path of the target workpiece based on the theoretical model and the actual model. The method realizes rapid and accurate alignment and manufacturing error adaptation, greatly reduces manual intervention, and improves the machining quality of rounding machining.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of rounding processing, and particularly to a tool path planning method and device and a computer readable storage medium. BACKGROUND

[0002] After processing, the workpiece has sharp corners and sharp edges, which need to be rounded. The purpose of rounding mainly includes: eliminating sharp corners and sharp edges to prevent scratches on the surface of the workpiece, reducing noise and impact force during transmission to improve transmission stability, and reducing stress concentration to improve the service life of the workpiece. It can be seen that rounding is an important link in the process of workpiece processing and manufacturing.

[0003] At present, the common rounding methods include manual polishing, numerical control processing, and special chamfering machine processing. Among them, manual polishing has high requirements for worker operation and is difficult to control the rounding result, and the efficiency is low; numerical control processing has clamping error and manufacturing error, which needs to be adjusted manually in the actual processing process, and the processing auxiliary time is long; the special chamfering machine has limitations on the shape and type of the workpiece, and has poor versatility.

[0004] Therefore, it is urgent to provide a tool path planning method, device and computer readable storage medium to solve the problems in the prior art. SUMMARY

[0005] The purpose of the present application is to provide a tool path planning method, device and computer readable storage medium, which realizes rapid and accurate alignment and manufacturing error self-adaptation, and improves the processing quality of rounding.

[0006] The purpose of the present application is achieved by adopting the following technical solutions:

[0007] In a first aspect, the present application provides a tool path planning method for planning the rounding tool path of a target workpiece, the method comprising:

[0008] Obtaining the design parameters of the target workpiece to construct a theoretical model of the target workpiece after rounding;

[0009] Using a numerical control machine tool to measure on machine according to the theoretical model to obtain the position data of the measurement points of each surface of the target workpiece;

[0010] Based on the position data, obtaining the clamping error and manufacturing error of the target workpiece;

[0011] Based on the clamping error and the manufacturing error, reconstructing the theoretical model to obtain an actual model of the target workpiece;

[0012] Based on the theoretical model and the actual model, the rounding tool path of the target workpiece is planned.

[0013] The beneficial effects of the technical solution are that, when planning the rounding machining tool path of the target workpiece, first, the target workpiece is modeled according to the design parameters to obtain a corresponding theoretical model, then, the in-machine measurement technology is used to measure according to the theoretical model to obtain position data of the measurement points of each surface, the position data is analyzed and processed to obtain corresponding clamping errors and manufacturing errors, and the theoretical model is reconstructed according to the clamping errors and the manufacturing errors. The actual model obtained in this way eliminates the clamping errors and the manufacturing errors. In combination with the theoretical model and the actual model, the rounding machining tool path of the target workpiece is planned to make the rounding machining tool path fit the posture and shape of the target workpiece after actual clamping.

[0014] On the one hand, the rounding machining tool path planned can be directly applied to a numerical control machine tool to realize automatic rounding machining of the numerical control, has high cutting efficiency and good surface roughness, and does not need manual rounding. On the other hand, the in-machine measurement technology is used to measure according to the theoretical model to analyze and obtain corresponding clamping errors and manufacturing errors, so that the rounding machining tool path that can adapt to the clamping errors and the manufacturing errors is planned to realize rapid and accurate alignment and manufacturing error self-adaptation, greatly reduce manual intervention, and improve the machining quality of rounding machining. On the other hand, the tool path planning process is suitable for workpieces of different shapes and types, and has good universality.

[0015] In some optional embodiments, the target workpiece is a target gear, and the target gear is any one of the following: a spur gear, a helical gear, a spiral gear, a straight bevel gear, an inclined bevel gear, and a spiral bevel gear.

[0016] The beneficial effects of the technical solution are that the target workpiece can be a target gear, gear machining generally adopts hobbing, gear shaping and other methods, and after the rounding machining of the gear is performed by using the planned rounding machining tool path, the rounding consistency is good, the dimensional accuracy is high, the surface roughness is good, and no obvious sharp edge and tool mark appears.

[0017] In some optional embodiments, the design parameters of the target gear include rounding parameters, and the process of constructing the theoretical model of the target gear includes:

[0018] constructing a standard model of the target gear, performing edge rounding on the gear edges of the standard model based on the rounding parameters to obtain the theoretical model of the target gear, and the standard model is a three-dimensional design model.

[0019] The beneficial effects of the technical solution are that a three-dimensional design software (for example, UG, Unigraphics NX) can be used to model the target gear first to obtain a standard three-dimensional design model (for example, a CAD digital model) of the target gear, and the gear edges of the standard model are rounded according to the rounding parameters, so as to obtain the corresponding theoretical model.

[0020] In some optional embodiments, the method further comprises:

[0021] Based on the theoretical model, a theoretical tool path for rounding machining of the target gear is planned, in which the tool reciprocates in the edge direction for cutting, and the tool radius is smaller than the minimum inside corner radius of the rounding machining area.

[0022] The planning of the rounding machining tool path of the target gear based on the theoretical model and the actual model comprises:

[0023] The rounding machining tool path of the target gear is planned based on the theoretical model, the actual model, and the theoretical tool path.

[0024] The beneficial effects of the technical solution are that when the theoretical tool path is planned, the tool reciprocates in the edge direction for cutting, and the tool radius is smaller than the minimum inside corner radius of the rounding machining area, so that the situation of not machining in place can be avoided; according to the planned theoretical tool path, the rounding machining tool path (adaptive tool path) of the target gear is planned in combination with the theoretical model and the actual model, and the adaptive tool path can replace the theoretical tool path generated according to the theoretical model to realize adaptive machining (adaptation refers to adaptation to clamping errors and manufacturing errors) of the gear rounding.

[0025] In some optional embodiments, before in-machine measurement according to the theoretical model is performed by using a numerical control machine tool, the method further comprises:

[0026] The theoretical tool path is simulated and emulated to detect whether a preset event occurs in the theoretical tool path, and the preset event includes overcutting and / or interference.

[0027] When the preset event occurs in the theoretical tool path, the theoretical tool path is updated until the preset event no longer occurs in the theoretical tool path.

[0028] The beneficial effects of the technical solution are that before in-machine measurement of the theoretical model is performed, the theoretical tool path can be simulated and emulated by using numerical control machining simulation software (for example, Vericut) to detect whether overcutting, interference, and other problems exist in the theoretical tool path, and if problems exist, the theoretical tool path can be updated until the problems are solved, and common problems of the theoretical tool path can be detected in real time through the process of simulation and emulation, so that the theoretical tool path can be modified and updated.

[0029] In some optional embodiments, the process of updating the theoretical tool path comprises:

[0030] obtaining an event type of a preset event occurring in the simulation process of the theoretical tool path;

[0031] based on the event type, obtaining a corresponding tool path updating strategy to update the theoretical tool path.

[0032] The technical scheme has the beneficial effects that in the simulation process of the theoretical tool path, the corresponding tool path updating strategy can be obtained according to the event type of the preset event occurring, for example, the event type is interference (collision of the tool and the tool holder), and the tool path updating strategy can be changing the tool parameter, thereby adaptively updating the theoretical tool path.

[0033] In some optional embodiments, the reconstructing the theoretical model based on the clamping error and the manufacturing error comprises:

[0034] correcting the center of the theoretical model based on the clamping error of the target gear in each coordinate axis direction of the machine tool coordinate system;

[0035] correcting the addendum surface of the theoretical model based on the manufacturing error of the addendum surface of the target gear.

[0036] The technical scheme has the beneficial effects that by measuring the theoretical model in the machine, on the one hand, the clamping error of the target gear in each coordinate axis direction of the machine tool coordinate system (of the numerical control machine tool) can be measured, and the center of the theoretical model can be corrected; on the other hand, the manufacturing error of the addendum surface of the target gear can be measured, and the addendum surface of the theoretical model can be corrected.

[0037] In some optional embodiments, the method further comprises:

[0038] obtaining an end face runout error of the target gear based on the position data of the measurement points of the end face of the target gear;

[0039] obtaining a rotation error of the target gear along the rotation axis based on the position data of the measurement points of the concave surface and the convex surface of the plurality of teeth of the target gear;

[0040] The reconstructing the theoretical model based on the clamping error and the manufacturing error further comprises:

[0041] performing end face leveling on the theoretical model based on the end face runout error;

[0042] performing angular correction on the theoretical model based on the rotation error.

[0043] The beneficial effects of the technical scheme are that the end face run-out error and the rotation error can also be considered as the elements of the reconstructed theoretical model. On the one hand, the end face run-out error of the target gear caused by the clamping error can be measured according to the position data of the measurement points of the end face of the target gear, so that the leveling of the end face of the theoretical model is realized. On the other hand, the concave surface and the convex surface of the plurality of teeth in the circumferential direction are detected, the position data of the corresponding measurement points are obtained, and the rotation error of the target gear along the rotation axis of the gear caused by the clamping error is measured, so that the angle cumulative error of the target gear generated during manufacturing is compensated, and the angular correction of the theoretical model is realized.

[0044] In a second aspect, the present application provides a tool path planning device for planning a rounding machining tool path of a target workpiece, the device comprising:

[0045] a theoretical model module configured to obtain design parameters of the target workpiece to construct a theoretical model of the target workpiece after rounding;

[0046] a position measurement module configured to perform in-machine measurement based on the theoretical model by using a numerical control machine tool to obtain position data of measurement points of each surface of the target workpiece;

[0047] an error acquisition module configured to acquire clamping error and manufacturing error of the target workpiece based on the position data;

[0048] a model reconstruction module configured to reconstruct the theoretical model based on the clamping error and the manufacturing error to obtain an actual model of the target workpiece;

[0049] a path planning module configured to plan a rounding machining tool path of the target workpiece based on the theoretical model and the actual model.

[0050] In some optional embodiments, the target workpiece is a target gear, and the target gear is any one of a spur gear, a helical gear, a spiral gear, a straight bevel gear, a helical bevel gear, and a spiral bevel gear.

[0051] In some optional embodiments, the design parameters of the target gear include rounding parameters, and the process of constructing the theoretical model of the target gear comprises:

[0052] constructing a standard model of the target gear, performing edge rounding on gear edges of the standard model based on the rounding parameters to obtain the theoretical model of the target gear, wherein the standard model is a three-dimensional design model.

[0053] In some optional embodiments, the device further comprises:

[0054] a theoretical tool path module configured to plan a theoretical tool path for the rounding machining of the target gear based on the theoretical model, in which the tool reciprocates along the edge direction to perform cutting, and a radius of the tool is smaller than a minimum fillet radius of the rounding machining area;

[0055] The path planning module is configured to:

[0056] The path planning module is configured to:

[0057] In some optional embodiments, before performing on-machine measurement based on the theoretical model using a numerical control machine tool, the device further comprises:

[0058] a tool path simulation module configured to simulate the theoretical tool path, and detect whether a preset event occurs in the theoretical tool path, the preset event including overcutting and / or interference;

[0059] a tool path updating module configured to update the theoretical tool path when the preset event occurs in the theoretical tool path, until the preset event no longer occurs in the theoretical tool path.

[0060] In some optional embodiments, the process of updating the theoretical tool path comprises:

[0061] obtaining an event type of the preset event occurring in the simulation process of the theoretical tool path;

[0062] obtaining a corresponding tool path updating strategy based on the event type to update the theoretical tool path.

[0063] In some optional embodiments, the model reconstruction module is configured to:

[0064] correct a center of the theoretical model based on a clamping error of the target gear in each coordinate axis direction of a machine tool coordinate system;

[0065] correct a tooth top surface of the theoretical model based on a manufacturing error of the tooth top surface of the target gear.

[0066] In some optional embodiments, the device further comprises:

[0067] a face flattening module configured to obtain a face runout error of the target gear based on position data of measurement points of a face of the target gear;

[0068] an angular correction module configured to obtain a rotation error of the target gear along a rotation axis based on position data of measurement points of concave surfaces and convex surfaces of a plurality of teeth of the target gear;

[0069] The model reconstruction module is further configured to:

[0070] based on the end face runout error, performing end face leveling on the theoretical model;

[0071] based on the rotation error, performing angular correction on the theoretical model.

[0072] In a third aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of any of the above methods. BRIEF DESCRIPTION OF DRAWINGS

[0073] The present application will be further described below in conjunction with the drawings and embodiments.

[0074] Figure 1 is a flowchart of a tool path planning method provided by an embodiment of the present application.

[0075] Figure 2 is a schematic diagram of design parameters of a spiral bevel gear provided by an embodiment of the present application.

[0076] Figure 3 is a partial structure schematic diagram of a theoretical model of a spiral bevel gear provided by an embodiment of the present application.

[0077] Figure 4 is a structure schematic diagram of each tooth surface of a spiral bevel gear provided by an embodiment of the present application.

[0078] Figure 5 is a structure block diagram of a tool path planning device provided by an embodiment of the present application.

[0079] Figure 6 is a structure schematic diagram of an electronic device provided by an embodiment of the present application.

[0080] Figure 7 is a structure schematic diagram of a program product provided by an embodiment of the present application. DETAILED DESCRIPTION

[0081] The present application will be further described below in conjunction with the drawings and embodiments. It should be noted that, under the premise of no conflict, the following described embodiments or technical features can be combined to form new embodiments.

[0082] In the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent a, b, c, a and b, a and c, b and c, and a and b and c, where a, b and c can be single or multiple. It should be noted that "at least one" can also be interpreted as "one or more".

[0083] It should also be noted that in the present application, the words "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any implementation or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other implementations or design schemes. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner.

[0084] Referring to Figure 1 , Figure 1 is a flowchart of a tool path planning method provided by an embodiment of the present application.

[0085] The method is used for planning a rounding machining tool path of a target workpiece, and the method comprises:

[0086] Step S101: Obtain design parameters of the target workpiece to construct a theoretical model of the target workpiece after rounding;

[0087] Step S102: Use a numerical control machine tool to perform in-machine measurement according to the theoretical model to obtain position data of measurement points of each surface of the target workpiece;

[0088] Step S103: Obtain clamping errors and manufacturing errors of the target workpiece based on the position data;

[0089] Step S104: Reconstruct the theoretical model based on the clamping errors and the manufacturing errors to obtain an actual model of the target workpiece;

[0090] Step S105: Plan a rounding machining tool path of the target workpiece based on the theoretical model and the actual model.

[0091] Thus, when planning the rounding machining tool path of the target workpiece, first, the target workpiece is modeled according to the design parameters to obtain a corresponding theoretical model, then, the in-machine measurement technology is used to measure according to the theoretical model to obtain position data of the measurement points of each surface, the position data is analyzed and processed to obtain corresponding clamping errors and manufacturing errors, the theoretical model is reconstructed according to the clamping errors and the manufacturing errors, the actual model obtained in this way eliminates the clamping errors and the manufacturing errors, and the rounding machining tool path of the target workpiece is planned in combination with the theoretical model and the actual model, so that the rounding machining tool path fits the posture and shape of the target workpiece after actual clamping.

[0092] On the one hand, the rounding machining tool path planned can be directly applied to the numerical control machine tool to realize automatic rounding machining of the numerical control, has high cutting efficiency and good surface roughness, and does not need manual rounding; on the one hand, the in-machine measurement technology is used to measure according to the theoretical model to analyze and obtain corresponding clamping errors and manufacturing errors, so that the rounding machining tool path that can adapt to the clamping errors and the manufacturing errors is planned, fast and accurate alignment is realized, and the manufacturing errors are self-adaptive, which greatly reduces the manual intervention and improves the machining quality of the rounding machining; on the other hand, the tool path planning process is suitable for workpieces of different shapes and types, and has good universality.

[0093] In some embodiments, the method further comprises: using the rounding machining tool path on the numerical control machine tool to perform rounding machining on the target gear.

[0094] In some embodiments, the target workpiece can be a gear, a blade, a blisk or a hub, and the numerical control machine tool can be a five-axis numerical control machining machine tool.

[0095] The five-axis (linkage) numerical control machine tool is a machine tool with high technology content and high precision, which is specially used for machining complex curved surfaces. This machine tool system has a decisive influence on the aviation, aerospace, military, scientific research, precision instruments, high-precision medical equipment and other industries. The five-axis linkage numerical control machine tool system is an important means to solve the machining of impellers, blades, marine propellers, heavy generator rotors, turbine rotors, large diesel engine crankshafts and the like.

[0096] The five-axis linkage machining center has the characteristics of high efficiency and high precision, and the workpiece can be clamped once to complete the machining of the five-sided surface. If a high-end numerical control system with five-axis linkage is matched, it can also be used for high-precision machining of complex space curved surfaces, and can better adapt to the machining of modern molds such as automobile parts and aircraft structural parts.

[0097] On Machine Inspection (OMI) refers to: taking machine tool hardware as a carrier, attaching corresponding measuring tools (hardware: machine tool measuring head, machine tool tool setting instrument, etc.; software: macro program, special 3D measuring software, etc.), measuring geometric features in real time on the machine tool during workpiece machining, and guiding the improvement of subsequent processes according to the detection results.

[0098] Machining error refers to the degree of deviation between the actual geometric parameters (geometric size, geometric shape and mutual position) of the workpiece after machining and the ideal geometric parameters. The degree of conformity between the actual geometric parameters of the workpiece after machining and the ideal geometric parameters is the machining accuracy. The smaller the machining error, the higher the degree of conformity, and the higher the machining accuracy. Machining accuracy and machining error are two expressions of the same problem. Therefore, the size of the machining error reflects the level of the machining accuracy.

[0099] The error generated in the clamping process of the workpiece is called clamping error, which includes positioning error and clamping error. Among them, the positioning error mainly includes reference misalignment error and positioning pair manufacturing inaccuracy error.

[0100] Manufacturing error mainly includes spindle rotation error, guide error and transmission chain error of machine tool.

[0101] Spindle rotation error refers to the variation of the actual rotation axis of the spindle at each instant relative to its average rotation axis, which will directly affect the accuracy of the machined workpiece.

[0102] The guide is the reference for determining the relative position relationship of each machine tool component on the machine tool, and is also the reference for machine tool movement. The manufacturing error of the guide itself, the uneven wear of the guide and the installation quality are important factors causing the guide error.

[0103] Transmission chain error refers to the relative movement error between the transmission elements at the beginning and end of the transmission chain, which is caused by the manufacturing and assembly errors of each component link in the transmission chain, as well as the wear during use.

[0104] In some optional embodiments, the target workpiece is a target gear, and the target gear is any one of the following: a spur cylindrical gear, a helical cylindrical gear, a spiral cylindrical gear, a straight bevel gear, a helical bevel gear and a spiral bevel gear.

[0105] Therefore, the target workpiece can be a target gear. Gear machining generally adopts hobbing, gear shaping and other methods. Gear rounding machining has certain requirements for the machining quality of the fillet: the fillet on each edge should be full, without obvious sharp edges and tool marks, and the chamfer of the entire gear should be uniform; the fillet size tolerance is ±0.1 mm; the surface roughness requirement is Ra0.8.

[0106] After the gear is rounded by using the rounded machining tool path obtained by the planning, the rounded consistency is good, the size precision is high, the surface roughness is good, and no obvious sharp edge and tool mark appears.

[0107] In some optional embodiments, the design parameters of the target gear include rounding parameters, and the process of constructing the theoretical model of the target gear includes:

[0108] constructing a standard model of the target gear, and rounding the gear edges of the standard model based on the rounding parameters to obtain the theoretical model of the target gear, wherein the standard model is a three-dimensional design model.

[0109] Therefore, the three-dimensional design software (for example, UG, Unigraphics NX) can be used to model the target gear first to obtain a standard three-dimensional design model (for example, a CAD digital model) of the target gear, and the gear edges of the standard model are rounded according to the rounding parameters, so as to obtain the corresponding theoretical model.

[0110] In some embodiments, the target gear can be a straight tooth cylindrical gear, and correspondingly, the design parameters can include the number of teeth, the module, the pitch diameter, the pressure angle, the tooth height, the tooth thickness, and the like.

[0111] In some other embodiments, the target gear can be a spiral bevel gear, and correspondingly, the design parameters can include the number of teeth, the module, the pressure angle, the addendum height, the dedendum height, the face cone angle (top cone angle), the split cone angle (section cone angle), the root cone angle, the back cone distance, the crown distance, the installation distance, the fixed chord tooth thickness, the fixed chord tooth height, the displacement coefficient, the side gap, and the like.

[0112] The design parameters can further include rounding parameters, and the rounding parameters can include a fillet radius, for example.

[0113] Referring to Figure 2 , Figure 2 is a schematic diagram of a design parameter of a spiral bevel gear provided by an embodiment of the present application, wherein W represents the tooth width, H represents the total tooth height, Theta1 represents the front cone angle, Theta2 represents the root cone angle, and Theta3 represents the face cone angle.

[0114] Referring to Figure 3 , Figure 3 is a partial structure schematic diagram of a theoretical model of a spiral bevel gear provided by an embodiment of the present application.

[0115] In a specific application, according to the design parameters of the gear (for example, a spiral bevel gear), a spiral bevel gear CAD digital model conforming to the design parameters is created in UG. According to the rounding requirement, the edge of the gear is rounded, and a gear rounding model is constructed. The rounding of the edge formed by the concave surface, the convex surface and the addendum surface of the gear is called addendum rounding, and the remaining rounding distributed at the large end and the small end of the gear is called profile rounding. The theoretical model file of the gear is output, and the file format can be iges or step.

[0116] IGES is a file format specified by the U.S. Information Management Committee, mainly used for file conversion between different three-dimensional software systems. The file in this format can be opened by UG, solidworks, CATIA, Pro-E and other three-dimensional modeling software, but cannot be edited and modified. IGES only stores the geometric dimensions and topological relationships of the model, and relatively speaking, STP stores more content, including precision, material, etc. in addition to the above. The iges file is slow to open, and the topological relationship is easy to lose.

[0117] STEP is a file extension, which is a STP three-dimensional file. STP file is based on ASCII format, which conforms to the text encoding exchange structure of STEP application protocol ISO 10303-21 standard three-dimensional image data.

[0118] Compared with Stl, step is different. It is a complete graphic description, which is more perfect than iges. It can be said that step can describe all general models. STP file can be opened by CATIA (Computer Aided Three-dimensional Interactive Application) software. There are many such software that can open STP format files under different platforms, such as UG, PRO-E, FreeCAD, rhino, alias, etc. Solidworks and UG three-dimensional design software can open step files, but the saved files are step files.

[0119] In some optional embodiments, the method further comprises:

[0120] Based on the theoretical model, a theoretical tool path for rounding machining of the target gear is planned, in which the tool reciprocates along the edge direction for cutting, and the tool radius is smaller than the minimum fillet radius of the rounding machining area;

[0121] The rounding machining tool path of the target gear is planned based on the theoretical model and the actual model, comprising:

[0122] The rounding machining tool path of the target gear is planned based on the theoretical model, the actual model and the theoretical tool path.

[0123] Thus, when planning the theoretical tool path, the tool reciprocates along the edge direction to cut, and the tool radius is smaller than the minimum inside corner radius of the rounding machining area, so that the situation of not machining to the position can be avoided; according to the obtained theoretical tool path, the rounding machining tool path (adaptive tool path) of the target gear is planned in combination with the theoretical model and the actual model, the adaptive tool path can replace the theoretical tool path generated according to the theoretical model, and adaptive machining of the gear rounding is realized (adaptation refers to adaptation to clamping errors and manufacturing errors).

[0124] In some embodiments, according to the shape of the addendum circle chamfer and the tooth profile circle chamfer, a suitable strategy for planning the theoretical tool path of the chamfer machining can be selected in UG. When planning the tool path, a ball end mill can be selected, the tool radius is smaller than the minimum inside corner radius of the machining area, and the situation of not machining to the position can be avoided. The tool axis direction can use a positioning tool axis to avoid the tool tip point and the chamfer cutting, the tool path shape is that the tool reciprocates along the edge direction to cut, the output rounding machining theoretical tool path, and the file format can be apt.

[0125] In some optional embodiments, before in-machine measurement according to the theoretical model using a numerical control machine tool, the method further comprises:

[0126] Simulating the theoretical tool path to detect whether the theoretical tool path has a preset event, the preset event including overcutting and / or interference;

[0127] When the theoretical tool path has the preset event, updating the theoretical tool path until the theoretical tool path no longer has the preset event.

[0128] Thus, before in-machine measurement of the theoretical model, the theoretical tool path can be simulated using numerical control machining simulation software (such as Vericut) to detect whether the theoretical tool path has problems such as overcutting and interference, and if there are problems, the theoretical tool path can be updated until the problems are solved. Through the simulation process, common problems of the theoretical tool path can be detected in real time, and the theoretical tool path can be modified and updated.

[0129] In a specific application, the theoretical model and the theoretical tool path of the gear generated in UG can be imported into the Vericut software to configure a simulation environment, and the simulation environment mainly includes: a gear theoretical model, a theoretical tool path, a fixture model, a blank model, a machine tool model, a tool / holder model, etc. The Vericut software is used to simulate the theoretical tool path to confirm whether there are problems such as overcutting and interference.

[0130] Vericut software is a numerical control machining simulation system developed by CGTECH company in the United States, which is composed of NC program verification module, machine tool motion simulation module, optimized path module, multi-axis module, advanced machine tool feature module, entity comparison module and CAD / CAM interface module. It can simulate the numerical control machining process of various machining equipment such as numerical control lathe, milling machine, machining center, wire cutting machine and multi-axis machine tool, and can also optimize NC program, shorten machining time, prolong tool life, improve surface quality, check overcut, undercut, prevent machine tool collision, overstroke and other errors; It has a real three-dimensional entity display effect, can measure the size of the cutting model, and can save the cutting model for inspection and subsequent cutting process; It has a CAD / CAM interface, which can realize nested operation with UG, CATIA and MasterCAM software. Vericut software has been widely used in aerospace, automobile, mold manufacturing and other industries. Its biggest feature is that it can simulate various CNC systems, both tool position file and NC program after CAD / CAM post-processing. The whole simulation process includes program verification, analysis, machine tool simulation, optimization and model output.

[0131] Overcut is a kind of excessive cutting phenomenon in machining process, which is usually caused by improper tool path processing or improper process programming. In simple words, it is to cut off the position that should not be machined during machining.

[0132] Interference refers to the collision between the cutting edge of the tool and the machined surface or the collision between the tool bar and the machined surface, fixture and other constraint surfaces. In the machining of complex surfaces, the interference between the tool and the surface mainly has three forms: 1. Interference between tool edge and surface, that is, the curvature of the projection curve of the tool edge on the plane perpendicular to the feed direction is less than the normal curvature in that direction, causing overcut of the tool to the surface; 2. Collision interference between tool bottom surface and surface; 3. Collision between tool and surface or fixture. According to the principle of interference, tool interference can be divided into local interference and global interference. Global interference refers to the collision between the tool, fixture, workpiece and machine tools during the machining process. This kind of collision is very dangerous and directly affects the subsequent machining process, and also threatens personal safety; Local interference mainly refers to the phenomena of undercutting, overcutting and undercutting caused by tool machining on the surface object, which can easily lead to excessive error of machined parts, unqualified products, and even serious damage to the parts.

[0133] In some optional embodiments, the process of updating the theoretical tool path comprises:

[0134] Obtaining an event type of a preset event occurring in the simulation process of the theoretical tool path;

[0135] Based on the event type, a corresponding tool path updating strategy is obtained to update the theoretical tool path.

[0136] Therefore, in the process of simulating the theoretical tool path, the corresponding tool path updating strategy can be obtained according to the type of the preset event that occurs, for example, the type of the event is interference (collision between the tool and the tool holder), and the tool path updating strategy can be changing the tool parameters, so as to adaptively update the theoretical tool path.

[0137] In some embodiments, the process of obtaining the tool path updating strategy can include:

[0138] inputting the simulation information of the theoretical tool path into a strategy configuration model to obtain the corresponding tool path updating strategy, wherein the simulation information is used to indicate the type of the preset event that occurs in the process of simulating the theoretical tool path.

[0139] The training process of the strategy configuration model includes:

[0140] obtaining a training set, the training set including a plurality of training data, each training data including a sample simulation information and labeled data of a tool path updating strategy corresponding to the sample simulation information;

[0141] for each training data in the training set, the following processing is performed:

[0142] inputting the sample simulation information in the training data into a preset deep learning model to obtain predicted data of the tool path updating strategy corresponding to the sample simulation information;

[0143] updating the model parameters of the deep learning model based on the predicted data and the labeled data of the tool path updating strategy corresponding to the sample simulation information;

[0144] detecting whether a preset training end condition is met; if yes, the trained deep learning model is used as the strategy configuration model; if no, the next training data is used to continue training the deep learning model.

[0145] By designing, establishing an appropriate amount of neuron calculation nodes and a multi-layer operation hierarchy structure, and selecting appropriate input and output layers, a preset deep learning model can be obtained. Through learning and optimization of the preset deep learning model, a function relationship from input to output is established. Although the function relationship between input and output cannot be found 100%, the real correlation relationship can be approximated as much as possible. Therefore, the strategy configuration model trained can obtain the corresponding tool path updating strategy based on the simulation information, and the calculation result has high accuracy and reliability.

[0146] The application embodiments do not limit the manner of obtaining the labeled data of the tool path updating strategy, for example, manual labeling, automatic labeling or semi-automatic labeling can be used.

[0147] The training process of the policy configuration model is not limited in the embodiments of the present application, which may, for example, adopt the training manner of supervised learning, or may adopt the training manner of semi-supervised learning, or may adopt the training manner of unsupervised learning.

[0148] The preset training end condition is not limited in the embodiments of the present application, which may, for example, be that the number of training reaches a preset number (the preset number may be, for example, 1, 3, 10, 100, 1000, 10000, etc.), or may be that all training data in the training set are trained for one or more times, or may be that the total loss value obtained by this training is not greater than a preset loss value.

[0149] In some optional embodiments, the reconstructing the theoretical model based on the clamping error and the manufacturing error comprises:

[0150] correcting a center of the theoretical model based on the clamping error of the target gear in each coordinate axis direction of the machine tool coordinate system;

[0151] correcting a tooth tip surface of the theoretical model based on the manufacturing error of the tooth tip surface of the target gear.

[0152] Therefore, by measuring the theoretical model, on the one hand, the clamping error of the target gear in each coordinate axis direction of the machine tool coordinate system (of the numerical control machine tool) can be measured to correct the center of the theoretical model; on the other hand, the manufacturing error of the tooth tip surface of the target gear can be measured to correct the tooth tip surface of the theoretical model.

[0153] In some optional embodiments, the method further comprises:

[0154] obtaining an end face runout error of the target gear based on the position data of the measurement points of the end face of the target gear;

[0155] obtaining a rotation error of the target gear along the rotation axis based on the position data of the measurement points of the concave surface and the convex surface of the plurality of teeth of the target gear;

[0156] The reconstructing the theoretical model based on the clamping error and the manufacturing error further comprises:

[0157] performing end face leveling on the theoretical model based on the end face runout error;

[0158] performing angular correction on the theoretical model based on the rotation error.

[0159] Therefore, the end face runout error and the rotation error can also be considered as the factors of the reconstruction of the theoretical model. On the one hand, the end face runout error of the target gear caused by the clamping error can be measured according to the position data of the measurement points of the end face of the target gear, so that the end face of the theoretical model is leveled; on the other hand, the concave surface and the convex surface of the plurality of teeth in the circumferential direction are detected, the position data of the corresponding measurement points are obtained, and the rotation error of the target gear along the rotation axis of the gear caused by the clamping error is measured, so that the angle cumulative error of the target gear generated during manufacturing is compensated, and the angular correction of the theoretical model is realized.

[0160] End face refers to the plane of both ends of a cylindrical workpiece. It is often used to describe the specific plane of a part in machining, and is commonly seen in gears, machine tools and other mechanical mechanisms. End face runout refers to the flatness of the side surface (the plane perpendicular to the shaft) of the workpiece, and the error is how large. The measurement method is to fix the workpiece on the rotating shaft according to the reference surface, rotate the workpiece, and measure the value obtained by contacting the end face (side surface) with the measuring head.

[0161] The embodiment of the present application also provides a target application for realizing the tool path planning method.

[0162] The target application is, for example, UltraFIT software, which is an online measurement-based geometric adaptive machining software with the functions of machine tool in-machine measurement programming and adaptive correction of tool path, and the application fields include 3D printed parts, gear finishing, complex shell, castings, die forgings, welding parts reprocessing, blisk and single blade repair.

[0163] Adaptive machining technology refers to an advanced machining method that can make timely and accurate adjustments according to the deformation of the part, the change of the equipment load, the unevenness of the part allowance, the inaccurate clamping state and the like, so as to adapt to the current state of the equipment or the part.

[0164] The UltraFIT software can realize the process of measurement-analysis-adaptation, and is fully automated without manual intervention. The work flow is as follows:

[0165] 1. In-machine measurement, which can automatically generate measurement path, check interference, and simulate; supports various measurement data such as external three-coordinate and blue light scanning.

[0166] 2. Error analysis and evaluation, which has the functions of visual measurement data display and tolerance evaluation.

[0167] 3. Tool path adaptation, which can automatically correct and simulate the tool path and convert the reference.

[0168] 4. Post-processing, which supports common three-to-five-axis machine tool post-processing; supports measurement post-processing (conversion to NC code).

[0169] 5. Machine tool communication, two-way communication of machine tool software; one-key start; monitoring machine tool state.

[0170] Among them, the on-machine measurement can realize machine measurement and result return with one key, without manual sending and importing, and provide flexible and convenient measurement point planning method. The measurement result is automatically obtained from the machine tool, and the deviation value is displayed by using the interface of the software.

[0171] The planning mode of the measurement point includes: picking point planning, plane intersection planning, curved surface intersection planning and parameter region planning.

[0172] The mode of tool path self-adaptation mainly includes position self-adaptation (only changing the tool path position, not changing the shape) and shape self-adaptation (changing the tool path shape). The tool path shape self-adaptation adjustment is realized by using model reconstruction and tool path mapping.

[0173] The post-processing includes measurement post-processing and machining post-processing, wherein the measurement post-processing is to convert the measurement path of the measurement point into NC program one by one according to the program format of the measurement process, and the machining post-processing can support the post-processing of any structure numerical control machine tool.

[0174] In some embodiments, on the basis of five-axis numerical control milling of gear rounding, UltraFIT software can be used to generate geometric self-adaptive (hereinafter referred to as adaptive) tool path according to the actual clamping error and manufacturing error of the gear, instead of the theoretical tool path generated according to the theoretical model, to realize adaptive machining of gear rounding.

[0175] The above-mentioned mode inherits the high cutting efficiency and good rounding surface roughness of five-axis numerical control milling of gear rounding. On this basis, the position data of each surface measurement point of the gear is collected by using on-machine measurement technology, the data is processed and analyzed by UltraFIT, and the adaptive tool path that can adapt to the part clamping error and manufacturing error is obtained. The fast and accurate alignment of the gear part is achieved, and the manufacturing error is adapted, realizing the efficient and accurate machining of the gear rounding, greatly reducing the manual intervention, and improving the quality of rounding and chamfering.

[0176] The process of UltraFIT adaptive machining of gear rounding is as follows:

[0177] 1. Create a theoretical model and a theoretical tool path of the gear in UG

[0178] A bevel gear CAD digital model conforming to the design parameters is created in UG, the edge of the gear is rounded according to the rounding requirement, and a gear rounding model is constructed, which is exported as a theoretical model of the gear in iges or step format.

[0179] According to the form of the tooth tip circle chamfer and the tooth profile circle chamfer, select the appropriate strategy in UG to plan the theoretical tool path of the chamfering. When planning the theoretical tool path, select a ball end mill, the tool radius is less than the minimum inside corner radius of the machining area, use the positioning tool axis in the tool axis direction, the tool path form is that the tool reciprocates along the edge direction, output the theoretical tool path of the chamfering, and the file format is apt.

[0180] 2. Simulate the theoretical tool path in Vericut

[0181] Import the gear theoretical model and the theoretical tool path generated in UG into the Vericut software, and configure the simulation environment, the simulation environment mainly includes: the gear theoretical model, the theoretical tool path, the fixture model, the blank model, the machine tool model, the tool / cutter model and the like. Simulate the theoretical tool path, confirm whether there are problems such as overcutting and interference, and the theoretical tool path can be used for UltraFIT after the simulation is correct.

[0182] 3. Configure the engineering file of the bevel gear chamfering adaptive machining in UltraFIT

[0183] Import the gear theoretical model and the theoretical tool path generated in UG into the UltraFIT software, configure the basic parameters of the engineering file: the numerical control system of the five-axis equipment used and the corresponding post-processing file, the measuring needle used for on-machine measurement, the numerical control milling cutter needed to be used (consistent with UG), and the communication state of UltraFIT and the five-axis numerical control equipment.

[0184] Create a “quick clamping module” in UltraFIT, and add a “leveling group” and a “origin matching group”;

[0185] The leveling group is used to measure the end face runout of the part due to clamping errors, so as to realize leveling of the end face of the gear part, and the origin matching group is used to measure the clamping errors of the part in X / Y / Z three directions, so as to realize correction of the center of the gear part.

[0186] Referring to Figure 4 , Figure 4 is a structural schematic diagram of each tooth surface of a spiral bevel gear provided in an embodiment of the present application.

[0187] Create a “gear chamfering module” in UltraFIT, and according to the requirements of the software, indicate the types of each tooth surface of the gear (as shown in Figure 4 ), including: concave / convex surface, tooth tip / root surface, front / back conical surface, outer circular surface, tooth tip small plane, front conical surface chamfer, add a “angle finding group” and a “tooth tip measurement group” in the gear chamfering module.

[0188] Wherein, the measuring points are arranged on the concave / convex tooth surface and the addendum surface of the bevel gear, the angular direction group is used to measure the rotation error of the gear along the rotation axis of the gear due to clamping, and the concave / convex surfaces of multiple teeth are detected in the circumferential direction, so that the angular cumulative error of the gear generated during manufacturing can be compensated, and the optimal solution for the angular correction of the gear is obtained. The addendum measurement group is used to measure the manufacturing error of the addendum surface of the gear.

[0189] The chamfering of the addendum circle generated by UG is input into the software, and the configuration operation of the chamfering of the addendum circle in UltraFIT is completed through the above operation.

[0190] 4. Measuring the clamping and manufacturing error of the gear on the five-axis numerical control equipment by UltraFIT

[0191] The five-axis numerical control equipment connected by communication in UltraFIT is driven to perform on-machine measurement. After the measurement on the numerical control machine tool is completed, the measurement results are read by UltraFIT software, and data analysis and calculation are performed to obtain the actual clamping error and manufacturing error of the bevel gear part.

[0192] 5. Generating adaptive tool path in UltraFIT

[0193] UltraFIT reconstructs the theoretical model of the bevel gear part to obtain the adaptive model of the gear part according to the above errors obtained by calculation. At this time, the adaptive tool path can be generated adaptively through the theoretical model, the theoretical tool path and the actual model. The adaptive tool path can fit the posture and shape of the part after actual clamping.

[0194] 6. Using the adaptive tool path to process the chamfering of the bevel gear on the five-axis numerical control machine tool

[0195] The adaptive program generated by UltraFIT is exported as a numerical control machining program file through post-processing, and the five-axis numerical control equipment uses the program file to process the chamfering of the gear. After using UltraFIT adaptive machining, the chamfering consistency is good, the size accuracy is less than ±0.1mm, the roughness is less than Ra0.8, and the tool mark is less than 0.02mm, which meets the design and process requirements.

[0196] UltraFIT chamfering processing has good universality and is suitable for spur gears, helical gears, spiral gears, straight bevel gears, helical bevel gears, spiral bevel gears, etc.

[0197] The rounding machining area should be wide, the tooth pitch is preferably greater than 6 mm, the rounding size precision requirement should be lower than ±0.05 mm, and the rounding surface roughness requirement should be lower than Ra0.6 (if higher than the standard, the surface roughness can be improved through polishing and other processes). The five-axis numerical control machining equipment used should meet the gear rounding machining requirements, and the numerical control system is preferably Heidenhain.

[0198] Referring to Figure 5 , Figure 5 is a structural block diagram of a tool path planning device provided by an embodiment of the present application.

[0199] The present application provides a tool path planning device, and the specific implementation manner is consistent with the implementation manner recorded in the above method embodiment and the technical effects achieved, and part of the content will not be described again.

[0200] The device is used for planning a rounding machining tool path of a target workpiece, and the device comprises:

[0201] A theoretical model module 101 is configured to acquire design parameters of the target workpiece to construct a theoretical model of the target workpiece after rounding.

[0202] A position measurement module 102 is configured to perform in-machine measurement according to the theoretical model by using a numerical control machine tool to acquire position data of measurement points of each surface of the target workpiece.

[0203] An error acquisition module 103 is configured to acquire clamping errors and manufacturing errors of the target workpiece based on the position data.

[0204] A model reconstruction module 104 is configured to reconstruct the theoretical model based on the clamping errors and the manufacturing errors to obtain an actual model of the target workpiece.

[0205] A path planning module 105 is configured to plan a rounding machining tool path of the target workpiece based on the theoretical model and the actual model.

[0206] In some optional embodiments, the target workpiece is a target gear, and the target gear is any one of a spur gear, a helical gear, a spiral gear, a straight bevel gear, a helical bevel gear and a spiral bevel gear.

[0207] In some optional embodiments, the design parameters of the target gear include rounding parameters, and the process of constructing the theoretical model of the target gear comprises:

[0208] constructing a standard model of the target gear, rounding edges of the gear of the standard model based on the rounding parameters to obtain the theoretical model of the target gear, wherein the standard model is a three-dimensional design model.

[0209] In some optional embodiments, the apparatus further comprises:

[0210] a theoretical tool path module configured to plan a theoretical tool path for the fillet machining of the target gear based on the theoretical model, in which the tool reciprocates along the edge direction to cut, and the tool radius is smaller than the minimum inside corner radius of the fillet machining area;

[0211] The path planning module 105 is configured to:

[0212] plan a tool path for the fillet machining of the target gear based on the theoretical model, the actual model and the theoretical tool path.

[0213] In some optional embodiments, before the on-machine measurement based on the theoretical model is performed by the numerical control machine tool, the apparatus further comprises:

[0214] a tool path simulation module configured to simulate the theoretical tool path, and detect whether a preset event occurs in the theoretical tool path, the preset event including overcutting and / or interference;

[0215] a tool path updating module configured to update the theoretical tool path when the preset event occurs in the theoretical tool path, until the preset event no longer occurs in the theoretical tool path.

[0216] In some optional embodiments, the process of updating the theoretical tool path comprises:

[0217] obtaining an event type of the preset event occurring in the simulation process of the theoretical tool path;

[0218] obtaining a corresponding tool path updating strategy based on the event type to update the theoretical tool path.

[0219] In some optional embodiments, the model reconstruction module 104 is configured to:

[0220] correct the center of the theoretical model based on the clamping error of the target gear in each coordinate axis direction of the machine tool coordinate system;

[0221] correct the addendum surface of the theoretical model based on the manufacturing error of the addendum surface of the target gear.

[0222] In some optional embodiments, the apparatus further comprises:

[0223] a face flattening module configured to obtain the end face run-out error of the target gear based on the position data of the measurement points of the end face of the target gear;

[0224] The angular correction module is configured to obtain a rotation error of the target gear along the rotation axis based on position data of the measured points of the concave surface and the convex surface of the plurality of teeth of the target gear.

[0225] The model reconstruction module 104 is further configured to:

[0226] Based on the end face run-out error, the end face of the theoretical model is leveled.

[0227] Based on the rotation error, the theoretical model is angularly corrected.

[0228] Referring to Figure 6 The embodiments of the present application further provide an electronic device 200, which comprises at least one memory 210, at least one processor 220 and a bus 230 connecting different platform systems.

[0229] The memory 210 can comprise a readable medium in the form of a volatile memory, such as a random access memory (RAM) 211 and / or a cache memory 212, and can further comprise a read-only memory (ROM) 213.

[0230] The memory 210 further stores a computer program, which can be executed by the processor 220 to enable the processor 220 to execute the steps of the method in the embodiments of the present application. The specific implementation manners and the achieved technical effects are consistent with those described in the above method embodiments, and some contents will not be described herein.

[0231] The memory 210 can further comprise utility tools 214 having at least one program module 215, and such program module 215 can include but is not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof can include the implementation of a network environment.

[0232] Correspondingly, the processor 220 can execute the above computer program and can execute the utility tools 214.

[0233] The bus 230 can represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures.

[0234] The electronic device 200 can also communicate with one or more external devices 240, such as a keyboard or a pointing device, a Bluetooth device, etc.; other devices associated with the electronic device 200; and / or one or more devices that enable the electronic device 200 to communicate with one or more other computing devices. Such communication can occur via the input and output interface(s) 250. Still yet, the electronic device 200 can communicate with one or more networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, through a network adapter 260. The network adapter 260 can communicate with the other components of the electronic device 200 via the bus 230. It should be understood that, although not shown explicitly, other hardware and / or software components could be used in conjunction with the electronic device 200. These include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0235] The computer readable storage medium is used for storing the computer program, and the computer program is executed to realize the steps of the method in the embodiments of the present application. The specific implementation manners and the achieved technical effects are the same as those described in the method embodiments, and some details are not described herein.

[0236] Figure 7 A program product for implementing the above method is shown, which can adopt a portable compact disc read-only memory (CD-ROM) and include program codes, and can run on a terminal device, such as a personal computer. However, the program product of the present application is not limited to this, and in the present application, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or apparatus. The program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, be but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0237] The computer readable storage medium can include a data signal traveling in baseband or propagated as a carrier wave in a propagated data signal. The propagated data signal can take a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. The computer readable storage medium can be any medium that can be read by a machine, including, but not limited to, read-only memory (ROM), random access memory (RAM), non-volatile memory (e.g., flash memory, ferroelectric memory, etc.), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), compact disk (CD), digital versatile disk (DVD), etc. The program code embodied on the computer readable storage medium can be transmitted using any appropriate medium, including, but not limited to, wireless, wire line, optical fiber cable, RF, etc., or any suitable combination of the foregoing. The program code can be executed using one or more processing cores of one or more processors. The program code can be written in any appropriate programming language, including, but not limited to, Java, C++, C, or any suitable programming language. The program code can be executed entirely on the user computing device, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases where a remote computing device is used, the remote computing device can be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., through an Internet service provider to the Internet).

[0238] The present application is described from the use, efficiency, progress and novelty, etc. from the point of view, has met the function of the patent law emphasized and the use of the elements, the above description and the description of the drawings, only for the preferred embodiment of the present application, and not limited to the present application, therefore, all the structure, device, features, etc. similar to the present application, the same replacement or modification, etc. made according to the scope of the patent application of the present application, shall belong to the scope of the patent application protection of the present application.

Claims

1. A tool path planning method, characterized by, A method for planning a chamfering tool path of a target workpiece, the method comprising: obtaining design parameters of the target workpiece to construct a theoretical model of the target workpiece after chamfering; performing in-machine measurement on the target workpiece based on the theoretical model by using a numerical control machine tool to obtain position data of measurement points of each surface of the target workpiece; obtaining clamping errors and manufacturing errors of the target workpiece based on the position data; reconstructing the theoretical model based on the clamping errors and the manufacturing errors to obtain an actual model of the target workpiece; planning a chamfering tool path of the target workpiece based on the theoretical model and the actual model; the target workpiece is a target gear, and the reconstructing the theoretical model based on the clamping errors and the manufacturing errors comprises: correcting a center of the theoretical model based on clamping errors of the target gear in each coordinate axis direction of a machine tool coordinate system; correcting a tooth tip surface of the theoretical model based on a manufacturing error of the tooth tip surface of the target gear; the method further comprises: obtaining an end face run-out error of the target gear based on position data of measurement points of an end face of the target gear; obtaining a rotation error of the target gear along a rotation axis based on position data of measurement points of concave surfaces and convex surfaces of a plurality of teeth of the target gear; the reconstructing the theoretical model based on the clamping errors and the manufacturing errors further comprises: performing end face leveling on the theoretical model based on the end face run-out error; performing angular correction on the theoretical model based on the rotation error.

2. The tool path planning method of claim 1, wherein, The target gear is any one of the following: a spur gear, a helical gear, a spiral gear, a straight bevel gear, an angular bevel gear, and a spiral bevel gear.

3. The tool path planning method of claim 2, wherein, The design parameters of the target gear include chamfering parameters, and the process of constructing the theoretical model of the target gear comprises: constructing a standard model of the target gear, chamfering edges of the standard model based on the chamfering parameters to obtain the theoretical model of the target gear, wherein the standard model is a three-dimensional design model.

4. The tool path planning method of claim 3, wherein, The method further comprises: planning a theoretical tool path of chamfering of the target gear based on the theoretical model, in which the tool reciprocates in the edge direction for cutting, and the tool radius is smaller than the minimum inside corner radius of the chamfering area; the planning the chamfering tool path of the target gear based on the theoretical model and the actual model comprises: planning the chamfering tool path of the target gear based on the theoretical model, the actual model, and the theoretical tool path.

5. The tool path planning method of claim 4, wherein, Before the in-machine measurement based on the theoretical model by using the numerical control machine tool, the method further comprises: simulating the theoretical tool path to detect whether a preset event occurs in the theoretical tool path, the preset event including overcutting and / or interference; when the preset event occurs in the theoretical tool path, updating the theoretical tool path until the preset event no longer occurs in the theoretical tool path.

6. The tool path planning method of claim 5, wherein, The process of updating the theoretical tool path comprises: obtaining an event type of the preset event that occurs in the simulation process of the theoretical tool path; Based on the event type, a corresponding tool path updating strategy is acquired to update the theoretical tool path.

7. A tool path planning apparatus characterized by comprising: The device for planning a rounding machining tool path of a target workpiece comprises: a theoretical model module configured to acquire design parameters of the target workpiece to construct a theoretical model of the target workpiece after rounding; a position measurement module configured to perform on-machine measurement according to the theoretical model by using a numerical control machine tool to acquire position data of measurement points on each surface of the target workpiece; an error acquisition module configured to acquire clamping errors and manufacturing errors of the target workpiece based on the position data; a model reconstruction module configured to reconstruct the theoretical model based on the clamping errors and the manufacturing errors to obtain an actual model of the target workpiece; a path planning module configured to plan a rounding machining tool path of the target workpiece based on the theoretical model and the actual model; the target workpiece is a target gear, and the model reconstruction module is configured to: correct a center of the theoretical model based on clamping errors of the target gear in each coordinate axis direction of a machine tool coordinate system; and correct a tooth face of the theoretical model based on a manufacturing error of a tooth face of the target gear. The device further comprises: a face flattening module configured to acquire an end face runout error of the target gear based on position data of measurement points on an end face of the target gear; an angular correction module configured to acquire a rotation error of the target gear along a rotation axis based on position data of measurement points on concave and convex surfaces of a plurality of teeth of the target gear. The model reconstruction module is further configured to: perform face flattening on the theoretical model based on the end face runout error; and perform angular correction on the theoretical model based on the rotation error.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the method in any one of claims 1-6.

Citation Information

Patent Citations

  • Blade tenon rounding mechanical processing method

    CN104475835A

  • Aviation thin-wall blade compensation processing method

    CN105242637A

  • Quick clamping method for step-by-step alignment of workpiece at degrees of freedom based on on-machine measurement

    CN111761406A