Skip to content
Sign in
Treasurer2.8 rating from 14 members1.9K ptsRate

The IoT: Lets Get Ready to Wrangle!

The IoT: Let's Get Ready to Wrangle!

Big Data to Data-Driven Insights

Martin WillcoxMartin Willcox, Teradata

I started by writing about The Five Things That We Never Talk About When We Talk About Sensors And Sensor Data as a reality check on some of the more breathless commentaries about the Internet of Things (IoT). Now, on to the third thing on that list.

Time-Series Sensor Data Takes Some Serious Wrangling

The data produced by sensors comes in many shapes and sizes – but at its simplest, it typically takes the form of a series of time-stamped measurements (“time-series” data). And not all of these data points are created equal.

For some applications, some of the time, detecting the important data points is relatively straightforward. For example, we may need to understand when the data from a particular device exceeds a certain threshold value.

In other scenarios, the “signal” that we care about may be subtler. In one case I remember the pattern of readings “low – medium – low” turned out to be an important predictor. The significance of that apparently innocuous pattern was not anticipated by anyone involved with the project at its outset.

And so the third thing about sensor data is this: extracting useful signal from noisy time-series data takes a lot of work – and oftentimes, extradata.

What the Oil Pressure Sensor on the Gearbox of a Train Can Tell Us about the IoT

Did you know the first sensor data analytic applications are over a decade old? And studying them can tell us a lot about both the challenges and the opportunities associated with the next generation of sensor data analytic applications.

Recommended by Teradata
TeradataVoice: Did You Leave Your Analytics "Golden Hammer" at the Door?
TeradataVoice: 4 Driving Forces Behind Connected Car Innovations
TeradataVoice: Marketing Today Is Like A Tough Mudder -- Harsh, Competitive...
TeradataVoice: Why Governments Need To Get Smarter With Data
TeradataVoice: The Internet of Things (IoT): It's The Sensor Data, Stupid
TeradataVoice: Three Big Data ROI Gotcha's - And How To Avoid Them

Expensive – and often safety critical – systems like aero engines, trains and electricity distribution networks have already long been instrumented. And at Teradata, we’ve used the data produced by those sensors to build preventative maintenance solutions for multiple different customers, across multiple geographies and in multiple industries.

We’ve helped the U.S. Air Force increase the readiness of its helicopter fleet by between 5 and 8 percent. We’ve helped Union Pacific Railroadcut wagon bearing-related derailments by 75 percent. We help one of the leading manufacturers of paper mills avoid the Mother-of-all paper-jams in its mile-long plants. We help keep the lights on by predicting failures in the electricity distribution network before they occur. And we help a European train operator figure out when trains will fail up to 36 hours before they actually do. More on that in a moment.

The interesting thing about these different projects is that, despite their apparent diversity, from 50,000 feet they actually look remarkably similar. Certainly, these projects depend on the availability of relevant sensor data – temperature, pressure, vibration, and lots of other measurements.

But, typically, we first need to pre-process the raw sensor data to identify important changes in state – “events” – which requires time-series analytics.

Then we need to label the sensor data in order to “train” a supervised predictive model, which often requires that we use text analytics to extract fault and resolution details from engineering reports – and may additionally require us to supplement the sensor data with operations data.

When we have labelled event data, understanding the sequence of events that leads to a particular condition (the “path to failure”) is normally important – which requires path analytics.

And because understanding associations and relationships – between different events and different components – is often vital, we typically also need to apply graph and affinity analytics to understand which variables are likely to be predictive of the target that we are trying to model. And so on.

The predictive models that underpin many analytic IoT projects are often based on relatively simple analytic techniques, like logistic regression, decision trees and random forests. But the process of creating a useful analytic dataset – the fuel that we feed those methods – from raw sensor data is often anything butsimple.

This is the second part of a four-part series demystifying how sensor data and the Internet of Things should be managed and interpreted. Read Part 1 here.

Ready to change your perspective on IoT? Take a look at “Changing the Game with IoT” as seen in the Summer 2016 issue of MIT Sloan Management Review.

Comment on this story
Ads by Revcontent

From the Web

Join the conversation about e.Digital.

Reply

