Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink

Gerardo Pardo-Castellote
Gerardo Pardo-CastelloteRTI CTO, Co-Chair OMG Data-Distribution SIG
Applying MBSE to the Industrial IoT:
Using SysML with Connext DDS and
Simulink
Gerardo Pardo-Castellote, Ph.D.
Chief Technology Officer, RTI
OMG DDS SIG Chair May 2018
István Ráth, Ph.D.
Managing Director, IncQuery Labs Ltd.
http://www.rti.com
©2018 Real-Time Innovations, Inc. Confidential.
Design
Develop
Deploy
Distributed Systems Deployment
©2018 Real-Time Innovations, Inc. Confidential.
©2017 Real-Time Innovations, Inc. Confidential.
DECENTRALIZED PEER TO PEER SYSTEMS
Edge Autonomy
©2017 Real-Time Innovations, Inc. Confidential.
Mainframe
Centralized
1960-1970
Mobile
Centralized
2005-2020
Client-Server
Distributed
1980-2000
Edge Intelligence
Distributed
2020-
How to deploy, connect, integrate the components?
• Performance
• Scalability
• Reliability
• Redundancy
• Fail over
• Security
• Heterogeneity
• Domain-Specific
Technologies
• Legacy Systems
©2018 Real-Time Innovations, Inc. Confidential.
Industrial Internet Consortium: 270+ Companies, 30+ Countries
IIC Founding and Contributing Members
The World’s Largest IoT Consortium
The IIC created the IIoT market
Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink
Industrial Internet Connectivity Stack
Information (Data in Context)
Participant X
Connectivity
Information
Transport
Link
Framework
Distributed Data
Interoperability and Management
Physical
Network
Participant Y
Data (State, Events, Streams)
Messages
Packets
Frames
Bits
Transport
Link
Framework
Distributed Data
Interoperability and Management
Physical
Network
Networking
Connectivity Core Standards Architecture
• Connectivity Core Standards
– Provide syntactic
interoperability
– Stable, deployed, open
standard
– Standard Core Gateways
to all other CCS
• Domain-Specific Connectivity
Technologies
– Connect via non-standard
gateway to any connectivity
core standard
Few Core StandardsStandard Core Gateways
Many Domain
Technologies
IIOT Connectivity Standards
©2017 Real-Time Innovations, Inc
Manufacturing Origin
TSN /
Ethernet
(802.1,
802.3)
DDS
Wireless
PAN
(802.15)
Wireless
2G/3G/LTE
(3GPP)
Wireless
LAN
(802.11 Wi-
Fi)
Internet Protocol (IP)
CoAP MQTT
Web
Services
Wireless
Wide Area
(802.16)
HTTPDDSI-RTPS
oneM2M OPC-UA
OPC-UA Bin
Telecommunications Origin
UDP TCPTCP
Transport
Link
Framework
Distributed Data
Interoperability and Management
Physical
Network
Healthcare TransportationManufacturing… …
Energy &
Utilities
Selection Criteria
©2017 Real-Time Innovations, Inc
Core Standard Criterion DDS Web Services OPC-UA oneM2M
1 Provide syntactic interoperability ✔ Need XML or JSON ✔ ✔
2 Open standard with strong independent, international governance ✔ ✔ ✔ ✔
3 Horizontal and neutral in its applicability across industries ✔ ✔ ✔ ✔
4 Stable and proven across multiple vertical industries Software Integration &
Autonomy
✔ Manufacturing
Smart City
Pilots*
5 Have standards-defined Core Gateways to all other core connectivity
standards Web Services,
OPC-UA, oneM2M*
DDS, OPC-UA,
oneM2M
Web Services,
DDS, oneM2M*
Web Services,
DDS*
6 Meet the connectivity framework functional requirements
✔ ✗
Pub-Sub in
development
7 Meet non-functional requirements of performance, scalability,
reliability, resilience ✔ ✗
Real-time in
development
Reports not yet
documented or
public
8 Meet security and safety requirements ✔ ✔ ✔ ✔
9 Not require any single component from any single vendor ✔ ✔ ✔ ✔
10 Have readily-available SDKs both commercial and open source ✔ ✔ ✔ ✔
* = work in progress , ✔ = supported, ✗ = not supported GREEN = Gating Criteria
Connext DDS Applications
Energy
©2017 Real-Time Innovations, Inc.
Grand
Coulee Dam
Defense
©2017 Real-Time Innovations, Inc.
Healthcare
©2017 Real-Time Innovations, Inc.
Transportation
©2017 Real-Time Innovations, Inc.
Run 24x7 Across Continents
We selected Object Management
Group (OMG) DDS standard for its high
security rating; its wide support of
tools and programming languages,
and its reputation for performance,
scalability, and 24/7 reliability
Sid Koslow, Chief Technology
Officer, NAV CANADA
©2017 Real-Time Innovations, Inc.
Air Traffic Control for Canada
2nd largest ANSP in the world
7 major centers
Siemens Wind Power Distributed Control
• Wind turbine farms can include 500
turbines, 100m blades
• Gust control across the array
requires fast communications with
dynamic, selective filtering
• DDS enables large, distributed
intelligent machines
Grand Coulee Dam
• DDS controls the 6.8 GW Grand Coulee Dam
–Largest power plant in North America
–Fastest-responding major power source on the
Western Grid
• RTI system live since Jan 2014
©2018 Real-Time Innovations, Inc.
Audi Hardware-in-the-loop simulation
• Audi hardware-in-the-loop simulation feeds
realistic data to components for testing
• The system offers plug-n-play between
simulation vendor solutions
• RTI software enables a modular test environment
that scales to work with hundreds of devices
RTI Connext DDS deployed across Navy Systems
• Most US and NATO Navy systems
–Lockheed Aegis
–Raytheon DDG 1000
–Raytheon SSDS
–LCS (Lockheed and GDAIS)
–Raytheon LPD-17
–Many more, US and allies
• Highly distributed systems include
radar, weapons, displays, controls
• Standards-based, high-performance
middleware breaks vendor lock-in,
drives interoperability ,and future-
proofs the architectural design
©2018 Real-Time Innovations, Inc.
GE Transportation
©2017 Real-Time Innovations, Inc.
GE Transportation freight and
passenger locomotives require safe
and reliable control, signaling, and
communications
The system is being developed using
SysML, Simulink, and DDS
Typical Deployment
Sensing
Planning
Vehicle
Control
Logging
CONNEXT DDS DATABUS
Traffic Maps
Error
Management
Situation
Awareness
Situation
Awareness
Cameras,
LIDAR, Radar…
Cameras,
LIDAR, Radar…
Cameras,
LIDAR, Radar…
Data Fusion Cameras,
LIDAR, Radar…
Localization
Vehicle
Platform
Visualization Navigation
CONNEXT DDS DATABUS
©2018 Real-Time Innovations, Inc.
DDS and the Industrial Internet of Things
• Reliability: Severe consequences if
offline for 5ms (or 5 min)
• Real-time: measure in ms or µs
• Interface scale: 10+
applications/teams
• Dataflow complexity: data has many
destinations
• Architecture: Next generation IIoT
Deployed in 1000s of Systems Industrial IoT Systems
Industries: Energy, Industrial Control, Transportation, Healthcare, Defense
3+ Yes?
DDS Concepts
DDS Standard family
DDS v 1.4
RTPS v2.2DDS-SECURITY
DDS-RPC
DDS-XTYPES
Application
UDP TCP DTLS TLS
DDS-C++ DDS-JAVA DDS-IDL-C DDS-IDL-C#
SHARED-MEMORYIP
HTTP
IDL4.
TSN
Ethernet
DDS-WEB
DDS-OPCUA
OPC/
TPC
Virtual Global Data Space
Topic A
QoS
Topic C
QoS
Topic D
QoS
DDS DOMAIN
Persistence
Service
Recording
Service
CRUD operations
Topic B : “Turbine State”
Source (Key) Speed Power Phase
WPT1 37.4 122.0 -12.20
WPT2 10.7 74.0 -12.23
WPTN 50.2 150.07 -11.98
QoS
Quality of Service (QoS) Policies
QoS Policy
DURABILITY
HISTORY
LIFESPAN
WRITER DATA LIFECYCLE
READER DATA LIFECYCLE
ENTITY FACTORY
RESOURCE LIMITS
RELIABILITY
TIME BASED FILTER
DEADLINE
CONTENT FILTERS
Cache
UserQoS
Delivery
Presentation
Availability
Resources
Transport
QoS Policy
USER DATA
TOPIC DATA
GROUP DATA
PARTITION
PRESENTATION
DESTINATION ORDER
OWNERSHIP
OWNERSHIP STRENGTH
LIVELINESS
LATENCY BUDGET
TRANSPORT PRIORITY
DDS Security Goals
• Authenticate subjects
• Enforce access control to data
objects
• Ensure data integrity
• Ensure data confidentiality
• Enforce non-repudiation
• Provide availability of data
• Create auditable security logs
….while maintaining high performance
DDS DataBus
Connext
DDS
App 1
Connext
DDS
App 2
Key Management
Authentication
Logging
Cryptography
Access Control
Adaptive AUTOSAR
• Component model for Automotive
–Classic AUTOSAR supported by most
OEMs
–New “Adaptive” AUTOSAR being
developed
• A-AUTOSAR defines a programming
model & API called ara::com
• Release 18.03 added DDS as an
alternative network binding under
ara::com
©2017 Real-Time Innovations, Inc. Confidential.
Provides a framework for all car software to use DDS
Level 1
Driver Assistance
Single control functions
such as speed selection,
braking or lane keeping
are automated
Level 3
Conditional
Automation
Vehicle takes control
most of the time
Driver expected to be
available for occasional
control with comfortable
transition times
Level 5
Full Automation
Vehicle takes control
all the time
Driver not expected to
control any systemsLevel 2
Partial Automation
More than one control
function is automated
Driver expected to
available for control at all
times and on short notice
Level 4
High Automation
Vehicle takes control
all the time
Driver not expected to
be available for control
at any time
Adaptive AUTOSAR connectivity
©2017 Real-Time Innovations, Inc. Confidential.
CAN bus
OMG DDS
SOME/IP
Robotic Operating System
Component Model
INSIDE
MBSE with MagicDraw, DDS, and
Simulink
©2017 Real-Time Innovations, Inc
Design, Develop, Deploy
• MagicDraw SysML/UML for design
• Simulink (or plain code) for development
• RTI Connext DDS for deployment integration
©2017 Real-Time Innovations, Inc. Confidential.
Code-driven DDS deployment
©2017 Real-Time Innovations, Inc
Data and Service Definition
DDS-XTYPES and IDL4 standards
• Logical Data Model and Service Interfaces
–Portable: Language-Independent Type System
–Safe: Rules for Type Compatibility
–Flexible: Types/Interfaces expressed in IDL or XML
• Interoperable System Evolution
–Types/Services changes (add, remove, reorder, …)
–Incremental/Partial upgrades
• Dynamic API’s to access data and types
–Systems that adapt at run-time
• Efficient binary serialization
@mutable
struct ShapeType {
@key string color;
@range(0, 200) long x;
@range(0, 250) long y;
@optional @min(5) float size;
};
struct ShapeTypeExt : ShapeType {
@unit(“meter”) long x;
};
/* Service definition */
enum Command { START, STOP };
@service
interface RobotControl
{
void command(Command com);
float setSpeed(float speed)
raises (TooFast);
float getSpeed();
};
DDS-XML: Qos Definitions
© 2012 RTI • COMPANY CONFIDENTIAL
DDS-XML: Application Definition
Define
Types, Topics,
Writers, Readers,
Applications
Complete C++ Example
enum TempUnit {
CELSIUS,
FAHRENHEIT,
KELVIN
};
struct TempType {
@key short id;
float temp;
TempUnit unit;
};
dds::domain::DomainParticipant dp(0);
dds::topic::Topic<TempType> topic(dp, "TTempSensor");
dds::pub::Publisher pub(dp);
dds::pub::DataWriter<TempType> writer(pub, topic);
TempType sensor(1, 0, 0, TempUnit::CELSIUS);
for ( int i = 0; i < 100; ++ i, ) {
sensor.temp( i%100 );
writer.write(sensor);
std::this_thread::sleep_for(std::chrono::seconds(1));
}
dds::domain::DomainParticipant dp(0);
dds::topic::Topic<TempType> topic(dp, "TTempSensor");
dds::sub::Subscriber sub(dp);
dds::sub::DataReader<TempType> reader(sub, topic);
dds::sub::cond::ReadCondition condition(reader,
dds::sub::status::DataState::any());
dds::core::cond::WaitSet waitset;
waitset += condition;
while (true) {
waitset.wait(dds::core::Duration(4))
auto samples = reader.take();
for (auto s : samples) {
std::cout << s.data() << std::endl;
}
}
// Subscriber Application:
// Publisher Application:
// IDL
SysML profile for DDS
©2017 Real-Time Innovations, Inc
SysML DDS Profile building blocks
•Interface definitions
–Data Types
–DDS Topics
•Application Definition
–DDS Domains, Participants, Writers, Readers
–Simulink Block interfaces
•Quality of Service Definitions
–DDS Qos Profiles
©2018 Real-Time Innovations, Inc. Confidential.
Design Interfaces (Topics and Types)
©2017 Real-Time Innovations, Inc. Confidential.
Custom types
DDS-XTYPES Complex
types
DDS Topics
Designing Applications (Domains and Participants)
©2017 Real-Time Innovations, Inc. Confidential.
Designing Applications (Domains and Participants)
©2017 Real-Time Innovations, Inc. Confidential.
Readers and Writers as
flow ports with type
compatibility
validation
and Qos definition
DDS Domain
Participant
Toolchain Design and Validation of the model
(Domain Specific Editor)
• Import QoS definitions
• Generate DDS-XML
Generate Simulink
skeleton (DDS Blockset)
Simulation
Code generation Code generationBuild &
deployment
Screenshots
Screenshots
Screenshots
http://demo.rti.com/system-designer
Screenshots
http://demo.rti.com/system-designer
Screenshots
Conclusion
• New SysML Plugin for DDS integrates MagicDraw, Simulink,
and RTI Connext DDS
• Plugin enables going from SysML design to implementation
and deployment on a distributed system
• Use of proven, standard DDS connectivity databus enables
robust and secure deployment of distributed applications
and components
©2018 Real-Time Innovations, Inc. Confidential.
More information
Demo Theater at 1pm
Visit IncqueryLabs booth
www.rti.com
http://portals.omg.org/dds/
https://community.rti.com/
https://www.mathworks.com/hardware-support/rti-dds.html
https://www.mathworks.com/videos/simulink-and-the-dds-
support-package-107761.html
https://www.iiconsortium.org/IICF.htm
https://www.slideshare.net/GerardoPardo/presentations
Thank You!
1 of 54

