CERN LHC CAN bus CANopen WiFi telematics


CAN Bus Troubleshooting at CERN [CANopen WiFi Gateway]

Case Studies / CERN

case study logo

CERN (European Organization for Nuclear Research) operates the largest particle physics laboratory in the world. ATLAS is the largest, general-purpose particle detector experiment at the Large Hadron Collider (LHC).

What problem did you solve?

At the CERN LHC experiment, several gaseous detectors are present - each one having a 'Gas Control System' (around 30 in total) responsible for providing the correct gas mixture to the detectors. We found out that one such systems started showing spikes in the flow of the single channels sending the gas to the detectors.

After confirming that there was no physical explanation for the spikes we had to identify the root cause. The readout of flowmeters (called 'flowcells' in our case) is done by making the gas pass through a channel where a PT100 is installed. By leveraging the thermal conductivity that changes with the flow of the gas we are able to compute the real flow passing through each channel.

The data is read using a CERN Embedded Local Monitoring Board (ELMB) which is a multi function board providing digital/analog inputs and outputs. The board has a CAN bus interface. We wanted to understand if these spikes originated from an ELMB, e.g. due to a board malfunction or firmware issue.

To achieve this, we needed a CAN logger to sniff all the messages passing through the CAN bus, in order to compare this data vs. the archived data in our databases.

How did you solve it?

We first setup an object storage service on CERN's openstack infrastructure. In particular, we created an S3 storage bucket. Next, we configured a CANedge2 and let it access CERN's WiFi network so that it could directly upload data to the S3 bucket.

Finally, we inspected the uploaded CANopen data using the CANedge Python API, leveraging the available API examples to get started quickly.

CANopen to cloud server gateway

Spikes observed in gas control systems Spikes from gas control systems


Spikes observed in gas control systems CAN data showing no spikes

"The CANedge2 allowed us to investigate and monitor data on critical systems with minimal software configuration or intervention"


Spikes observed in gas control systems
CANedge2 installation in CANopen system

What benefit has this led to?

We quickly got a deeper understanding of the issue and could exclude the CAN bus from being the potential cause of the problem.

Why did you choose the CANedge2?

We chose the CANedge2 after looking at several devices. We needed a simple interface-friendly and feature-rich device at low cost. The CANedge2 provides a wireless connection and easy configuration for general purpose applications (automotive/industrial), while most of the other devices we looked at were mostly targeting automotives.

   — Gianluca Rigoletti , Doctoral Student, CERN




Ready to log your industrial CAN data?

Get your CANedge2 today!







Recommended for you