CN103869755A - Method for guaranteeing smoothness of machine tool output power by adjusting machining code feeding speed - Google Patents

Method for guaranteeing smoothness of machine tool output power by adjusting machining code feeding speed Download PDF

Info

Publication number
CN103869755A
CN103869755A CN201410117703.2A CN201410117703A CN103869755A CN 103869755 A CN103869755 A CN 103869755A CN 201410117703 A CN201410117703 A CN 201410117703A CN 103869755 A CN103869755 A CN 103869755A
Authority
CN
China
Prior art keywords
feed
speed
cutting
code
vericut
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410117703.2A
Other languages
Chinese (zh)
Other versions
CN103869755B (en
Inventor
闫光荣
方磊
梁晓震
唐玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201410117703.2A priority Critical patent/CN103869755B/en
Publication of CN103869755A publication Critical patent/CN103869755A/en
Application granted granted Critical
Publication of CN103869755B publication Critical patent/CN103869755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Abstract

The invention discloses a method for guaranteeing the smoothness of the machine tool output power by adjusting the machining code feeding speed. The method is designed mainly for the user demands and the technological characters of the aviation field, domestic high-grade numerical control machine tools serve as the study object, analogue simulation is carried out on the machining process through VERICUT software based on given complex structural member machining codes, secondary development is carried out on the VERICUT software, the machining codes are segmented, the feeding speed of the machining codes of various sections is pushed back according to the required cutting power value, the maximum feeding speed and the minimum feeding speed, speed statements of the feeding speeds at different sections are modified, and the smoothness of an output curve of the machine tool main shaft power is kept to the maximum extent. The method overcomes the defect that the VERICUT software cannot simulate the cutting force, the data relation among cutting parameters, the impact effect of limiting factors on the power and the optimal algorithm are found out, and the smoothness of the machine tool output power is guaranteed by adjusting the feeding speed so that safety of the machine tool, workpieces and tools in the cutting process can be guaranteed.

Description

A kind ofly adjust the method that machining code speed of feed ensures that lathe output power is level and smooth
Technical field
The invention belongs to field of mechanical technique, relate to a kind of method that machining code speed of feed ensures that lathe output power is level and smooth of adjusting.
Background technology
In the NC Machining Process of aircraft structure, need to keep machine tool chief axis output power relatively level and smooth, the safety of guarantee cutting system.But in given job sequence, cutting speed of feed is relatively-stationary, in the time that the material removal amount of cutter moment cutting changes, likely cause the output power of machine tool chief axis extremely unstable because speed of feed is constant, serious impact lathe and cutter steadily, affect serviceable life.
Machine tool chief axis power and the speed of mainshaft, speed of feed, material removal coefficient, cutting-in, cut the parameter correlations such as wide, how, in these parameters, rationally adjust a few parameters wherein, meet machine power and smoothly export requirement, just seem very important.Obviously, in working angles, the speed of mainshaft, material removal coefficient can not arbitrarily change, and can only and cut wide adjustment speed of feed according to current cutting-in.
Machining simulation can be simulated the process of actual parts on computers, the correctness of checking numerical control program, the trial cut work of replacement of parts, can shorten cycle that manufactures and designs of part, being of great practical significance, is also the inexorable trend of Developing Trends of Modern Manufacturing Technology.Current some machining simulation class softwares that use, mostly can only reflect the process of Tool in Cutting part part, user can not set up the lathe and the cutter model that are applicable to self-condition, the simulated environment can only passive Selection Software providing, thereby can not reach nc machining simulation and virtual completely.
VERICUT software is the numerical control machining simulation system of CGTECH company of U.S. exploitation, by NC (Numerical Control, digital control, be called for short numerical control) the module composition such as code verification module, machine tool motion emulation module, path optimizing module, multiaxis module, senior lathe characteristic module, entity comparison module and CAD/CAM interface, can emulation numerically controlled lathe, the NC Machining Process of the various processing equipment such as milling machine, machining center, wire cutting machine tool and gang tool, also can carry out NC code optimization.Can set up complete Virtual Machine by VERICUT software, not only simulated effect is more true to nature, and can realize the virtual manufacture of overall process.Therefore, in actual NC Machining Process, can combining with digital control system, numerical control program, obtain current cutting parameter by the cutting of VERICUT software simulation, material cutting-in and cut parameter and the limiting factor (s)s such as wide in reference power, material removal coefficient, feed engagement and the process of selecting with reference to machine power, user, optimize the speed of feed in NC code, reach the object of level and smooth main shaft output power, and then improve the security of lathe, cutter and workpiece.
But in practical use, while ensureing that by adjusting machining code speed of feed lathe output power is level and smooth, have some to wait the problem solving:
(1) data relationship between various cutting parameters does not have ready-made available formula.
Early stage various countries Cutting data is determined according to cutting handbook, production practices data and cutting test conventionally.Data Source on cutting handbook is the most extensive, and logic is generally stronger, but specific aim and accuracy are poor, obtains data by consulting cutting handbook, all very not enough in the advance of quantity of information and method; Production practices data is for concrete application enterprise, and specific aim is stronger, but data disperse very much, lacks regular; The data that obtain by cutting test, the most targeted, but be subject to many-sided restrictions such as test condition, data volume is very limited, and test condition and production scene condition often difference is larger.Although the cutting parameter of selecting is according to the method feasible, and there is certain optimization, often owing to not being that optimal values causes the wasting of resources and production efficiency not high.
(2) machine power can not directly measure, and is difficult for adjusting in actual production
Machine tool chief axis power and the speed of mainshaft, speed of feed, material removal coefficient, cutting-in, cut the parameter correlations such as wide, can not be by measuring.Therefore,, by the combined influence factor of the numerous parameters of research, rationally adjust a few parameters wherein, can smoothly export to meet machine tool chief axis power.Consider in addition that, in working angles, the speed of mainshaft, material removal coefficient can not arbitrarily change, and how to adjust machining code simultaneously, finally realize smoothly still having of machine tool chief axis output power to be solved.
(3) VERICUT software does not possess the copying of cutting force
VERICUT software geometric simulation functional efficiency is very high, can within even tens of seconds of a few minutes, complete the geometric simulation of complex parts process, but it does not have cutting forces simulation function.Therefore be necessary it to carry out secondary development, program be embedded into VERICUT software, after geometric simulation completes, extract whole process cutting-in, cut the parameters such as wide, speed of feed, cutting speed, and can provide intuitively cutting power.
Summary of the invention
For problems of the prior art, the present invention proposes a kind of method that machining code speed of feed ensures that lathe output power is level and smooth of adjusting, mainly for aviation field user's request and process characteristic, taking domestic high-grade, digitally controlled machine tools as application and research object, on the basis of given complex structural member machining code, by VERICUT software, process is carried out to analogue simulation, and VERICUT software is carried out to secondary development, change the speed of lending in machining code, thereby keep to greatest extent machine tool chief axis power stage curve smoothing.
The present invention adjusts the method that machining code speed of feed ensures that lathe output power is level and smooth, realizes by following step:
Step 1: operation VERICUT software.
Step 2: import the workpiece that will carry out cut in VERICUT software.
Step 3: in VERICUT, load secondary development program, enter step 4, speed of feed in NC code is adjusted.
Step 4: load tool file in VERICUT.
Step 5: NC code is carried out to segmentation according to speed of feed statement given in NC code;
By in NC code, the NC code that each speed of feed statement is corresponding, is divided into one section; Each section all as same speed of feed section.
Step 6: by VERCUIT software, working angles is carried out to analogue simulation, the cutting parameter in acquisition step 6 in the working angles of each same speed of feed section correspondence;
In the working angles of each same speed of feed section correspondence, at interval of apart from x, a sampled point is set along Tool in Cutting path, 1mm≤x≤10mm arranges a sampled point; Subsequently, obtain and record in the working angles of each same speed of feed section correspondence cutting depth, cutting width, cutting speed and speed of feed when cutter moves to each sample point.
Step 7: the cutting power of determining each sample point in the corresponding working angles of each same speed of feed section;
According to power calculation experimental formula in working angles:
Figure BDA0000482400200000031
and the cutting parameter of each sample point of obtaining of step 6, and in conjunction with cutting handbook, determine the Tool in Cutting power of each sample point in the working angles of each same speed of feed section correspondence.In above-mentioned power calculation experimental formula: F is cutting force; C is the coefficient relevant with cutter material, workpiece material, machining condition; K rfor the correction factor product to cutting speed such as workpiece material, blank surface state, cutter material; b 1, b 2, b 3, b 4for correction factor; a pfor cutting depth; a efor cutting width; V is speed of feed; F is feed rate.
Step 8: according to cutting power corresponding to each sampled point in the working angles of the each same speed of feed section correspondence obtaining in step 7, the NC code of each same speed of feed section correspondence is carried out to segmentation again;
In the working angles of each same speed of feed section correspondence, for the 1st and the 2nd sampled point, taking the corresponding performance number of the 1st sampled point as reference value, the corresponding performance number of the 2nd sampled point and the 1st performance number that sampled point is corresponding are done to difference afterwards as the value of comparison, compare with reference value; For i sampled point, i=3,4,5, Using the mean value of i-1 the performance number corresponding with i-2 sampled point as reference value, i the performance number corresponding with i-1 sampled point done the rear conduct of the difference value of comparison, compares with reference value.
Above-mentioned each sampled point and reference value will satisfy condition 1 after comparing, and between continuous sampled point, corresponding NC code division is one section; To satisfy condition 2, and between continuous sampled point, corresponding NC code division is one section; Wherein, condition 1 is: comparison value is less than or equal to 10% of reference value; Condition 2 is: comparison value is greater than 10% of reference value.According to above-mentioned segmentation method, travel through in the working angles of each same speed of feed section correspondence all after sampled points, by the NC code segmentation again of each same speed of feed section correspondence, each section all as to be adjusted section.
Step 9: each the to be adjusted section of insertion obtaining in step 8: the corresponding speed of feed of same speed of feed section at each to be adjusted section of place, as each initial speed of feed of to be adjusted section.
Step 10: according to performance number corresponding to whole sampled points obtaining in step 7, draw powertrace, change by power actual in powertrace simulation cutting process, and show in user interface.
Step 11: whether the powertrace obtaining in determining step 10 is level and smooth, if powertrace is unsmooth, performs step 12; If powertrace is level and smooth, directly perform step 16.
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing work, input target cutting power value, maximum speed of feed and minimum speed of feed.
Step 13: the anti-cutting speed pushing away in working angles;
The target cutting parameter of inputting according to step 12, the segmentation to NC code in integrating step 8, by cutting power experimental formula, the anti-speed of feed pushing away at whole sampled points.Meanwhile, after being added, the speed of feed that belongs to sampled point in each to be adjusted section is averaged, as the optimization speed of feed of each to be adjusted section of corresponding NC code.
Step 14: the optimization speed of feed of the each to be adjusted section of corresponding NC code that step 13 is obtained, revise respectively initial speed of feed in each to be adjusted section of corresponding NC code.
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out to analogue simulation, again determine the cutting power of each sampled point by step 7 subsequently, and draw after powertrace, return to step 11.
Step 16: cutting simulation completes, obtains level and smooth output power curve figure.
Step 17: at the document location of preserving, find and obtain the amended NC code of speed of feed.
Step 18: exit VERICUT software.
The invention has the advantages that:
1, the inventive method has realized by user's request and has immediately revised NC code speed of feed, guaranteed the as far as possible level and smooth of lathe output power curve, has improved the safety in utilization of lathe, cutter, workpiece.
2, the inventive method obtains machine cut power by experimental formula, and proposes power segmentation rule, has demonstrated the powertrace in process intuitively to user;
3, the inventive method has been expanded the function of VERICUT, can pass through VERICUT analogue simulation, immediately provides cutting parameter, and perfect VERICUT software can not calculate this defect of cutting force.
Brief description of the drawings
Fig. 1 is that adjustment machining code speed of feed of the present invention ensures the method flow diagram that lathe output power is level and smooth;
Fig. 2 is VERICUT software secondary development schematic diagram.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present invention proposes a kind of method that machining code speed of feed ensures that lathe output power is level and smooth of adjusting, based on VERICUT software, utilize VERICUT software to carry out cutting simulation function to NC code, and can carry out secondary development and realize by Optipath API the feature of cutting forces simulation, as shown in Figure 1, specifically comprise the following steps:
Step 1: operation VERICUT software.
Step 2: import the workpiece that will carry out cut in VERICUT software, set up processing environment.
Step 3: in VERICUT, load secondary development program;
Open Optipath API switch at VERICUT, the optipath option in the menu bar in VERICUT software interface ejects dialog box, and optipath is set to duty, and sets output document position.Subsequently, in VERICUT, load secondary development program, enter step 4, speed of feed in NC code is adjusted; Thereby by VERICUT software, NC code is carried out after cutting simulation, in the output document position of setting, can obtain by user's request the NC code after adjustment.
VERICUT provides two kinds of methods to carry out secondary development to software, and first method is path optimization's application programming interfaces, is called for short Optipath API (optimize path-application programminginterface); Second method is the grand expanded application interface of C, is called for short:
CME-API (CMacroExtension-ApplicationProgrammingInterface) uses grand method can complete some fairly simple secondary development, but also there are some limitation such as function is limited, operation is inconvenient, and it is bad that dialog box etc. are combined with VERICUT look & feel etc.Development scheme based on OptipathAPI can address these problems because the object developing software is to extract machined parameters and calculate to obtain cutting force, and in Optipath method, has the function of extracting parameter, so use Optipath API to carry out secondary development.
Step 4: load tool file (form is tls) in VERICUT; Tool file is the XML file customizing, the geological information that comprises processing use cutter.
Step 5: NC code is carried out to segmentation according to speed of feed statement given in NC code;
By in NC code, the NC code that each speed of feed statement is corresponding, is divided into one section; Thus, NC code is divided into multistage, each section all as same speed of feed section, corresponding unique speed of feed.
Step 6: by VERCUIT software, working angles is carried out to analogue simulation, the cutting parameter in acquisition step 6 in the working angles of each same speed of feed section correspondence;
Cutting parameter is the important bridge of setting up between geometric simulation and physical simulation; Therefore in the present invention, passed through VERICUT software emulation cutting function, in the working angles of each same speed of feed section correspondence, at interval of apart from x, a sampled point has been set along Tool in Cutting path, 1mm≤x≤10mm arranges a sampled point; Subsequently, obtain and record in the working angles of each same speed of feed section correspondence cutting depth, cutting width, cutting speed and speed of feed when cutter moves to each sample point.
Step 7: the cutting power of determining each sample point in the corresponding working angles of each same speed of feed section;
According to power calculation experimental formula in working angles:
Figure BDA0000482400200000051
and the cutting parameter of each sample point of obtaining of step 6, and in conjunction with cutting handbook, determine the Tool in Cutting power of each sample point in the working angles of each same speed of feed section correspondence.In above-mentioned power calculation experimental formula: F is cutting force; C is the coefficient relevant with cutter material, workpiece material, machining condition; K rfor the correction factor product to cutting speed such as workpiece material, blank surface state, cutter material; b 1, b 2, b 3, b 4for correction factor; a pfor cutting depth; a efor cutting width; V is speed of feed; F is feed rate.Be multiplied by speed of feed v by cutting force F thus, can obtain the cutting power of each sample point.
Step 8: according to cutting power corresponding to each sampled point in the working angles of the each same speed of feed section correspondence obtaining in step 7, the NC code of each same speed of feed section correspondence is carried out to segmentation again;
In the working angles of each same speed of feed section correspondence, for the 1st and the 2nd sampled point, taking the corresponding performance number of the 1st sampled point as reference value, the corresponding performance number of the 2nd sampled point and the 1st performance number that sampled point is corresponding are done to difference afterwards as the value of comparison, compare with reference value; For i sampled point, i=3,4,5, Using the mean value of i-1 the performance number corresponding with i-2 sampled point as reference value, i the performance number corresponding with i-1 sampled point done the rear conduct of the difference value of comparison, compares with reference value;
Above-mentioned each sampled point and reference value will satisfy condition 1 after comparing, and between continuous sampled point, corresponding NC code division is one section; To satisfy condition 2, and between continuous sampled point, corresponding NC code division is one section; Wherein, condition 1 is: comparison value is less than or equal to 10% of reference value; Condition 2 is: comparison value is greater than 10% of reference value.According to above-mentioned segmentation method, travel through in the working angles of each same speed of feed section correspondence all after sampled points, the NC code of each same speed of feed section correspondence can be divided into multistage again, each section all as to be adjusted section.
Step 9: each the to be adjusted section of insertion again obtaining after segmentation in step 8: the corresponding speed of feed of same speed of feed section at each to be adjusted section of place, as each initial speed of feed of to be adjusted section; Thus, modifying by the initial speed of feed to each to be regulated section, make power adjustment meticulousr.
Step 10: according to performance number corresponding to whole sampled points obtaining in step 7, draw powertrace, change by power actual in powertrace simulation cutting process, and show in user interface.
Step 11: whether the powertrace obtaining in determining step 10 is level and smooth, if powertrace is unsmooth, performs step 12; If powertrace is level and smooth, directly perform step 16.
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing work, input target cutting power value, maximum speed of feed and minimum speed of feed.Speed of feed is excessive, can affect serviceable life and the security of cutting tool and lathe; Speed of feed is too small, can affect the stock-removing efficiency in working angles.
Step 13: the anti-cutting speed pushing away in working angles;
The target cutting parameter of inputting according to step 12, the segmentation of NC code in integrating step 8, by cutting power experimental formula, the anti-speed of feed pushing away at whole sampled points; Meanwhile, after being added, the speed of feed that belongs to sampled point in each to be adjusted section is averaged, as the optimization speed of feed of each to be adjusted section of corresponding NC code.
Step 14: the optimization speed of feed of the each to be adjusted section of corresponding NC code that step 13 is obtained, revise respectively initial speed of feed in each to be adjusted section of corresponding NC code.
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out to analogue simulation, again determine the cutting power of each sampled point by step 7 subsequently, and draw after powertrace, return to step 11.
Step 16: cutting simulation completes, obtains a basic level and smooth output power curve figure.
Step 17: at the document location of preserving, find and obtain the amended NC code of speed of feed.
Step 18: exit VERICUT software.
In step 3 of the present invention, the secondary development that realizes VERICUT software by Optipath API is mainly divided into following steps, as shown in Figure 2:
A: amendment computing system environments variable.
The system environment variable of variable " CGTECH_OPAPI " by name is defined as to the dll file that finally will produce, and sets the document location of depositing this dll file; Thus, in the time opening VERICUT, VERICUT will automatically move the optimization module of VERICUT self and be connected to user's secondary development program under Optipath API pattern.And the function of the optimization module of VERICUT self will no longer can be used.
B: new construction, the programming file needing in the dynamic link library that interpolation VERICUT provides.
A newly-built called after optipath project file, writes master program file opati_vericut.c and corresponding header file optiapi.H, optimport.h therein.The Optipath API instrument of VERICUT provides 5 Setup Function and 25 Utility Function, in project file, by calling Setup Function, simulated environment is arranged, call Utility Function and extract the data of cutting parameter output function extraction.
C, in new construction, write Optimized code, realize other functions of Process and programme to calculate of cutting power.
D, interpolation MFC resource, realize user interface.
E, realize the data communication of Optimized code and user interface.
After developing user interface, realize in addition the data communication of Optimized code and user interface, utilize the final realization of MFC correlation module figure line to represent the cutting power calculating in secondary development program; Also to, in the user interface of MFC compiling, realize and allow user by actual demand simultaneously, the relevant cutting parameter of input, and these parameters finally can be delivered in secondary development program, and final realization changed speed of feed by user's requirement, adjusts secondary development program.
F, compiling generate dll file;
After project file has been write, compiling generates can carry out dll file.
G, by secondary development program, embed in VERICUT;
Secondary development program is embedded to the dll file of producing, put into the document location that step a sets, path optimization's process of VERICUT is upgraded to the optipath.dll file that is about to generate and cover under VERICUT installation directory, replace original optipath.dll file.
H, amended NC code deposit position is set.
Open software, choose the optipath option of the menu bar in VERICUT software interface to eject dialog box, optipath is set to duty and keys in the NC code position after output modifications.After completing geometric simulation, can obtain amended NC code in output file position.

Claims (2)

1. adjust the method that machining code speed of feed ensures that lathe output power is level and smooth, it is characterized in that: comprise the following steps:
Step 1: operation VERICUT software;
Step 2: import the workpiece that will carry out cut in VERICUT software;
Step 3: in VERICUT, load secondary development program, enter step 4, speed of feed in NC code is adjusted;
Step 4: load tool file in VERICUT;
Step 5: NC code is carried out to segmentation according to speed of feed statement given in NC code;
By in NC code, the NC code that each speed of feed statement is corresponding, is divided into one section; Each section all as same speed of feed section.
Step 6: by VERCUIT software, working angles is carried out to analogue simulation, the cutting parameter in acquisition step 6 in the working angles of each same speed of feed section correspondence;
In the working angles of each same speed of feed section correspondence, at interval of apart from x, a sampled point is set along Tool in Cutting path, 1mm≤x≤10mm arranges a sampled point; Subsequently, obtain and record in the working angles of each same speed of feed section correspondence cutting depth, cutting width, cutting speed and speed of feed when cutter moves to each sample point.
Step 7: the cutting power of determining each sample point in the corresponding working angles of each same speed of feed section;
According to power calculation experimental formula in working angles:
Figure FDA0000482400190000011
and the cutting parameter of each sample point of obtaining of step 6, and in conjunction with cutting handbook, determine the Tool in Cutting power of each sample point in the working angles of each same speed of feed section correspondence.In above-mentioned power calculation experimental formula: F is cutting force; C is the coefficient relevant with cutter material, workpiece material, machining condition; K rfor the correction factor product to cutting speed such as workpiece material, blank surface state, cutter material; b 1, b 2, b 3, b 4for correction factor; a pfor cutting depth; a efor cutting width; V is speed of feed; F is feed rate.
Step 8: according to cutting power corresponding to each sampled point in the working angles of the each same speed of feed section correspondence obtaining in step 7, the NC code of each same speed of feed section correspondence is carried out to segmentation again;
In the working angles of each same speed of feed section correspondence, for the 1st and the 2nd sampled point, taking the corresponding performance number of the 1st sampled point as reference value, the corresponding performance number of the 2nd sampled point and the 1st performance number that sampled point is corresponding are done to difference afterwards as the value of comparison, compare with reference value; For i sampled point, i=3,4,5, Using the mean value of i-1 the performance number corresponding with i-2 sampled point as reference value, i the performance number corresponding with i-1 sampled point done the rear conduct of the difference value of comparison, compares with reference value;
Above-mentioned each sampled point and reference value will satisfy condition 1 after comparing, and between continuous sampled point, corresponding NC code division is one section; To satisfy condition 2, and between continuous sampled point, corresponding NC code division is one section; Wherein, condition 1 is: comparison value is less than or equal to 10% of reference value; Condition 2 is: comparison value is greater than 10% of reference value.According to above-mentioned segmentation method, travel through in the working angles of each same speed of feed section correspondence all after sampled points, by the NC code segmentation again of each same speed of feed section correspondence, each section all as to be adjusted section;
Step 9: each the to be adjusted section of insertion obtaining in step 8: the corresponding speed of feed of same speed of feed section at each to be adjusted section of place, as each initial speed of feed of to be adjusted section;
Step 10: according to performance number corresponding to whole sampled points obtaining in step 7, draw powertrace, change by power actual in powertrace simulation cutting process, and show in user interface;
Step 11: whether the powertrace obtaining in determining step 10 is level and smooth, if powertrace is unsmooth, performs step 12; If powertrace is level and smooth, directly perform step 16.
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing work, input target cutting power value, maximum speed of feed and minimum speed of feed;
Step 13: the anti-cutting speed pushing away in working angles;
The target cutting parameter of inputting according to step 12, the segmentation to NC code in integrating step 8, by cutting power experimental formula, the anti-speed of feed pushing away at whole sampled points; Meanwhile, after being added, the speed of feed that belongs to sampled point in each to be adjusted section is averaged, as the optimization speed of feed of each to be adjusted section of corresponding NC code;
Step 14: the optimization speed of feed of the each to be adjusted section of corresponding NC code that step 13 is obtained, revise respectively initial speed of feed in each to be adjusted section of corresponding NC code;
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out to analogue simulation, again determine the cutting power of each sampled point by step 7 subsequently, and draw after powertrace, return to step 11;
Step 16: cutting simulation completes, obtains level and smooth output power curve figure;
Step 17: at the document location of preserving, find and obtain the amended NC code of speed of feed;
Step 18: exit VERICUT software.
2. a kind ofly as claimed in claim 1 adjust the method that machining code speed of feed ensures that lathe output power is level and smooth, it is characterized in that: in step 3, the secondary development that realizes VERICUT software by Optipath API is mainly divided into following steps:
A: amendment computing system environments variable.
The system environment variable of variable " CGTECH_OPAPI " by name is defined as to the dll file that finally will produce, and sets deposit position;
B: new construction, the programming file needing in the dynamic link library that interpolation VERICUT provides.
A newly-built called after optipath project file, writes master program file opati_vericut.c and corresponding header file optiapi.H, optimport.h therein; In project file, by calling Setup Function, simulated environment is arranged, call Utility Function and extract the data of cutting parameter output function extraction;
C, in new construction, write Optimized code, realize the calculating of cutting power and the adjustment function of NC code;
D, interpolation MFC resource, realize user interface;
E, realize secondary development program with and the data communication of user interface.After developing user interface, also to realize and the data communication of user interface, utilize the final cutting power that represents each sampled point with figure line of realizing of MFC correlation module; Also to, in the user interface of MFC compiling, realize and allow user by actual demand simultaneously, the relevant cutting parameter of input, and these parameters finally can be delivered in secondary development program, realize and change speed of feed by user's requirement, adjust secondary development program.
F, compiling generate dll file;
After project file has been write, compiling generates can carry out dll file;
G, by secondary development program, embed in VERICUT;
Secondary development program is embedded to the dll file of producing, put into the document location that step a sets, path optimization's process of VERICUT is upgraded to the optipath.dll file that is about to generate and cover under VERICUT installation directory, replace original optipath.dll file;
H, amended NC code deposit position is set;
Open software, choose the optipath option of menu bar in VERICUT software interface to eject dialog box, optipath is set to duty and keys in the NC code position after output modifications.
CN201410117703.2A 2014-03-26 2014-03-26 A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth Active CN103869755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410117703.2A CN103869755B (en) 2014-03-26 2014-03-26 A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410117703.2A CN103869755B (en) 2014-03-26 2014-03-26 A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth

Publications (2)

Publication Number Publication Date
CN103869755A true CN103869755A (en) 2014-06-18
CN103869755B CN103869755B (en) 2016-08-17

Family

ID=50908400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410117703.2A Active CN103869755B (en) 2014-03-26 2014-03-26 A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth

Country Status (1)

Country Link
CN (1) CN103869755B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104483905A (en) * 2014-11-11 2015-04-01 Abb技术有限公司 Method and system for controlling robot to machine components
CN104950796A (en) * 2015-06-15 2015-09-30 闫光荣 Cutting method, cutting device and system
CN105388846A (en) * 2014-08-28 2016-03-09 发那科株式会社 Numerical controller for facilitating adjustment of machining motion
CN106527180A (en) * 2016-12-15 2017-03-22 北京航空航天大学 Method for realizing lathe machining simulation of two-axle machine tool based on two-dimensional images
CN107664982A (en) * 2017-08-16 2018-02-06 沈阳航天新光集团有限公司 A kind of method optimized using smooth cutting power as target to cutter path
CN110531710A (en) * 2019-10-09 2019-12-03 西北工业大学 Feeding speed optimization method based on main axis constant power constraint
CN110750074A (en) * 2019-11-19 2020-02-04 上海交通大学 Numerical control machining optimization system and method based on physical simulation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040204786A1 (en) * 2003-04-08 2004-10-14 Mori Seiki Co., Ltd. Automatic programming apparatus
JP2005100472A (en) * 2004-11-29 2005-04-14 Yoshinori Horiguchi Three-dimension processing method and machine by biaxial numerical control
CN101169647A (en) * 2006-10-27 2008-04-30 上海电气集团股份有限公司中央研究院 Mini line segment curve five-axis linkage machining speed smoothing method
CN101898217A (en) * 2009-05-26 2010-12-01 鹤壁天汽模汽车模具有限公司 Digital automobile beam frame fine punching mold machining process
CN201820115U (en) * 2010-10-26 2011-05-04 傅小红 Control device for microcomputer NC machine tool
CN102866638A (en) * 2012-10-22 2013-01-09 天津商业大学 Double-turntable five-axis numerical control machine tool virtual assembling and numerical control machining simulation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040204786A1 (en) * 2003-04-08 2004-10-14 Mori Seiki Co., Ltd. Automatic programming apparatus
JP2005100472A (en) * 2004-11-29 2005-04-14 Yoshinori Horiguchi Three-dimension processing method and machine by biaxial numerical control
CN101169647A (en) * 2006-10-27 2008-04-30 上海电气集团股份有限公司中央研究院 Mini line segment curve five-axis linkage machining speed smoothing method
CN101898217A (en) * 2009-05-26 2010-12-01 鹤壁天汽模汽车模具有限公司 Digital automobile beam frame fine punching mold machining process
CN201820115U (en) * 2010-10-26 2011-05-04 傅小红 Control device for microcomputer NC machine tool
CN102866638A (en) * 2012-10-22 2013-01-09 天津商业大学 Double-turntable five-axis numerical control machine tool virtual assembling and numerical control machining simulation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
崔海龙,关立文,滑勇之,王小龙: "基于VERICUT二次开发的数控加工切削力仿真研究", 《组合机床与自动化加工技术》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388846A (en) * 2014-08-28 2016-03-09 发那科株式会社 Numerical controller for facilitating adjustment of machining motion
CN105388846B (en) * 2014-08-28 2019-06-07 发那科株式会社 The numerical control device for becoming easy the adjustment of processing action
CN104483905A (en) * 2014-11-11 2015-04-01 Abb技术有限公司 Method and system for controlling robot to machine components
CN104950796A (en) * 2015-06-15 2015-09-30 闫光荣 Cutting method, cutting device and system
CN104950796B (en) * 2015-06-15 2018-01-05 北京航空航天大学 Cutting process, topping machanism and system
CN106527180A (en) * 2016-12-15 2017-03-22 北京航空航天大学 Method for realizing lathe machining simulation of two-axle machine tool based on two-dimensional images
CN107664982A (en) * 2017-08-16 2018-02-06 沈阳航天新光集团有限公司 A kind of method optimized using smooth cutting power as target to cutter path
CN110531710A (en) * 2019-10-09 2019-12-03 西北工业大学 Feeding speed optimization method based on main axis constant power constraint
CN110531710B (en) * 2019-10-09 2022-02-25 西北工业大学 Feeding speed optimization method based on main shaft constant power constraint
CN110750074A (en) * 2019-11-19 2020-02-04 上海交通大学 Numerical control machining optimization system and method based on physical simulation
CN110750074B (en) * 2019-11-19 2022-05-06 上海交通大学 Numerical control machining optimization system and method based on physical simulation

Also Published As

Publication number Publication date
CN103869755B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103869755A (en) Method for guaranteeing smoothness of machine tool output power by adjusting machining code feeding speed
CN102411333B (en) Fast numerical control machining process system for complex parts of airplane
Cus et al. Approach to optimization of cutting conditions by using artificial neural networks
CN103454972B (en) Based on the method for the cutter five-shaft numerical control grinding automated programming of UG NX API
Liu et al. A feature-based method for NC machining time estimation
CN101960457A (en) Method and device for composite machining
TW202022652A (en) Machining parameter adjustment system and maching parameter adjustment method
CN103020381A (en) Three-dimensional mechanical in-process model sequential modeling method based on removal feature recognition
KR100461789B1 (en) Method for performing delta volume decomposition and process planning in a turning step-nc system
KR101405039B1 (en) Manufacturing process automation method and system
CN103869754A (en) Numerical control machining method
CN104143029A (en) Parameterization design method for cutterhead of indexable end face milling cutter
CN102831279B (en) Automatic calculation system and method of electroplating technological parameters of diamond products based on CAD (computer-aided design)
Fecova et al. Computer aided manufacturing process planning by group technology application
WO2009101688A1 (en) Electric discharge machining device
CN103065019A (en) Application method of straight gear tooth rack cutter CAD (computer-aided design) drafting system
Bonnard et al. Integration of rapid manufacturing processes in a high-level numerical chain
Mohamad et al. Simulation program for 4th Axis CNC machining in NX CAM system
CN112000063B (en) Die layered corner cleaning numerical control machining system and technological method thereof
CN114201789A (en) Two-dimensional process design method based on three-dimensional data source in Teamcenter system
Sudo et al. Basic study on development of innovative CNC for improving machining quality based on data sharing
KR20190052299A (en) Power mill program control method and storage medium
Cao et al. Three-dimensional standard part library development based on Pro/TOOLKIT and database
Sheen et al. Process planning and NC-code generation in manufacturing of press dies for production of car bodies
KR101847417B1 (en) Automatic system of wire-cut electro discharge

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant