Lecture4_MBSE_IBD

Lecture4_MBSE_IBD - Model-Based Systems Engineering:...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Model-Based Systems Engineering: Modeling Internal Structure with Internal Block Diagrams Click to edit Master subtitle style Leon McGinnis Chris Paredis www.pslm.gatech.edu/courses www.omg.org/ocsmp 1 Internal Block Diagrams in SysML SysML D ia gr a m Behavior D ia gr a m Re quir e m e nt Diagram Structure D ia gr a m Activity Diagram Sequence Diagram State Machine Diagram Use Case Diagram Block Definition Diagram Internal Block Diagram Package Diagram Same as UML 2 Modified from UML 2 New diagram type Parametric Diagram Revision by GIT; Original Source: OMG SysML Tutorial (June 2008). Reprinted with permission. Copyright © 2006-2008 by Object Management Group. 2 Contents x x Context: Interfaces in Systems Engineering Interconnections – – – Connecting parts with Connectors Associations: Typed Connectors Ports and Interactions Modeling what flows: Items and Item Flows Modeling what can flow: Flow Ports Receptions, Operations Interfaces x Flow-based Interaction – – Increasing Semantic Content: More precise + More Detailed x Service-based Interaction – – 3 The Systems Perspective x System = an integrated set of elements that System accomplish a defined objective Black Box x Black-box perspective: hide internals and focus on the interactions White Box White-box perspective: expose the internals as a Sub-System Interactions with Environment x composition of black boxes with interactions Component Sub-System 4 Decomposition: Subsystems + Interactions Functional, logical & physical refinement Black Box decompose White Box + Interface Definitions specialize Particular Sub-System Solutions System Architecture decomposition based on well-defined interfaces 5 Automobile Domain – BDD System of interest 6 Internal Block Diagram x x Represents parts and their interconnections Can have multiple IBDs for a Block Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 7 Internal Block Diagram x x Always associated with a Block The frame of the IBD = The block of which the internals are depicted 8 Contents x x Context: Interfaces in Systems Engineering Interconnections – – – Connecting parts with Connectors Associations: Typed Connectors Ports and Interactions Modeling what flows: Items and Item Flows Modeling what can flow: Flow Ports Receptions, Operations Interfaces x Flow-based Interaction – – Increasing Semantic Content: More precise + More Detailed x Service-based Interaction – – 9 ABCs of Internal Block Diagrams A: Interconnections between parts (connectors) ibd [Block] MySystem [ ABC_of_IBDs ] <<block>> myPart2 : Component2 <<block>> myPart1 : Component1 B: Points of interaction in parts (ports) C: Interaction (flows and services) 10 Connectors with a name x Nature of connection not known ibd [Block] Camera[ Part Connections ] <<block>> protectiveHousing : Protective Housing Adapted from FMS Fig. 6.7 <<comment>> mechanical connections m2 <<block>> mountAssembly : Mount Assembly m1 m3 <<block>> cameraModule : Camera Module e1 <<block>> elecAssembly : Electronics Assembly <<comment>> electrical connection Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 11 Nested Connections x Parts at any level of nesting can be connected Lower Part Connections ] <<block>> cameraModule : Camera Module Adapted from FMS Fig. 6.9 <<comment>> augmentation of the connector e1 between cameraModule and electronicsAssembly parts ­ shown in Part Connection ibd. <<block>> elecAssembly : Electronics Assembly ibd [Block] Camera[ <<block>> mountAssembly : Mount Assembly <<block>> azimuthMotor : Platform platform to housing <<block>> cameraHousing : Camera Housing <<block>> imagingAssembly : I maging Assembly <<comment>> augmentation of the connector m1 between mountAssembly and cameraModule parts ­ shown in Part Connection ibd. <<block>> opticalAssembly : Optical Assembly imaging to video <<block>> imageProcessor : I mage Processor <<block>> mpegConverter : MPEG Converter Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 12 Connectors typed by Association bdd [Package] Surveillance_System [ ADSL Connection using Association ] <<block>> +adsl dte Surveillance System 0..* ADSL Connection +adsl dce 1 <<block>> Command Center Definition Usage Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 13 Connectors typed by Association Block x x Association Block = Association + Block Connector properties beyond names & multiplicity bdd [Package] Surveillance_System [ ADSL and SDSL Connection using Association Block] 1 ADSL Connection -sdsl_client <<block>> <<block>> 0..* Surveillance System +adsl_dte +adsl_dce Command Center 1 -sdsl_host 1 <<block>> ADSL Connection Adapted from FMS Fig. 6.14 SDSL Connection <<block>> SDSL Connection Definition 14 ABCs of Internal Block Diagrams A: Interconnections between parts (connectors) ibd [Block] MySystem [ ABC_of_IBDs ] <<block>> myPart2 : Component2 <<block>> myPart1 : Component1 B: Points of interaction in parts (ports) C: Interaction (flows and services) 15 Ports x Port = Interaction point on boundary of block / part – – Flow Port: typed by what can flow Standard Port: typed by services required / provided Flow Ports Flow Ports Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 16 ABCs of Internal Block Diagrams A: Interconnections between parts (connectors) ibd [Block] MySystem [ ABC_of_IBDs ] <<block>> myPart2 : Component2 <<block>> myPart1 : Component1 B: Points of interaction in parts (ports) C: Interaction (flows and services) 17 Contents x x Context: Interfaces in Systems Engineering Interconnections – – – Connecting parts with Connectors Associations: Typed Connectors Ports and Interactions Modeling what flows: Items and Item Flows Modeling what can flow: Flow Ports Receptions, Operations Interfaces x Flow-based Interaction – – Increasing Semantic Content: More precise + More Detailed x Service-based Interaction – – 18 Modeling What Flows: Items x x Items describe what flows Typed by – – – Blocks - matter, energy Signals - information ValueTypes - primitives, enums, structured data Standard Item Definitions] <<block>> DC voltage : V{dimension = ElectricPotentialDifference, unit = Volt} current : A{dimension = ElectricCurrent, unit = Ampere} power : W{dimension = Power, unit = Watt} values bdd [Package] Item Definitions[ <<block>> Light <<block>> Video frameRate : Integer lines : Integer values Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 19 Modeling What Flows: Item Flows x Defines what flows over connector in specific context – – – flow direction – filled, black arrow what flows – item (e.g. DC) assigned to the connector one or many items can flow in different directions Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 20 Item, Item Flow, and Item Property x Item Flow (Light on connector 1, …) – Items flowing through the connectors Property of the enclosing block x Item Property (cl1, cml2, eav1,…) – Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 21 Modeling What Can Flow: Flow Ports x Flow Port: interaction point for items flowing in/out – Atomic & Nonatomic Flow Port Typed by Block, ValueType, Signal Multiplicity bdd [Package] Camera Part Definitions [ Flow Port Definitions ] Adapted from FMS Fig. 6.25 x Atomic Flow Port: one item can flow in/out of block – – <<block>> I maging Assembly opticalImage : Light electricalImage : Image externalLight : Light <<block>> Optical Assembly opticalImage : Light Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 22 Modeling What Can Flow: Flow Ports x Nonatomic Flow Ports: multiple items can flow – – Typed by «flowSpecification»; have flow properties Conjugate port: reversed flow directions – indicated by ~ Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 23 Connecting Ports in an IBD x Compatibility of connected ports Notation changed in SysML 1.2 ü ü No fill Use ~ before port Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. type, e.g. stationI/O: 24 Delegation Ports and Connectors Assembly connector Delegation connector Delegation port Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 25 Contents x x Context: Interfaces in Systems Engineering Interconnections – – – Connecting parts with Connectors Associations: Typed Connectors Ports and Interactions Modeling what flows: Items and Item Flows Modeling what can flow: Flow Ports Receptions, Operations Interfaces x Flow-based Interaction – – Increasing Semantic Content: More precise + More Detailed x Service-based Interaction – – 26 Service-Based Interaction x Services offered/required by a block – – Receptions (async) and Operations (sync) What requests can a block respond to? Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 27 Service-Based Interaction x Interface: specification of set of Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 28 Service-Based Interaction x Standard Ports: interaction point for requests – – Typed by Interfaces Required and Provided Interfaces x Notation 1: uses / realization dependency Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 29 Service-Based Interaction x Notation 2: ball (provide) and sockets (require) – Provides ; Requires x Compatibility of connected standard ports Original Source: "A Practical Guide to SysML: The Systems Modeling Language" Friedenthal, Moore, Steiner. 30 Flow-based & Service-based Interactions Flow-based Interaction Flow of items across parts Flow Ports Items Items represented as Blocks, Signals, and Value Types Flow Specification Flow properties (items & directions) Item Flows (in / out / inout) Service-based Interaction Services required / provided by parts Standard Ports Services Services represented using Operations & Receptions Interface Operations Receptions Required / Provided Interfaces 31 Points to Ponder x Do not type ports by the type of connector rather than by what items can flow or what services are required/provided – e.g., for a motor, "RotationalEnergy" rather than "Shaft" x Do not type items flows by the type of connector rather by what flows through the connector – e.g., for water flow, “Water" rather than “Pipe” x Do not refer to energy flow by some other quantity – e.g. "RPM" or "Power" rather than "RotationalEnergy” x Do not associate an ibd with a package rather than with a block 32 Summary x x x Context: Relation between BDD and IBD Interconnections Connecting parts with Connectors Increasi Associations: Typed Connectors ng Ports and Interactions Semant ic Flow-based Interaction Modeling what flows: Items and Item Flows Content – – – – – Modeling what can flow: Flow Ports Receptions, Operations Interfaces 33 x Service-based Interaction – – IBD Modeling Elements 34 ...
View Full Document

Ask a homework question - tutors are online