Вы находитесь на странице: 1из 12

Journal of Ambient Intelligence and Humanized Computing (2019) 10:1129–1140

https://doi.org/10.1007/s12652-018-0946-5

ORIGINAL RESEARCH

Digital twin for CNC machine tool: modeling and using strategy


Weichao Luo1,2,3 · Tianliang Hu1,2,3   · Chengrui Zhang1,2,3 · Yongli Wei1,2,3

Received: 31 March 2018 / Accepted: 19 July 2018 / Published online: 28 July 2018
© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Abstract
As a typical manufacturing equipment, CNC machine tool (CNCMT), which is the mother machine of industry, plays an
important role in the new trend of smart manufacturing. As the requirement of smart manufacturing, the abilities of its self-
sensing, self-prediction and self-maintenance are necessary. In order to make CNCMT become more intelligent, a research
about Digital twin (DT) for CNCMT is conducted. In this research, a multi-domain unified modeling method of DT is
established, a mapping strategy between physical space and digital space is explored, and an autonomous strategy of DT is
proposed. These methods can optimize the running mode, reduce the sudden failure probability and improve the stability
of CNCMT. Finally, this paper provides a demonstration of DT model building and using strategy in fault prediction and
diagnosis for CNC milling machine tool.

Keywords  CNC machine tool (CNCMT) · Digital twin (DT) · Smart manufacturing

1 Introduction reconfigurable and self-organizing capabilities, as well as


learning and self-maintenance ability.
Nowadays, the concept of CPS (Cyber-physical systems) In recent years, with the requirement of smart manufac-
(Lee 2008; Lee et al. 2015) is widely used in industry. With turing mode, developed from CPS concept, the appearance
the application of the key technology of real-time sensing, of digital twin (DT) (Grieves and Vickers 2017; Glaessgen
advanced control theory, artificial intelligence (AI) and and Stargel 2012) technology provides an effective reso-
service oriented manufacturing, under the concept of CPS, lution to integrate the physical world and the information
smart manufacturing becomes a new trend, which makes world. DT is a complete virtual prototype of an entire sys-
complex and customized manufacturing and cooperation tem, which can real-time reflect the all life cycle of physical
become possible. Smart manufacturing (Tao et al. 2017a, b; device or product. With DT, requirements of multiple engi-
Davis et al. 2012) is an interdisciplinary technology integrat- neering disciplines are integrated and system level simula-
ing sensing and analysis of production information, repre- tion and self-decision can be done based on its real-time
sentation of experience and knowledge as well as intelligent mapping data in the entire lifecycle.
decision-making based on these information, data, experi- CNC machine tool (CNCMT), which is the mother
ence and knowledge. It has five features: autonomous abil- machine of industry (Xu and Newman 2006), is an important
ity, human–computer interaction, modeling and simulation, equipment in smart manufacturing. In smart manufacturing
mode, it must have the following abilities in order to ful-
fill complex machining task and customized manufacturing
requirement.
* Tianliang Hu
tlhu@sdu.edu.cn 1.1 Precise simulation
1
School of Mechanical Engineering, Shandong University,
Jinan 250061, People’s Republic of China The design parameter and actual working conditions are
2
Key Laboratory of High Efficiency and Clean Mechanical
different in CNCMT. Simulation of CNCMT model should
Manufacture, Shandong University, Ministry of Education, consider the data and information gathered from physical
Jinan, China equipment. Precise simulation will integrate multi-domain
3
National Demonstration Center for Experimental Mechanical
Engineering Education, Shandong University, Jinan, China

13
Vol.:(0123456789)

1130 W. Luo et al.

modeling and simulation with accurate and reliable data The rest of this paper is organized as follows. In Sect. 2,
from CNCMT. relevant modeling researches and DT concept are intro-
duced. Section 3 presents an application scenario of DT for
1.2 Self‑sensing CNCMT. Section 4 discusses the description, mapping and
autonomous methods of DTMT. Section 5 puts forward a
Self-sensing is the first step in developing a CPS for case study: fault prediction and diagnosis of CNCMT using
CNCMT. Self-sensing can acquire accurate and reliable DTMT. Section 6 concludes this study and points out the
data from CNCMT and its components, and then inference future works.
meaningful information from the data.

1.3 Self‑adjustment 2 Related works