Recommended

Best Practices Using RTI Connext DDS by
Best Practices Using RTI Connext DDSBest Practices Using RTI Connext DDS
Best Practices Using RTI Connext DDSReal-Time Innovations (RTI)
4.4K views19 slides
Databases on AWS Workshop.pdf by
Databases on AWS Workshop.pdfDatabases on AWS Workshop.pdf
Databases on AWS Workshop.pdfAmazon Web Services
3.7K views109 slides
Introducing the New MagicDraw Plug-In for RTI Connext DDS: Industrial IoT Mee... by
Introducing the New MagicDraw Plug-In for RTI Connext DDS: Industrial IoT Mee...Introducing the New MagicDraw Plug-In for RTI Connext DDS: Industrial IoT Mee...
Introducing the New MagicDraw Plug-In for RTI Connext DDS: Industrial IoT Mee...IncQuery Labs
359 views21 slides
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap... by
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...Kai Wähner
1.9K views33 slides
OMG Data-Distribution Service (DDS) Tutorial - 2009 by
OMG Data-Distribution Service (DDS) Tutorial - 2009OMG Data-Distribution Service (DDS) Tutorial - 2009
OMG Data-Distribution Service (DDS) Tutorial - 2009Gerardo Pardo-Castellote
2.2K views90 slides
Architect’s Open-Source Guide for a Data Mesh Architecture by
Architect’s Open-Source Guide for a Data Mesh ArchitectureArchitect’s Open-Source Guide for a Data Mesh Architecture
Architect’s Open-Source Guide for a Data Mesh ArchitectureDatabricks
3.1K views48 slides

