25
Using SysML in a RTC-based Robotics Application : a case study with a demo Kenji Hiranabe(Change Vision, Inc) Noriaki Ando (AIST) robotics2012-12-10

Using SysML in a RTC-based Robotics Application : a case study with a demo

Embed Size (px)

DESCRIPTION

OMG meeting at Burlingame

Citation preview

Page 1: Using SysML in a RTC-based Robotics Application : a case study with a demo

Using SysML in a RTC-based Robotics Application : a case study with a demo

Kenji Hiranabe(Change Vision, Inc) Noriaki Ando (AIST)

robotics2012-12-10

Page 2: Using SysML in a RTC-based Robotics Application : a case study with a demo

Agenda

• Introduction • Background and Goals • Problem • Analysis and Design via Demo • Conclusion • Future Ideas

Page 3: Using SysML in a RTC-based Robotics Application : a case study with a demo

• Kenji Hiranabe, Change Vision, Inc.(maker of Astah) • Astah is a UML editor popular in Japan

– http://astah.net/

• Astah/SysML – Newly developed – Focused on “Usability” and “Web collaboration”

• RTC plug-in – Plug-in for Astah/SysML to generate RTC.xml to

OpenRTM

Who am I ?

Page 4: Using SysML in a RTC-based Robotics Application : a case study with a demo

Project members

Honda R&D Team

Noriaki Ando Kenji Hiranabe

Toshiki Iwanaga

Toshihiro Okamura

Makoto Sekiya

Isao Hara

Toyotaka Torii

SysML to RTC 1 2 OpenRTM to Honda RTM

Geoffrey Biggs

Page 5: Using SysML in a RTC-based Robotics Application : a case study with a demo

Background and Goals

• Evaluate how SysML can help design a component(RTC)-based robotic application using a simple problem.

• Try a demonstration test to verify that one

common model can work and interoperate on multiple RTM implementations. – OpenRTM-aist – Honda R&D RTM

SysML to RTC 1

2 OpenRTM to Honda RTM

Page 6: Using SysML in a RTC-based Robotics Application : a case study with a demo

Demonstrate the movements (Spiral and Back-and-Forth) by controlling multiple autonomous robots from externally. Operator can switch between the autonomous mode and demonstration mode. Hardware architecture is already known, we use Roomba with PC that can control it using Wi-Fi and use Kinect to switch the mode.

Problem Description

kinect

Operator Controller PC

Receiver PC

Roomba

Wi-Fi

Page 7: Using SysML in a RTC-based Robotics Application : a case study with a demo

System architecture

Roomba

Receiver PC for OpenRTM

OpenRTM Runtime

Robot RTC (OpenRTM-aist)

libRoomba

Roomba SCI (Serial Control Interface)

Receiver PC for Honda R&D RTM

Honda R&D RTM Runtime

Robot RTC (Honda R&D RTM)

libRoomba

Roomba Roomba SCI (Serial Control Interface)

Controller PC

Kinect

Kinect SDK

OpenRTM Runtime

Kinect input RTC (OpenRTM-aist)

Honda R&D RTM Runtime

Controller RTC (Honda R&D RTM)

RTC connector Serial Bus (USB/RS232C) Software I/F

Page 8: Using SysML in a RTC-based Robotics Application : a case study with a demo

OMG RTC Family

8

Name Vendor Feature OpenRTM-aist AIST C++, Python, Java

OpenRTM.NET SEC .NET(C#,VB,C++/CLI, F#, etc..)

miniRTC, microRTC SEC RTC implementation for CAN・ZigBee based systems

Dependable RTM SEC/AIST Functional safety standard (IEC61508) capable RTM implementation

RTC CANOpen SIT, CiA Standard for RTC mapping to CANOpen by CiA (Can in automation) and implementation by SIT

PALRO Fuji Soft C++ PSM implementation for small humanoid robot

OPRoS ETRI Developed by Korean national project

GostaiRTC GOSTAI, THALES C++ PSM implementation on URBI

Honda R&D RTM Honda R&D C++, Python. FSM Component.

Page 9: Using SysML in a RTC-based Robotics Application : a case study with a demo

Analysis Design

Implementation astah SysML

Implementation

Process overview

RTC Plugin

Component spec.

RTC.xml

RTS.xml

SysML requirements

SysML Requirements

SysML Use cases

SysML Use cases

Honda R&D RTM

OpenRTM-aist SysML

Component (block)

SysML Components

(Block) ←

RTC source codes

(Skelton )

Executable RTC

RTC source codes

(Skelton )

SysML requirements

SysML Context (Block)

FSM

astah RTM

SysML STMs

Executable RTC

RTCBuilder

RTSystemEditor

SysML Component

(block)

RTCs

SysML Component

(block)

RTCs FSM RTC FSMs

Restore connectors

SysML to RTC 1 2 OpenRTM to Honda RTM

Page 10: Using SysML in a RTC-based Robotics Application : a case study with a demo

Analysis and Design Diagrams in Astah / SysML

Page 11: Using SysML in a RTC-based Robotics Application : a case study with a demo

Overview

Page 12: Using SysML in a RTC-based Robotics Application : a case study with a demo

req [Core requirements]

Page 13: Using SysML in a RTC-based Robotics Application : a case study with a demo

req [Derived Requirements]

Page 14: Using SysML in a RTC-based Robotics Application : a case study with a demo

req [Robot requirements]

Page 15: Using SysML in a RTC-based Robotics Application : a case study with a demo

req [Controller requirements]

Page 16: Using SysML in a RTC-based Robotics Application : a case study with a demo

uc [Use cases]

Page 17: Using SysML in a RTC-based Robotics Application : a case study with a demo

bdd [Context diagram]

Page 18: Using SysML in a RTC-based Robotics Application : a case study with a demo

bdd [System overview]

Page 19: Using SysML in a RTC-based Robotics Application : a case study with a demo

ibd [Demo system components]

Page 20: Using SysML in a RTC-based Robotics Application : a case study with a demo

ibd [Physical structure of robot]

Page 21: Using SysML in a RTC-based Robotics Application : a case study with a demo

ibd [Physical structure of controller]

Page 22: Using SysML in a RTC-based Robotics Application : a case study with a demo

stm [State machine of controller]

Page 23: Using SysML in a RTC-based Robotics Application : a case study with a demo

Conclusion

• SysML “Block”s map to “RTC”s nicely. • <<Satisfy>> relationships between

“Requirements” and “Components” can be visualized to show the intentions of components reasonably.

• An Easy-to-use tool(Astah/SysML) boosted effectiveness of modeling.

• Communication between teams worked well using web-based model sharing feature of the tool.

Page 24: Using SysML in a RTC-based Robotics Application : a case study with a demo

Future Topics

• Real-time aspects into the model • Relate Safety Case models(Software

Assurance Case Model/Safe ML) with SysML models

• SysML Profile for RTC. • Traceability and impact analysis

from/to requirements to components via the tool.

Page 25: Using SysML in a RTC-based Robotics Application : a case study with a demo

Thank You !

Honda R&D Team

Noriaki Ando Kenji Hiranabe

Toshiki Iwanaga

Toshihiro Okamura

Makoto Sekiya

Isao Hara

Toyotaka Torii

Geoffrey Biggs

We are exhibiting the demo, and tools. Please visit us.