
diagnostic information with the information in the
site databases to carry out more thorough analyses.
The information gathered at the sites is further
processed and analysed by the high-level analysis
services (supervisory logic) in the service centre.
The analysis operations are mainly carried out
automatically by the site subsystems. However, if
the site’s analysis agent cannot identify the reason
for the abnormal behaviour of a device—i.e., it
discovers a situation that does not match to its
existing deduction rules—it sends a warning to the
system. Experts of the service centre then examine
the device and, if the cause can be worked out, the
new deduction rule is updated to the knowledge
base. The experts can use, in addition to their own
knowledge, the data from all the other sites, and
therefore have a better chance to clear up the
problem than the local staff at the site. (Helanterä,
2004)
The global condition monitoring system has to work
in a diverse environment of different field devices,
automation systems, database systems etc. Thus, the
architecture of the system has to be flexible to
accommodate the variety of industrial sites
(Nikunen, J. et al, 2001). Modularity is one of the
reasons behind choosing agent-architecture as the
general framework of the system and modularity
requirements have to be taken into account in the
design of the analysis services as well. The
advantage of the modular structure is that the
implementation of the computational module can be
changed without having to modify the analysis
agent.
The computation can be transferred to a separate
computing server or distributed among various
machines. The information about the computing
server(s) can be included in system configuration
files. Using a separate computing server or various
distributed servers should be considered when the
amount of data to be processed increases and thus
the load caused to the agent server becomes
intolerable. Separating the computation from the
agent server is relevant when considering the overall
system stability.
4 COMPUTATIONAL
IMPLEMENTATION OF THE
ANALYSES
The computational implementation of the analyses
means in this context the tools and mathematical
libraries that are needed to perform the analyses. The
way of implementation is affected by the general
architecture of the system, the systems integration
issues and the analysis methods to be used.
Two alternative technologies have been studied as a
framework of the global condition monitoring
system—namely Sun’s J2EE (Kero, 2004) and
Microsoft’s .Net (Haavisto, 2001) and (Salmenperä,
M. et al., 2003). In this paper we concentrate on the
J2EE architecture and thus, the analysis components
have to be compatible with Java in some way. The
main driving force behind choosing the Java
technology is its platform independence, which is
one of the central requirements of the global
condition monitoring system and has to be taken into
account with the analysis services as well. On the
other hand, the condition monitoring system also has
to deal with legacy systems, thus making systems
integration necessary. Therefore we may well ask if
it is possible to use something else than a Java-based
solution, provided that it is otherwise more
convenient.
It is a great advantage if the analysis components
could be developed and implemented with the same
tool. In practise, there are two different alternatives:
using Java tools both in development and
implementation, or using non-Java tools in
development and then integrating the emerged
components to the system. In the field of numerical
computing MATLAB® is the de facto standard and
the development of analyses would most probably
be carried out with it. Then again, the J2EE
framework of the condition monitoring system
makes using pure-Java applications desirable.
Basically MATLAB® consists of the computational
engine, its own programming language and a variety
of toolboxes that contain a combination of functions
for special tasks. In the context of analysis services
e.g. the Statistical, Neural Network, Fuzzy Logic
and Database toolboxes provide a solid base for both
developing and implementing the analyses. In the
Java world there are tools for these tasks as well but
they are not as advanced as those of MATLAB®
and also the experience of using them is not as
extensive.
5 JAVA-MATLAB® INTEGRATION
MATLAB® is a competent tool for analysis
development but in terms of systems integration it is
problematic. Especially the integration with Java-
based systems is difficult, even though the more
recent versions of the software (since version 5.3
R11) include the Java virtual machine, which makes
it possible to call Java classes from MATLAB®
code but the contrary is not possible. However, we
present here some ways to use MATLAB® from a
ICINCO 2004 - INTELLIGENT CONTROL SYSTEMS AND OPTIMIZATION
302