More Related Content

What's hot

Micro services Architecture by
Micro services ArchitectureMicro services Architecture
Micro services ArchitectureAraf Karsh Hamid
3.1K views49 slides
Fiware overview by
Fiware overviewFiware overview
Fiware overviewJoaquín Salvachúa
2.1K views28 slides
OMG DDS: The Data Distribution Service for Real-Time Systems by
OMG DDS: The Data Distribution Service for Real-Time SystemsOMG DDS: The Data Distribution Service for Real-Time Systems
OMG DDS: The Data Distribution Service for Real-Time SystemsAngelo Corsaro
4.1K views134 slides
Open Metadata and Governance with Apache Atlas by
Open Metadata and Governance with Apache AtlasOpen Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache AtlasDataWorks Summit
4.9K views30 slides
A complete guide to azure storage by
A complete guide to azure storageA complete guide to azure storage
A complete guide to azure storageHimanshu Sahu
1.6K views30 slides
DDS Best Practices by
DDS Best PracticesDDS Best Practices
DDS Best PracticesGerardo Pardo-Castellote
3K views18 slides

What's hot(20)

OMG DDS: The Data Distribution Service for Real-Time Systems by Angelo Corsaro
OMG DDS: The Data Distribution Service for Real-Time SystemsOMG DDS: The Data Distribution Service for Real-Time Systems
OMG DDS: The Data Distribution Service for Real-Time Systems
Angelo Corsaro4.1K views
Open Metadata and Governance with Apache Atlas by DataWorks Summit
Open Metadata and Governance with Apache AtlasOpen Metadata and Governance with Apache Atlas
Open Metadata and Governance with Apache Atlas
DataWorks Summit4.9K views
A complete guide to azure storage by Himanshu Sahu
A complete guide to azure storageA complete guide to azure storage
A complete guide to azure storage
Himanshu Sahu1.6K views
2021 Dask Summit - Using STAC to catalog SpatioTemporal datasets by Rob Emanuele
2021 Dask Summit - Using STAC to catalog SpatioTemporal datasets2021 Dask Summit - Using STAC to catalog SpatioTemporal datasets
2021 Dask Summit - Using STAC to catalog SpatioTemporal datasets
Rob Emanuele700 views
Containers Docker Kind Kubernetes Istio by Araf Karsh Hamid
Containers Docker Kind Kubernetes IstioContainers Docker Kind Kubernetes Istio
Containers Docker Kind Kubernetes Istio
Araf Karsh Hamid345 views
Elasticsearch for beginners by Neil Baker
Elasticsearch for beginnersElasticsearch for beginners
Elasticsearch for beginners
Neil Baker15.5K views
Introduction to Streaming Analytics by Guido Schmutz
Introduction to Streaming AnalyticsIntroduction to Streaming Analytics
Introduction to Streaming Analytics
Guido Schmutz4.1K views
Data modeling with neo4j tutorial by Max De Marzi
Data modeling with neo4j tutorialData modeling with neo4j tutorial
Data modeling with neo4j tutorial
Max De Marzi3.5K views
Modernizing applications with Amazon EKS - MAD304 - Santa Clara AWS Summit.pdf by Amazon Web Services
Modernizing applications with Amazon EKS - MAD304 - Santa Clara AWS Summit.pdfModernizing applications with Amazon EKS - MAD304 - Santa Clara AWS Summit.pdf
Modernizing applications with Amazon EKS - MAD304 - Santa Clara AWS Summit.pdf
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo... by Neo4j
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j152 views
Esittelyssä Dell Boomi -integraatioratkaisu by Solita Oy
Esittelyssä Dell Boomi -integraatioratkaisuEsittelyssä Dell Boomi -integraatioratkaisu
Esittelyssä Dell Boomi -integraatioratkaisu
Solita Oy1.2K views
Apache Flink, AWS Kinesis, Analytics by Araf Karsh Hamid
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics
Araf Karsh Hamid537 views
Modern Enterprise integration Strategies by Jesus Rodriguez
Modern Enterprise integration StrategiesModern Enterprise integration Strategies
Modern Enterprise integration Strategies
Jesus Rodriguez10.7K views

