MATLAB in der Welt des Internet der Dinge (IoT) – Sammeln ...€¦ · “Internet der Dinge” !...

Preview:

Citation preview

1 © 2015 The MathWorks, Inc.

MATLAB in der Welt des Internet der Dinge (IoT) – Sammeln und Analysieren ihrer IoT Daten

Dr.-Ing. Rainer Mümmler

2

What is IoT – Internet of Things?

§  “Internet der Dinge” §  “Internet of Everything” §  “Industrie 4.0” §  “M2M”

§  “IoT is literally collecting sensor data from IP addressable sensors anywhere in the world for anything and transmitting the data.” Tom Moore, IHS Analyst II, Industrial Automation

§  “It’s about enabling connectivity and imbedded intelligence in more devices,” says Bill Morelli, IHS director, Internet of Things and M2M, more generally that,” the IoT is about the communication of useful information between devices. In this sense, it's important to keep in mind that IoT is in itself not a thing but “a conceptual framework”.

§  …

3

Internet of Things System

4

Developing and Testing Edge Node Devices

Smart Devices, Wearables, Smart Watches

5

Developing and Testing Edge Node Devices

Challenges: §  Don’t want to send too much data – need data reduction §  Connectivity – no agreed standards yet for IoT connectivity, reliant on

Bluetooth and WiFi §  Need for smart, low power algorithms

6

Accessing and Aggregating Data

7

Accessing and Aggregating Data

Challenges: §  Cloud based analytics needs to be streaming §  The ability to take action - notifications §  Communication protocols

8

Exploratory Analysis of IoT Data

9

Exploratory Analysis of IoT Data

Challenges: §  Variety between applications with small Data and Big Data §  No idea what’s in the data and difficult gaining access §  Deployment of algorithms: local or cloud based

10

MathWorks Solutions

11

MathWorks Solutions

Data Analysis Data Analytics Techniques

12

MathWorks Solutions

Acces to Data Aggregators Database Connectivity Built-in web services commands

13

MathWorks Solutions

Signal Processing and Communications Applications Code Generation for Embedded Systems and SoCs Verify the communication using test equipment: Test and Measurement

14

Weather Station Example

MATLAB Central: Analyzing Weather Data from an Arduino-based weather station Makerzone: Arduino Weather Station Data Analysis

15

To Enable Custom Data Analysis and Visualization

§  Data was brought into MATLAB using thingSpeakFetch function –  thingSpeakFetch on File Exchange

[d,t,ci] = thingSpeakFetch(12397,'NumPoints',8000)

§  ThingSpeakFetch supports retrieving data in a variety of ways

16

Custom Data Analysis & Visualization of the Data using MATLAB

§  Analysis: –  Remove noise and outliers –  Calculate summary statistics –  Calculate daily and weekly trends –  Implement custom algorithm (e.g. dew point)

§  Visualization: –  Surface plots –  Histogram –  Bar charts, Compass plots

17

Historical and Live Analysis of Data

§  What direction was the wind blowing during the last 3 hours? §  How have the temperature and dew point varied over the last week? §  Does the barometric pressure really fall as a rain storm approaches?

18

Collecting Data with ThingSpeak

19

ThingSpeak Support from MATLAB and Simulink

Hardware support packages for Arduino and Rasperry Pi

20

Additional Ressources

Internet of Things solution page: www.mathworks.com/iot

Recommended