Replies

  1. Very true, this is why I always said we have a good partner when we had Rolls-Royse near us; they are aware of soo much sensor data in/on planes it boggles the mind.

    e

    1. In remembering two boys riding their bike one falling off but later geting back on and continued to ride was sensed as a none event determined by a sensor. A Baby monitoring system equiped with a sensor are all just "Small" renderings of what "Nunchi" can do in the IOT. Simplistic renderings with large possibilities. The Markets and OEM's are evolving through multiple platforms every day. The train is leaving the station with its "Patents" in hand who are the "Partners"?

      1. Sensor To Cloud: Connecting The Intel® Nuc And Arduino 101 Board To The IBM Watson IoTPlatform

        Intel Corporation, 19 Jul 2016 CPOL
        0.00 (No votes)
        This article demonstrates how to use an Intel® Next Unit Computing (NUC) device to connect sensors on an Arduino 101 board to the IBM WatsonIoT Platform.

        Editorial Note

        This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

        Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

        This article demonstrates how to use an Intel® Next Unit Computing (NUC) device to connectsensors on an Arduino 101* board to the IBM Watson* IoT Platform. You learn how to read real-time sensor data from the Arduino 101 board, view it locally on the Intel® NUC device, and send it to the IBM Watson IoTPlatform, where the data can be stored, visualized, and processed in the cloud. To do all this, you use Node-RED on the Intel® NUC device to create processing flows that perform input, processing, and output functions that drive your application.

        Setup and Prerequisites

        Read Sensors and Display Data on the Intel® IoTGateway Developer Hub

        Log in to the Intel® NUC device’s Intel® IoTGateway Developer Hub by entering the Intel® NUC device’s IP address in your browser and using gwuser as both the default user name and password. You’ll see basic information about the Intel® NUC device, including its model number, version, Ethernet address, and network connectivity status.

        Click the Sensors icon, and then clickManage Sensors to open the Node-RED* canvas, where you’ll see Sheet 1 with a default flow for an RH-USB sensor. You won’t use the RH-USB sensor for this project, so drag a box around the entire flow and delete it. You’re left with a blank canvas.

        Along the left side of the Node-RED screen, you see a series of nodes. These are the building blocks for creating a Node-RED application on the Intel® NUC device. For this application, you’ll use the nodes shown in Table 1.

        Table 1. Nodes used in the sample application

        Read button presses On/off LED indicator
        Measure light level Format chart display on the Intel® NUC device
        Measure rotary position Send data to the IBM Watson IoTPlatform
        Relay open/closed Send data to the IBM Watson IoTPlatform

        Drag nodes onto the canvas and arrange them as shown in Figure 1. You will need multiple copies of some of the nodes. Use your mouse to connect wires between the nodes as shown.

        Note: You’ll use the Watson IoT node later; don’t include it now.

        Figure 1. Arranging nodes on the Node-RED canvas

        When you first place nodes on the canvas, they are in a default state. You must configure them before they’ll work. To do so, double-click each node, and then set parameters in their configuration panels.

        Double-click each node on the canvas and set its parameters as shown in Table 2. In some cases, the Name field is left blank (it uses the default name of the node). Pin numbers correspond to the Base Shield jack to thesensor or actuator is connected.

        Table 2. Nodes and their parameters

        NodeParameters
        Grove Button
        • Platform: Firmata
        • Pin: D4
        • Interval (ms): 1000
        Grove Light
        • Platform: Firmata
        • Pin: A1
        • Unit: Raw Value
        • Interval (ms): 1000
        Grove Rotary
        • Platform: Firmata
        • Pin: A2
        • Unit: Absolute Raw
        • Interval (ms): 1000
        Grove LED
        • Platform: Firmata
        • Pin: D5
        • Mode: Output

        Grove Relay (upper)

        • Platform: Firmata
        • Pin: D7
        Grove Relay (lower)
        • Name: Grove Buzzer
        • Platform: Firmata
        • Pin: D6 (you can use this note to control the buzzer)
        chart tag connected to Grove
        • Title: Button
        • Type: Status Text
        chart tag connected to Grove
        • Title: Light
        • Type: Gauge
        • Units: RAW
        chart tag connected to Grove
        • Title: Rotary
        • Type: Gauge
        • Units: RAW
        mqtt
        • Server: localhost:1883
        • Topic: /sensors
        • Name: Charts

        Verify your settings and wiring connections, and then click Deploy to deploy your changes and make them active on the Intel® NUC device. After deploying the flow, you should see a data display toward the top of the Intel®IoT Gateway Developer Hub, with live values for Rotary, Light, and Button (Figure 2). Turning the rotary knob and covering the lightsensor should make the numbers change up and down; pressing the button should turn on the LED, sound the buzzer, and energize the relay.

        Figure 2. The deployed Intel® NUC Device in the Intel® IoTGateway Developer Hub

        Send Data to IBM Watson*IoT Platform Quickstart

        Next, add an IBM Watson* IoT Platform output node and send your data to IBM Watson IoTPlatform Quickstart. Quickstart lets you connect a device to the IBM Watson IoTPlatform quickly and with minimal setup. It’s often used during the first steps of building a new Internet of Things application.

        In the Intel® IoT Gateway Developer Hub, drag a Watson IoT output node onto the canvas. When the node is on the canvas, its name changes to IBM IoT Device. Connect a wire from the output of Grove Rotary to the input of IBM IoT Device. Double-click the IBMIoT Device node on the canvas, and sets its parameters as shown in Figure 3, including setting the Name to Watson IoT Quickstart. The Quickstart Id is generated automatically; you don’t need to change it.

        Figure 3. Parameters for the IBM IoT Device

        Click Ok, and then click Deploy to deploy your updated flow to the Intel® NUC device. At this point, the data values for your Grove Rotarysensor should be flowing to Quickstart once per second. To view the data in Quickstart, double-click the Watson IoT Quickstart node on the canvas, and then click the Quickstart link to the right of the Quickstart Id—(1) in the Figure 3. Doing so launches the Quickstart page in your browser, with your Grove Rotary data appearing in a live display (Figure 4). Adjust the rotary sensor in either direction, and you should see the data chart change up and down.

        Figure 4. Values for the Seeed Studio Grove* - Rotary sensor in IBM Watson* IoT Platform Quickstart

        Each new sensor reading that the Arduino 101 board generates and the Intel® NUC device sends appears toward the bottom of the display, along with the time it was received. These values should match what you see in the Intel® NUC device’s Intel® IoTGateway Developer Hub. You can compare the two displays to verify that the data is flowing properly.

        Where to Go from Here

        This application provides a foundation for connecting your Arduino 101 board and Intel NUC device to the IBM Watson IoT Platform. From here, you would typically wire up othersensors to Quickstart to check their data, and then move to IBM Watson IoT Registered mode to build more complex applications that store, process, and visualize your sensordata.

        License

        This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

        1. These SDKs are common, everyone is doing them, goog/intc/qualcommm

          The big co's are puting this IoT out there to collect the best like apps,, leting us creat n then buy the best, but they want keep best within and watch certain ones like e.DIGITAl ttl.

          Its like theyr try figure it out! yup, we b n a sweet spot.

          emit...

          1. Huawei and General Electric partner on industrial IoT

            GE and Huawei are aiming to push the industrial industry towards digitisation and automation by collaborating on developing cloud-based apps and solutions.

              1. Replying to @Rsixshter

                "Emit they all know eDigital through past litigation "Flash"."

                Rsix....litigation aside...

                "April 13, 1999

                IBM, Intel, Philips and mobile device manufacturers team up to establish voice

                technology standards Leaders in speech recognition and mobile technologies today

                announced their participation in the Voice Technology Initiative for Mobile Enterprise

                Solutions (VoiceTIMES). VoiceTIMES’ goal is to coordinate the technical requirements

                needed for companies to build and deploy solutions using voice technologies and

                handheld mobile devices. Inaugural VoiceTIMES alliance members include Dictaphone,

                e.Digital, IBM, Intel, Norcom Electronics, Olympus and Philips."

                Voice Times was not solely about an IBM speech standards initiative...

                "One of the initial joint efforts of the VoiceTIMES alliance will be to conduct

                highly targeted research studies to identify enterprise solutions where

                mobile devices will significantly enhance -- and in some cases change --

                the way companies do business. Since remote, just in time access to

                information and computer resources is viewed by professionals as a major

                competitive advantage, mobile Internet/intranet access will be a primary

                focus for the alliance."

                Reading the above it's not hard to understand what the verbiage considers, were during April 13, 1999 it had nothing to do with flash... . It all starts with simplistic, but very sophisticated, data structure and management that can be transmitted in fast fashion.

                e.Digital fashioned patents around the above....that details shared processing....and here we are sitting on NUNCHI and outer offerings.

                Will a Google initiative be more amicable than the IBM / Intel Voice Times standards initiative ?

                Time will tell ...

                With that, they all very much know what e.Digital is all about....through many outlets.

                doni


                1. Replying to @doni

                  Doni I aggree with they all very much know what e.Digital is all about....through many outlets.

                  Will a Google initiative be more amicable than the IBM / Intel Voice Times standards initiative ? IMHO without the "Threat" of Litigation I would have "Opinioned" more of the same result. However, "Nunchi" has been Littigated in District Court and the USPTO Appeals Board. The Result a Joint Settelment. Who will be next to settle or "License" without the "Threat" of litigation?

        2. This is to set up to the cloud for interprise system, experimentation is being encouraged, but it's as if if i't given open source besides being tied to these specific ibm.inct backbones...

          since its a project you r set to certain contaactural obligation on your applicatins use.

          ?

          e

          1. They are opening the door for new device to sensor opportunities, applications and interfacings to emerge!

            Pat Nunelly needs to show use where ours plug in -

            If iz lil younger and wanted go back cs school i'd giv it a try

            e

          2. This is to set up sensors to the cloud for interprise systems and such, experimentation is being encouraged, but it's as if it's given open source, besides being tied to these specific ibm.inct backbones...

            Since they are a project you r set to certain contactural obligations on your applicatin's use i bet.

            ?,,, sdk=software developers kit

            e

      2. Yes... And as our primary sensor patent states, everthing's included, even including the kitchen sink, and x-rays... lol

        brink that excerpt up

        e