Similar to Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink

Functional AI and Pervasive Networking in Automotive by
 Functional AI and Pervasive Networking in Automotive Functional AI and Pervasive Networking in Automotive
Functional AI and Pervasive Networking in AutomotiveAlison Chaiken
445 views25 slides
GPSBUS211-Edge Intelligence for IoT Applications by
GPSBUS211-Edge Intelligence for IoT ApplicationsGPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT ApplicationsAmazon Web Services
672 views30 slides
Webinar: IoT Industrial: Como criar soluções completas em minutos by
Webinar: IoT Industrial: Como criar soluções completas em minutosWebinar: IoT Industrial: Como criar soluções completas em minutos
Webinar: IoT Industrial: Como criar soluções completas em minutosEmbarcados
120 views27 slides
The Inside Story: Leveraging the IIC's Industrial Internet Security Framework by
The Inside Story: Leveraging the IIC's Industrial Internet Security FrameworkThe Inside Story: Leveraging the IIC's Industrial Internet Security Framework
The Inside Story: Leveraging the IIC's Industrial Internet Security FrameworkReal-Time Innovations (RTI)
1.4K views47 slides
Rosella reference design architecture v 0.1 by
Rosella reference design architecture v 0.1Rosella reference design architecture v 0.1
Rosella reference design architecture v 0.1Tarik Hammadou
296 views46 slides
Wavefront by vmware june 2019 - legraswindow by
Wavefront by vmware   june 2019 - legraswindowWavefront by vmware   june 2019 - legraswindow
Wavefront by vmware june 2019 - legraswindowAnil Gupta (AJ) - vExpert
349 views25 slides

