Introduction
Gas detection is critical for ensuring the safety of workers in the oil and gas industry. Gas leaks can occur at any stage of production, from drilling and refining to transportation and storage. Gas sensors must be able to detect a wide range of gasses, including combustible gasses like methane and propane, as well as toxic gasses like carbon monoxide and hydrogen sulfide. Gas detection systems have traditionally been based on point sensors, which are placed at strategic locations throughout a facility. These sensors are connected to a central control panel, which monitors the gas concentration in each location. If a gas leak is detected, an alarm is sounded and workers are evacuated from the area.The Challenge
Even if they are the industry standard, traditional gas detection systems based on point sensors have several limitations.- They are limited by their space density, as they can only detect gas in the areas where they are positioned, meaning that leaks in other parts of the facility may go undetected.
- They are limited by network coverage. Many wireless communication-dependent sensors are prone to malfunction during severe weather events, leaving unsupervised locations in the facility.
- These systems rely on human operators to evaluate the data and take action.
Our Solution
- As a static point sensor.
- As a wearable.
Hardware requirements
- Nordic Thingy:91
- Micro USB cable
Software requirements
- Edge Impulse account
- Edge Impulse CLI
- GIT
- nRF Connect 3.11.1
- nRF command line tools
Hardware Setup
For this use-case, as mentioned above, we will be using the Thingy:91, a prototyping development kit created by Nordic Semiconductor. It is packed with sensors, making it a great pick for rapid prototyping and also, equipped with a nRF9160 System-in-Package (SiP) that supports LTE-M, NB-IoT and GNSS, allowing you to add a connectivity layer to any application. This development board comes equipped with a 64 MHz Arm® Cortex®-M33 CPU that is great for running TinyML models on the edge used to detect various phenomena, more specific for our use case, dangerous gas leaks.Software Setup
Creating an Edge Impulse Project
To build the machine learning model that will be used to detect dangerous leaks in environments characteristic to the oil and gas industry, we will be using the Edge Impulse platform. Register a free account and create a new project. Remember to give it a representative name and select Something else when asked what kind of data will be used to build the project.Connecting the Device
To connect the device to Edge Impulse, download nRF connect 3.11.1 and nRF command line tools from the official sources and install them. If you are going to be using a Linux computer for this application, make sure to run the following command as well:firmware.hex file in the Files area, make sure Enable MCUboot is enabled and press Write.