0% found this document useful (0 votes)
85 views35 pages

MQSI For Telemetry

The document discusses integrating monitoring and telemetry devices into enterprise systems using MQSI v2.0.2. It introduces a new lightweight publish/subscribe protocol called MQIsdp that allows remote devices to connect to an MQSI broker over TCP/IP. This enables end-to-end integration from devices in the field to enterprise applications using message queues. Examples are given of how remote monitoring data can be captured and transformed for use in applications like ERP systems.

Uploaded by

dcesenther
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views35 pages

MQSI For Telemetry

The document discusses integrating monitoring and telemetry devices into enterprise systems using MQSI v2.0.2. It introduces a new lightweight publish/subscribe protocol called MQIsdp that allows remote devices to connect to an MQSI broker over TCP/IP. This enables end-to-end integration from devices in the field to enterprise applications using message queues. Examples are given of how remote monitoring data can be captured and transformed for use in applications like ERP systems.

Uploaded by

dcesenther
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

"eSCADA"

Integrating Monitoring and Telemetry


Devices into the Enterprise
with MQSI v2.0.2

Andy Stanford-Clark

MQSeries Development
IBM Hursley

[email protected]
IBM Software
Agenda

High-level overview

Publish/Subscribe

SCADA and remote monitoring

MQSI v2.0.2

MQIsdp protocol

Customer Projects

IBM Software
"Executive" Summary

End to end business integration

From remote monitoring and telemetry


devices in to Enterprise applications, and
from command/control applications out to
remote control devices

Using a new lightweight pub/sub protocol


(MQIsdp), MQSeries messaging, and
MQ Series Integrator V2.0.2

IBM Software
End-to-end business integration from SCADA
telemetry to Enterprise Applications
MQIsdp
TCP/IP
monitoring low-bandwidth,
station expensive comms
Enterprise applications
ERP, billing, QA,
Remote telemetry data monitoring, control,
collected "in the field". scheduling, inventory,
Event-driven publications trading floors...
e.g. oil/gas pipeline
monitoring/control, transformation
automated meter reading
factory automation,
process control, pub sub
environmental monitoring, MQSeries
utilities, security, transport... MQSI v2.0.2 Enterprise
Messaging
End-to-End integration has $$$ value!
Publish/Subscribe

MQSI
Broker

IBM Software
Publish/Subscribe

Publishers
publish messages to a broker on a named 'Topic'

Subscribers
register a Subscription with broker and receive messages
on identified topics

Message Broker
manages connections, authentication, subscriptions, ACLs,
message routing, format transformation

publishers and subscribers are 'anonymous' to each


other

IBM Software
Topic name space

Publish
weather/London/temperature/current
"15.2 C"
weather/London/temperature/max
"18.2 C 18-Jul-99 13:43"

Subscribe
weather/London/temperature/current
current temperature in London
weather/+/temperature/max
maximum temperatures from all stations

IBM Software
Crossing The Streams

Publishers and Subscribers can be:

remote monitoring devices (MQIsdp)

hand-held Pervasive devices (MQe)

MQSeries applications (AMI, JMS)

Typically find remote devices use MQIsdp, and


Enterprise applications use MQSeries with AMI or
JMS. Exploit Enterprise MQ infrastructure!

IBM Software
SCADA remote telemetry

Supervisory, Control,
And Data Acquisition

Remote Monitoring

Telemetry and Control

IBM Software
SCADA applications
Pipeline: oil, gas, water
pressure, temperature, flow rate, valve control, Automated
Meter Reading (AMR), Electtronic Flow Measurement (EFM),
nomination systems

Energy and Utilities: electricity, gas, oil, water


operations, automated meter reading (AMR), trading floor
infomation, Supply Chain Management (SCM)

Process control, factory automation


chemical industry, reservoir management, manufacturing
systems, stock control
trucks, cars, railways, boats, security, environmental
monitoring, weather, etc, etc.
...Both MONITORING and CONTROL

IBM Software
"anything that moves, that you want to know about!"
Remote monitoring station

IBM Software
Arcom Controls "Director"

"Industrial protocol
Network conversions
Gateway"
local
MQIsdp
polling
client

TCP/IP
Report By
serial, digital, Exception
and analogue (RBE) logic
Input/Output
IBM Software
Arcom is an IBM Business Partner http://www.arcomcontrols.com
SCADA industry evolution
Moving from polling to publish/subscribe model

Physical events have $$$ value, particularly if you can


get them onto the trading floor!

Major problems with proprietary architecture and


protocols - "rat's nest" of solutions

Customer demand for end-to-end integration

Acquisitions and mergers


inherit yet another set of proprietary solutions

"how do we feed raw telemetry data directly into our


Production Systems?"
IBM Software
Integration example

A remote SCADA client publishes a message using


MQIsdp, reporting that a volume of oil has been
successfully transferred to a tanker for a Customer.

The MQSI broker transforms the message into an


MQSeries message using an SAP format message
template from the Message Repository (MRM).

