Telelogic Rhapsody  Model-driven development for systems design and software development of technical, realtime or embedded systems
Systems design and software development dilemmas Need to communicate effectively with customers, suppliers and multidiscipline project members Ability to effectively collaborate within large teams, often distributed  around the globe Effectively managing ever-changing and evolving requirements  Deal effectively with complexity of the problem domain Spending more than half the development time for integration and testing Shrinking development schedules Parallel development Increasing complexity and quality Reducing functionality in order to meet deadlines Fixed resources  Pressure to lower costs
Key Challenges Facing the Systems Marketplace Uncovering defects late in development cycle Compliance with key engineering  and design processes Effective collaboration of geographically distributed teams Building more innovative products  to grow the business Increasing complexity and accelerating changes Reducing functionality to meet  time to market pressure Aerospace & Defense Automotive Telecom/ Datacom Consumer Electronics  Medical Devices
Document-driven development of embedded systems:  how it should work Module integration & test System acceptance (Sub-)System  integration & test .exe .doc .exe .doc Requirements capture & analysis Requirements document Systems analysis & design HW/SW design document SW design SW implementation & unit test SW design specification
Document-driven development of embedded systems:  how it actually works Costs of design  changes Time Induced errors Requirements capture & analysis Systems analysis & design HW/SW design document SW design SW implementation & unit test Requirements document SW design specification Module integration & test System acceptance (Sub-)System  integration & test .exe .doc .exe .doc
MDD breaks down the walls, enabling  concurrent engineering SW design  SW implementation & unit test Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System  integration & test Module integration & test Software Engineering System engineering Test engineering Software engineering
Synchronization of model views throughout the development process Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System  integration & test Module integration & test SW design SW implementation & unit test Software Engineering System engineering Test engineering Software engineering
Simulation and execution of models  support elimination of errors early in the process SW design SW implementation & unit test Increase design stability through validation  prior to implementation Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System  integration & test Module integration & test Software Engineering System Engineering Test Engineering Software Engineering Costs of design  changes Time Induced errors Telelogic Rhapsody
Telelogic Rhapsody Model-Driven Development Telelogic  Rhapsody Model-Driven Development™ UML2.1/SysML plus domain modeling Requirements capture analysis and  traceability Model-driven testing Multiteam collaboration Full application generation
Better communication through formal models Multiteam collaboration Full application generation Model-driven testing Rhapsody Model-Driven Development UML2.1/SysML/  C Modeling Requirements capture analysis and  traceability UML2.1/SysML  plus domain modeling
UML 2.1 UML views Structure Structure diagram Package diagram Component diagram Object model diagram Class and object Deployment diagram Behavior Statecharts Activity diagrams Use case diagram Interaction Sequence diagram
SysML Systems Modeling Language (SysML) SysML diagrams Requirements Requirements diagram Use case diagram Structure External block diagram Internal block diagram Behavior Statechart Activity diagram Sequence diagram Constraints Parametric diagram
Domain-specific modeling Extend Rhapsody to create models for your domain Use profiling to create your domain artifacts instead of UML artifacts  White boarding allows free formed design Include your own graphic design elements SysML, DoDAF, AUTOSAR and Graphical C profiles available Graphical C
Legacy model reuse Import and reuse your old Rational or XMI-compliant models directly into Rhapsody
Helping to ensure that your design meets  the requirements Model-driven testing Multiteam collaboration Full application generation Requirements capture analysis and  traceability Rhapsody Model-Driven  Development UML2.1/SysML/  C modeling
Lifecycle traceability Create traceability links from model to requirements Produce automatic traceability documentation Import requirements from multiple sources
Visual requirements capture Use requirements and use case diagrams to define requirements Supplement definitions and descriptions with tags and constraints Describe requirements behavior using sequence, activity and state diagrams  Include advanced graphics and icons with domain-specific modeling
Requirements coverage analysis Identify requirements that have not been addressed in the Rhapsody design  Find Rhapsody design elements not justified by a requirement Coverage
Change impact analysis Locate elements potentially impacted by a requirement change Determine requirements possibly impacted by a design change
Helping eliminate defects early and validate against  the requirements Model-driven testing Multiiteam collaboration Rhapsody Model-Driven  Development UML2.1/SysML/  C modeling Requirements capture analysis and  traceability Full application generation
Model-driven testing Bring the benefits of abstraction and automation to testing  Reduce defects early in the process when they are less costly to fix Deliver products meeting customer expectations Simulation Finding & Correcting Errors Sequence Diagrams Requirements-based testing Automated unit testing Host based Target based
Simulation, execution and animation Simulate to verify that model is correct Best practice for avoiding errors and thereby helping to reduce development cost Rapid simulation at the design level or even target level debugging Virtual prototype/panel graphics support Ideal communications aid for design reviews and to share information
Traditional code-centric testing process Coding TestBenches Manually... Error prone; No fun! Code on Host... Puzzling; Time  consuming Code on Target... Frustrating; Expensive Coding TestCases Manually... Difficult; Poor coverage  is the norm…
Design and test process integration  Virtually seamless integrated process, based on UML 2.0 testing profile Requirements linked to test cases  Straightforward navigation between design and test artifacts Design and test — virtually always in sync Automatically generated test execution reports Design artifacts Test artifacts Test execution reports
Autogeneration of test architecture Test architecture:  Defines the architecture of the test environment TestContext diagram:  Defines the system under test (SUT; one or more), TestComponent objects and their interconnections Once we have a TestContext, we can proceed with test cases Since test cases are operations of the test context, the test cases can access both the TestComponents objects and the SUT objects Rhapsody design AutoGen “Graphical TestBench”
Multiple types of test cases “Use the right tool for the right job” Can describe complex testing scenarios  Allow for testing of complex designs Flow charts Capture complex testing scenarios Graphical Easy to communicate Auto   test   generation Automatic Very high coverage Regression testing Code Minimal learning curve Only snippets of code Integrate with existing test cases Sequence   diagrams Capture required behaviors Capture approved behaviors for regression testing Rhapsody TestConductor™ ATG
Model-driven testing process Coding Test Cases Manually... Coding Test Benches Manually... Code on Host... Code on Target... AutoGen Graphical TestBench UML testing profile Code TestCases Graphical TestCases AutoGen TestCases Rhapsody design Host based Target based
Graphical panels Create mock-ups of interface to effectively communicate intended design behavior to customers Modify, monitor and analyze data values during simulation to help ensure that the design is correct early in the process
Automatic test generation Automatic test generation (ATG) provides model-driven test generation Generates test cases with high coverage of the model Consistent with the UML testing profile  Automatically generates tests from the model Coverage of states, transitions, operations, events Produce all relevant combinations of inputs for MC/DC analysis Perform regression testing on the model Export to third-party tools for testing the implementation Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System  integration & test Module integration & test SW design SW implementation & unit test .exe .doc Verified and validated  model ATG Hardware-in-the-loop testing Software-in-the-loop testing
Telelogic Rhapsody Model-Driven Development Telelogic  Rhapsody Model-Driven Development™ UML2.1/SysML plus domain modeling Requirements capture analysis and  traceability Model-driven testing Multiteam collaboration Full Application generation
Meet time-to-market pressures, producing complete applications faster Telelogic  Rhapsody Model-Driven Development™ Model-driven testing Multiteam collaboration Full Application generation UML2.1/SysML plus domain modeling Requirements capture analysis and  traceability
Full application generation Meet-time-to market pressures with complete applications, not frames Generate C, C++, Java™ and Ada applications Rhapsody generates very clean, readable code, readily debugged through any commercial IDE, including Eclipse  Rapidly deploy your design onto any target platform Provides platform-independent models (PIMs) Flexible development environment, work at code or model level Linux Vxworks 16-bit/no RTOS RTOS or No OS  External code Rhapsody application
Reuse existing code (IP) Reuse code from other projects Integrate code developed by a third party Visualize in the model for better understanding Reference third-party code within Rhapsody
Code visualization example Visualize Reference
Rhapsody works the way you do Work at the code or model level Reduce learning curve and increase effectiveness  Dynamic Model Code Associativity (DMCA) keeps design and code in sync  Change one view, the others change automatically Critical for realtime embedded software development DMCA
Rhapsody integration with Eclipse Integrated MDD within Eclipse environment Work in either the code or Rhapsody; both stay in sync Leverage Eclipse to tailor the environment for your needs Eclipse code editor Rhapsody diagram editors
Integrated design and debug environment Natural workflow for code-centric developers Perform design or code-level debugging in single environment Use Eclipse Intellisense View build errors View Rhapsody diagrams View model information
Enables diverse teams to effectively communicate  and work together Full application generation Rhapsody Model-Driven  Development UML2.1/SysML/  C modeling Requirements capture analysis and  traceability Multiteam collaboration Model-driven testing
Multiteam collaboration Rhapsody promotes concurrent collaborative large-scale engineering Largest Rhapsody deployment: 1,200 users Share and collaborate globally Interfaces with all the popular CM tools  Check in/out model information to the CM system Understand changes with graphical differencing and merging Communicate design behavior with graphical prototypes and mock-ups Promotes both opportunistic and strategic reuse via modeling and automation
Common visual modeling Common graphical modeling language (SysML and UML) Nonambiguous Readily understood by all stakeholders Example product deliverables System models Software models Reusable asset models Requirements traceability documentation Specification documentation Design documentation Executable reference model Simulation Prototypes Test cases and scenarios
Collaboration Tight integration with configuration management tools Telelogic Synergy, Rational ClearCase, Rational Team Concert or any SCC-compliant tool Graphically identify differences between versions and evaluate design alternatives Quickly accept or automatically and merge changes between multiple versions
Customizable automatic documentation generation Customize reports the way you want to Wizard-based document generation provides exceptional flexibility  Generates documentation in HTML, Microsoft® Word, PowerPoint,  Rich Text Format (RTF), etc. from a Rhapsody model Compatible with most word processing systems via RTF  Creates hyperlinks for fast report navigation Wide choice of out-of-the box templates, plus ready customization Enables collaboration via sharing of templates and subtemplates
Documentation generation
Opportunistic and strategic reuse of assets Readily identify reusable assets via models Flexible model management using the model browser Multiple projects open in a session promotes easy referencing of reusable assets Partial model loading and unloading of elements enables easy loading of reusable assets Transition from a reusable asset to an implementation using model-driven architecture (MDA) technology Create reusable PIMs Transform PIMs to platform-specific models (PSMs) using the realtime framework Create implementations from PSM using either parametric or rules-based code generation PIM Asset 1 PIM Asset 2 PIM Asset 3 PIM Asset 4 PIM Asset 1 PIM Asset 2 PIM Asset 3 PIM Asset 1 PIM Asset 4 Product A Rhapsody Generated Code Platform (Hardware, RTOS) RTOS adaptor Asset 3 Asset 2 Asset 1 Product B Rhapsody Generated Code Platform (Hardware, RTOS) RTOS adaptor Asset 4 Asset 1
Agile principles and MDD with Rhapsody Rhapsody supports graphical programming of the working application  while documentation is automatically generated Flexible environment supports working at model or code level Work in an iterative, incremental development fashion producing working parts of the design in short time frames while executing and validating each part on target or host Support team collaboration with customers and business stakeholders via graphical models and prototypes as opposed to code based designs Respond to changes using dynamic links to requirements and automatic graphical differencing and merging
Demo
Open solution Requirements management Configuration management Documentation Photo realistic panel graphics/HMI Test Continuous modeling Tool interoperability IDEs Realtime operating systems and operating systems (sample) Configuration   management OSs Compilers Rhapsody Requirements   management Documentation Test HMI CORBA COM Push-button CORBA (Tao)  and COM support
Use Rhapsody to define the functional, physical and software architecture, plug the algorithms into the architecture, and link to the requirements, test cases and external code UML/SysML architectural framework
Comprehensive system design architectural design Statemate model functional algorithm Simulink model computation algorithm Rhapsody model logical algorithm Algorithms implemented in external code Telelogic SDL Suite ™  model protocol algorithm Architecture captured in Rhapsody Rhapsody Statemate Simulink SDL
The  Rhapsody  solution . . .  Industry standard UML/SysML modeling solution extendable to domain specific application (DoDAF, AUTOSAR, etc.) Standard formal models enhance communication Flexible integrated requirements capture, analysis and trace Helps ensure that your design always meets the requirements Advanced model-driven testing provides requirements-based testing, model-driven test generation and model simulation Eliminate defects early and validate against the requirements Extremely powerful code-generation technology produces comprehensive C, C++, Java and Ada applications Meet time-to-market pressures, producing applications faster Reuse existing code or models Flexible environment supports rapid deployment to your target Concurrent design collaboration for small, large, and distributed teams Enables diverse teams to effectively communicate and work together Enhances opportunistic and strategic reuse of assets
For more information To learn more, please visit: www.telelogic.com Learn more at about Rational software at: ibm.com/software/rational
Appendix
Aerospace/defense applications Aerospace/defense applications Air traffic control Avionics Displays Navigation Autopilot Cabin systems Communications Wireless Secure Engine controls Flight controls Fuel systems Hydraulic systems Landing gear Flight controls Aerospace/defense applications Landing systems Lighting systems  Maintenance systems Military vehicles Manned Unmanned Missiles Mission software Power management Radar Satellites Training systems Weapons systems Stores management Fire control
Automotive applications Automotive applications Body/cabin systems Air bag Communications - buses (Can and J1850) Communication gateways Displays (dashboard) Digital tachography Systems GPS HVAC (climate control) Keyless entry Lighting (interior & exterior) Occupant position Power seat Power tilt Power seat belts Power mirrors Power roofs Automotive applications Body/cabin systems  Power windows Power sliding doors Power locks Radios Security/antitheft Telematics Tire deflation indicator Windshield wipers Chassis control systems ABS Power train systems Cruise control GlowPlug Transmission/gear box
Medical applications Medical applications Medical imaging Intensity-modulated radiation therapy CT scanners Implantable therapeutic devices  Blood oxygenation Heart lung machines  Pacemakers  Defibrillators  Medical applications Blood glucose monitors  PAP test  Blood analyzer  Incubators Oncology care Infusion pumps and systems Dental treatment centers
Industrial automation applications Industrial automation applications Air-conditioning systems Elevator controls Home heating systems Pick and place systems Semiconductor Manufacturing Industrial automation applications Wafer inspection systems Letter sorting systems Semiconductor component handlers Industrial process engineering
Telecommunications applications Telecom applications EVDO (evolution data optimized) IMS (IP multimedia subsystem) Intelligent networks Radio access network  for 3G Routers/switches Telecom applications Set-top boxes Terminal devices (handsets) Telephony modems Ultra mobile broadband Wi-MAX
Consumer electronics/office automation applications Consumer/office applications Copiers DECT with SMS/MMS Faxes Hard drives Image processing Multifunction copiers Printers Consumer/office applications Copiers Printer drivers Security systems Industrial printers TV applications Cashless point of sale Mobile data-capturing terminals
IBM services Customer services Technical support Client center Administrative support Consulting Best practices assessment Process and methodology  Consulting and mentoring Training  Tool training: dedicated for systems engineers  Dedicated for software engineers  Process training, including   Harmony process training   and modeling guidelines handbook UML or SysML training Department of Defense Architecture Framework  (DoDAF) training Rapid deployment package   Custom courses Tools Consulting Customer service Training
Rapid deployment package  Provides a roadmap for a successful and on-time project Helps boost productivity Helps reduce risks Specifically designed for new Rhapsody users or existing users beginning  a new project IBM experts work directly with your team  Based on extensive experience in helping users develop systems and software with Rhapsody Contents customized based on your project needs Includes a customized methodology handbook with Plus version
Rapid deployment package: how it works Definition of goals, requirements, deliverables, milestones, etc. Develop methodology designed to use Rhapsody optimally within your process Teaches the concepts and techniques used to apply Rhapsody for systems engineering Collaboration with experts to get you started Periodic reviews to help ensure that Rhapsody is being used to its fullest potential Info gathering Kickoff workshop Essentials training Consulting/mentoring Best practice  reviews Exact content based on your needs
Rapid deployment package — the handbook Customized for your goals Tailored to your process Includes Process description Modeling guidelines Traceability guidelines CM guidelines Illustrations Completed by the end of rapid deployment package (RDP) Modeling guidelines handbook Info gathering Kickoff workshop Essentials training Consulting/mentoring Best practice  reviews Exact content based on your needs <<Back
Open, extensible and configurable Goal: customizable framework so that users have full control The framework is delivered as a Rhapsody model Provides a clear understanding of its component structure and functionality, to support fine-tuning Model includes all requirements and design rationale so it’s readily understood Validation suite can be made available professional services Facilitates scaling down for smaller footprint applications Pick and choose only the necessary components Customize components  Facilitates certification of the framework such as DO-178B Scalable — helps ensure that you include only the components you need; no dead code Customizable — you can fine-tune the implementation to help meet the safety-critical standards
Agile and Rhapsody Model-Driven Development for embedded  systems development
Agile software principles Implementation versus exhaustive planning and documentation Iterative, incremental development and testing of working parts of the design completed quickly Team collaboration with customers and business stakeholders Responsiveness to ever-changing requirements, virtually any time in the development cycle
Challenges facing developers Poor communication with customer on code level alone Some documentation is still required Valuable diagrams are created during meetings that are discarded and later needed Target hardware may not be available for early prototyping Managing changing requirements Increasing productivity while design complexity increases More documentation required for embedded systems Collaboration with large teams, often located globally Long learning curve for new team members  Maintenance of long life products is difficult with staff changes
Rhapsody Model-Driven Development Model-Driven Development helps developers capture the design using graphical models Visualizing design concepts increases understandability Use Object Management Group UML or a DSL Achieving the benefits of both Model-Driven Development and Agile requires the model and code to be the same
Agile and MDD with Rhapsody Rhapsody enables graphical programming of the working application  while documentation is automatically generated Empowers individuals to work the way they want to get the job done the way they know how at either the code or model level Work in an iterative, incremental development fashion producing working parts of the design in short time frames while executing and validating each part on target or host Enable team collaboration with customers and business stakeholders via graphical models and prototypes as opposed to code based designs Ability to respond to ever-changing requirements, virtually anytime in the development cycle using dynamic links to requirements and automatic graphical differencing and merging
Iterative development Deliver prototypes often with increasing functionality Customers and stakeholders provide feedback  Help ensure that final product meets expectations Prototype 1 Prototype 2 Prototype 3 Name: 'Hello World' Mission: •  Subsystem architecture •  Data acquisition •  Basic UI for monitoring Name: 'Revision 1' Mission: •  Basic distribution architecture •  Data waveform display •  User setting of control values •  Data logging Name: 'Customer Review Prototype' Mission: •  Reliable distribution architecture •  Reliable transport protocol •  Sockets •  Closed loop control Analysis Design Implementation Testing Increment review
Telelogic Rhapsody and Simulink
Why Rhapsody and Simulink? Breakthrough combination of domain-specific modeling solutions Provides an integrated multidomain solution for a multidomain problem using DSL Physical Plant Models Control Algorithms SysML Systems Design UML Software Development Rhapsody Simulink systems engineering Software development plant models Control design
Rhapsody and Simulink overview Simulink dynamic control design combined with UML software development and SysML systems engineering First direct integration of UML and Simulink First integration of SysML and Simulink Test your design against physical plant behavior Include complex mathematical control algorithms in your design Only environment that combines: Requirements Physical, functional and software architecture Logical algorithm development Mathematical algorithm development Physical plant behavior Seamless process support for modeling -> execution -> code generation Flexible approach supports multiple workflows
Simulink algorithms integrated into Rhapsody Supports integration of detailed mathematical equations into the Rhapsody model Include controls and signal processing algorithms in your design Test your design against plant models Ties together both the modeling and the code to support execution Controls algorithm in Simulink Systems and software architecture in Rhapsody
Simulink integrated into Rhapsody: advantages Allows engineers to use the right tool for the job Allows each group of engineers to use the tool most suitable for their own needs Enables a best-in-class, domain-specific model–based design and development environment Supports the natural workflow of a Rhapsody user Create a Simulink block in Rhapsody Automates I/Fs and integration of Simulink code Combined model can be executed to help ensure proper behavior of the system Actual production code is tested as a complete system in the software environment Supports the model-based definition of systems that have both logical and dynamic algorithms combined with functional, physical and software architectures
Rhapsody plugged into Simulink  Simulink model with a block to represent the Rhapsody design  Rhapsody design
©  Copyright IBM Corporation 2008 IBM Software Group Route 100 Somers, NY 10589 U.S.A. Produced in the United States of America October 2008 All Rights Reserved IBM, the IBM logo, ibm.com, Rational , and Telelogic   are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on  the Web at &quot;Copyright and trademark information&quot; at  ibm.com/legal/copytrade.shtml Microsoft is a trademark of Microsoft Corporation in the United States, other countries, or both. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.  Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.  Other company, product, or service names may be trademarks or service marks of others. References in this publication to IBM products or services do not imply that IBM intends to make them available in all countries in which IBM operates. RAP14032-USEN-00

