White paper

ARCA: AI Root Cause Analysis.

  • Reading time 8 min


  1. A study by

General description

The problem

When an operator is faced with an alarm that they are not familiar with, the best approach to the solution is to consult the official documentation. Retrieving these documents and consulting them may involve more than a simple text search because specific information is likely to be spread across multiple documents. In a typical scenario, the starting point is the instruction manual that describes the alarm code and the components that are causing it. The operator could then navigate to the electrical diagram, locate the components and check the connections. It could also be useful to consult the datasheet of the component. All these steps are straightforward, but time-consuming.

The vision

We wanted to design a tool that would ease the task of consulting the documentation when troubleshooting an unknown alarm. The solution needs to be:

  • Easy to use;
  • Official, meaning that it can only provide information contained in official IMA documents;
  • Complete, in the sense that it should consult all the documents in the documentation package;
  • Fully integrated in KORTEX HMI so the operator can always check machine status;
  • Deployed on-premise and capable of working without an internet connection;
  • Certain not to provide false information, a common side effect of AI applications (hallucinations).

IMA solution

The solution that has been developed is ARCA: AI Root Cause Analysis. The tool is activated when an alarm is raised with the goal of guiding the operator in the troubleshooting activities. ARCA has learned the correlations between all the documents in the official IMA documentation package, including datasheets from component suppliers. If properly configured, it can also include additional documentation from the customer, such as internal SOP. Once activated by the user, ARCA presents the most relevant documents related to the alarm under investigation, highlighting the pages with the most informative content.

 

Figure 1: ARCA logo and acronym.

 

Key features

Easy – the tool only uses documentation that is already included in the standard package. Moreover, it does not need direct maintenance.
Industrial – the tool is designed for pharmaceutical production plants. It is deployable directly on every IMA machine without the need for external connection. Integrated – ARCA is fully integrated in KORTEX with a series of dedicated pages to view and navigate the documentation without leaving the HMI.
Safe from hallucinations – AI is known to occasionally produce false results known as hallucinations. ARCA is not a chatbot nor does it produce new information.
It provides links to existing and 100% human-verified documentation. In case of hallucination the link may be inaccurate but not the underlying information.
Comprehensive database – the input of ARCA is the standard IMA documentation package. The documents used for troubleshooting are: the machine user manuals, electrical and pneumatic diagrams, product manuals such as datasheets from all the component suppliers, optionally and if configured properly, custom documents directly added by the client.

Description of operation

ARCA takes two inputs: the documentation root folder and the alarm code. Then it elaborates a chain of inferences:

  • The alarm code is searched in the machine manual, providing a link to the section where it is described. Components may be identified with human readable texts such as “Film pump motor”.
  • The component text is searched through the wiring diagram identifying the connection with the commercial code used in the diagram. At this stage, ARCA outputs all the pages of the diagram where each component is referenced.
  • Knowing the commercial codes, the system searches the documentation folder for the datasheets. It outputs the path of each document.
  • Finally, it searches the custom folder where the customer may have loaded additional documents such as internal SOP.

The overall output is condensed into a single JSON file containing all references of documents and pages discovered during the chain of inference. When invoked via the HMI, a dedicated page parses the JSON file and allows the user to view the referenced documents, with bookmarks to jump to the relevant pages.
The whole system can be deployed in two versions: offline or live with external PC.

Figure 2: ARCA dedicated page in HMI.

Offline version

In the offline version, all alarms have been pre-elaborated by IMA and loaded into the HMI PC. The machine comes with all the JSON files (one per possible machine alarm) and all the IMA standard documentation. ARCA can be accessed via the HMI from any alarms. The only limitation of this version is that the documentation and the outputs are frozen in time at machine delivery. It is thus not possible for the customer to include additional documents and get them referenced by ARCA.

Moreover, if the documentation of the machine gets updated, the whole set of outputs should be recalculated on IMA’s side and re-uploaded.

Figure 3: system architecture in offline version. The output files are generated once and loaded in the HMI PC, where they can be consulted at each user request.

Live version with external PC

On the contrary, the live version features a dedicated external PC that periodically scans the documentation and updates the JSON files. If the customer adds new documents, they will be available in ARCA at the next scan cycle.

Figure 4: system architecture in live version with external PC. The output files are generated periodically by the external PC and loaded in the HMI PC, where they can be consulted via the HMI.

Appearance in HMI

The dedicated HMI page can be reached in two ways:

  • The user can click on the new top-left corner button. ARCA will be invoked for the priority alarm.


Figure 5
: detail of the HMI top bar. The top-left corner features a new button that is the entry point of ARCA when looking for info on the priority alarm (#147 in this example)
.

  • If the user is interested in an alarm other than the priority one, they can open the alarm table, select the desired row and click on the ARCA button on the bottom.

Figure 6: detail of the alarm table. The user can select the desired alarm and click on the ARCA button in the bottom.

The HMI page of ARCA is organised in tabs, with the alarm under investigation clearly visible at the centre of the screen. The page opens on the “Alarm Explanation” tab that contains a general description of the alarm and its causes in the left section, plus a list of related component codes in the section on the right. 

Figure 7: ARCA HMI page opened on the first tab “Alarm Explanation”.

The second tab is dedicated to browsing the machine manuals. On the left, there is a list of manuals that contain relevant information on the alarm under investigation. If more than one document is found, the system orders them by confidence level, displaying the document with the highest confidence at the top. On the right is a set of bookmarks specific for the alarm; they help the user to navigate the document to the pages with the most relevant content. The central part contains the viewer itself together with the most common navigation buttons (such as zoom in, zoom out, previous and next page, fit zoom to full page).
There is also a button to open the viewer in full screen mode to better help the user in reading the document.

Figure 8: ARCA HMI page opened on the second tab “Manuals”. The main features are: a list of related manuals on the left, a list of bookmarks on the right and the document viewer at the centre.

The third tab is related to technical drawings such as electrical or pneumatic drawings. The structure is identical to the “Manuals” tab with a document list on the left, a bookmark list on the right and the viewer in the centre.
Similarly, the last tab is dedicated to Datasheets and, if present, custom documents. The left part contains a list of the components related to the alarm. Customer documentation, if present and related to the alarm will appear here. Once an item is selected, the right part is populated with links to documents associated to the component (such as datasheet or other technical material). As previously, the central part contains the document viewer itself.

Figure 9: ARCA HMI page opened on the third tab “Drawings”. The main features are: a list of related drawings on the left, a list of bookmarks on the right and the document viewer at the centre.

Figure 10: ARCA HMI page opened on the fourth tab “Datasheet”. The main features are: a list of components on the left, a list of technical documents on the right and the document viewer at the centre.

Related insights

White paper

Salty compression.

5 min

Brands: IMA Active, IMA S.p.A. – Active Division