CNCMT with self-adjustment ability can adjust itself for 2.1 DT concept
less time, less waste and better quality according to produc-
tion task. It can also adjust itself to make the production With the development of IoT (Ji et al. 2015; Tao et al. 2017a,
generate minimum user concerns. b), big data, and machine learning (Wang et al. 2018), many
companies and scholars have put forward DT concept and
1.4 Self‑prediction explored the application of DT. NASA studied the health
maintenance and guarantee of aerospace aircraft with the
CNCMT may incur different faults irregularly, which will guidance of DT (Tuegel et al. 2011; Kraft 2015). Lee J pro-
cause bad precision and affect the production. CNCMT posed a unified 5-level architecture as a guideline for imple-
with self-prediction ability can monitor and predict the mentation of CPS (Lee et al. 2015). Schroeder et al. (2016)
fault timely according to environment and its own condi- proposed the use of AutomationML to model attributes
tions before serious faults occur. related to DT and proposed that this model was very useful
for data exchange between different systems connected with
1.5 Self‑assessment DT. Aitor Moreno presented the process to construct a DT
for a sheet metal punching machine to support the interac-
CNCMT with self- assessment ability can evaluate the run- tive design of optimal NC machining programs (Moreno
ning status, optimize working parameters, and make deci- et al. 2017). TaoFei put forward the concept of Digital Twin
sions based on machine learning. Workshop and Digital Twin driven prognostics and health
In order to make CNCMT intelligent enough to achieve management for complex equipment (Tao et al. 2018; Fei
the above abilities, a research on DT of CNCMT (DTMT) is et al. 2017). Many leading companies such as PTC, ANSYS
conducted in this paper. DTMT is a real-time digital replica (Magargle et al. 2017), GE, and Siemens also explored more
of CNCMT. DT is enabled by highly developed computing, applications under the guidance of DT concept.
high precision simulation, and rapid developing artificial DT is a new idea about CPS model of physical assets,
intelligence technology. Driven by ultrahigh fidelity model which is a kind of dynamic digital representation that ena-
and machine learning based on accurate data, expertise and bles companies to understand, predict, and optimize the per-
domain knowledge can be expressed by algorithm model. formance of their machines and their business. The main
Therefore, DTMT has ability to do precise simulation, self- features of it are as below:
sensing, self-adjustment, self-prediction and self-assessment
like expert. It can be used in design, manufacturing, usage, 1. DT is a multi-domain and ultrahigh fidelity digital model
maintenance and recycling stage of CNCMT. With DTMT, integrating different subjects such as mechanical, electri-
a unified model is used in the entire lifecycle of CNCMT, cal, hydraulic, and control subjects. It connects multiple
and is tightly driven by unified and real-time sensed data, on product activities, and is a consistent model supporting
purpose to fulfill complex machining task, reduce downtime design, production, operation, maintenance, and recy-
of unplanned maintenance, increase machining efficiency, cling lifecycle stage.
and make maximum reuse of parts during recycling. 2. DT acts as a virtual mapping of physical products—a
To build a DTMT, unified model, real-time sensed data digital shadow containing all the information and knowl-
support and intelligent using strategy are very important. edge. It connects with physical entity, and gets data from
In this research, a multi-domain unified modeling method the physical world. It can keep consistent with the physi-
of DT is established, a mapping strategy between physical cal world through dynamic update.
space and digital space is designed. Based on them, a using 3. DT can perceive its status according to its synchronous
strategy of DT is explored. update with physical entities, and can predict what will

13
Digital twin for CNC machine tool: modeling and using strategy 1131