Rhapsody Systems Software

  • 1.
    Telelogic Rhapsody Model-driven development for systems design and software development of technical, realtime or embedded systems
  • 2.
    Systems design andsoftware development dilemmas Need to communicate effectively with customers, suppliers and multidiscipline project members Ability to effectively collaborate within large teams, often distributed around the globe Effectively managing ever-changing and evolving requirements Deal effectively with complexity of the problem domain Spending more than half the development time for integration and testing Shrinking development schedules Parallel development Increasing complexity and quality Reducing functionality in order to meet deadlines Fixed resources Pressure to lower costs
  • 3.
    Key Challenges Facingthe Systems Marketplace Uncovering defects late in development cycle Compliance with key engineering and design processes Effective collaboration of geographically distributed teams Building more innovative products to grow the business Increasing complexity and accelerating changes Reducing functionality to meet time to market pressure Aerospace & Defense Automotive Telecom/ Datacom Consumer Electronics Medical Devices
  • 4.
    Document-driven development ofembedded systems: how it should work Module integration & test System acceptance (Sub-)System integration & test .exe .doc .exe .doc Requirements capture & analysis Requirements document Systems analysis & design HW/SW design document SW design SW implementation & unit test SW design specification
  • 5.
    Document-driven development ofembedded systems: how it actually works Costs of design changes Time Induced errors Requirements capture & analysis Systems analysis & design HW/SW design document SW design SW implementation & unit test Requirements document SW design specification Module integration & test System acceptance (Sub-)System integration & test .exe .doc .exe .doc
  • 6.
    MDD breaks downthe walls, enabling concurrent engineering SW design SW implementation & unit test Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System integration & test Module integration & test Software Engineering System engineering Test engineering Software engineering
  • 7.
    Synchronization of modelviews throughout the development process Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System integration & test Module integration & test SW design SW implementation & unit test Software Engineering System engineering Test engineering Software engineering
  • 8.
    Simulation and executionof models support elimination of errors early in the process SW design SW implementation & unit test Increase design stability through validation prior to implementation Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System integration & test Module integration & test Software Engineering System Engineering Test Engineering Software Engineering Costs of design changes Time Induced errors Telelogic Rhapsody
  • 9.
    Telelogic Rhapsody Model-DrivenDevelopment Telelogic Rhapsody Model-Driven Development™ UML2.1/SysML plus domain modeling Requirements capture analysis and traceability Model-driven testing Multiteam collaboration Full application generation
  • 10.
    Better communication throughformal models Multiteam collaboration Full application generation Model-driven testing Rhapsody Model-Driven Development UML2.1/SysML/ C Modeling Requirements capture analysis and traceability UML2.1/SysML plus domain modeling
  • 11.
    UML 2.1 UMLviews Structure Structure diagram Package diagram Component diagram Object model diagram Class and object Deployment diagram Behavior Statecharts Activity diagrams Use case diagram Interaction Sequence diagram
  • 12.
    SysML Systems ModelingLanguage (SysML) SysML diagrams Requirements Requirements diagram Use case diagram Structure External block diagram Internal block diagram Behavior Statechart Activity diagram Sequence diagram Constraints Parametric diagram
  • 13.
    Domain-specific modeling ExtendRhapsody to create models for your domain Use profiling to create your domain artifacts instead of UML artifacts White boarding allows free formed design Include your own graphic design elements SysML, DoDAF, AUTOSAR and Graphical C profiles available Graphical C
  • 14.
    Legacy model reuseImport and reuse your old Rational or XMI-compliant models directly into Rhapsody
  • 15.
    Helping to ensurethat your design meets the requirements Model-driven testing Multiteam collaboration Full application generation Requirements capture analysis and traceability Rhapsody Model-Driven Development UML2.1/SysML/ C modeling
  • 16.
    Lifecycle traceability Createtraceability links from model to requirements Produce automatic traceability documentation Import requirements from multiple sources
  • 17.
    Visual requirements captureUse requirements and use case diagrams to define requirements Supplement definitions and descriptions with tags and constraints Describe requirements behavior using sequence, activity and state diagrams Include advanced graphics and icons with domain-specific modeling
  • 18.
    Requirements coverage analysisIdentify requirements that have not been addressed in the Rhapsody design Find Rhapsody design elements not justified by a requirement Coverage
  • 19.
    Change impact analysisLocate elements potentially impacted by a requirement change Determine requirements possibly impacted by a design change
  • 20.
    Helping eliminate defectsearly and validate against the requirements Model-driven testing Multiiteam collaboration Rhapsody Model-Driven Development UML2.1/SysML/ C modeling Requirements capture analysis and traceability Full application generation
  • 21.
    Model-driven testing Bringthe benefits of abstraction and automation to testing Reduce defects early in the process when they are less costly to fix Deliver products meeting customer expectations Simulation Finding & Correcting Errors Sequence Diagrams Requirements-based testing Automated unit testing Host based Target based
  • 22.
    Simulation, execution andanimation Simulate to verify that model is correct Best practice for avoiding errors and thereby helping to reduce development cost Rapid simulation at the design level or even target level debugging Virtual prototype/panel graphics support Ideal communications aid for design reviews and to share information
  • 23.
    Traditional code-centric testingprocess Coding TestBenches Manually... Error prone; No fun! Code on Host... Puzzling; Time consuming Code on Target... Frustrating; Expensive Coding TestCases Manually... Difficult; Poor coverage is the norm…
  • 24.
    Design and testprocess integration Virtually seamless integrated process, based on UML 2.0 testing profile Requirements linked to test cases Straightforward navigation between design and test artifacts Design and test — virtually always in sync Automatically generated test execution reports Design artifacts Test artifacts Test execution reports
  • 25.
    Autogeneration of testarchitecture Test architecture: Defines the architecture of the test environment TestContext diagram: Defines the system under test (SUT; one or more), TestComponent objects and their interconnections Once we have a TestContext, we can proceed with test cases Since test cases are operations of the test context, the test cases can access both the TestComponents objects and the SUT objects Rhapsody design AutoGen “Graphical TestBench”
  • 26.
    Multiple types oftest cases “Use the right tool for the right job” Can describe complex testing scenarios Allow for testing of complex designs Flow charts Capture complex testing scenarios Graphical Easy to communicate Auto test generation Automatic Very high coverage Regression testing Code Minimal learning curve Only snippets of code Integrate with existing test cases Sequence diagrams Capture required behaviors Capture approved behaviors for regression testing Rhapsody TestConductor™ ATG
  • 27.
    Model-driven testing processCoding Test Cases Manually... Coding Test Benches Manually... Code on Host... Code on Target... AutoGen Graphical TestBench UML testing profile Code TestCases Graphical TestCases AutoGen TestCases Rhapsody design Host based Target based
  • 28.
    Graphical panels Createmock-ups of interface to effectively communicate intended design behavior to customers Modify, monitor and analyze data values during simulation to help ensure that the design is correct early in the process
  • 29.
    Automatic test generationAutomatic test generation (ATG) provides model-driven test generation Generates test cases with high coverage of the model Consistent with the UML testing profile Automatically generates tests from the model Coverage of states, transitions, operations, events Produce all relevant combinations of inputs for MC/DC analysis Perform regression testing on the model Export to third-party tools for testing the implementation Requirements capture & analysis Systems analysis & design System acceptance (Sub-)System integration & test Module integration & test SW design SW implementation & unit test .exe .doc Verified and validated model ATG Hardware-in-the-loop testing Software-in-the-loop testing
  • 30.
    Telelogic Rhapsody Model-DrivenDevelopment Telelogic Rhapsody Model-Driven Development™ UML2.1/SysML plus domain modeling Requirements capture analysis and traceability Model-driven testing Multiteam collaboration Full Application generation
  • 31.
    Meet time-to-market pressures,producing complete applications faster Telelogic Rhapsody Model-Driven Development™ Model-driven testing Multiteam collaboration Full Application generation UML2.1/SysML plus domain modeling Requirements capture analysis and traceability
  • 32.
    Full application generationMeet-time-to market pressures with complete applications, not frames Generate C, C++, Java™ and Ada applications Rhapsody generates very clean, readable code, readily debugged through any commercial IDE, including Eclipse Rapidly deploy your design onto any target platform Provides platform-independent models (PIMs) Flexible development environment, work at code or model level Linux Vxworks 16-bit/no RTOS RTOS or No OS External code Rhapsody application
  • 33.
    Reuse existing code(IP) Reuse code from other projects Integrate code developed by a third party Visualize in the model for better understanding Reference third-party code within Rhapsody
  • 34.
    Code visualization exampleVisualize Reference
  • 35.
    Rhapsody works theway you do Work at the code or model level Reduce learning curve and increase effectiveness Dynamic Model Code Associativity (DMCA) keeps design and code in sync Change one view, the others change automatically Critical for realtime embedded software development DMCA
  • 36.
    Rhapsody integration withEclipse Integrated MDD within Eclipse environment Work in either the code or Rhapsody; both stay in sync Leverage Eclipse to tailor the environment for your needs Eclipse code editor Rhapsody diagram editors
  • 37.
    Integrated design anddebug environment Natural workflow for code-centric developers Perform design or code-level debugging in single environment Use Eclipse Intellisense View build errors View Rhapsody diagrams View model information
  • 38.
    Enables diverse teamsto effectively communicate and work together Full application generation Rhapsody Model-Driven Development UML2.1/SysML/ C modeling Requirements capture analysis and traceability Multiteam collaboration Model-driven testing
  • 39.
    Multiteam collaboration Rhapsodypromotes concurrent collaborative large-scale engineering Largest Rhapsody deployment: 1,200 users Share and collaborate globally Interfaces with all the popular CM tools Check in/out model information to the CM system Understand changes with graphical differencing and merging Communicate design behavior with graphical prototypes and mock-ups Promotes both opportunistic and strategic reuse via modeling and automation
  • 40.
    Common visual modelingCommon graphical modeling language (SysML and UML) Nonambiguous Readily understood by all stakeholders Example product deliverables System models Software models Reusable asset models Requirements traceability documentation Specification documentation Design documentation Executable reference model Simulation Prototypes Test cases and scenarios
  • 41.
    Collaboration Tight integrationwith configuration management tools Telelogic Synergy, Rational ClearCase, Rational Team Concert or any SCC-compliant tool Graphically identify differences between versions and evaluate design alternatives Quickly accept or automatically and merge changes between multiple versions
  • 42.
    Customizable automatic documentationgeneration Customize reports the way you want to Wizard-based document generation provides exceptional flexibility Generates documentation in HTML, Microsoft® Word, PowerPoint, Rich Text Format (RTF), etc. from a Rhapsody model Compatible with most word processing systems via RTF Creates hyperlinks for fast report navigation Wide choice of out-of-the box templates, plus ready customization Enables collaboration via sharing of templates and subtemplates
  • 43.
  • 44.
    Opportunistic and strategicreuse of assets Readily identify reusable assets via models Flexible model management using the model browser Multiple projects open in a session promotes easy referencing of reusable assets Partial model loading and unloading of elements enables easy loading of reusable assets Transition from a reusable asset to an implementation using model-driven architecture (MDA) technology Create reusable PIMs Transform PIMs to platform-specific models (PSMs) using the realtime framework Create implementations from PSM using either parametric or rules-based code generation PIM Asset 1 PIM Asset 2 PIM Asset 3 PIM Asset 4 PIM Asset 1 PIM Asset 2 PIM Asset 3 PIM Asset 1 PIM Asset 4 Product A Rhapsody Generated Code Platform (Hardware, RTOS) RTOS adaptor Asset 3 Asset 2 Asset 1 Product B Rhapsody Generated Code Platform (Hardware, RTOS) RTOS adaptor Asset 4 Asset 1
  • 45.
    Agile principles andMDD with Rhapsody Rhapsody supports graphical programming of the working application while documentation is automatically generated Flexible environment supports working at model or code level Work in an iterative, incremental development fashion producing working parts of the design in short time frames while executing and validating each part on target or host Support team collaboration with customers and business stakeholders via graphical models and prototypes as opposed to code based designs Respond to changes using dynamic links to requirements and automatic graphical differencing and merging
  • 46.
  • 47.
    Open solution Requirementsmanagement Configuration management Documentation Photo realistic panel graphics/HMI Test Continuous modeling Tool interoperability IDEs Realtime operating systems and operating systems (sample) Configuration management OSs Compilers Rhapsody Requirements management Documentation Test HMI CORBA COM Push-button CORBA (Tao) and COM support
  • 48.
    Use Rhapsody todefine the functional, physical and software architecture, plug the algorithms into the architecture, and link to the requirements, test cases and external code UML/SysML architectural framework
  • 49.
    Comprehensive system designarchitectural design Statemate model functional algorithm Simulink model computation algorithm Rhapsody model logical algorithm Algorithms implemented in external code Telelogic SDL Suite ™ model protocol algorithm Architecture captured in Rhapsody Rhapsody Statemate Simulink SDL
  • 50.
    The Rhapsody solution . . . Industry standard UML/SysML modeling solution extendable to domain specific application (DoDAF, AUTOSAR, etc.) Standard formal models enhance communication Flexible integrated requirements capture, analysis and trace Helps ensure that your design always meets the requirements Advanced model-driven testing provides requirements-based testing, model-driven test generation and model simulation Eliminate defects early and validate against the requirements Extremely powerful code-generation technology produces comprehensive C, C++, Java and Ada applications Meet time-to-market pressures, producing applications faster Reuse existing code or models Flexible environment supports rapid deployment to your target Concurrent design collaboration for small, large, and distributed teams Enables diverse teams to effectively communicate and work together Enhances opportunistic and strategic reuse of assets
  • 51.
    For more informationTo learn more, please visit: www.telelogic.com Learn more at about Rational software at: ibm.com/software/rational
  • 52.
  • 53.
    Aerospace/defense applications Aerospace/defenseapplications Air traffic control Avionics Displays Navigation Autopilot Cabin systems Communications Wireless Secure Engine controls Flight controls Fuel systems Hydraulic systems Landing gear Flight controls Aerospace/defense applications Landing systems Lighting systems Maintenance systems Military vehicles Manned Unmanned Missiles Mission software Power management Radar Satellites Training systems Weapons systems Stores management Fire control
  • 54.
    Automotive applications Automotiveapplications Body/cabin systems Air bag Communications - buses (Can and J1850) Communication gateways Displays (dashboard) Digital tachography Systems GPS HVAC (climate control) Keyless entry Lighting (interior & exterior) Occupant position Power seat Power tilt Power seat belts Power mirrors Power roofs Automotive applications Body/cabin systems Power windows Power sliding doors Power locks Radios Security/antitheft Telematics Tire deflation indicator Windshield wipers Chassis control systems ABS Power train systems Cruise control GlowPlug Transmission/gear box
  • 55.
    Medical applications Medicalapplications Medical imaging Intensity-modulated radiation therapy CT scanners Implantable therapeutic devices Blood oxygenation Heart lung machines Pacemakers Defibrillators Medical applications Blood glucose monitors PAP test Blood analyzer Incubators Oncology care Infusion pumps and systems Dental treatment centers
  • 56.
    Industrial automation applicationsIndustrial automation applications Air-conditioning systems Elevator controls Home heating systems Pick and place systems Semiconductor Manufacturing Industrial automation applications Wafer inspection systems Letter sorting systems Semiconductor component handlers Industrial process engineering
  • 57.
    Telecommunications applications Telecomapplications EVDO (evolution data optimized) IMS (IP multimedia subsystem) Intelligent networks Radio access network for 3G Routers/switches Telecom applications Set-top boxes Terminal devices (handsets) Telephony modems Ultra mobile broadband Wi-MAX
  • 58.
    Consumer electronics/office automationapplications Consumer/office applications Copiers DECT with SMS/MMS Faxes Hard drives Image processing Multifunction copiers Printers Consumer/office applications Copiers Printer drivers Security systems Industrial printers TV applications Cashless point of sale Mobile data-capturing terminals
  • 59.
    IBM services Customerservices Technical support Client center Administrative support Consulting Best practices assessment Process and methodology Consulting and mentoring Training Tool training: dedicated for systems engineers Dedicated for software engineers Process training, including Harmony process training and modeling guidelines handbook UML or SysML training Department of Defense Architecture Framework (DoDAF) training Rapid deployment package Custom courses Tools Consulting Customer service Training
  • 60.
    Rapid deployment package Provides a roadmap for a successful and on-time project Helps boost productivity Helps reduce risks Specifically designed for new Rhapsody users or existing users beginning a new project IBM experts work directly with your team Based on extensive experience in helping users develop systems and software with Rhapsody Contents customized based on your project needs Includes a customized methodology handbook with Plus version
  • 61.
    Rapid deployment package:how it works Definition of goals, requirements, deliverables, milestones, etc. Develop methodology designed to use Rhapsody optimally within your process Teaches the concepts and techniques used to apply Rhapsody for systems engineering Collaboration with experts to get you started Periodic reviews to help ensure that Rhapsody is being used to its fullest potential Info gathering Kickoff workshop Essentials training Consulting/mentoring Best practice reviews Exact content based on your needs
  • 62.
    Rapid deployment package— the handbook Customized for your goals Tailored to your process Includes Process description Modeling guidelines Traceability guidelines CM guidelines Illustrations Completed by the end of rapid deployment package (RDP) Modeling guidelines handbook Info gathering Kickoff workshop Essentials training Consulting/mentoring Best practice reviews Exact content based on your needs <<Back
  • 63.
    Open, extensible andconfigurable Goal: customizable framework so that users have full control The framework is delivered as a Rhapsody model Provides a clear understanding of its component structure and functionality, to support fine-tuning Model includes all requirements and design rationale so it’s readily understood Validation suite can be made available professional services Facilitates scaling down for smaller footprint applications Pick and choose only the necessary components Customize components Facilitates certification of the framework such as DO-178B Scalable — helps ensure that you include only the components you need; no dead code Customizable — you can fine-tune the implementation to help meet the safety-critical standards
  • 64.
    Agile and RhapsodyModel-Driven Development for embedded systems development
  • 65.
    Agile software principlesImplementation versus exhaustive planning and documentation Iterative, incremental development and testing of working parts of the design completed quickly Team collaboration with customers and business stakeholders Responsiveness to ever-changing requirements, virtually any time in the development cycle
  • 66.
    Challenges facing developersPoor communication with customer on code level alone Some documentation is still required Valuable diagrams are created during meetings that are discarded and later needed Target hardware may not be available for early prototyping Managing changing requirements Increasing productivity while design complexity increases More documentation required for embedded systems Collaboration with large teams, often located globally Long learning curve for new team members Maintenance of long life products is difficult with staff changes
  • 67.
    Rhapsody Model-Driven DevelopmentModel-Driven Development helps developers capture the design using graphical models Visualizing design concepts increases understandability Use Object Management Group UML or a DSL Achieving the benefits of both Model-Driven Development and Agile requires the model and code to be the same
  • 68.
    Agile and MDDwith Rhapsody Rhapsody enables graphical programming of the working application while documentation is automatically generated Empowers individuals to work the way they want to get the job done the way they know how at either the code or model level Work in an iterative, incremental development fashion producing working parts of the design in short time frames while executing and validating each part on target or host Enable team collaboration with customers and business stakeholders via graphical models and prototypes as opposed to code based designs Ability to respond to ever-changing requirements, virtually anytime in the development cycle using dynamic links to requirements and automatic graphical differencing and merging
  • 69.
    Iterative development Deliverprototypes often with increasing functionality Customers and stakeholders provide feedback Help ensure that final product meets expectations Prototype 1 Prototype 2 Prototype 3 Name: 'Hello World' Mission: • Subsystem architecture • Data acquisition • Basic UI for monitoring Name: 'Revision 1' Mission: • Basic distribution architecture • Data waveform display • User setting of control values • Data logging Name: 'Customer Review Prototype' Mission: • Reliable distribution architecture • Reliable transport protocol • Sockets • Closed loop control Analysis Design Implementation Testing Increment review
  • 70.
  • 71.
    Why Rhapsody andSimulink? Breakthrough combination of domain-specific modeling solutions Provides an integrated multidomain solution for a multidomain problem using DSL Physical Plant Models Control Algorithms SysML Systems Design UML Software Development Rhapsody Simulink systems engineering Software development plant models Control design
  • 72.
    Rhapsody and Simulinkoverview Simulink dynamic control design combined with UML software development and SysML systems engineering First direct integration of UML and Simulink First integration of SysML and Simulink Test your design against physical plant behavior Include complex mathematical control algorithms in your design Only environment that combines: Requirements Physical, functional and software architecture Logical algorithm development Mathematical algorithm development Physical plant behavior Seamless process support for modeling -> execution -> code generation Flexible approach supports multiple workflows
  • 73.
    Simulink algorithms integratedinto Rhapsody Supports integration of detailed mathematical equations into the Rhapsody model Include controls and signal processing algorithms in your design Test your design against plant models Ties together both the modeling and the code to support execution Controls algorithm in Simulink Systems and software architecture in Rhapsody
  • 74.
    Simulink integrated intoRhapsody: advantages Allows engineers to use the right tool for the job Allows each group of engineers to use the tool most suitable for their own needs Enables a best-in-class, domain-specific model–based design and development environment Supports the natural workflow of a Rhapsody user Create a Simulink block in Rhapsody Automates I/Fs and integration of Simulink code Combined model can be executed to help ensure proper behavior of the system Actual production code is tested as a complete system in the software environment Supports the model-based definition of systems that have both logical and dynamic algorithms combined with functional, physical and software architectures
  • 75.
    Rhapsody plugged intoSimulink Simulink model with a block to represent the Rhapsody design Rhapsody design
  • 76.
    © CopyrightIBM Corporation 2008 IBM Software Group Route 100 Somers, NY 10589 U.S.A. Produced in the United States of America October 2008 All Rights Reserved IBM, the IBM logo, ibm.com, Rational , and Telelogic are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at &quot;Copyright and trademark information&quot; at ibm.com/legal/copytrade.shtml Microsoft is a trademark of Microsoft Corporation in the United States, other countries, or both. Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. References in this publication to IBM products or services do not imply that IBM intends to make them available in all countries in which IBM operates. RAP14032-USEN-00