The message is routed via MQSeries to the SAP ERP


system in the Enterprise to trigger the sending of a bill
to the Customer.

... End to End Business Integration

IBM Software
MQSeries Integrator v2.0.2

Family Traits
Workflow, Process Flow
Application Services Modular Set of Offerings
MQSeries Workflow Tools
MQSeries Foundation

Xform, Rules, Routing


Common Look and Feel
API Framework
MQSeries Integrator Templates, Utilities
Management/Monitoring

Messaging Tools
Messaging Services
MQSeries Standard Formats
Tools

IBM Software
SCADA input node
A new input node for MQSI message flows

Allows remote devices to connect into the broker using


the new MQIsdp protocol

node has a TCP/IP socket listener on a configurable port.


Default is IANA assigned port 1883

Can connect many clients to one input node.

a "publish" message from an MQIsdp client starts the


message flow, and the message propagates through the
nodes as usual.

Clients can be publishers and/or subscribers (there is an


implicit MQIsdp output node hidden in the publication
node, which routes back to the input node)
IBM Software
SCADA message flow

MQIsdp

IBM Software
MQIsdp protocol

IBM Software
MQIsdp
MQ Integrator SCADA Device Protocol

Lightweight wire protocol for publish and subscribe


over TCP/IP with various assurances of delivery

Optimised for
minimal network bandwidth (2 byte fixed header)
this is a key differentiator over our competition!
ease of implementation on embedded systems

API for pub/sub


connect/disconnect, subscribe/unsubscribe, publish,
ping/pong

Implementations in Java, C, C++,Perl, embedded C


IBM Software
MQIsdp positioning
An "open" protocol: although jointly developed by
IBM and Arcom Controls, we hope that (one day) all
device manufacturers will implement it.

Protocol specification published as an appendix to


the MQSI 2.0.2 user manual.

Talking to a number of other device manufacturers


about implementations, mainly in response to
Customer requirements.

Arcom Controls has the first fully tested, supported


(by them) implementation of the protocol, so they
are likely to be involved with many of our early
projects.
IBM Software
Quality of Service
Three levels of "assurance of delivery"

QoS 0
"fire and forget"
at most once delivery
equivalent to MQSeries "non-persistent" messaging

QoS 1
at least once delivery

QoS 2
exactly once delivery
equivalent to MQSeries "persistent" messaging

IBM Software
Last Will and Testament
When an MQIsdp client connects to the broker, it can
optionally specify a
Will topic, Will message
keepalive interval

If the client fails to publish anything during the


keepalive time, the Last Will and Testament is invoked:

Assuming the "untimely death" of the client, the broker


closes the client connection, and publishes the
specified Will message to the Will topic on the client's
behalf.

If the client disconnects cleanly, there is no LW&T.


IBM Software
Weather Station Project

IBM Software
How it works

MQSI
broker

XML over MQIsdp

binary
TCP/IP
over
XML over
RS232
MQIsdp or
JMS

publisher
subscribers
IBM Software
Topic space
temperature
indoor/outdoor
current/high/low
wind
average/current/high
humidity
indoor/outdoor
current/high/low
rain
rate/total
barometer
windchill, dew point, prediction

e.g. weather/Chale/humidity/indoor/current
IBM Software
Weatherbox

http://weatherbox.ngi.ibm.com

IBM Software
Pipeline project

IBM Software
Customer Project - original system

VALMET

VALMET

field
devices
(polling)

IBM Software
Customer Project - now in production

T1

MQSeries
MQSI field
AMI AIX
VALMET
devices
MQSI 20 to 1
VALMET AIX

Arcom
"Director"
ramping
to 500
IBM Software
Message types
10,000 meters, 20:1 to 500 Arcom Directors
over 20 mile line-of-sight spread-spectrum radio
Daily readings
rollups of hourly readings, averages, max/min readings
Hourly readings
specific gravity, mole%CO2, BTU content, base
temp/pressure, average temp/pressure, density factors
Gas Chromatograph Analysis results
Calibration data
Operational SCADA (every 3-5 mins)
pressure, temperature, flowrate, energy rate, battery
voltage,
Alarms (urgent) - pager alerts
Events (non urgent - logged and auditable)
...Both MONITORING and CONTROL
IBM Software
Automated Meter Reading project

IBM Software
Oil Pipeline - AMR project

120 pumping stations with flow computers

currently read manually and faxed to HQ

faxes keyed into Oracle Forms application

downstream applications read data from Oracle

IBM Software
Oil Pipeline - AMR project

flow computers fronted by Arcom Directors

transmission over VSAT satellite link

"e-ticket" data published to MQSI broker (on NT)

MQSeries pub/sub delivered to MQ/Oracle "adapter"


application (subscriber)

downstream applications read data from Oracle as


before

IBM Software
SCADA lights

IBM Software
eSCADA

Integrating Monitoring and Telemetry


Devices into the Enterprise
with MQSI V2.0.2

Thanks for
listening !
[email protected]
IBM Software

You might also like