happen then make decisions according to the analysis of control cannot strike a balance between benefit and quality
historical and current data. It has intelligent interaction simultaneously.
with physical entities, such as self-sensing, self-predic- However, subsystems, like mechanical subsystem, electri-
tion and self-maintenance based on machine learning. cal subsystem and hydraulic subsystem of CNCMT, are usu-
ally designed, analyzed, debugged and experimented inde-
However, there is no an application scenario of DT for pendently by different developers using different software.
CNCMT currently. Through building DT and applying it The independent design pattern overemphasizes details
on CNCMT, intelligent data analysis and applications can rather than the overall performance and coupling between
be realized, and then smart manufacturing will has an effi- each component, which will cause numerous design itera-
cient foundation. Nevertheless, the model of CNCMT is tions. In addition, most of the simulations are performed in
about multi-domain and different subjects, and an effective design stage, which cannot reflect the real running condition.
modeling, mapping and autonomous method has not been CNCMT is a complex mechatronic system contain-
proposed yet. To fill the vacancy, an application scenario of ing many objects with lots of properties. In order to fulfill
DT for CNCMT is analyzed and presented in this research. the requirement of DTMT, all lifetime stages of CNCMT
need to be integrated tightly with a multi-domain unified
2.2 Modeling and simulation method of CNCMT model. With this model, overall performance and coupling
between each component will be considered, and this is an
In traditional virtual prototype modelling process of essential basis to realize self-adjustment, self-prediction and
CNCMT, which is shown in Fig.  1, developers usually self-assessment of DTMT. At present, multi-domain system
design digital model based on design parameters using CAD modeling and simulating methods contain software interface
software. After the virtual prototype is verified, components method, high level architecture (HLA) and unified modeling
will be produced and assembled, a physical prototype will language (UML).
be done and then improvement will be made according to
the verification result of the physical prototype. After all 1. Software interface is a modeling method based on corre-
design goals have been reached, CNCMT is then delivered to sponding interface of commercial software for interdis-
users. However, the consistency between designed working ciplinary fields, such as ANSYS, ADAMS, MATLAB/
conditions and actual working conditions cannot be ensured. Simulink, SABER, and so on (Wang 2002). All kinds
This method relies on statistics of material properties, heu- of above software are quite mature due to the accumu-
ristic design ideas, physical tests and assumed similarities lation of relevant professional knowledge, but the inter-
between the tests and operating conditions. Design and cost face compatibility between different software platform
increased the difficulties of development.
2. HLA (Pedrielli et al. 2011) is an advanced simulation
Design parameters Design structure with many advantages in the aspects of stand-
ardization, openness, and scalability, with support for
Virtual prototype verification distributed simulation. It supports simulation for con-
tinuous system or discrete time system. However, HLA
Components produce & assemble Improvement
needs various interface of commercial simulation soft-
Prototype
ware developed with HLA, which is similar to the soft-
Improvement ware interface method.
(by hand and not real time) No
Specify 3. UML method mainly focuses on the multi-domain uni-
Yes fied modeling language Modelica (M Association 2005;
Using Elmqvist et al. 1998). Modelica is an equation modeling
Maintenance
language which was put forward in 1997, based on a
variety of modeling language. It solved the problems
Fault
No of unified modeling and collaborative simulation in
multi-physical systems. Modelica language has many
Yes
Stop and Task delay Repair advantages in model reusability and convenience. The
modeling ideas of Modelica meet the accumulation,
Yes
Suceed reusability, and reconstitution of knowledge.
No
Recycle All these methods provide an effective modelling and
simulation solution for building DTMT, but there is lack of
Fig. 1  Traditional building process of CNCMT accurate and reliable data in these methods.

13

1132 W. Luo et al.

2.3 Data using strategy consider the digital model of physical product. If multi-
domain modelling, simulation and reliable data using strat-
Traditionally, running or faults data always rely on user’s egy are combined in DTMT, CNCMT will become more
feedback or manual records, which will inevitably result intelligent.
in the loss of accuracy and instantaneity. In this way,
comprehensive, objective and real-time design improve-
ment according to the CNCMT running status cannot be 3 Application scenario of DT for CNCMT
realized.
Precise simulation, self-sensing, self-adjustment, self- 3.1 Characteristics of CNCMT
prediction and self-assessment are the main using focus
based on DTMT. To fulfill these requirements, sensed Computer numerical control (CNC) technology is a kind of
data need to be used and analyzed. Some scholars have technology using digital information to control and machin-
used cluster analysis, BP neural network or SVM algo- ing process. CNCMT is kind of machine tool equipped with
rithm to predict and diagnose the fault of important parts CNC system. CNCMT is widely used in processing com-
such as bearing, spindle, and servomotor based on data- plex, precise, multi-varieties and small batch parts. As a
driven method. For example, Cho et al. (2005) proposed typical mechatronic equipment, it is a kind of flexible, highly
an intelligent tool breakage detection system which used efficient automatic machine tool.
a support vector machine (SVM) learning algorithm, JS The basic components of CNCMT are control system,
Zhang realized the CNC fault diagnoses based on RBF servo system, functional unit and auxiliaries, which are
neural network algorithm (Zhang and Zhang 2012). Wang shown in Fig. 2. The control system is the brain of CNCMT,
J presents a new deep neural network model for optimized which consists of CNC, PLC, HMI and I/O. The servo sys-
condition prognosis (Wang et al. 2018) and a new virtual tem receives the signal from control system, and then con-
tool wear sensing technique for tool condition monitoring verts it to linear motion or angular motion after signal ampli-
(Wang et al. 2016). Fuzzy neural network is a combina- fier and processing. The functional unit is the components
tion of artificial neural network and adaptive fuzzy logical carrier of CNCMT and most of them are mechanical parts. It
system, and has many advantages in knowledge presenta- contains worktable, guide rail, lead screw, spindle unit, tool
tion, storage and inference. YK Liu, H Xia applied fuzzy magazine and so on. The auxiliary equipment includes chip
neural network to the nuclear power plant, and built fault conveyor, hydraulic system, pneumatic system, lubrication
diagnostic system (Liu et al. 2004). Long and Wang (2009) system, coolant system and protection devices.
applied expert system and fuzzy artificial neural network Data gathered from CNCMT is complex and coupled.
(ANN) to solve the problem of fault diagnosis in the air- Therefore, different subjects and data are also coupled
craft fuel system. when building a digital model. In data driven application of
All above researches provide effective strategies of DTMT, data should be decoupled and then analyzed when
data using methods. Nevertheless, these methods do not using the digital model. Based on multi-domain digital

