Embedded Fuzzy-Control System For Machining Processes Results of A Case Study
Embedded Fuzzy-Control System For Machining Processes Results of A Case Study
Embedded Fuzzy-Control System For Machining Processes Results of A Case Study
a
Instituto de Automatica Industrial (CSIC), N-III km 22,800, La Poveda 28500, Madrid, Spain
Escuela Tecnica Superior de Informatica, Ciudad Universitaria de Cantoblanco Ctra, km 15, 28049 de Colmenar Viejo, Spain
c
Centro Tecnologico IDEKO, Arriaga kalea 2, Apartado de correos 80, E-20870 Elgoibar, Gipuzkoa, Spain
Abstract
In this paper a fuzzy-control system has been designed, implemented and embedded in an open CNC. The integration process,
design steps and results of applying an embedded fuzzy-control system are shown through the example of real machining
operations. The controller uses internal CNC signals (i.e. spindle-motor current) that are gathered and mathematically processed
by means of an integrated application. The results show that, at least in rough milling operations, internal CNC signals can
double as an intelligent, sensorless control system. Actual industrial tests show a higher machining efficiency (i.e. in-process
time is reduced by 10% and total estimated savings the system would provide are about 78%).
# 2003 Elsevier Science B.V. All rights reserved.
Keywords: Fuzzy control; Nonlinear systems; Machining processes
1. Introduction
Todays manufacturing industry is characterized by
an increase in the demand for just-in-time production
and global manufacturing. Manufacturing has more
stringent productivity and profitability requirements
that can be satisfied only if production systems are
highly automated and extremely flexible. One of the
main activities the manufacturing industry has to deal
with is machining, a process that includes operations
that range from rough milling to finishing. There are a
*
Corresponding author. Tel.: 34-91-871-19-00;
fax: 34-91-871-70-50.
E-mail addresses: [email protected] (R.E. Haber),
[email protected] (J.R. Alique), [email protected] (A. Alique),
[email protected] (J. Hernandez), [email protected]
(R. Uribe-Etxebarria).
0166-3615/03/$ see front matter # 2003 Elsevier Science B.V. All rights reserved.
doi:10.1016/S0166-3615(03)00022-8
354
the feasibility of motor-current measurement for adaptive control [9]. The direct relationship between the
current consumed and the cutting force is fair enough
for a real industrial implementation of the control
system to be made on the basis of a main spindles
drive current (e.g. [10]).
Nowadays the development of open control systems
in the NCK offers more facilities for using digital drive
signals without the need to install additional sensors.
Indeed, cutting processes show significant effects on
drive signals such as actual drive current and drive
torque. Digital drive signals have many limitations
for process monitoring alone because of the ratio
between process-related components of the signal
and non-process-related disturbances. However, main
spindle-drive current can be used to optimize cutting
speed. Signal behavior is complex because of specific
design considerations such as star-triangle switching
in the drive configuration. Nevertheless, correcting
the current offsets during the signal-processing stage
(before entering the fuzzy algorithm) solves the problem.
In terms of control-system design, the most important aspects are the variables, parameters and typical
measures of performance that we use to characterize
the system. After a preliminary study we selected:
the spatial position of the cutting tool in terms of
Cartesian coordinate axes (x, y, z) (mm);
spindle speed (s) (rpm);
relative feed speed between tool and worktable
( f, feed rate) (mm/min);
cutting power invested in removing metal chips
from the workpiece (Pc) (kW);
current consumed at the main spindle during the
removal of metal chips (IS) (A);
radial depth of cut (a, cutting depth) (mm); and
cutting-tool diameter (d) (mm).
In order to evaluate system performance, we needed
to select certain suitable performance indices. The
milling process basically consists of two operations,
rough milling and finishing. The differences in these
operations objectives are what will decide which
performance index is useful in each operation. The
quality and geometric profile of the cutting surface
is paramount in finishing operations, whereas the
quantity of metal removed from the workpiece is
the main issue in rough-milling operations.
355
356
Fig. 2. Fuzzy partitions and membership functions for (a) DIS, D2IS and (b) Df.
i1
(2)
f
k f k 1 Df
k
i mR Dfi Dfi
(3)
Df P
i mR Dfi
Table 1
FLC rule base
D2IS
N
Z
P
where Df
is the crisp value of Dfi for a given crisp
input (DISi , D2 ISi ).
The crisp-control action (generated at each sampling instant) defines the final actions that will be
applied to the CNC set points. The strategy used to
compute f determines what type of fuzzy regulator is
to be used. In this case it can be a PI-FLC
DIS
N
NB
NS
ZE
NS
ZE
PS
ZE
PS
PB
(4)
or a PD-FLC
f
k f0 Df
k
(5)
357
scheme was implemented on the basis of these definitions. We developed the real-time control system in
C/C programming language on a Pentium PC. Feedrate values (f) were generated on-line by the controller
and fed in with the set point ISr and measured value IS.
In order to evaluate the performance of the algorithm,
two tests were performed using a 2011 aluminum-alloy
358
Fig. 5. Real-time control dynamics for (a) test 1 and (b) test 2.
359
Table 2
Features and results of two laboratory tests
Test 1
Test 2
300
2000
10
F1205-10 Vallorbe
10
2
Aluminum alloy 2011
1.4
13.46
8.05
233.14
74.68
1105.8
200
1500
12
F1205-25 Vallorbe
25
2
Aluminum alloy 2011
2.2
17.59
9.45
511.54
484.41
1498.6
360
361
high-rigidity, high-precision features, and the workpiece has no influence whatsoever on the moving part.
The cutting tool was a Sandvik D38 R218.192538.35-37.070HA (020/943) face mill 25 mm in diameter with four inserts of the SEKN 12 04 AZ (SEK
43A, GC-A p25) type. The workpiece material used
for testing was F114-quality steel. The maximum depth
of cut was 20 mm, the nominal spindle speed was S0
850 rpm, and the nominal feed rate, f0 300 mm/min.
The actual dimensions of the profile were 334 mm
486 mm. The profile is depicted in Fig. 7b.
We used an internal spindle-drive signal as our
control. The processing-signal analysis was done
on-line. Signal processing focused on correcting current offsets. Current offsets were corrected on the basis
of the model that relates spindle speed to current [17].
This model was created using linear regression. Moreover, further filtering was performed using the mean
value of the signal in the sampling period.
The set point was estimated according to a/the
constraint given by the power available at the spindle
motor, the material and the tool characteristics.
In order to compare the performance of the PI and
PD-FLC, a reference value of 18 A was set during the
experiments. In the second study, the set point used
was 22 A in order to make an appropriate comparison
with a commercial product.
The results of applying two fuzzy controllers (PI and
PD-FLC) to machine an irregular profile (see Fig. 7b)
are depicted in Fig. 8. Fig. 8a shows the behavior of
Fig. 7. (a) Tool used for industrial tests and (b) workpiece for industrial tests.
362
Fig. 8. (a) Behavior of the controlled variable and (b) action variable (feed rate) when machining an irregular workpiece.
363
Fig. 9. (a) Time responses of the three control systems and (b) behavior of the controlled variable for the three control systems analyzed.
364
Fig. 10. The workpiece after eight operations using the PD-like FLC.
6. Conclusion
The results of transferring technology to a machinetool manufacturer through cooperation with a technological center show the effectiveness of a fuzzy-control system for dealing with the nonlinear behavior of
the machining process. The embedded fuzzy controller is able to work using only internal CNC signals.
Moreover, it can run in parallel with other applications
without posing any synchronization problems. However, future work is necessary in order to refine the
fuzzy controllers performance and so to improve the
transient response.
All this work, from hypothesis to implementation
and experimentation, including design and analysis,
is done following the classic patterns. Our focus at
all times lay on the practical implementation, so the
results we have presented in this paper are for a reallife industrial plant. The results show that internal
CNC signals can double as an intelligent, sensorless
control system. Actual industrial tests show a higher
machining efficiency; in-process time is reduced by
10% and the total estimated savings the system would
provide are about 78%.
Acknowledgements
This work has been partially supported by two
Spanish-funded projects, PETRI 95-0336-CT
COCOM and TAP99-1122-C02-01 MHECOS. The
authors would like to thank referees for their helpful
suggestions and comments. Moreover, the authors
express their deepest gratitude to all the people who
contributed to the implementation of the control system at SORALUCE S. Coop. and Ideko Technology
Center. Likewise, the authors gratefully acknowledge
the contributions of S. Ros, G. Arrate and J. Aranceta
in assisting with the implementation presented in this
work.
1
365
References
[1] Y. Koren, Control of machine tools, Journal of Manufacturing
Science and Engineering 119 (1997) 749755.
[2] L.K. Lauderbaugh, A.G. Ulsoy, Model reference adaptive
force control in milling, ASME Journal Engineering of
Industry 111 (1989) 1321.
[3] S.J. Rober, Y.C. Shin, O.D.I. Nwokah, A digital robust
controller for cutting force control in the end milling process,
Journal of Dynamic Systems, Measurement and Control 119
(1997) 146152.
[4] R.E. Haber, R.H. Haber, S. Ros, A. Alique, J.R. Alique,
Dynamic model of the machining process on the basis
of neural networks: from simulation to real time application, Lecture Notes in Computer Science 2331 (2002) 574
583.
[5] L.-C. Lin, G.-Y. Lee, Hierarchical fuzzy control for C-axis of
CNC turning centers using genetic algorithms, Journal of
Intelligent and Robotic Systems: Theory and Applications 25
(3) (1999) 255275.
[6] Y. Liu, L. Zhuo, C. Wang, Intelligent adaptive control in
milling process, International Journal of Computer Integrated
Manufacturing 12 (5) (1999) 453460.
[7] Y. Liu, C. Wang, Neural networks based adaptive control and
optimization in milling process, International Journal of
Advanced Manufacturing Technology 15 (1999) 791795.
[8] H. Schulz, Hochgeschwindigkeitsbearbeitung Carl Hansen
Verlag Munchen Wien, Germany, 1999.
[9] Y. Altintas, Prediction of cutting forces and tool breakage in
milling from feed drive current measurements, ASME Journal
of Engineering of Industry 11 (1992) 386392.
[10] T. Kim, P. Kim, Adaptive cutting force control for a
machining centre by using indirect cutting force measurements, International Journal of Machine Tool Manufacturing
36 (8) (1996) 925937.
[11] R. Yager, D. Filev, Essentials of Fuzzy Modeling and Control,
Wiley, New York, 1994, pp. 313354.
[12] H. Ying, Analytical structure of a typical fuzzy controller
employing trapezoidal input fuzzy sets and nonlinear control
rules, Information Science 116 (1999) 177203.
[13] Fagor Automation, Needs of new numerical controls,
Produccio n Meca nica 3 (1999) 7483 (in Spanish).
[14] Siemens AG, Sinumerik 840D/FM-Nc., 1996, pp. 3640.
[15] A. Nosrat, Adaptive controls lead to peak efficiency,
American Machinist, April (1997) 7880.
[16] Siemens AG, Sinumerik 840D, OEM-package NCK, Software release 4, Users Manual, Siemens AG, 1999.
[17] M. Kaever, S. Platen, M. Weck, Control integrated process
monitoring for rough milling operationsinnovative logging
module solution, in: Proceedings of the 2nd International
Workshop on Intelligent Manufacturing Systems, Leuven,
Belgium, pp. 727736.
[18] R.E. Haber, R.H. Haber, A. Alique, S. Ros, Application of
knowledge-based systems for supervision and control of
machining processes, in: S.K. Chang (Ed.), Handbook of
Software Engineering and Knowledge Engineering, vol. 2,
World Scientific, Singapore, pp. 673710.
366