기본 정보
- 저자
- DOI
- 10.2991/icismme-15.2015.367
- 저널
- Advances in intelligent systems research/Advances in Intelligent Systems Research
- 발행년도
- 2015
- 발행기관
- Atlantis Press
- 피인용수
- 2
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.2991/icismme-15.2015.367
- 토픽
- Gear and Bearing Dynamics Analysis
- OpenAlex ID
- W2161148328
평가 내용
- 관련도
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- LLM(gemma-4-26b-a4b-it) 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
This paper presents an effective method of NC machining cutting parameters optimization.For a given machine NC code, we use the secondary development tools provided by VERICUT software, the time series segmentation algorithm of sliding window technique, back stepping method for getting the feed rate based on the empirical formula and other methods to extract, process and optimize the cutting data.As a result of these, we can make the output power of the spindle reaching smooth and get the optimized processing code finally.
본문 17,492자
본문 펼치기
A Research on NC Machining Cutting Parameters Optimization
Wei Tang <sup>1</sup>, Guangrong Yan <sup>1</sup>, Xiangyu Xu <sup>1</sup>, Dan Yu <sup>1</sup>, Zaijun Wang <sup>1</sup>, Hongzhen
Chu <sup>2</sup>
1Beijing University of aeronautics and astronautics, Department of Mechanical Engineering and
Automation, Beijing 100191, China
2Shenyang Aircraft Corporation, Shenyang 110034, China
Keywords: Cutting parameters optimization; Simulation of cutting in VERICUT; Output power
smoothing.
Abstract. This paper presents an effective method of NC machining cutting parameters
optimization. For a given machine NC code, we use the secondary development tools provided by
VERICUT software, the time series segmentation algorithm of sliding window technique, back
stepping method for getting the feed rate based on the empirical formula and other methods to
extract, process and optimize the cutting data. As a result of these, we can make the output power of
the spindle reaching smooth and get the optimized processing code finally.
Introduction
It is very meaningful to keep the output power of the machine tool spindle relatively smooth in a
CNC machining process. If the output power of the machine tool spindle is too low, it will affect the
cutting efficiency of the machine seriously. While the output power of machine tool spindle is too
high, it may cause the vibration of the machine and then affect the smooth of the machine and the
tool seriously. Eventually it will seriously affect the quality of the parts being processed. As a result,
the curve of the spindle output power can be ensured smooth to the fullest extent by
real-time adjustment and optimization of the feed rate in a CNC machining process, with the
geometry tool path unchanged. Then we can improve the economic benefit and the safety of
machine, tool and work piece in the NC machining.
Generally speaking, machine parameters are selected traditionally based on some empirical
data in factories with some necessary calculations. But the acquired data are generally not the
optimal results due to the objective conditions [4]. Now with the development of the computer
aided technology, establishing a machine parameter optimization model and then using certain
optimization algorithm for parameter optimization is a more practical method for seeking the
optimal cutting parameters.
In this paper, we use cutting feed rate as the optimization variables to establish an optimization
model goaled at making the machine output power relatively smooth in the CNC machining. The
optimization steps are as follows: Firstly, for a given machine NC code, on the Visual Studio
development platform, we use the secondary development tools provided by VERICUT
software—Optipath API (optimize path - application programming interface) to obtain width and
depth of cut, spindle speed, feed rate and other cutting data of a CNC machining process. Besides,
we use the empirical formula of cutting force to get the output value in CNC machining process and
adopt the time series segmentation algorithm of sliding window technique (Sliding Window, SW)
for cutting power value segmentation process at the same time. At last, we take the back stepping
method to optimize the feed rate in a cutting process based on the division of the power. As a result
of these, we can make the output power of the spindle reaching smooth and get the optimized
processing code finally.
The optimization model of cutting parameters
Optimization variables
When the parameters of work piece, tool, and machine are determined, the main factors that
affect the productivity are width and depth of cut, spindle speed and feed rate [6]. If the tool path is
determined with the machining code been written, part of cutting data (such as depth and width of
cut, spindle speed and feed rate) can be also determined. While modifying the NC program, this
paper focuses on the optimization of the cutting feed rate _vf_ in order not to cause any collision and
change of tool path.
Optimization goal
In this paper, simulation machining software VERICUT is used to acquire cutting data (spindle
speed, feed rate, width and depth of cut) of real-time processing in the CNC machining process. The
real-time processing of output power _P(t)=[n, vf, aw, ap]_ [is calculated by empirical formula and the](http://www.iciba.com/calculate)
cutting speed is optimized with all the cutting power data as a statistical sample. We can make the
output power _P(t)_ as close to the target value _P0_, which is to ensure the optimized spindle power
output steadily in processing.
Constraints
The output power of the spindle is limited by feed rate, cutting torque, the amount of feed
engagement, feed force, the spindle speed of selected machine tool and other factors. As the
optimization target is the feed rate in this paper, it should be in the range of the minimum and
maximum feed rate which the machine allows. That is,
## vnim ≤ vf ≤ vmax (1)
Where _vf_ is the feed rate, _vnim_ is the minimum feed rate and _vmax_ the maximum feed rate allowed
by the machine.
Method of Optimization
Optimization method of cutting parameter studied in this paper is on the basis of a given
machine NC code. By optimizing the feed rate, we can make the output power of the machine
spindle smooth and get the optimized NC code finally.
In another word, the optimization problems with constraints defined and designed in this
optimization is to change the value `vf`, so that we can get the optimized feed value _vf_, so that we
can get the optimized feed rate _vt_ satisfying _P(n, vf, aw, ap)≈P0_ . The process of optimization is
shown in Figure 1.
1) Cutting data extraction
The secondary development tools Optipath API, provided by VERICUT software on the Visual
Studio development platform, is used for the extraction and output of cutting parameters after the
simulation of NC machining. The flowchart for cutting parameters extraction is shown in Figure 2.
Optipath API, the secondary development tool of VERICUT software, provides five Setup
Function which can be invoked in the project file to set up the simulation environment. The
executable .dll files are compiled after the completion of the project documentation.
2) Obtaining cutting power values by empirical formula
Empirical formula for milling force _FC_ and cutting power _PC_ is acquired as follows [1],
##### C = apxdFf0qZFynFaweFuFZ CFkF
##### FC = apxFfZyFaeuFZ
```
F F F
```
##### = pd0qZFnweF CFkFC (2)
```
qF wF F FC
```
```
FnwF C
```
`vC` = <u>`n`</u> <u>π</u> <u>`(d0`</u> <u>`/`</u> <u>`2)`</u> (3)
```
60
```
#### PC = FC ⋅ vC (4)
where _ap, ae, d0_ represent the cutting depth, cutting width, milling cutter diameter respectively,
with _mm_ as units; _fz_ represents feed engagement, i.e., the moving distance of workstations per cut,
and unit is _mm/z_ ; _vc_ represents the outer diameter of the cutter circumferential velocity, i.e., cutting
speed in units of _mm/s_ ; _Z_ represents the tool teeth; _vc_ represents tool speed and unit is _r/min_ ; _xF, yF,_
_uF, qF, wF_ respectively empirical coefficients which associated with the cutting parameters; _CF_ and
_kFc_ are for the cutting force modified coefficients as the cutting condition changed.
We can obtain the cutting force of NC machining process by empirical formula, with the cutting
data from VERICUT simulation processing.
Original NC
code
Extract
cutting data
Calculate and
obtain the value
of cutting power
Segment
processing of
cutting power
The secondary development
tools provided by VERICUT
software `—` Optipath
The empirical formula of
cutting force
The time series segmentation
algorithm of sliding window
technique
Back stepping method for
optimizing the feed rate
Optimization of
feed rate
Output
optimized NC
code
Figure 1. Flow chart of CNC machining parameter optimization
Optipath
API tool
Microsoft Visual
Studio
generate
.dll files
Upgrade path
optimization process
of VERICUT
simulate
Cutting parameters
real-time extraction
Figure 2 . The flowchart for cutting parameters extraction
Table 1. Part of important OptiPath API secondary development functions
<u>void</u>
opapi_set_initialize_function(OPAPI_Initialize
Setup <u>Function);</u>
Function <u>void</u>
opapi_set_optimize_function(OPAPI_Optimize
<u>Function);</u>
<u>void</u>
opapi_set_terminate_function(OPAPI_Terminat
<u>eFunction);</u>
<u>voidopapi_set_tool_change_setup_function(OP</u>
<u>API_ToolSetupFunction);</u>
<u>void opapi_set_user_data(void *);</u>
<u>Utility</u> <u>double opapi_get_axial_depth(void);</u>
Function <u>double opapi_get_program_feedrate(void);</u>
Setup
Function
<u>Utility</u> <u>double opapi_get_axial_depth(void);</u>
Function <u>double opapi_get_program_feedrate(void);</u>
<u>double opapi_get_spindle_speed(void);</u>
<u>void opapi_get_radial_width(void);</u>
<u>void opapi_write_out_comment_line(char *);</u>
3) Cutting power segmentation
Segment processing of spindle power output is one of the important steps in cutting parameter
optimization technique. The main reasons are as follows,
a) There is usually a large amount of cutting power data during NC process, which may change
with regularity or stay the same. We can classify the values remaining unchanged or changing in the
same way as a unit time period according to the variation in values. It will take a huge amount of
computation if described with all data points.
b) There will be some local features influenced by some factors in NC machining process. For
example, when a machine or tool vibration is present and power output begins to increase or
decrease sharply at some point, we might lay emphasis on global features and ignore the change in
details in the study of cutting power.
Based on the time series segmentation algorithm of sliding window technique, the cutting power
values are classified as a whole and segmented according to the clustering results. Optimization of
the cutting feed rate is then implemented on the basis of power division.
Time series segmentation means that the time series _S_ of length _n_ is divided into _k_ parts ( _k≤n_ )
and then characters of each segment are described and denoted as _Si_ ( _1≤i≤n_ ), where data ought to be
as closely as possible[5].
Sliding window model is acquired when the segmentation is carried out in a circular way and
grow constantly until it exceeds a certain limit,with each data not contained by the latest segment
processed[2]. In this paper,we adopt the sliding window algorithm to make cutting power
segmentation in order to segment all the cutting power and divide similar power values points into
the same period. Sliding window algorithm starts a new segment from the first point of the time
series. It continued to grow forward until the distance between the point and the first point of this
segment exceeds a specified threshold of time series. Then this segment ends and a new segment
starts at the next sequence point. The above process is iterative until the end of time series. The key
issue in this algorithm is the determination of threshold and distance between two points.
There are two ways of threshold determination in segment limit error algorithm. One is to
ensure the maximum error of each segment no more than a user-specified threshold and the other is
to make all segmentation errors less than another user-specified threshold. We choose the latter way
according to the actual machining conditions and determine threshold values based on the
requirements of error values.
Distance measurement is used to evaluate individual distance in space. Larger distance means
farther individual variations. For numerical time series, Euclidean distance is the most simple and
widely used one. It measures the absolute distance between the points in a multidimensional space.
Suppose that `xi` = `(li2` `,li3` `,...,lim)T,xj` = `(li2` `,lj3` `,...,ljm)T` are two points in a
m-dimensional space, it performs as follows,
```
m
2
# = [ ∑ k = 1 xik − xjk 2]
```
```
m
```
```
1
2
```
```
m
2
# dij = [ ∑ k = 1 xik − xjk 2] (5)
```
```
1
```
We use Euclidean distance to calculate the similarity between two data points.
The following is the similarity calculation procedure of time series clustering:
Step 1: partition a new clustering _Si_ ;
Step 2: read in a group of cutting data, calculate the cutting power based on the empirical
formula and record it as _qi_ ;
Step 3: compare the distance _d_ between the current data point _qi_ and the first data point of the
current clustering. Go Step 4 if _d_ is less than the threshold value _C_, otherwise go to Step 5;
Step 4: add _qi_ to _Si_ and proceed to Step 2;
Step 5: mark the previous data value as the end of current cluster and the current data value as
the starting point of next sequence, then go to Step 1.
4) The optimization of cutting feed rate
According to the empirical formula mentioned above, if the feed rate changes and other
parameters keep constant, the relationship between cutting power and feed rate can be simplified as,
### pC = kc ⋅ vfyF (6)
Given the current cutting power _pc_ and the assumed target value _p0_, with other parameters
[unchanged, the computational equation of the optimized feed speed can be simplified as,](http://www.iciba.com/computational_formula)
###### v0 = yF p0 ⋅ vf (7) `pC`
where the calculated feed rate is required to meet the optimization constraints.
Optimization examples
Now, take a piece of given NC code for example, the cutting parameter optimization methods
provided herein was used to optimized it, then a comparison between the NC codes before and after
optimization was made. As shown in Table 2. Wherein, assume that the target power value _p0_ is set
to _580W_ based on the actual processing needs.
<u>Table 2. The optimization results</u>
<u>The original NC code</u> <u>The optimized NC code</u>
```
······ ······
```
<u>N0050G01Y38.1F380.</u> <u>N50G01Y25.07F330.00</u>
```
······ ······
```
<u>N0120Z19.05</u> <u>N230Z19.05</u>
<u>N0130G01X50.8F380.</u> <u>N240G01X11.70F330.00</u>
N250X16.71F49
N260X21.72F28
<u>N270X50.80F26</u>
<u>N0140X101.6Z44.45</u> <u>N280X55.26Z21.28F28</u>
N290X59.71Z23.51F31
N300X64.17Z25.73F35
N310X68.62Z27.96F39
N320X73.08Z30.19F45
N330X77.54Z32.42F52
N340X81.99Z34.65F61
N350X86.45Z36.87F74
N360X90.91Z39.10F90
N370X95.36Z41.33F116
N380X99.82Z43.56F158
<u>N390X101.6Z44.45F206</u>
<u>N0150X254.</u> <u>N400X104.61F234</u>
N410X120.65F257
<u>N420X188.83F330</u>
<u>N430X193.84F270</u>
N440X219.91F257
<u>N450X254.F330.00</u>
```
······ ······
```
The spindle output <u>power curves before and after optimization are shown in Figure 3. In the</u>
figure, the solid curve is the cutting power curve before optimization, and the dashed one is the
curve after optimization. The optimized power curve becomes closer to the target power and
smoother. So, the requirement for a smooth output of spindle power was achieved. Not only the
maximum utilization of the power of the machine was realized, while the quality of parts was
significantly improved, but also an effective way of ensuring the safety of NC systems was
provided.
Figure 3: The spindle output power curves before and after optimization
Conclusion
Aimed at aviation user requirements and technical characteristics, it is of great significance to
study on the technology of process parameter optimization and processing procedures and its
application, with domestic high-end CNC machine tools as the research object. Based on the given
complex processing code of metal structures, we did some superficial exploration to maximize the
machine spindle to keep the curve of its output power smooth. We can obtain a relatively smooth
output power by the optimization of feed speed while it may sometimes make the optimized feed
speed lower than the minimum allowed value. At this time, further optimization is required to
guarantee the processing effect. However, much more research needs to be done on the optimization
of processes.
Acknowledgements
The research work was supported by the Important National Science & Technology Specific
Projects under Grant No. 2013ZX04012021.
References
[1] Ai Xing & Xiao Shi-gang. _Concise Cutting Manual [M]_ . Beijing: China Machine Press, 1994.
[2] Chen Xiang-tao, Li Ming-liang & Chen Yu-juan. _Summaly of application research based on_
_clustering of time series similarity[J]_ . Computer Engineering and Design. 2010.31(3): 577-581.
[3] Chui Hai-long, Guan Li-wen, Hua Yong-zhi & Wang Xiao-long. _Study on the Technology of_
_Cutting Force Simulation for NC Machining Process Based on the Secondary Development of_
_VERICUT[J]_ . Modular Machine Tool & Automatic Manufacturing Technique. 2012(5): 9-12.
[4] Gao Liang, Yang Yang & Li Xin-yu. _Research and Development of Optimization of NC_
_Machining Parameters[J]_ . Aeronautical Manufacturing Technology. 2010.11.15(22): 48-51.
[5] Keogh E & Kasetty S. _On the need for time series data mining benchmarks: A survey and_
_empirical demonstration[C]_ . Edmonton, Alberta, Canada: Proceedings of the 8th ACM SIGKDD
International Conference on Knowledge Discovery and Data Mining,2002:102-111.
[6] Wu Mei-ping, Zhai Jian-jun & Liao Wen-he. _Research on NC Machining Parameter_
_Optimization[J]_ .Chian Mechanical Engineering. 2004(3):49-51.
섹션 본문
섹션 본문이 없습니다.
참고문헌 3건
- On the need for time series data mining benchmarks 2002 10.1145/775047.775062
- Summaly of application research based on clustering of time series similarity 2010
- Study on the Technology of Cutting Force Simulation for NC Machining Process Based on the Secondary Development of VERICUT Modular Machine Tool & Automatic Manufacturing Technique · Chinese Mechanical Engineering Society · 2012