Fig. 2  System composition of
CNCMT

13
Digital twin for CNC machine tool: modeling and using strategy 1133

modelling and intelligent application of DT, with the data model. The DTMT algorithm model stores and analyzes
driven application, precise simulation, self-sensing, self- the running status data, then makes decisions using
adjustment, self-prediction and self-assessment can be con- machine-learning algorithm.
ducted. The DT modeling and application framework for 3. DTMT is a real-time one-to-one mapping of CNCMT,
CNCMT is presented below. so effective mapping strategy has big difference with
traditional equipment. To allow access to standardized
3.2 DTMT modeling and application framework reading and writing of current data in CNC system and
sensors, a DTMT mapping model needs to be built. The
Considering data driven using purpose, DTMT should have DTMT mapping model, which is designed as an inter-
abilities of coupling and decoupling multi-source data, face of communication drivers, makes the DTMT react
data mapping and data storage. To achieve these abilities, a with physical CNCMT in real-time. As shown in Fig. 3,
framework is designed as shown in Fig. 3. the DTMT mapping model consists of a mapping model
server, a mapping model client, and a data-mapping dic-
1. In order to make DTMT have ability to sense CNCMT tionary. The mapping model services are the interface
and its environment, a sensing system is needed. With between servers as supplier of an information model and
this sensing system, data and information from physical clients as consumers of that information model.
space are mapped to DTMT for analysis and decision-
making. The physical space contains a physical CNCMT Building and applying DT for CNCMT is a way to
and different types of sensors to monitor temperature, quickly predict, determine and optimize product properties.
pressure, velocity, position, vibrating and so on. After the CNCMT deployment, DTMT can react with the
2. In the digital space, DTMT consists of DTMT descrip- physical machine tool timely, conducting intelligent applica-
tive model and DTMT algorithm model. The main func- tions and fault forecast based on data collected and analyzed
tion of descriptive model is to describe the geometric, from CNCMT.
physical, and electrical characteristic of CNCMT. The
DTMT descriptive model relates to multiple subjects
and fields, so the key is to composite interdiscipli- 4 Implementation of DTMT
nary knowledge accurately to build DTMT descriptive
According to the DTMT framework proposed in Sect. 3, a
design method of DTMT which contains DTMT descriptive
model, DTMT mapping model and DTMT algorithm model
is proposed.

4.1 Design of DTMT descriptive model

DTMT descriptive model is important because it is the digi-


tal presentation of physical CNCMT and the basis of DTMT
algorithm model. To describe the essence of real world, the
DTMT descriptive model should contain mechanical subsys-
tem, electrical subsystem, hydraulic subsystem and so on.
CNCMT is a multi-domain and complex mechanical sys-
tem. To build the DTMT descriptive model and make it easy
to use, a hierarchical and encapsulated method should be
used. Moreover, the description of DTMT complex relation-
ship needs an effective modeling language. Object-oriented
modelling method is used because of its good encapsulation
ability of CNCMT object. The modelling language used is
modelica, a multi-domain unified modeling language with
object-oriented feature.
With above method and modelling language, CNCMT is
divided into multiple subsystems such as mechanical, elec-
trical, hydraulic subsystem, then attributes and functions of
different objects are determined. Take mechanical subsystem
Fig. 3  DTMT modeling and application framework of DTMT for example, it contains main body, feed system,

13

1134 W. Luo et al.

