R R R CSE870: UML Component Diagrams Implementation Diagrams.
Using SysMLand Assurance Case in a Robotic Application ... · Analysis Design Implementation astah...
-
Upload
nguyenquynh -
Category
Documents
-
view
214 -
download
0
Transcript of Using SysMLand Assurance Case in a Robotic Application ... · Analysis Design Implementation astah...
Using SysML and Assurance Case
in a Robotic Application:
Case Study & Tool Demonstration
Kenji Hiranabe
CEO, Change Vision, Inc
Agenda
• Introduction
• Background and Goals
• SysML + RTC(Robotics Technology Component)
• Demo
• SysML + Assurance Case
• Conclusion
Noriaki Ando
Kenji Hiranabe Toshiki Iwanaga
Makoto Sekiya Toyotaka Torii
Geoffrey Biggs
1400-1425
Robotics Technology Component Specification
Honda R&D Team
1425-1425
Finite State Machine for Robotics Technology
Component(FSM4RTC) RFP
1620-1645
Using SysML and Assurance Case
in a Robotic Application:
Case Study & Tool Demonstration
Robotics in today’s Component
Workshop
OMG RTC Family
4
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.
• 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”
• RTC(Robotic Technology Component) plug-in
– Plug-in for Astah/SysML to generate RTC.xml to
OpenRTM
Who am I ?
Background and Goals
• SysML + RTCEvaluate how SysML can help design a
component-based robotic application using a
simple sample problem.
• SysML + Assurance CaseTry an effective usage of Assurance Case with
the above SysML-based component model.
�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
OperatorController PC
Receiver PC
Roomba
Wi-Fi
SysML +
RTC(Robotic Technology Component)
System architecture
RoombaRoomba
Receiver PC for OpenRTMReceiver PC for OpenRTM
OpenRTM RuntimeOpenRTM Runtime
Robot RTC (OpenRTM-aist)Robot RTC (OpenRTM-aist)
libRoombalibRoomba
Roomba SCI (Serial Control Interface)Roomba SCI (Serial Control Interface)
Receiver PC for another RTMReceiver PC for another RTM
Another RTM RuntimeAnother RTM Runtime
Robot RTCRobot RTC
libRoombalibRoomba
RoombaRoomba
Roomba SCI (Serial Control Interface)Roomba SCI (Serial Control Interface)
Controller PCController PC
KinectKinect
Kinect SDKKinect SDK
OpenRTM RuntimeOpenRTM Runtime
Kinect input RTC (OpenRTM-aist)Kinect input RTC (OpenRTM-aist)
Another RTM RuntimeAnother RTM Runtime
Controller RTCController RTC
RTC connector Serial Bus (USB/RS232C)Software I/F
AnalysisAnalysis DesignDesign
ImplementationImplementationastah SysMLastah SysML
ImplementationImplementation
Process overview
RTC PluginRTC Plugin
Component
spec.
Component
spec.
RTC.xmlRTC.xml
RTS.xmlRTS.xml
SysML
requirements
SysML
requirements
SysML
Requirements
SysML
Requirements
SysML
Use cases
SysML
Use cases
SysML
Use cases
SysML
Use cases
another RTManother RTM
OpenRTM-aistOpenRTM-aistSysML
Component
(block)
SysML
Component
(block)↑↑↑↑↑↑↑↑↑↑↑↑
SysML
Components
(Block)
SysML
Components
(Block)←←←←←←←←←←←←
RTC source
codes
(Skelton )
RTC source
codes
(Skelton )
Executable RTCExecutable RTC
RTC source
codes
(Skelton )
RTC source
codes
(Skelton )
SysML
requirements
SysML
requirements
SysML
Context
(Block)
SysML
Context
(Block)
FSMFSM
astah RTM
SysML
STMs
SysML
STMs
Executable RTCExecutable RTC
RTCBuilder
RTSystemEditor
SysML
Component
(block)
SysML
Component
(block)
RTCsRTCs
SysML
Component
(block)
SysML
Component
(block)
RTCsRTCsFSMFSMRTC FSMsRTC FSMs
Restore connectors
Analysis and Design
Diagrams in Astah /
SysML(Demo)
Overview
req [Core requirements]
req [Derived Requirements]
req [Robot requirements]
req [Controller requirements]
uc [Use cases]
bdd [Context diagram]
bdd [System overview]
ibd [Demo system components]
ibd [Physical structure of robot]
ibd [Physical structure of controller]
stm [State machine of controller]
Conclusion(SysML + RTC)
• 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.
SysML +
Assurance Case
The following pages are from
the 2013 joint research result of
Assurance Case + SysML
• Try to find an effective combination of SysMLand Assurance Case
Assurance CaseAssurance Case SysMLSysML
Goal, Sub-Goal, Context, Strategy, Evidence Requirement, block, behavior, usecase
Stakeholders(SysML) and
Context(Assurance Case)
Stakeholders expressed as
actors in use case model.
Stakeholders expressed as
Context to the top goal.
Requirement(SysML) and
Goal(Assuance Case)
1
2
3
Functional and non-functional requirements
Expressed as context to a goal.
Requirement diagram
Requirement table
Goal-Context(Assurance Case) and
Requirement-Block(SysML)
<<block>>
Roomba
<<requirement>>
text = 8の字走行を行えること。
Id = CR002
Spiral drive
<<satisfy>>
Traceability from/to Goal-Context-Requirement-Block
Domain Model(SysML) and
Context(Assuance Case)
System Context expressed as
Domain model(block diagram)
Context to the top level goal
Conclusion
• SysML expresses a system’s design view whereas Assurance Case expresses a system’s discussion/explanation view to make a case.
• They can be used together to;
– Show a AC-context as a SysML-model
– Make traceability between cases and designs
• A tool which can draw both and set relationship between them will be useful.
• Visit us at the Exhibition during this OMG Meeting
• Visit us at http://astah.net for free evaluation of the tool.