Skip to main content
IoT in the Real World:
Practical Advice for Acquiring and Using Your Data
Session 1442, Tuesday May 22, 2018
DMC, Inc
 Darren Jones
 Project Director
 Peter Rijks
 Senior Application
Developer
Agenda
 Introduction
 Problems to solve
 Operational technology
 Field deployment
 Connectivity
 Cloud services
Established in 1996, DMC serves customers worldwide from offices in
Chicago, Boston, Denver, Houston, New York, Reno, Seattle, and St. Louis.
employees & growing
170+
DMC Overview
Areas of Expertise
Manufacturing Automation
& Intelligence
Test & Measurement
Automation
Microsoft Consulting
Services
Custom Software &
Hardware Development
Problems to solve!
Typical DAQ / Control Project Iot Project
Industrial & Laboratory I/O Remote locations
Sampling rate Unpredictable environments
Local DAQ and Control Long unattended runtime
Data storage Remote data display
Local Data display Unreliable power sources
Software architecture Cloud / data architecture
Common IoT Applications
DMC applications
Windmill monitoring
and control
Fish Barrier &
Infrastructure
monitoring
Agricultural
monitoring
Fleet tracking
(animal tracking)
Tools
cRIO
LabVIEW
Azure, AWS, others
HTTP, MQTT
TDMS, JSON, XML
Challenges
Diagnostics and logging
Status and Data transfer
Settings synchronization
Critical control
Field Deployments
Connectivity
Data architecture
Tools
DMC application: Fish Barrier and Pipeline Monitoring
 Monitoring ground voltages, pipeline, fish barrier
performance
 Remote monitoring and alarming
 Long term unattended operation
 Multiple stations in field
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Broadcast status data
 Solution & Advice:
 Use MQTT + Azure IoT hub
 Be aware of SSL/TLS and Authentication needs
MQTT via LabVIEW and Azure
 Azure IoT hub only supports MQTTS
 Authentication with Azure IoT hub
 Username
 Symmetric key or X.509 certificate
 JSON for serialization, native format on Azure
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Raw data transfer
 Solution & Advice:
 Secure HTTP file transfer
 Azure storage service and authentication
Secure HTTP Transfer, LabVIEW to Azure Blob Storage
 Keep cRIO and Azure server in sync
 NTP time server
 Specify Date Header
 Use appropriate hashing for signatures
 HMAC-SHA256
 Specify Authorization Header
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Diagnostics and Logging
 Solution & Advice:
 Use a logging framework
 Ability to change logging detail levels
 LLAMA (Llama Logs AlMost Anything)
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Synchronizing Settings
 Solution & Advice:
 Expect Out-of-Sync conditions
 Make this obvious to end user, with tools to handle
DMC application: Windmill power routing
 Largest Wind Turbine in the US
 cRIO-based solution
 Challenges: Critical control
 Solution / Advice
 Watchdog device
 External (PLC)
 Internal (FPGA, Safety Module)
Image source: Amarillo Globe-News
Tools
Tools cRIO
Azure, AWS, others
HTTP, MQTT
TDMS, JSON, XML
Challenges
Diagnostics and logging
Broadcast status
Data transfers
Field Deployments
Connectivity
Data architecture
Field Deployments
 Unpredictable, uncontrolled environments
 Enclosure selection and design
 Antenna selection and mounting
 Temperature control
 Power availability
 Power quality
Images:
bisonprofab.com
Hoffman.nvent.com
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Field deployment
 Solution & Advice:
 Solar and rain shield
 White paint
 Thermostat, heater, fans
 AC Line Filter, Surge protection outside and inside
 IP67 mounted antennas and external connections
 Test power loss and recovery
DMC application: Agricultural Monitoring
 Challenge: Field Deployment
 Custom enclosure needed
 Solution & Advice:
 Use industrial rating if possible
 Understand real environment
 Test and plan for iteration
Tools
Tools cRIO
Azure, AWS, others
HTTP, MQTT
TDMS, JSON, XML
Challenges
Unique sensing needs
Diagnostics and logging
Broadcast status
Data transfers
Field Deployments
Connectivity
Data architecture
Tools
Tools cRIO
Azure, AWS, others
HTTP, MQTT
TDMS, JSON, XML
Challenges
Unique sensing needs
Diagnostics and logging
Broadcast status
Data transfers
Field Deployments
Connectivity
Data architecture
Getting connected
Hardware Connectivity Protocols
Getting connected
Hardware Connectivity Protocols
Connectivity Types
LTE-M
NB-LTE
Connectivity Factors
 Cost
 Bandwidth
 Power Needs
 Range
 Coverage
 Longevity
 Security
Make sure you’re covered
Cellular LTE coverage (single provider) LoRa coverage (single provider)
DMC application: Fleet Tracking
 Tracking location and usage of
sewer-cleaning fleet
 Challenges: Moving Vehicles
 Solution / Advice
 Cellular
 Allow roaming
 Evaluate costs
Image source: Amarillo Globe-News
Choosing Connectivity
WiFi Cellular IoT
Cellular
LoRa Zigbee Bluetooth
Bandwidth High High Med Low Med Med
Range Med High High High Low Med
Energy High High Med Low Low Med
Licensed
Spectrum
No Yes Yes No No No
Internet
Access
Yes Yes Yes Yes No No
DMC application: Trash Compactor Monitoring
 Monitoring fullness and scheduling
pickups
 Challenges: Choosing a provider
 Solution / Advice
 IoT-specific cellular provider
 Connects to strongest provider in
given area
 Data plans targeted at IoT solutions
Getting connected
Hardware Connectivity Protocols
Module External
Choosing hardware
• Space Saving
• Device Data
• GPS
• Less Programming
• Easily Replaced
DMC application: Fish Barrier and Pipeline Monitoring
 Challenge: Selecting a modem
 Solution & Advice:
 Ensure environmental needs are met
 Test connectivity
 Sierra Wireless AirLink modem
Getting connected
Hardware Connectivity Protocols
Protocols
CoAP
Challenge: two-way communication
Challenge: two-way communication
Message
Broker
Publish
Subscribe
Publish
Subscribe
Tools
Tools cRIO
Azure, AWS, others
HTTP, MQTT
TDMS, JSON, XML
Challenges
Unique sensing needs
Diagnostics and logging
Broadcast status
Data transfers
Field Deployments
Connectivity
Data architecture
IoT Platforms
Software architecture - cloud - Pete -
 Azure introduction
 Other cloud platforms
 Basic components
 Advance components (?)
Simple Azure IoT Architecture
IoT Hub
Stream
Analytics
Azure
SQL DB
App Service
Azure IoT Architecture with File Storage
What’s your challenge?
Status Broadcasts
Cloud
Architecture
Diagnostics and
Logging
Connectivity
Raw Data
Field Deployment
IoT in the Real World: Practical Advice for Acquiring and Using Your Data
Darren Jones and Peter Rijks
May 22, 3:30 PM - 4:30 PM
Adding Movement and Modernization to Your UI: LabVIEW Can Do That?
Steven Dusing and Dan Freve
May 23, 3:45 PM - 4:45 PM
OO: LLAMA: Leveraging Object-Oriented Programming
for Designing a Logging Framework
Jesse Batsche and Christian Owen
May 23, 3:45 PM - 4:45 PM
Ni week 2018 DMC presentation IoT