FreeWave brings IoT to the oil field using TI’s SimpleLink CC13xx and Sitara AM335x devices with Amazon Web Services

Other Parts Discussed in Post: AM3358, CC1310, CC1350

Oil production fields have a large number of wellheads scattered over a wide area. These wellheads require regular monitoring to ensure that the equipment is in good working order and to avoid the potential for breakdowns or oil spills. Traditionally, this monitoring has been labor-intensive; workers must drive around the field to check sensor values and equipment. Not only is this time-consuming and expensive, but workers may occasionally be exposed to hazardous situations if problems occur.

Although the latest generation of oil-field equipment often includes remote monitoring capabilities, many oil fields have capital equipment that is older and very expensive to replace. FreeWave, a leading vendor of wireless Industrial Internet of Things (IIoT) solutions, provides the ability to retrofit remote monitoring into existing capital equipment deployments, thereby reducing operational expenses and increasing worker safety. FreeWave achieves this through its Amazon Web Services (AWS)-based ZumIQTM Application Environment software (which enables remote, browser-based monitoring) and its ZumLink long-range radios, which are based on TI’s SimpleLink™ CC1310/CC1350 wireless microcontrollers (MCUs) and Sitara™ AM3358 processor. In this blog post, we will look at how FreeWave used AWS services and TI devices to deliver products that address their users’ needs.

900MHz ZumLink series Z9-PE radio

The radio design needed to meet several key requirements. Connecting to legacy wellhead sensors required a Modbus interface. Since the wellheads are widely scattered, long-range transmission was essential in order to eliminate the need for costly cellular connectivity at every wellhead. The radio also had to achieve fairly high data rates, as it may store a significant quantity of operational data that needs to be periodically uploaded for offline analysis. The radio needed to provide a programmable environment that could support up to 10 applications to enable custom monitoring for a specific oil field. To connect the oil-field wireless network to the cloud, the ZumLink wireless network also required a connection to a cellular gateway. But since grid power is not available in an oil field, a small solar panel powers the radio, which made low power consumption an essential goal.

ZumLink includes ZumIQ, an application server environment that hosts a custom SCADA application designed to run on the AWS cloud and uses AWS IoT to communicate with remote devices. See Figure 1 below for an example of the ZumLink customizable dashboard, which allows remote monitoring, triggering actions on specific conditions, visualization and report generation.

Figure 1: ZumIQ Dashboard

TI’s CC1310 wireless MCU and AM3358 processor enabled FreeWave to achieve the necessary processing performance within its power budget, as well as a wireless link to accommodate the future bandwidth needed for IIOT applications. Since FreeWave’s equipment typically operates in harsh environments, TI’s commitment to industrial-grade devices was also important.

To achieve the long range required, FreeWave needed to use the industrial-scientific-medical (ISM) band 915MHz radio. FreeWave selected the SimpleLink CC1310 wireless MCU for its ZumLink product line. The CC1310 wireless MCU supports the Sub-1 GHz spectrum, including the 915MHz band. While the CC1310 wireless MCU’s very low power operation met FreeWave’s power-consumption goals, the CC13xx product roadmap matched well with their future product requirements. They are already incorporating the CC1350 wireless MCU, which offers dual-band Sub-1 GHz and 2.4GHz radios, into a new design for a 2.4GHz version of ZumLink. They then plan to use the multiband CC1352R wireless MCU to add 802.15.4-based protocols.

The combination of dual- and multiband wireless MCUs and the SimpleLink software development kit (SDK), which provides a compatible SDK across multiple wireless microcontrollers and radios, enables FreeWave to leverage a common software platform across multiple products, reducing development costs. FreeWave also benefited from TI’s IoT ecosystem partners, using the -6LoWPAN- protocol from ThingSquare’s Contiki OS to accelerate development of their software stack.

Aided by in-depth support from the CC13xx applications team, FreeWave leveraged its expertise in radio design to develop a custom protocol stack and create a product that offered up to 3.2Mbps transmission over a range of up to 20m. Using additional ZumLink radios in a repeater mode extends the range further to 200m.

TI’s Sitara AM3358 device is a 1GHz Arm® Cortex-A8-based processor that comes with a fully supported embedded Linux distribution. This combination provides a familiar and powerful programming environment to enable easy customization of ZumLink to integrate with pre-existing wellhead equipment. The AM3358 processor can support a broad range of industrial protocols, including Modbus, which enables the ZumLink radio to connect to a Modbus gateway at the wellhead.

The CC1310 wireless MCU functions as network processor and communicates to the AM3358 processor over a serial UART interface. FreeWave used the AM3358’s programmable real-time unit and industrial communication subsystem (PRU-ICSS) co-processor, which is optimized for the implementation of customized high-speed serial interfaces, to manage the interface between the AM3358 processor and the CC1310 wireless MCU (see Figure 2), as this interface requires serial communication of up to 3.2Mbps. The AM3358 processor also contains an on-chip Ethernet interface for connecting to the cellular gateway or directly into a wired network, if available.

Figure 2: Communication layout between the CC1310 wireless MCU and the AM3358 processor

An important benefit of the Processor SDK Linux distribution for the AM3358 device was its support for OpenEmbedded/Yocto recipes. This enabled FreeWave to easily customize the distribution by adding both additional open-source packages and custom components associated with their radio.

ZumIQ Application Environment

ZumIQ Application Environment is an application development platform that can run on the AWS cloud.  Via ZumIQ, FreeWave created a customizable dashboard that allows companies to remotely monitor operations, trigger actions on specific conditions, visualize trends and generate reports. In effect, through ZumIQ programmability, FreeWave created a small supervisory control and data acquisition (SCADA) application that enables users to minimize manual sensor inspections and quickly respond to any problems.

To implement a full IoT solution, FreeWave integrated ZumIQ with many AWS services. Using AWS services eliminates the need to develop them from scratch and provides both scalability and security, which are key concerns for many users. AWS Cognito provides secure user access and authentication for its IoT solutions, for example. Data sent from ZumLink radios is uploaded to the cloud using AWS IoT, with messages from the radio published on appropriate MQTT queues. The AWS IoT core broker receives the published message and takes appropriate action, such as insertion into a database or triggering an alert. IoT data is stored using a combination of AWS DynamoDB (a NoSQL database) and Amazon Relational Database Service (Amazon RDS). FreeWave leveraged Amazon Simple Notification Service and Amazon Simple Email Service to trigger immediate text or email alerts to responsible personnel if a proactive response is required in a situation. AWS Lambda runs code to provide real-time filtering or response, without the expense of having a server instance constantly running.

Having seen the benefits of using AWS, FreeWave’s goal is to have all of its future radios be “AWS ready” so users can connect them to the cloud out of the box. The AM3358’s provision of a standard Linux platform will enable FreeWave to offer AWS Greengrass on the ZumLink, simplifying the addition of familiar cloud programming models, messaging, data caching, synchronization and machine-learning inference capabilities at the edge.

FreeWave is also developing another TI-based product using Amazon FreeRTOS to take advantage of IoT services on microcontrollers such as over-the-air (OTA), further reducing their code maintenance costs.

Designing an IoT application requires developers to work with more vendors than a traditional embedded design. TI works closely with AWS to ensure that companies like FreeWave can successfully deliver highly differentiated products.

Additional resources