Similar to Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink(20)

Functional AI and Pervasive Networking in Automotive by Alison Chaiken
 Functional AI and Pervasive Networking in Automotive Functional AI and Pervasive Networking in Automotive
Functional AI and Pervasive Networking in Automotive
Alison Chaiken445 views
GPSBUS211-Edge Intelligence for IoT Applications by Amazon Web Services
GPSBUS211-Edge Intelligence for IoT ApplicationsGPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT Applications
Webinar: IoT Industrial: Como criar soluções completas em minutos by Embarcados
Webinar: IoT Industrial: Como criar soluções completas em minutosWebinar: IoT Industrial: Como criar soluções completas em minutos
Webinar: IoT Industrial: Como criar soluções completas em minutos
Embarcados120 views
The Inside Story: Leveraging the IIC's Industrial Internet Security Framework by Real-Time Innovations (RTI)
The Inside Story: Leveraging the IIC's Industrial Internet Security FrameworkThe Inside Story: Leveraging the IIC's Industrial Internet Security Framework
The Inside Story: Leveraging the IIC's Industrial Internet Security Framework
Rosella reference design architecture v 0.1 by Tarik Hammadou
Rosella reference design architecture v 0.1Rosella reference design architecture v 0.1
Rosella reference design architecture v 0.1
Tarik Hammadou296 views
What is ThousandEyes Webinar by ThousandEyes
What is ThousandEyes WebinarWhat is ThousandEyes Webinar
What is ThousandEyes Webinar
ThousandEyes62 views
Precise, Predictive, and Connected: DDS and OPC UA – Real-Time Connectivity A... by Real-Time Innovations (RTI)
Precise, Predictive, and Connected: DDS and OPC UA – Real-Time Connectivity A...Precise, Predictive, and Connected: DDS and OPC UA – Real-Time Connectivity A...
Precise, Predictive, and Connected: DDS and OPC UA – Real-Time Connectivity A...
Business Continuity with Microservices-Based Apps and DevOps: Learnings from ... by DevOps.com
Business Continuity with Microservices-Based Apps and DevOps: Learnings from ...Business Continuity with Microservices-Based Apps and DevOps: Learnings from ...
Business Continuity with Microservices-Based Apps and DevOps: Learnings from ...
DevOps.com218 views
Industrial Internet of Things: Protocols an Standards by Javier Povedano
Industrial Internet of Things: Protocols an StandardsIndustrial Internet of Things: Protocols an Standards
Industrial Internet of Things: Protocols an Standards
Javier Povedano158 views
AWS O&G Day - Ambyint and AWS by AWS Summits
AWS O&G Day - Ambyint and AWSAWS O&G Day - Ambyint and AWS
AWS O&G Day - Ambyint and AWS
AWS Summits130 views
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018 by Amazon Web Services
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Amazon Web Services1.1K views
Cross Section and Deep Dive into GE Predix by Altoros
Cross Section and Deep Dive into GE PredixCross Section and Deep Dive into GE Predix
Cross Section and Deep Dive into GE Predix
Altoros5.4K views
The good, the bad & the ugly of migrating hundreds of legacy applications to ... by QAware GmbH
The good, the bad & the ugly of migrating hundreds of legacy applications to ...The good, the bad & the ugly of migrating hundreds of legacy applications to ...
The good, the bad & the ugly of migrating hundreds of legacy applications to ...
QAware GmbH718 views
The good, the bad, and the ugly of migrating hundreds of legacy applications ... by Josef Adersberger
The good, the bad, and the ugly of migrating hundreds of legacy applications ...The good, the bad, and the ugly of migrating hundreds of legacy applications ...
The good, the bad, and the ugly of migrating hundreds of legacy applications ...
Josef Adersberger138 views
Optimizing and Troubleshooting Digital Experience for a Hybrid Workforce by ThousandEyes
Optimizing and Troubleshooting Digital Experience for a Hybrid WorkforceOptimizing and Troubleshooting Digital Experience for a Hybrid Workforce
Optimizing and Troubleshooting Digital Experience for a Hybrid Workforce
ThousandEyes25 views
EMEA Optimizing and Troubleshooting Digital Experience for a Hybrid Workforce by ThousandEyes
EMEA Optimizing and Troubleshooting Digital Experience for a Hybrid WorkforceEMEA Optimizing and Troubleshooting Digital Experience for a Hybrid Workforce
EMEA Optimizing and Troubleshooting Digital Experience for a Hybrid Workforce
ThousandEyes67 views

More from Gerardo Pardo-Castellote

