CN103869755B - A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth - Google Patents
A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth Download PDFInfo
- Publication number
- CN103869755B CN103869755B CN201410117703.2A CN201410117703A CN103869755B CN 103869755 B CN103869755 B CN 103869755B CN 201410117703 A CN201410117703 A CN 201410117703A CN 103869755 B CN103869755 B CN 103869755B
- Authority
- CN
- China
- Prior art keywords
- feed speed
- cutting
- code
- section
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P70/00—Climate change mitigation technologies in the production process for final industrial or consumer products
- Y02P70/10—Greenhouse 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
Landscapes
- Numerical Control (AREA)
Abstract
The present invention discloses a kind of machining code feed speed that adjusts to ensure the method that lathe output is smooth, mainly for aviation field user's request and process characteristic, with domestic high-grade, digitally controlled machine tools as object of study, on the basis of given complex structural member machining code, by VERICUT software, the course of processing is carried out analogue simulation, and VERICUT software is carried out secondary development, machining code is carried out segment processing, cutting power value according to demand, minimax feed speed, the anti-feed speed pushing away each section of machining code, and each section of interior feed speed speed statement is modified, machine tool chief axis power curve of output is kept to smooth to greatest extent.The present invention is perfect, and VERICUT software can not carry out this defect of emulation of cutting force, have found the data relationship between a cutting parameter, with limiting factor to the impact effect of power and optimal algorithm, achieve and ensure that lathe output is smooth to ensure by adjustment feed speed, the safety of lathe, workpiece, cutter in working angles.
Description
Technical field
The invention belongs to field of mechanical technique, relate to a kind of machining code feed speed that adjusts to ensure what lathe output smoothed
Method.
Background technology
In the NC Machining Process of aircraft structure, need to keep machine tool chief axis output relative smooth, guarantee cuts system
The safety of system.But, in given processor, cutting feed speed is relatively-stationary, when the material of cutter moment cutting
When material removal amount changes, the output being likely to result in machine tool chief axis because feed speed is constant is the most unstable, seriously rushes
Hit the steady of lathe and cutter, affect service life.
Machine tool chief axis power and the speed of mainshaft, feed speed, material removal coefficient, cutting-in, to cut the parameters such as width relevant, how to exist
In these parameters, Reasonable adjustment a few parameters therein, meet machine power smooth output requirement, just seem particularly significant.
Obviously, in working angles, the speed of mainshaft, material removal coefficient can not arbitrarily change, can only according to current cutting-in and
Cut wide adjustment feed speed.
Machining simulation can simulate the course of processing of actual parts, the correctness of checking numerical control program, replacement of parts on computers
Trial cut work, it is possible to shorten part manufacture and design the cycle, be of great practical significance, be also Modern Manufacturing Technology
The inexorable trend of development.Some the machining simulation class softwares used now, can only reflect Tool in Cutting part portion mostly
The course of processing, user can not set up lathe and the cutter model of applicable self-condition, can only passively Selection Software provide emulation ring
Border, thus nc machining simulation and virtualization completely can not be reached.
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) code verification module, machine tool motion emulation module, path optimizing module, many axle modules,
The module such as senior lathe characteristic module, entity comparison module and CAD/CAM interface composition, can emulate numerically controlled lathe, milling machine,
The NC Machining Process of the various processing equipment such as machining center, wire cutting machine tool and gang tool, also can carry out NC code optimization.
Then can be set up complete Virtual Machine by VERICUT software, not only simulated effect is more life-like, and is capable of complete
The virtual manufacture of process.Therefore, in actual NC Machining Process, can pass through with combining with digital control system, numerical control program
VERICUT software simulation cutting obtains current cutting parameter, with reference to machine power, the reference power of user's selection, material
Material cutting-in and cut parameter and the limiting factor (s)s such as width in excision coefficient, feed engagement and the course of processing, optimizes in NC code
Feed speed, reaches the purpose of smooth spindle output, and then improves lathe, cutter and the safety of workpiece.
But in practical use, when ensureing that lathe output smooths by adjusting machining code feed speed, there are some still
Problem to be solved:
(1) data relationship between various cutting parameters does not has readily available formula.
Various countries' Cutting data generally determines according to cutting handbook, production practices data and cutting test in early days.On cutting handbook
Data Source is the most extensive, and logic is the strongest, but specific aim and accuracy are poor, obtains data by consulting cutting handbook,
In the advance of quantity of information and method the most not enough;Production practices data is for concrete application enterprise, and specific aim is relatively strong,
But data are disperseed very much, lack regularity;The data obtained by cutting test, the most targetedly, but many by experimental condition etc.
The restriction of aspect, data volume is extremely limited, and experimental condition is bigger with production scene condition often difference.According to the method
Although the cutting parameter selected is feasible, and there is certain optimization, but often due to be not optimal values and cause
The wasting of resources and production efficiency are the highest.
(2) machine power can not directly be measured and obtain, and is difficult to adjust in actual production
Machine tool chief axis power and the speed of mainshaft, feed speed, material removal coefficient, cutting-in, to cut the parameters such as width relevant, it is impossible to leans on
Measurement obtains.Therefore, be by studying the combined influence factor of numerous parameters, Reasonable adjustment a few parameters therein, with full
Foot machine tool chief axis power can smooth output.Also having in view of in working angles, the speed of mainshaft, material removal coefficient are simultaneously
Can not arbitrarily change, how to adjust machining code, finally realizing machine tool chief axis output smooth still has to be solved.
(3) VERICUT software does not possess the copying of cutting force
VERICUT software geometric simulation functional efficiency is the highest, it is possible to complete complex parts processing within a few minutes the most tens of second
The geometric simulation of process, but it does not has cutting forces simulation function.It is therefore desirable to it is carried out secondary development, program is embedding
Enter to VERICUT software, after geometric simulation completes, extract the cutting-in of the whole course of processing, cut width, feed speed, cut
Cut the parameters such as speed, and cutting power can be given intuitively.
Summary of the invention
For problems of the prior art, the present invention proposes a kind of machining code feed speed that adjusts to ensure lathe output work
The method of counting smooth, mainly for aviation field user's request and process characteristic, with domestic high-grade, digitally controlled machine tools for application and research
Object, on the basis of given complex structural member machining code, carries out analogue simulation by VERICUT software to the course of processing,
And VERICUT software is carried out secondary development, change the speed of lending in machining code, thus keep lathe master to greatest extent
Shaft power curve of output smooths.
The present invention adjusts machining code feed speed to ensure the method that lathe output is smooth, is realized by following step:
Step 1: run VERICUT software.
Step 2: import the workpiece of machining to be carried out in VERICUT software.
Step 3: in VERICUT, loads secondary development program, enters step 4, enters feed speed in NC code
Row sum-equal matrix.
Step 4: load tool file in VERICUT.
Step 5: NC code is carried out segmentation according to feed speed statement given in NC code;
By in NC code, the NC code that each feed speed statement is corresponding, it is divided into one section;Each section of equal conduct is with feeding speed
Degree section.
Step 6: by VERCUIT software, working angles is carried out analogue simulation, it is thus achieved that each same feeding speed in step 6
Cutting parameter in the working angles that degree section is corresponding;
In the working angles that each same feed speed section is corresponding, along tool cutting path at interval of distance x, a sampling is set
Point, 1mm≤x≤10mm arranges a sampled point;Subsequently, obtain and record the cutting that each same feed speed section is corresponding
Cutting depth, cutting width, cutting speed and feed speed when cutter moves to each sample point in journey.
Step 7: determine the cutting power of each sample point in each same feed speed section correspondence working angles;
According to power calculation empirical equation in working angles:And each obtained by step 6
The cutting parameter of individual sample point, and combine cutting handbook, determine that in the working angles that each same feed speed section is corresponding, each is adopted
Tool in Cutting power at sampling point.In above-mentioned power calculation empirical equation: F is cutting force;C is and cutter material, workpiece material
The coefficient that material, machining condition are relevant;KrFor the correction system to cutting speed such as workpiece material, blank surface state, cutter material
Number product;b1、b2、b3、b4For correction factor;apFor cutting depth;aeFor cutting width;V is feed speed;F is for entering
To rate.
Step 8: according to corresponding the cutting of each sampled point in the working angles that each same feed speed section obtained in step 7 is corresponding
Cut power, the NC code that each same feed speed section is corresponding is carried out segmentation again;
In the working angles that each same feed speed section is corresponding, for the 1st with the 2nd sampled point, adopt with the 1st
It is worth on the basis of sampling point correspondence performance number, the 2nd sampled point correspondence performance number is done after the recovery with the 1st performance number that sampled point is corresponding
As comparison value, compare with reference value;For ith sample point, i=3,4,5 ...;With the i-th-1 with
The meansigma methods of the performance number that the i-th-2 sampled points are corresponding is as reference value, and the i-th performance number corresponding with the i-th-1 sampled point is done
After the recovery, as comparison value, is compared with reference value.
After each sampled point above-mentioned and reference value are compared, NC generation corresponding between condition 1, and continuous print sampled point will be met
Code is divided into one section;NC code corresponding between condition 2, and continuous print sampled point will be met and be divided into one section;Wherein, condition 1
For: comparison value is less than or equal to the 10% of reference value;Condition 2 is: comparison value is more than the 10% of reference value.According to above-mentioned segmentation
Method, travels through in the working angles that each same feed speed section is corresponding after whole sampled points, by corresponding for each same feed speed section
The segmentation again of NC code, each section all as to be adjusted section.
Step 9: each the to be adjusted section insertion obtained in step 8: the same feed speed section at each to be adjusted section of place is corresponding
Feed speed, as each initial feed speed of to be adjusted section.
Step 10: according to the performance number that the whole sampled points obtained in step 7 are corresponding, draws power curve, passes through power curve
Changed power actual during simulation cutting, and show in the user interface.
Step 11: judge whether the power curve obtained in step 10 smooths, if power curve is unsmooth, then performs step 12;
If power curve smooths, the most directly perform step 16.
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing workpiece, input target cutting power value, maximum feed speed with
Little feed speed.
Step 13: the anti-cutting speed pushed away in working angles;
According to the target cutting parameter of step 12 input, segmentation to NC code in integrating step 8, by cutting power experience
Formula, counter pushes away the feed speed at whole sampled points.Meanwhile, the feed speed belonging to sampled point in each to be adjusted section is added
After be averaged, as the optimization feed speed of each to be adjusted section of corresponding NC code.
Step 14: the optimization feed speed of each to be adjusted section of corresponding NC code step 13 obtained, is respectively modified every
Initial feed speed in individual to be adjusted section of corresponding NC code.
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out analogue simulation,
Again determine the cutting power of each sampled point by step 7 subsequently, and after drawing power curve, return step 11.
Step 16: cutting simulation completes, obtains the output power curve figure smoothed.
Step 17: at the document location preserved, find and obtain feed speed amended NC code.
Step 18: exit VERICUT software.
It is an advantage of the current invention that:
1, the inventive method achieves and immediately revises NC code feed speed by user's request, it is ensured that lathe output power curve
As far as possible smooth, improve the safety in utilization of lathe, cutter, workpiece.
2, the inventive method obtains machine cut power by empirical equation, and proposes power segmentation rule, shows to user intuitively
Show the power curve in the course of processing;
3, the inventive method extends the function of VERICUT, can pass through VERICUT analogue simulation, immediately provide cutting
Parameter, and perfect VERICUT software can not calculate this defect of cutting force.
Accompanying drawing explanation
Fig. 1 is that the adjustment machining code feed speed of the present invention is to ensure the method flow diagram that lathe output is smooth;
Fig. 2 is VERICUT software secondary development schematic diagram.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present invention proposes a kind of machining code feed speed that adjusts to ensure the method that lathe output is smooth, based on
VERICUT software, utilize VERICUT software that NC code can carry out cutting simulation function, and can pass through
Optipath API carries out secondary development and realizes the feature of cutting forces simulation, as it is shown in figure 1, specifically include following steps:
Step 1: run VERICUT software.
Step 2: import the workpiece of machining to be carried out in VERICUT software, set up processing environment.
Step 3: in VERICUT, loads secondary development program;
Optipath API switch, the optipath in menu bar in VERICUT software interface is opened at VERICUT
Option pop-up dialogue box, is set to optipath duty, and sets output document position.Subsequently, at VERICUT
Middle loading secondary development program, enters step 4, is adjusted feed speed in NC code;Thus pass through VERICUT
After software carries out cutting simulation to NC code, in the output document position set, can obtain by user's request, the NC after adjustment
Code.
VERICUT provides two kinds of methods and software carries out secondary development, and first method is path optimization's application programming interfaces,
It is called for short Optipath API (optimize path-application programminginterface);Second method is
C grand expanded application interface, is called for short:
CME-API (CMacroExtension-ApplicationProgrammingInterface) uses grand method
Some fairly simple secondary development can be completed, but it is limited also to have some limitation such as function, run inconvenience, right
It is bad etc. that words frame etc. is combined with VERICUT look & feel.Development scheme based on OptipathAPI then can solve this
Due to the purpose of exploitation software, a little problems are that extracting machined parameters calculates to obtain cutting force, and exist in Optipath method and extract ginseng
The function of number, then uses Optipath API to carry out secondary development.
Step 4: load tool file (form is tls) in VERICUT;Tool file is the XML file customized,
Comprise processing and use the geological information of cutter.
Step 5: NC code is carried out segmentation according to feed speed statement given in NC code;
By in NC code, the NC code that each feed speed statement is corresponding, it is divided into one section;Thus, NC code is divided
For multistage, each section of equal conduct with feed speed section, corresponding unique feed speed.
Step 6: by VERCUIT software, working angles is carried out analogue simulation, it is thus achieved that each same feeding speed in step 6
Cutting parameter in the working angles that degree section is corresponding;
Cutting parameter is to set up the important bridge between geometric simulation and physical simulation;Therefore the present invention has passed through VERICUT
Software emulation cutting function, in the working angles that each same feed speed section is corresponding, along tool cutting path at interval of distance x,
Arranging a sampled point, 1mm≤x≤10mm arranges a sampled point;Subsequently, obtain and record each same feed speed section
Cutting depth, cutting width, cutting speed and feeding speed when cutter moves to each sample point in corresponding working angles
Degree.
Step 7: determine the cutting power of each sample point in each same feed speed section correspondence working angles;
According to power calculation empirical equation in working angles:And each obtained by step 6
The cutting parameter of individual sample point, and combine cutting handbook, determine that in the working angles that each same feed speed section is corresponding, each is adopted
Tool in Cutting power at sampling point.In above-mentioned power calculation empirical equation: F is cutting force;C is and cutter material, workpiece material
The coefficient that material, machining condition are relevant;KrFor the correction system to cutting speed such as workpiece material, blank surface state, cutter material
Number product;b1、b2、b3、b4For correction factor;apFor cutting depth;aeFor cutting width;V is feed speed;F is for entering
To rate.It is multiplied by feed speed v from there through cutting force F, i.e. can get the cutting power of each sample point.
Step 8: according to corresponding the cutting of each sampled point in the working angles that each same feed speed section obtained in step 7 is corresponding
Cut power, the NC code that each same feed speed section is corresponding is carried out segmentation again;
In the working angles that each same feed speed section is corresponding, for the 1st with the 2nd sampled point, adopt with the 1st
It is worth on the basis of sampling point correspondence performance number, the 2nd sampled point correspondence performance number is done after the recovery with the 1st performance number that sampled point is corresponding
As comparison value, compare with reference value;For ith sample point, i=3,4,5 ...;With the i-th-1 with
The meansigma methods of the performance number that the i-th-2 sampled points are corresponding is as reference value, and the i-th performance number corresponding with the i-th-1 sampled point is done
After the recovery, as comparison value, is compared with reference value;
After each sampled point above-mentioned and reference value are compared, NC generation corresponding between condition 1, and continuous print sampled point will be met
Code is divided into one section;NC code corresponding between condition 2, and continuous print sampled point will be met and be divided into one section;Wherein, condition 1
For: comparison value is less than or equal to the 10% of reference value;Condition 2 is: comparison value is more than the 10% of reference value.According to above-mentioned segmentation
Method, travels through in the working angles that each same feed speed section is corresponding after whole sampled points, can be corresponding by each same feed speed section
NC code be again split into multistage, each section all as to be adjusted section.
Step 9: each the to be adjusted section insertion the most again obtained after segmentation: the same feeding at each to be adjusted section of place
Velocity shooting correspondence feed speed, as each initial feed speed of to be adjusted section;Thus, can be by each to be regulated section
Initial feed speed modify, make power adjust finer.
Step 10: according to the performance number that the whole sampled points obtained in step 7 are corresponding, draws power curve, passes through power curve
Changed power actual during simulation cutting, and show in the user interface.
Step 11: judge whether the power curve obtained in step 10 smooths, if power curve is unsmooth, then performs step 12;
If power curve smooths, the most directly perform step 16.
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing workpiece, input target cutting power value, maximum feed speed with
Little feed speed.Feed speed is excessive, can affect cutting tool and the service life of lathe and safety;Feed speed is too small,
The stock-removing efficiency in working angles can be affected.
Step 13: the anti-cutting speed pushed away in working angles;
According to the target cutting parameter of step 12 input, the segmentation of NC code in integrating step 8, by cutting power experience public affairs
Formula, counter pushes away the feed speed at whole sampled points;Meanwhile, after the feed speed belonging to sampled point in each to be adjusted section being added
It is averaged, as the optimization feed speed of each to be adjusted section of corresponding NC code.
Step 14: the optimization feed speed of each to be adjusted section of corresponding NC code step 13 obtained, is respectively modified every
Initial feed speed in individual to be adjusted section of corresponding NC code.
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out analogue simulation,
Again determine the cutting power of each sampled point by step 7 subsequently, and after drawing power curve, return step 11.
Step 16: cutting simulation completes, obtains a substantially smooth output power curve figure.
Step 17: at the document location preserved, find and obtain feed speed amended NC code.
Step 18: exit VERICUT software.
In step 3 of the present invention, the secondary development being realized VERICUT software by Optipath API is broadly divided into following step
Suddenly, as shown in Figure 2:
A: amendment computing system environments variable.
The system environment variable of entitled for variable " CGTECH_OPAPI " is defined as dll file to be produced, and
Set the document location depositing this dll file;Thus, when opening VERICUT, VERICUT will exist automatically
Run the optimization module of VERICUT self under Optipath API pattern and be connected to the secondary development program of user.And
The function of the optimization module of VERICUT self will no longer be available.
B: new construction, adds the programming file needed in the dynamic link library that VERICUT provides.
A newly-built named optipath project file, writes master program file opati_vericut.c wherein with corresponding
Header file optiapi.H, optimport.h.The Optipath API instrument of VERICUT provides 5 Setup
Function and 25 Utility Function, by calling Setup Function to emulation ring in project file
Border is configured, and calls Utility Function and extracts cutting parameter the data of output function extraction.
C, in new construction, write Optimized code, realize calculating and other functions of program of cutting power.
D, interpolation MFC resource, it is achieved user interface.
E, realize the data communication of Optimized code and user interface.
After developing user interface, also realize the data communication of Optimized code and user interface, utilize MFC correlation module
Whole realization figure line represents the cutting power calculated in secondary development program;The most also will MFC compiling user interface in,
Realization allows user by actual demand, inputs relevant cutting parameters, and these parameters finally can be delivered in secondary development program,
Final realization changes feed speed by user's requirement, adjusts secondary development program.
F, compiling generate dll file;
After project file has been write, compiling generation can perform dll file.
G, by secondary development program, embed in VERICUT;
Secondary development program is embedded the dll file produced, puts into the document location set in step a, to VERICUT
Path optimization's process optipath.dll file of being updated generating cover under VERICUT installation directory, generation
For original optipath.dll file.
H, amended NC code deposit position is set.
Open software, choose the optipath option pop-up dialogue box of menu bar in VERICUT software interface, will
Optipath be set to duty and key in output modifications after NC code position.After completing geometric simulation, in output
Document location can obtain amended NC code.
Claims (2)
1. one kind adjusts machining code feed speed to ensure the method that lathe output is smooth, it is characterised in that: include following
Step:
Step 1: run VERICUT software;
Step 2: import the workpiece of machining to be carried out in VERICUT software;
Step 3: in VERICUT, loads secondary development program, enters step 4, enters feed speed in NC code
Row sum-equal matrix;
Step 4: load tool file in VERICUT;
Step 5: NC code is carried out segmentation according to feed speed statement given in NC code;
By in NC code, the NC code that each feed speed statement is corresponding, it is divided into one section;Each section of equal conduct is with feeding speed
Degree section;
Step 6: by VERCUIT software, working angles is carried out analogue simulation, it is thus achieved that each same feeding speed in step 6
Cutting parameter in the working angles that degree section is corresponding;
In the working angles that each same feed speed section is corresponding, along tool cutting path at interval of distance x, a sampling is set
Point, 1mm≤x≤10mm arranges a sampled point;Subsequently, obtain and record the cutting that each same feed speed section is corresponding
Cutting depth, cutting width, cutting speed and feed speed when cutter moves to each sample point in journey;
Step 7: determine the cutting power of each sample point in each same feed speed section correspondence working angles;
According to power calculation empirical equation in working angles:And each obtained by step 6
The cutting parameter of individual sample point, and combine cutting handbook, determine that in the working angles that each same feed speed section is corresponding, each is adopted
Tool in Cutting power at sampling point;In above-mentioned power calculation empirical equation: F is cutting force;C is and cutter material, workpiece material
The coefficient that material, machining condition are relevant;KrFor workpiece material, blank surface state, the cutter material correction factor to cutting speed
Product;b1、b2、b3、b4For correction factor;apFor cutting depth;aeFor cutting width;V is feed speed;F is for entering
To rate;
Step 8: according to corresponding the cutting of each sampled point in the working angles that each same feed speed section obtained in step 7 is corresponding
Cut power, the NC code that each same feed speed section is corresponding is carried out segmentation again;
In the working angles that each same feed speed section is corresponding, for the 1st with the 2nd sampled point, adopt with the 1st
It is worth on the basis of sampling point correspondence performance number, the 2nd sampled point correspondence performance number is done after the recovery with the 1st performance number that sampled point is corresponding
As comparison value, compare with reference value;For ith sample point, i=3,4,5 ...;With the i-th-1 with
The meansigma methods of the performance number that the i-th-2 sampled points are corresponding is as reference value, and the i-th performance number corresponding with the i-th-1 sampled point is done
After the recovery, as comparison value, is compared with reference value;
After each sampled point above-mentioned and reference value are compared, NC generation corresponding between condition 1, and continuous print sampled point will be met
Code is divided into one section;NC code corresponding between condition 2, and continuous print sampled point will be met and be divided into one section;Wherein, condition 1
For: comparison value is less than or equal to the 10% of reference value;Condition 2 is: comparison value is more than the 10% of reference value;According to above-mentioned segmentation
Method, travels through in the working angles that each same feed speed section is corresponding after whole sampled points, by corresponding for each same feed speed section
The segmentation again of NC code, each section all as to be adjusted section;
Step 9: each the to be adjusted section insertion obtained in step 8: the same feed speed section at each to be adjusted section of place is corresponding
Feed speed, as each initial feed speed of to be adjusted section;
Step 10: according to the performance number that the whole sampled points obtained in step 7 are corresponding, draws power curve, passes through power curve
Changed power actual during simulation cutting, and show in the user interface;
Step 11: judge whether the power curve obtained in step 10 smooths, if power curve is unsmooth, then performs step 12;
If power curve smooths, the most directly perform step 16;
Step 12: input target cutting parameter;
In user interface, according to the actual processing request of processing workpiece, input target cutting power value, maximum feed speed with
Little feed speed;
Step 13: the anti-cutting speed pushed away in working angles;
According to the target cutting parameter of step 12 input, segmentation to NC code in integrating step 8, by cutting power experience
Formula, counter pushes away the feed speed at whole sampled points;Meanwhile, the feed speed belonging to sampled point in each to be adjusted section is added
After be averaged, as the optimization feed speed of each to be adjusted section of corresponding NC code;
Step 14: the optimization feed speed of each to be adjusted section of corresponding NC code step 13 obtained, is respectively modified every
Initial feed speed in individual to be adjusted section of corresponding NC code;
Step 15: by amended overall NC code, by VERCUIT software, working angles is carried out analogue simulation,
Again determine the cutting power of each sampled point by step 7 subsequently, and after drawing power curve, return step 11;
Step 16: cutting simulation completes, obtains the output power curve figure smoothed;
Step 17: at the document location preserved, find and obtain feed speed amended NC code;
Step 18: exit VERICUT software.
A kind of machining code feed speed that adjusts the most as claimed in claim 1 to ensure the method that lathe output is smooth, its
Being characterised by: in step 3, the secondary development being realized VERICUT software by Optipath API is broadly divided into following step
Rapid:
A, amendment computing system environments variable;
The system environment variable of entitled for variable " CGTECH_OPAPI " is defined as dll file to be produced, and
Set deposit position;
B: new construction, adds the programming file needed in the dynamic link library that VERICUT provides;
A newly-built named optipath project file, writes master program file opati_vericut.c wherein with corresponding
Header file optiapi.H, optimport.h;By calling Setup Function to emulation ring in project file
Border is configured, and calls Utility Function and extracts cutting parameter the data of output function extraction;
C, in new construction, write Optimized code, it is achieved the calculating of cutting power and the adjustment function of NC code;
D, interpolation MFC resource, it is achieved user interface;
E, realize secondary development program with and the data communication of user interface;After developing user interface, also to realize and user circle
The data communication in face, utilizes MFC correlation module finally realization figure line to represent the cutting power of each sampled point;The most also want
In the user interface of MFC compiling, it is achieved allow user by actual demand, input relevant cutting parameters, and these parameters
Can be delivered to eventually in secondary development program, it is achieved change feed speed by user's requirement, adjust secondary development program;
F, compiling generate dll file;
After project file has been write, compiling generation can perform dll file;
G, by secondary development program, embed in VERICUT;
Secondary development program is embedded the dll file produced, puts into the document location set in step a, to VERICUT
Path optimization's process optipath.dll file of being updated generating cover under VERICUT installation directory, generation
For original optipath.dll file;
H, amended NC code deposit position is set;
Open software, choose the optipath option pop-up dialogue box of menu bar in VERICUT software interface, by optipath
NC code position after being set to duty and keying in output modifications.
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 CN103869755A (en) | 2014-06-18 |
CN103869755B true 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) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6088471B2 (en) * | 2014-08-28 | 2017-03-01 | ファナック株式会社 | Numerical control device for easy adjustment of machining operation |
CN104483905A (en) * | 2014-11-11 | 2015-04-01 | Abb技术有限公司 | Method and system for controlling robot to machine components |
CN104950796B (en) * | 2015-06-15 | 2018-01-05 | 北京航空航天大学 | Cutting process, topping machanism and system |
CN106527180B (en) * | 2016-12-15 | 2019-06-21 | 北京航空航天大学 | A method of two-axle car machining simulation is realized with two dimensional image |
CN107664982B (en) * | 2017-08-16 | 2020-03-24 | 沈阳航天新光集团有限公司 | Method for optimizing tool trajectory by taking smooth cutting power as target |
CN110531710B (en) * | 2019-10-09 | 2022-02-25 | 西北工业大学 | Feeding speed optimization method based on main shaft constant power constraint |
CN110750074B (en) * | 2019-11-19 | 2022-05-06 | 上海交通大学 | Numerical control machining optimization system and method based on physical simulation |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004306202A (en) * | 2003-04-08 | 2004-11-04 | Mori Seiki Co Ltd | Automatic programming device |
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 |
-
2014
- 2014-03-26 CN CN201410117703.2A patent/CN103869755B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103869755A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103869755B (en) | A kind of machining code feed speed that adjusts is to ensure the method that lathe output is smooth | |
Cus et al. | Approach to optimization of cutting conditions by using artificial neural networks | |
CN106354098B (en) | A kind of NURBS composite surfaces are fixed a cutting tool teeth processing route generating method | |
CN104217063B (en) | Emulation design method for steel rail rolling pass | |
CN109376397A (en) | A kind of Intelligentized design method and its system of three-dimensional mould | |
CN106295032B (en) | A kind of ceramic tile mold design software systems and its design method | |
CN107392998A (en) | A kind of process design method and system based on threedimensional model | |
CN102141084A (en) | Numerical simulation method for temperature and thickness relation of static thrust bearing gap oil film based on film thickness variation | |
CN101082340A (en) | Artificial manufacturing method of submerged pump and system | |
CN104950796B (en) | Cutting process, topping machanism and system | |
CN105183987B (en) | A kind of complex engineering multidisciplinary synthesis design optimization software platform system | |
CN108038259A (en) | Method based on curvature generation Pneumatic component shape | |
CN110321596B (en) | Locomotive vehicle structure simulation method based on finite element analysis | |
CN106713516A (en) | Method for quickly making mirror image of oVirt cloud platform computing node | |
CN103745067A (en) | Power generator stator end parameterization automatic modeling system and method | |
CN113569453B (en) | Migration method of digital twin product model oriented to processing | |
CN104143029A (en) | Parameterization design method for cutterhead of indexable end face milling cutter | |
Kalabić et al. | Decentralized constraint enforcement using reference governors | |
CN110689596A (en) | Binding control scaling method for Yeti hair made by Maya animation character | |
Xie et al. | A CAD/CAE integration technology and its application in hydraulic engineering | |
CN103729515B (en) | A kind of mobile network communication pipeline and the design system of circuit and method for designing | |
CN109241585B (en) | High-low pressure turbine transition flow passage profile inverse problem design method | |
Cao et al. | Three-dimensional standard part library development based on Pro/TOOLKIT and database | |
Meng et al. | Research on the virtual prototyping technology of the electric-hydraulic-mechanical system based on Simcape | |
Bonnard et al. | Integration of rapid manufacturing processes in a high-level numerical chain |
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 |