AI-verified holographic maintenance training on HoloLens 2

AI-verified holographic maintenance training on HoloLens 2

A major energy operator asked us to build augmented and mixed reality maintenance training for its Industry 4.0 programme, and to build it so that the system could tell whether the trainee had actually done the work. Two scenarios were scoped and delivered, then piloted at one of the operator's...

Project at a glance

  • Client: Saudi Aramco, IR4.0 programme
  • Sector: Oil and gas, downstream
  • Platform: Microsoft HoloLens 2, Unity with MRTK, supported by an on-premise processing server and a custom IoT hub
  • Delivered:  October 2022
  • Services: Mixed reality application development, computer vision model training, industrial IoT sensing and integration, on-premise deployment

The brief

A major energy operator asked us to build augmented and mixed reality maintenance training for its Industry 4.0 programme, and to build it so that the system could tell whether the trainee had actually done the work. Two scenarios were scoped and delivered, then piloted at one of the operator’s refineries.

The first covers overhauling a gate valve: holographic step-by-step guidance through disassembly, inspection, reassembly, lapping and the client’s own hydro-test procedure. The second covers an operator skid, taking a valve out of service and returning it to service.

 

The challenge

Most augmented reality work instructions have the same weakness. They show the technician what to do next, then take it on trust that it was done. Nothing in the system knows which spanner was picked up, whether the bonnet went back on in the right order, or whether the valve on the skid was ever turned at all.

For maintenance training that gap is the whole problem. An assessment that cannot detect an error is not an assessment.

Two distinct verification problems had to be solved, and they are not the same problem. On the gate valve, the question is visual: is the trainee holding the correct tool, and are the components assembled correctly at this stage. On the operator skid, the question is physical: has this analogue valve actually been opened or closed. No screen reports the state of a hand-operated valve, and a camera looking at one from across a skid cannot reliably tell a quarter turn from none.

There was also an ergonomic constraint that shaped the interface. On a skid, the operator’s hands are on the equipment. An interaction model that requires the user to raise a hand and air-tap a menu interrupts the very task being trained.

What we built

Two HoloLens 2 scenarios, built in Unity with MRTK, Microsoft’s Mixed Reality Toolkit.

Both carry the same instructional layer: holographic directional overlays that point to the component in question, an instructional user interface anchored in the workspace, voice commands, hand-tracking proximity warnings that fire when the user reaches into a hazard, and video and still capture from the headset for evidence and review.

 

Selection is by gaze-and-dwell. The user looks at a control and holds their gaze on it to activate it, rather than reaching out to press it. That was a deliberate choice for hands-busy work: the trainee can keep both hands on the valve and still drive the application.

Both scenarios run in guided and assessment modes, with cognitive questions posed after each step so that the system is testing understanding rather than only sequence. Trainer and trainee analytics sit behind them.

The verification layers are what separate this from conventional AR work instructions.

How it works

Alignment comes first. QR codes are placed on the physical equipment, and the application reads them to register the holograms against the real valve and skid. We chose markers over spatial anchors deliberately: a refinery is a repetitive metal environment with poor features for spatial mapping, and a marker on the asset gives a repeatable origin every time the headset is put on.

Object detection is handled by YOLOv5, trained on labelled real-world photographs of the actual gate valve components for 300 epochs. Not renders, and not a generic tool dataset: photographs of the parts the trainees would be holding, in the conditions they would be holding them.

 

The inference does not run on the headset. Images are streamed continuously from the HoloLens over HTTP to a local Windows ML processing server, which returns results to the Unity application. That keeps the model as large as it needs to be, keeps the headset cool and light, and keeps the imagery inside the client’s own network. An ASP.NET Core service, the Luminous API, ties the components together.

The IoT strand answers the second question. We built a custom IoT hub using Modbus, the standard industrial serial protocol, and read valve state using magnetic strips fitted to the valves and a calibrated magnetometer housed in a bespoke harness and puck. The magnetometer detects the rotation of the strip as the handwheel turns. That is how the application knows an analogue valve has genuinely been operated, and it is the only honest way to assess a task whose outcome exists in the physical world rather than on a network.

Deployment and support

Everything runs on premise. The processing server sits behind a dedicated router with a static IP, running WSL2, Docker and CoreDNS, with Task Scheduler handling service start-up so the stack comes back on its own after a power cycle. Nothing leaves the site.

Five HoloLens 2 units were supplied and handed over on signed asset forms between April 2021 and October 2022, with final user manuals issued in October 2022 alongside the last of those handovers.

The outcome

Two mixed reality maintenance training scenarios, delivered and piloted at a refinery, with a computer vision model verifying tool selection and assembly and an industrial sensor rig verifying valve operation.

It is the most technically ambitious project in our archive, and it is worth being clear about when it was built. This was AI-verified holographic maintenance training running on a live refinery pilot in 2021 and 2022, several years before verification by machine vision became a standard claim in industrial training marketing.

We hold no completion rates or assessment results from the pilot, and none are offered here. What the record supports is the engineering: a trained detection model, an on-premise inference pipeline, a bespoke magnetometer harness reading analogue valve state over Modbus, and five headsets signed onto a refinery asset register.

The underlying credentials are longer-standing. We joined the Microsoft Mixed Reality Partner Program in January 2018, and were invited into the HoloLens 2 P0 Preview Program in April 2019, which put a pre-release device in our hands before general availability.

A camera can tell you which spanner is in the trainee’s hand. Only a sensor on the valve can tell you the valve was turned.” Luminous XR