DDS-TSN OMG Request for Proposals (RFP) by
DDS-TSN OMG Request for Proposals (RFP)DDS-TSN OMG Request for Proposals (RFP)
DDS-TSN OMG Request for Proposals (RFP)Gerardo Pardo-Castellote
480 views30 slides
A Converged Approach to Standards for Industrial Automation by
A Converged Approach to Standards for Industrial AutomationA Converged Approach to Standards for Industrial Automation
A Converged Approach to Standards for Industrial AutomationGerardo Pardo-Castellote
613 views5 slides
Overview of the DDS-XRCE specification by
Overview of the DDS-XRCE specificationOverview of the DDS-XRCE specification
Overview of the DDS-XRCE specificationGerardo Pardo-Castellote
1.1K views51 slides
DDS-Security Interoperability Demo - March 2018 by
DDS-Security Interoperability Demo - March 2018DDS-Security Interoperability Demo - March 2018
DDS-Security Interoperability Demo - March 2018Gerardo Pardo-Castellote
381 views16 slides
Deep Dive into the OPC UA / DDS Gateway Specification by
Deep Dive into the OPC UA / DDS Gateway SpecificationDeep Dive into the OPC UA / DDS Gateway Specification
Deep Dive into the OPC UA / DDS Gateway SpecificationGerardo Pardo-Castellote
1.3K views62 slides
OPC UA/DDS Gateway version 1.0 Beta by
OPC UA/DDS Gateway version 1.0 BetaOPC UA/DDS Gateway version 1.0 Beta
OPC UA/DDS Gateway version 1.0 BetaGerardo Pardo-Castellote
648 views149 slides

More from Gerardo Pardo-Castellote(20)

DDS - The Proven Data Connectivity Standard for the Industrial IoT (IIoT) by Gerardo Pardo-Castellote
DDS - The Proven Data Connectivity Standard for the Industrial IoT (IIoT)DDS - The Proven Data Connectivity Standard for the Industrial IoT (IIoT)
DDS - The Proven Data Connectivity Standard for the Industrial IoT (IIoT)

Recently uploaded

Programming Field by
Programming FieldProgramming Field
Programming Fieldthehardtechnology
5 views9 slides
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptxanimuscrm
14 views19 slides
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Donato Onofri
825 views34 slides
Software evolution understanding: Automatic extraction of software identifier... by
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...Ra'Fat Al-Msie'deen
9 views33 slides
Sprint 226 by
Sprint 226Sprint 226
Sprint 226ManageIQ
5 views18 slides
Keep by
KeepKeep
KeepGeniusee
75 views10 slides

Recently uploaded(20)