and spindle system; while the feed system contains drivers, OLE for Process Control Unified Architecture (OPC UA)
motors, ball screw, and guide rail; finally the motors and its is widely used today as standardized interface between auto-
components; at the same time, different objects have their mation systems. It enables a platform-independent interoper-
own functions. ability standard for moving data between factory floor and
Then subsystem engineers determined the mathemat- the enterprise. Mapping method is designed according to the
ics equations of CNCMT by modelica, according to exist- OPC UA standards in this research.
ing experiences and parameters. For example, as shown in As shown in Fig. 5, running data are gathered from vari-
Fig. 4, different engineers build relevant subsystem based on ous sensors and CNC controller then uploaded to DTMT
constraints and calculation equations. Finally, different parts mapping model server. The mapping model server contains
are connected through interface between them and different four layers. Physical interface layer implements the compat-
subsystems are connected through energy convertor. Using ibility of different interfaces such as RS485, RS232, Wi-Fi,
above method, a parameterized, modular and mathematical Bluetooth, CAN and so on. Protocol driver layer provides
DTMT descriptive model can be built in the modeling and a common read and write method for different interfaces.
simulation environment.

4.2 Design of DTMT mapping strategy

DTMT acts as a mapping shadow of physical CNCMT and


reacts with it in real-time. Therefore, an efficient real-time
mapping strategy between DTMT and CNCMT is necessary.
What is more, working conditions of CNCMT comprise kin-
ematics, dynamics, and thermodynamics parameters accord-
ing to different subjects. Data acquired from CNCMT is cou-
pled, multi-sources and heteroid. To realize the data-driven
applications of DTMT, a mapping model supporting from
simple to complex data with expandability is needed. At the
same time, platform-independent interfaces and interoper-
ability of mapping model are still important. What`s more,
running data of CNCMT is enormous, complex, unstruc-
tured and update rapidly, so column database is suitable for
the storage of data. Fig. 5  DTMT mapping strategy

Fig. 4  Multi-physical modeling
of CNCMT based on UML
Modelica

13
Digital twin for CNC machine tool: modeling and using strategy 1135

Data parsing layer realizes data processing from different engine, control mechanism and intelligent services driven
communication protocol. Finally information model layer by machine learning. Mapping model client transfers man-
convert various data to information based on data-mapping ufacturing information and fault data from physical space
dictionary. The data-mapping dictionary provides detailed to DTMT algorithm model. Database stores the real-time
information about the CNCMT data, such as standard defini- and historical data gathering from CNCMT. Knowledge
tions of data elements, their meanings, and allowable values. base contains a set of knowledge learned trough relevant
After parsing and transformation of the protocol by artificial neural networks algorithm. Rules for knowledge
mapping model server, running data is uploaded to DTMT base refine from history maintenance data and are pro-
descriptive model and DTMT database. The solver and vided for inference engine. Expertise and domain knowl-
post-processor in DTMT descriptive model can conduct the edge are expressed by rules in knowledge base. Through
working condition loading and system simulation of DTMT. analysis and decision-making driven by machine learning
Through mining the running data by machine learning algo- algorithm, DTMT algorithm model will provide several
rithms, wrong working condition and design defects can be intelligent services such as design improvement, running
found. optimization, fault prediction and accurate maintenance.
Therefore, DTMT will achieve goals like precise simu-
4.3 Design of DTMT algorithm model lation, self-sensing, self-adjustment, self-prediction and
self-assessment.
Intelligent CNCMT, as a key intelligent manufacturing Take fault diagnosis as an example, the algorithm model
equipment, should has precise simulation, self-sensing, is trained with fault phenomena as input and fault reason
self-adjustment, self-prediction and self-assessment abili- as output. The knowledge and rules learnt by algorithm
ties. All above abilities need support of DTMT algorithm model is stored in knowledge base. When CNCMT meets
model. Based on DTMT descriptive model and information a new fault, running and fault data are mapping to DTMT
from mapping model, DTMT algorithm model can provides algorithm model. Through analysis and inference by algo-
some intelligent services driven by running data. rithm model with relevant machine learning method, fault
DTMT algorithm model is shown in Fig.  6, and it reason and some decisions will be provided.
mainly consists of database, knowledge base, inference

Fig. 6  DTMT algorithm model

13

1136 W. Luo et al.

5 Case study CNC control system controls the servomotor and I/O using
EtherCAT industrial ethernet.
5.1 Problem description DTMT is built for this CNC milling machine to predict
left lifetime of ball screw and provide maintenance strategy.
CNC milling machine tool is an important kind of CNCMT The parameters of the experiment platform are shown in
and has a wide application. It consists of three servomotors Table 1.
(X, Y, and Z), a spindle, feed system, machine bed, and CNC
system. Since the component failures seriously affect the 5.2 DTMT implementation of CNC milling machine
production task, DT is necessary to predict and diagnose
the faults. CNC milling machine is a set of complex mechatronic
Ball screw is an important component of CNC milling equipment, which contains different subsystems and many
machine, which transforms the force from motor and guar- mechanical parts. To describe the essence of it, a DTMT is
antees machining accuracy. When CNC milling machine is built using modelica in MWorks software.
cutting materials, the main forces of ball screw are axial cut-
ting force, friction, and acceleration or deceleration impact.
Working conditions of ball screw are diverse, so regular Table 1  Parameters of CNC Parameters Values Units
milling machine
maintenance usually cannot fully guarantee reliable running.
X travel 500 mm
The lead screw and bearing of feed system are normally
Y travel 500 mm
encountered failure.
Z travel 300 mm
To validate the proposed method in this paper, a case
Ball screw lead 600 mm
study based on DTMT concept is presented. The experiment
Resolution 0.5 um
platform is shown in Fig. 7, according to the system require-
Repeat accuracy 5 um
ments. A three-axis CNC milling machine with position sen-
Rated load 15 kg
sors, vibrating sensors and velocity sensors are used. The
Speed ≤ 50 mm/s

Fig. 7  Experiment platform

13
Digital twin for CNC machine tool: modeling and using strategy 1137

5.2.1 DTMT descriptive model mechanical model of the whole machine tool is too large,
this paper only showed the X feed system in Fig. 8.
It is an enormous task to model every part in detail. To As shown in Fig. 9c, the DTMT descriptive model of
simplify the work, the model is simplified according to the X feed system consists of a control box, a PMSM motor, a
requirements, and it consists of the primary components mechanical descriptive model and some sensors. The control
such as the guide, screw, slide, screw nut and machine bed. box mainly contains a dq vector controller shown in Fig. 9a.
After analyzing the mathematical model of feed system, The dq vector controller consists of PI controllers and coor-
a DTMT descriptive model is built in MWorks. Since the dinate transformation modules modeled by modelica. A

Fig. 8  DTMT mechanical descriptive model of X feed system

Fig. 9  Multi-domain model of X feed system

13

1138 W. Luo et al.

permanent magnet synchronous motor (PMSM) is also mod- semi-closed loop control system is realized by considering
eled by modelica. Input of the control model are target speed the angular velocity and displacement of the motor detected
value given by the host computer while output are pulse by sensors.
width modulation signal produced by SVPWM module to
control the inverter effectively. The speed–current double 5.2.2 DTMT mapping model

The mapping model is developed based on UML. As shown


in Fig. 10, it has different nodes and different references
between nodes. The mapping model provides a structural
information model of CNC milling machine. The CNCMT
object type includes “CNC system” subtype, “Servo system”
subtype, “Functional unit” subtype and “Sensors” subtype;
meanwhile the “Feed motor” node has a X axis node, a Y
axis node and a Z axis node; the “Lead screw” node has
a screw node, a nut node and a slide node. Each node has
different events and values. The designed data-mapping
dictionary is expressed by XML as shown in Fig. 11. The
data-mapping dictionary corresponds to the mapping model
and will instantiate the mapping model when the DTMT is
running.

5.2.3 DTMT algorithm model

The fault of ball screw has a big uncertainty and residual life-
time prediction is basis for accurate fault predict model. Data
gathered from ball screw is multidimensional and time series.
Neural networks have good learning ability to approximate
Fig. 10  Mapping model based on UML any nonlinear function. The measurement value is small and

Fig. 11  Data-mapping diction-
ary realized by XML

13
Digital twin for CNC machine tool: modeling and using strategy 1139

Fig. 12  Using method of DTMT

the accurate model cannot be obtained, the fuzzy logic sys- hidden layer adopts the B-spline basis function defined on
tem can simulate the thinking of human brain and make a bet- the point matrix. Connection weight from the hidden layer
ter explanation. What is more, it can almost realize real-time to the output layer changes with the learning sample dur-
prediction. Therefore, in this paper, B-splines fuzzy neural ing training. The error of training model can be described
network is used for the fault predict model. Vibration sensors by known fault and model output. Known fault is used as
are installed on the two sides of ball screw and temperature expected result and compared with training result to training
sensors are installed on the supporting base. They are used to the algorithm model. The knowledge acquired from training
monitor components of ball screw in real-time. The residual model is stored in neural network locally and the weights
lifetime of ball screw can be obtained after analyzing the can be expressed as fuzzy rules. Therefore, it is suitable for
temperature and vibration values. uncertain prediction of machine tool failure.
The basic function of B-splines can be expressed by: The life equation of ball screw can be express by:

(1)
( ]
Bi,1 = 1 x ∈ xi , xi+1 ; Bi,1 = 0 x ∈ others ( )3
Ca
L= × 106 (5)
x − xi xi+k − x fw Fa
Bi,k (x) = Bi,k−1 (x) + B (x),
xi+k−1 − xi xi+k − xi+1 i+1,k−1
In above equation, L is rated life, Ca is rated dynamic
k = 2, … , M, i = 1, … n (2)
load, Fa is axial load, fw is load factor. Fault prediction
For multiple variables, the basic function of B-splines model is trained by the fatigue fault data of same type parts.
can be expressed by: The initial data is obtained from the suppliers, and the run-
ning status data begins to update and accumulate after the
m m
∏ ∑ delivery of CNC milling machine tool.
Nk (x) = Bik ,n (xi ) k = 1, 2, … , M,
i i
M= Mi (3)
i=1 i=1

So the function y(x) of multiple variables can be numeri- 5.3 Using method


cal fitted by Nk (x):
As shown in Fig. 12, after DTMT is built, with the mapping
∑ M M
∑∏ m ability of DTMT, the sensed data can be collected and used
Bik ,n xi 𝜔k (4)
( )
y(x) ≈ Nk (x)𝜔k =
i i to drive the analysis and simulation with descriptive model
k=1 k=1 i=1
and algorithm model. Then fault can be predicted timely
Using B-splines fuzzy neural network, remaining useful before failure occurred by DTMT. Compared to traditional
life (RUL) of ball screw can be expressed by multiple vari- method, the driven data is collected by DTMT mapping
ables for different sensors. Vibration data and temperature strategy, which can ensure the timeliness, objectivity and
data are input to train the algorithm model. Collected data is accuracy, providing shop-floor level analysis and simula-
multidimensional, so input data is mapped to a matrix. The tion ability.

13

1140 W. Luo et al.

6 Conclusion and future works Liu YK, Xia H, Xie CL, Yan CQ (2004) Research on fault diagnostic
system of nuclear power plant based on fuzzy neural network.
Nucl Power Eng 63(1):3–9
In this paper, a modelling method and using strategy of DT Long H, Wang X (2009) Application of aircraft fuel fault diagnostic
for CNCMT is proposed. This paper gives a demonstra- expert system based on fuzzy neural network. In: Wase interna-
tion of DT concept in CNC machine tool era. The research tional conference on information engineering, pp 202–205. https​
://doi.org/10.1109/ICIE.2009.9
mainly includes the following aspects. First, it proposes a M Association (2005) Modelica, a unified object oriented language for
DT modelling and application framework for CNCMT. Sec- physical systems modeling. Tutorial
ond, a multi-domain modeling method using unified model- Magargle R, Johnson L, Mandloi P, Davoudabadi P, Kesarkar O,
ling language and mapping strategy is presented. Third, the Krishnaswamy S, Batteh J, Pitchaikani A (2017) A simulation-
based digital twin for model-driven health monitoring and pre-
using strategy of DT: fault diagnosis and predict is stud- dictive maintenance of an automotive braking system. In: The
ied. To validate our proposal, a case study based on above international modelica conference, Prague, Czech Republic, May,
method and strategy is researched. However, the research pp 35–46. https​://doi.org/10.3384/ecp17​13235​
still needs many works to fulfill the entire DT application. Moreno A, Velez G, Ardanza A, Barandiaran I, Ruíz de Infante A,
Chopitea R (2017) Virtualisation process of a sheet metal punch-
Future work will focus on following aspects: (1) apply- ing machine within the Industry 4.0 vision. Int J Interact Des
ing DTMT for hybrid approach predictive maintenance of Manuf (IJIDeM) 11(2):365–373. https​://doi.org/10.1007/s1200​
CNCMT; (2) realizing further modelling consistency and 8-016-0319-2
accuracy according to experiment. Pedrielli G, Scavardone P, Tolio T, Sacco M (2011) Simulation of
complex manufacturing systems via HLA-based infrastructure.
In: IEEE workshop on principles of advanced and distributed
Acknowledgements  The work is supported by National Natural Sci-
simulation, pp 1–9. https​://doi.org/10.1109/PADS.2011.59367​72
ence Foundation of China (Grant no. 51405270).
Schroeder GN, Steinmetz C, Pereira CE, Espindola DB (2016) Digital
twin data modeling with automationML and a communication
methodology for data exchange. IFAC Pap OnLine 49(30):12–17.
References https​://doi.org/10.1016/j.ifaco​l.2016.11.115
Tao F, Cheng J, Cheng Y, Gu S, Zheng T, Yang H (2017a) SDMSim: a
manufacturing service supply—demand matching simulator under
Cho S, Asfour S, Onar A, Kaundinya N (2005) Tool breakage detection
cloud environment. Robot Comput Integr Manuf 45(6):34–46.
using support vector machine learning in a milling process. Int J
https​://doi.org/10.1016/j.rcim.2016.07.001
Mach Tools Manuf 45(3):241–249. https:​ //doi.org/10.1016/j.ijmac​
Tao F, Cheng J, Qi Q, Tao F, Cheng J, Qi Q (2017b) IIHub: an indus-
htool​s.2004.08.016
trial internet-of-things hub towards smart manufacturing based
Davis J, Edgar T, Porter J, Bernaden J, Sarli M (2012) Smart manu-
on cyber-physical system. IEEE Trans Ind Inform. https​://doi.
facturing, manufacturing intelligence and demand-dynamic
org/10.1109/TII.2017.27591​78
performance. Comput Chem Eng 47(12):145–156. https​://doi.
Tao F, Zhang M, Liu Y, Nee AYC (2018) Digital twin driven prognos-
org/10.1016/j.compc​hemen​g.2012.06.037
tics and health management for complex equipment. Cirp Ann.
Elmqvist H, Mattsson SE, Otter M (1998) Modelica—an international
https​://doi.org/10.1016/j.cirp.2018.04.055
effort to design an object-oriented modeling language, pp 333–339
Tuegel EJ, Ingraffea AR, Eason TG, Spottswood SM (2011) Reengi-
Fei T, Meng Z, Cheng J, Qinglin QI (2017) Digital twin workshop: a
neering aircraft structural life prediction using a digital twin. Int
new paradigm for future workshop. Comput Integr Manuf Systems
J Aerosp Eng. https​://doi.org/10.1155/2011/15479​8
23(1):1–9. https​://doi.org/10.13196​/j.cims.2017.01.001
Wang GG (2002) Definition and review of virtual prototyping. J Com-
Glaessgen E, D Stargel (2012) The Digital Twin paradigm for future
put Inf Sci Eng 2(3):232–236. https​://doi.org/10.1115/1.15265​08
NASA and US Air Force Vehicles. In: AIAA/ASME/ASCE/AHS/
Wang J, Xie J, Zhao R, Zhang L, Duan L (2016) Multisensory
ASC Structures, Structural Dynamics and Materials Conference
fusion based virtual tool wear sensing for ubiquitous manufac-
Aiaa/asme/ahs Adaptive Structures Conference Aiaa. https​://doi.
turing. Robot Comput Integr Manuf 45(C):47–58. https​://doi.
org/10.2514/6.2012-1818
org/10.1016/j.rcim.2016.05.010
Grieves M, Vickers J (2017) Digital twin: mitigating unpredictable,
Wang J, Wang K, Wang Y, Huang Z, Xue R (2018) Deep Boltzmann
undesirable emergent behavior in complex systems. In: Kahlen
machine based condition prediction for smart manufacturing.
FJ, Flumerfelt S, Alves A (eds) Transdisciplinary perspectives on
J Ambient Intell Hum Comput. https​://doi.org/10.1007/s1265​
complex systems. Springer, Cham. https​://doi.org/10.1007/978-
2-018-0794-3
3-319-38756​-7_4
Xu XW, Newman ST (2006) Making CNC machine tools more open,
Ji S, Zhang C, Hu T, Wang K (2015) A hardware independent real-time
interoperable and intelligent—a review of the technologies.
ethernet for motion control system. Int J Comput Commun Con-
Comput Ind 57(2):141–152. https​://doi.org/10.1016/j.compi​
trol 11(1):39. https​://doi.org/10.15837​/ijccc​.2016.1.617
nd.2005.06.002
Kraft EM (2015) The air force digital thread/digital twin—life
Zhang JS, Zhang YH (2012) Research of CNC fault diagnosis based
cycle integration and use of computational and experimental
on RBF neural network. Appl Mech Mater 150:211–216. https​://
knowledge. In: AIAA aerospace sciences meeting. https​://doi.
doi.org/10.4028/www.scien​tific​.net/AMM.150.211
org/10.2514/6.2016-0897
Lee EA (2008) Cyber physical systems: design challenges. In: IEEE
Publisher’s Note Springer Nature remains neutral with regard to
international symposium on object oriented real-time distributed
jurisdictional claims in published maps and institutional affiliations.
computing, pp 363–369. https​://doi.org/10.1109/ISORC​.2008.25
Lee J, Bagheri B, Kao HA (2015) A cyber-physical systems architec-
ture for industry 4.0-based manufacturing systems. Manuf Lett
3:18–23. https​://doi.org/10.1016/j.mfgle​t.2014.12.001

13

Вам также может понравиться