2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm14 views
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri825 views
Software evolution understanding: Automatic extraction of software identifier... by Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
Sprint 226 by ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ5 views
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski10 views
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
Deltares17 views
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... by Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 views
Fleet Management Software in India by Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable11 views
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft... by Deltares
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
DSD-INT 2023 Process-based modelling of salt marsh development coupling Delft...
Deltares7 views
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... by Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 views
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... by Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares7 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy14 views
Airline Booking Software by SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta6 views
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports by Ra'Fat Al-Msie'deen
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug ReportsBushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols by Deltares
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - DolsDSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
DSD-INT 2023 European Digital Twin Ocean and Delft3D FM - Dols
Deltares7 views
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... by Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares11 views

Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink

  • 1. Applying MBSE to the Industrial IoT: Using SysML with Connext DDS and Simulink Gerardo Pardo-Castellote, Ph.D. Chief Technology Officer, RTI OMG DDS SIG Chair May 2018 István Ráth, Ph.D. Managing Director, IncQuery Labs Ltd. http://www.rti.com
  • 2. ©2018 Real-Time Innovations, Inc. Confidential. Design Develop Deploy
  • 3. Distributed Systems Deployment ©2018 Real-Time Innovations, Inc. Confidential.
  • 4. ©2017 Real-Time Innovations, Inc. Confidential. DECENTRALIZED PEER TO PEER SYSTEMS
  • 5. Edge Autonomy ©2017 Real-Time Innovations, Inc. Confidential. Mainframe Centralized 1960-1970 Mobile Centralized 2005-2020 Client-Server Distributed 1980-2000 Edge Intelligence Distributed 2020-
  • 6. How to deploy, connect, integrate the components? • Performance • Scalability • Reliability • Redundancy • Fail over • Security • Heterogeneity • Domain-Specific Technologies • Legacy Systems ©2018 Real-Time Innovations, Inc. Confidential.
  • 7. Industrial Internet Consortium: 270+ Companies, 30+ Countries IIC Founding and Contributing Members The World’s Largest IoT Consortium The IIC created the IIoT market
  • 9. Industrial Internet Connectivity Stack Information (Data in Context) Participant X Connectivity Information Transport Link Framework Distributed Data Interoperability and Management Physical Network Participant Y Data (State, Events, Streams) Messages Packets Frames Bits Transport Link Framework Distributed Data Interoperability and Management Physical Network Networking
  • 10. Connectivity Core Standards Architecture • Connectivity Core Standards – Provide syntactic interoperability – Stable, deployed, open standard – Standard Core Gateways to all other CCS • Domain-Specific Connectivity Technologies – Connect via non-standard gateway to any connectivity core standard Few Core StandardsStandard Core Gateways Many Domain Technologies
  • 11. IIOT Connectivity Standards ©2017 Real-Time Innovations, Inc Manufacturing Origin TSN / Ethernet (802.1, 802.3) DDS Wireless PAN (802.15) Wireless 2G/3G/LTE (3GPP) Wireless LAN (802.11 Wi- Fi) Internet Protocol (IP) CoAP MQTT Web Services Wireless Wide Area (802.16) HTTPDDSI-RTPS oneM2M OPC-UA OPC-UA Bin Telecommunications Origin UDP TCPTCP Transport Link Framework Distributed Data Interoperability and Management Physical Network Healthcare TransportationManufacturing… … Energy & Utilities
  • 12. Selection Criteria ©2017 Real-Time Innovations, Inc Core Standard Criterion DDS Web Services OPC-UA oneM2M 1 Provide syntactic interoperability ✔ Need XML or JSON ✔ ✔ 2 Open standard with strong independent, international governance ✔ ✔ ✔ ✔ 3 Horizontal and neutral in its applicability across industries ✔ ✔ ✔ ✔ 4 Stable and proven across multiple vertical industries Software Integration & Autonomy ✔ Manufacturing Smart City Pilots* 5 Have standards-defined Core Gateways to all other core connectivity standards Web Services, OPC-UA, oneM2M* DDS, OPC-UA, oneM2M Web Services, DDS, oneM2M* Web Services, DDS* 6 Meet the connectivity framework functional requirements ✔ ✗ Pub-Sub in development 7 Meet non-functional requirements of performance, scalability, reliability, resilience ✔ ✗ Real-time in development Reports not yet documented or public 8 Meet security and safety requirements ✔ ✔ ✔ ✔ 9 Not require any single component from any single vendor ✔ ✔ ✔ ✔ 10 Have readily-available SDKs both commercial and open source ✔ ✔ ✔ ✔ * = work in progress , ✔ = supported, ✗ = not supported GREEN = Gating Criteria
  • 14. Energy ©2017 Real-Time Innovations, Inc. Grand Coulee Dam
  • 18. Run 24x7 Across Continents We selected Object Management Group (OMG) DDS standard for its high security rating; its wide support of tools and programming languages, and its reputation for performance, scalability, and 24/7 reliability Sid Koslow, Chief Technology Officer, NAV CANADA ©2017 Real-Time Innovations, Inc. Air Traffic Control for Canada 2nd largest ANSP in the world 7 major centers
  • 19. Siemens Wind Power Distributed Control • Wind turbine farms can include 500 turbines, 100m blades • Gust control across the array requires fast communications with dynamic, selective filtering • DDS enables large, distributed intelligent machines
  • 20. Grand Coulee Dam • DDS controls the 6.8 GW Grand Coulee Dam –Largest power plant in North America –Fastest-responding major power source on the Western Grid • RTI system live since Jan 2014 ©2018 Real-Time Innovations, Inc.
  • 21. Audi Hardware-in-the-loop simulation • Audi hardware-in-the-loop simulation feeds realistic data to components for testing • The system offers plug-n-play between simulation vendor solutions • RTI software enables a modular test environment that scales to work with hundreds of devices
  • 22. RTI Connext DDS deployed across Navy Systems • Most US and NATO Navy systems –Lockheed Aegis –Raytheon DDG 1000 –Raytheon SSDS –LCS (Lockheed and GDAIS) –Raytheon LPD-17 –Many more, US and allies • Highly distributed systems include radar, weapons, displays, controls • Standards-based, high-performance middleware breaks vendor lock-in, drives interoperability ,and future- proofs the architectural design ©2018 Real-Time Innovations, Inc.
  • 23. GE Transportation ©2017 Real-Time Innovations, Inc. GE Transportation freight and passenger locomotives require safe and reliable control, signaling, and communications The system is being developed using SysML, Simulink, and DDS
  • 24. Typical Deployment Sensing Planning Vehicle Control Logging CONNEXT DDS DATABUS Traffic Maps Error Management Situation Awareness Situation Awareness Cameras, LIDAR, Radar… Cameras, LIDAR, Radar… Cameras, LIDAR, Radar… Data Fusion Cameras, LIDAR, Radar… Localization Vehicle Platform Visualization Navigation CONNEXT DDS DATABUS ©2018 Real-Time Innovations, Inc.
  • 25. DDS and the Industrial Internet of Things • Reliability: Severe consequences if offline for 5ms (or 5 min) • Real-time: measure in ms or µs • Interface scale: 10+ applications/teams • Dataflow complexity: data has many destinations • Architecture: Next generation IIoT Deployed in 1000s of Systems Industrial IoT Systems Industries: Energy, Industrial Control, Transportation, Healthcare, Defense 3+ Yes?
  • 27. DDS Standard family DDS v 1.4 RTPS v2.2DDS-SECURITY DDS-RPC DDS-XTYPES Application UDP TCP DTLS TLS DDS-C++ DDS-JAVA DDS-IDL-C DDS-IDL-C# SHARED-MEMORYIP HTTP IDL4. TSN Ethernet DDS-WEB DDS-OPCUA OPC/ TPC
  • 28. Virtual Global Data Space Topic A QoS Topic C QoS Topic D QoS DDS DOMAIN Persistence Service Recording Service CRUD operations Topic B : “Turbine State” Source (Key) Speed Power Phase WPT1 37.4 122.0 -12.20 WPT2 10.7 74.0 -12.23 WPTN 50.2 150.07 -11.98 QoS
  • 29. Quality of Service (QoS) Policies QoS Policy DURABILITY HISTORY LIFESPAN WRITER DATA LIFECYCLE READER DATA LIFECYCLE ENTITY FACTORY RESOURCE LIMITS RELIABILITY TIME BASED FILTER DEADLINE CONTENT FILTERS Cache UserQoS Delivery Presentation Availability Resources Transport QoS Policy USER DATA TOPIC DATA GROUP DATA PARTITION PRESENTATION DESTINATION ORDER OWNERSHIP OWNERSHIP STRENGTH LIVELINESS LATENCY BUDGET TRANSPORT PRIORITY
  • 30. DDS Security Goals • Authenticate subjects • Enforce access control to data objects • Ensure data integrity • Ensure data confidentiality • Enforce non-repudiation • Provide availability of data • Create auditable security logs ….while maintaining high performance DDS DataBus Connext DDS App 1 Connext DDS App 2 Key Management Authentication Logging Cryptography Access Control
  • 31. Adaptive AUTOSAR • Component model for Automotive –Classic AUTOSAR supported by most OEMs –New “Adaptive” AUTOSAR being developed • A-AUTOSAR defines a programming model & API called ara::com • Release 18.03 added DDS as an alternative network binding under ara::com ©2017 Real-Time Innovations, Inc. Confidential. Provides a framework for all car software to use DDS
  • 32. Level 1 Driver Assistance Single control functions such as speed selection, braking or lane keeping are automated Level 3 Conditional Automation Vehicle takes control most of the time Driver expected to be available for occasional control with comfortable transition times Level 5 Full Automation Vehicle takes control all the time Driver not expected to control any systemsLevel 2 Partial Automation More than one control function is automated Driver expected to available for control at all times and on short notice Level 4 High Automation Vehicle takes control all the time Driver not expected to be available for control at any time Adaptive AUTOSAR connectivity ©2017 Real-Time Innovations, Inc. Confidential. CAN bus OMG DDS SOME/IP
  • 34. MBSE with MagicDraw, DDS, and Simulink ©2017 Real-Time Innovations, Inc
  • 35. Design, Develop, Deploy • MagicDraw SysML/UML for design • Simulink (or plain code) for development • RTI Connext DDS for deployment integration ©2017 Real-Time Innovations, Inc. Confidential.
  • 36. Code-driven DDS deployment ©2017 Real-Time Innovations, Inc
  • 37. Data and Service Definition DDS-XTYPES and IDL4 standards • Logical Data Model and Service Interfaces –Portable: Language-Independent Type System –Safe: Rules for Type Compatibility –Flexible: Types/Interfaces expressed in IDL or XML • Interoperable System Evolution –Types/Services changes (add, remove, reorder, …) –Incremental/Partial upgrades • Dynamic API’s to access data and types –Systems that adapt at run-time • Efficient binary serialization @mutable struct ShapeType { @key string color; @range(0, 200) long x; @range(0, 250) long y; @optional @min(5) float size; }; struct ShapeTypeExt : ShapeType { @unit(“meter”) long x; }; /* Service definition */ enum Command { START, STOP }; @service interface RobotControl { void command(Command com); float setSpeed(float speed) raises (TooFast); float getSpeed(); };
  • 38. DDS-XML: Qos Definitions © 2012 RTI • COMPANY CONFIDENTIAL
  • 39. DDS-XML: Application Definition Define Types, Topics, Writers, Readers, Applications
  • 40. Complete C++ Example enum TempUnit { CELSIUS, FAHRENHEIT, KELVIN }; struct TempType { @key short id; float temp; TempUnit unit; }; dds::domain::DomainParticipant dp(0); dds::topic::Topic<TempType> topic(dp, "TTempSensor"); dds::pub::Publisher pub(dp); dds::pub::DataWriter<TempType> writer(pub, topic); TempType sensor(1, 0, 0, TempUnit::CELSIUS); for ( int i = 0; i < 100; ++ i, ) { sensor.temp( i%100 ); writer.write(sensor); std::this_thread::sleep_for(std::chrono::seconds(1)); } dds::domain::DomainParticipant dp(0); dds::topic::Topic<TempType> topic(dp, "TTempSensor"); dds::sub::Subscriber sub(dp); dds::sub::DataReader<TempType> reader(sub, topic); dds::sub::cond::ReadCondition condition(reader, dds::sub::status::DataState::any()); dds::core::cond::WaitSet waitset; waitset += condition; while (true) { waitset.wait(dds::core::Duration(4)) auto samples = reader.take(); for (auto s : samples) { std::cout << s.data() << std::endl; } } // Subscriber Application: // Publisher Application: // IDL
  • 41. SysML profile for DDS ©2017 Real-Time Innovations, Inc
  • 42. SysML DDS Profile building blocks •Interface definitions –Data Types –DDS Topics •Application Definition –DDS Domains, Participants, Writers, Readers –Simulink Block interfaces •Quality of Service Definitions –DDS Qos Profiles ©2018 Real-Time Innovations, Inc. Confidential.
  • 43. Design Interfaces (Topics and Types) ©2017 Real-Time Innovations, Inc. Confidential. Custom types DDS-XTYPES Complex types DDS Topics
  • 44. Designing Applications (Domains and Participants) ©2017 Real-Time Innovations, Inc. Confidential.
  • 45. Designing Applications (Domains and Participants) ©2017 Real-Time Innovations, Inc. Confidential. Readers and Writers as flow ports with type compatibility validation and Qos definition DDS Domain Participant
  • 46. Toolchain Design and Validation of the model (Domain Specific Editor) • Import QoS definitions • Generate DDS-XML Generate Simulink skeleton (DDS Blockset) Simulation Code generation Code generationBuild & deployment
  • 52. Conclusion • New SysML Plugin for DDS integrates MagicDraw, Simulink, and RTI Connext DDS • Plugin enables going from SysML design to implementation and deployment on a distributed system • Use of proven, standard DDS connectivity databus enables robust and secure deployment of distributed applications and components ©2018 Real-Time Innovations, Inc. Confidential.
  • 53. More information Demo Theater at 1pm Visit IncqueryLabs booth www.rti.com http://portals.omg.org/dds/ https://community.rti.com/ https://www.mathworks.com/hardware-support/rti-dds.html https://www.mathworks.com/videos/simulink-and-the-dds- support-package-107761.html https://www.iiconsortium.org/IICF.htm https://www.slideshare.net/GerardoPardo/presentations