DiSTERaP Distributed Simulation Test Environment for Rapid Prototyping Nazario Tancredi
© 2015 The MathWorks, Inc.1 Distributed Simulation Test Environemnt for Rapid Prototyping
Nazario Tancredi System Engineer. Simulation & Modelling Practitioner Missile Dynamics Italy. Simulation & Modelling MBDA Italy 31/05/2018
© 2016 The MathWorks, Inc.2 Development and production of Full Missile System
© 2016 The MathWorks, Inc.3 ENGINEERING DEPARTMENT
where i am…
SIMULATION AND MODELLING
To create and analyze a Missile and Missile System physical model to - Flow down requirement - Code Generation - Missile and Missile System Perfotmance Evaluation - Rapid and Robust prototyping © 2016 The MathWorks, Inc.4 ▪ To help in understanding the structure and behaviour of the system Numbers of Firings – To help in designing the system before we commit to 1,000 building it Thunderbird 500 – To understand product behaviour (both desirable and Firestreak undesirable) 300 200 – To help in trade-off studies Redtop 100 – To help in developing specifications Martel
– To help in product integration and testing 50 Rapier Rapier II – To help in planning trials 30 Sea Eagle LR Trigat 20 Sea Skua Alarm ASRAAM – To help in training in the use of the system SS/EG 10 – To help quantify system performance 1950 1960 1970 1980 1990 2000 2010 – To help in demonstrating that we have met the Year customer requirements
• To help in specifying, developing and proving software to be developed for the system • To understand the performance of the system in scenarios where we cannot do trials, for
WHY MODEL BASED DESIGN BASED MODEL WHY example: • What is the probability of survival of a ship? • Will a faulty missile hit the launch aircraft? • What is the system performance in heavy countermeasures?
© 2016 The MathWorks, Inc.5 © 2016 The MathWorks, Inc.6 MBD-A Model-Based Design Approach
All in one Simulation
Trade Off Analysis Performance Evaluation
Real-Time Code Generation MC Analysis
WCU Prototypation © 2016 The MathWorks, Inc.7 • GNC ALGO IN 6DOF SIMULATION • WELL DEFINED TEST PLAN AUTOCODED BOARD
MONTE CARLO ALGORITHM MONTE CARLO CAMPAIGN CAMPAIGN HWIL DESIGN Prototype Board Simulink Simulink Model
• REAL TIME TEST (CiL) DEVELOPED & TESTED • AUTOMATIC TEST “STAND-ALONE” ARCHITECTURE FROM SIMULINK MODEL • AUTOMATIC SIMULATION MANAGEMENT USING MATLAB
© 2016 The MathWorks, Inc.8 © 2016 The MathWorks, Inc.9 SimulinK Models • System Engineer develops the Development Models in Simulink
Autocode • Generate C code, from the Model Model, in automatic mode Update Models Test algorithms on • Test the algorithms on Real Real Time Target Time Target MATLAB
• Analyse the results and Loading update the models if it is Results necessary
Analyse the • Repeat the process as far as results will be obtain satisfactory results
© 2016 The MathWorks, Inc.10 Example of Missile Simulation MiL Other System Component
External Umbilical / DATA - LINK Components
Simulink SEEKER EO ACTUATORS Inertial Measurement Unit Weapon Control Unit (WCU) GPS MOTOR
Other Sensors Missile
MISSILE DYNAMICS & ENVIRONMENT MODEL Environment
Guidance Navigation and Control algorithms performance evaluation in simulation (MiL – Model in the Loop)
© 2016 The MathWorks, Inc.11 CiL Simulink
Weapon Control Unit (WCU) GCN Algos
Auto-coded using Embedded Coder (DiSTERaP Approach)
Real Time execution Simulation management Via MATLAB
Guidance Navigation and Control algorithms performance evaluation on WCU prototype (CiL – Computer in the Loop)
© 2016 The MathWorks, Inc.12 HW Analysis performed in early phase of Project
GNC Processing Time on Raspberry
A. GCN Algorithms Timing threshold performance evaluation directly on prototype of WCU made in the first phase of design MiL
RAPID ON BOARD ALGORITHMS PERFORMANCE EVALUATION GNC Processing Time on WandBoard
B. GCN Algorithms performance evaluation CiL directly on different HW with comparison purpose
Timing threshold
© 2016 The MathWorks, Inc.13 Communication with Real-Time Computer ➢ Receive ✓ Simulation Equipment Bus (LRF, IMU,GPS) HWIL ✓ Simulation Umbilical & Data-Link Messages ➢ Send ✓ Seeker / Motor on ✓ Wing Deflection
Communication with Gimbal ➢ Receive ✓ Tracking Message (on-call) ✓ Gimbal Status ➢ Send ✓ Set Mode / Set Position
UDP
SW INTERFACE EMBEDDED IN SIMULINK MODEL USING LEGACY CODE TOOL © 2016 The MathWorks, Inc.14 DiSTERaP and DO178C Certification Process
FROM REQUIREMENT TO VERIFICATION/VALIDATION ON PROTOTIPE OF WCU
Defined from GOLDEN MODEL
DiSTERaP
Verification & Validation on Prototype of WCU Performance Assessment Code Generation All SW Requirements are linked PIL to GCN,MM Function
© 2016 The MathWorks, Inc.15 Requirements Simulink Model Show evidence via qualified Report Generated Code
Code Certification: • Pass trough different stages • Provide evidence of compliance with specification and standards ✓ For each stage a certain number of certified document will be produced
Provide evidence that used SW and HW are certified: Qualification Plan
© 2016 The MathWorks, Inc.16 • Development Algorithm • Performance analysis
Development Time • Prototype of final WCU • ARM Processor • POSIX Library OS Classical Approach • IMU • Seeker DiSTERaP • Actuator • Motor • … Equipment Next Step: Validate «on Flight» WCU fully developed using DiSTERaP Approach
© 2016 The MathWorks, Inc.17 Development Phase ADD: • Robusteness to design: GCN Test on Embedded Board Algorithms development considering
SW Implementation HW performance REDUCE Algos/Model Design • V&V Time (Simulink/MATLAB) • Time to market
time ~ 50 % time saving
© 2016 The MathWorks, Inc.18 Key Takeaways
1. Models established as golden reference companywide
2. Time-consuming programming tasks eliminated
3. Simulations and analysis accelerated
USE OF «GOLDEN MODEL» AS A KEY DRIVE FACTOR IN YOUR DESIGN, IN FULL PRODUCT DEVELOPMENT PHASE
19 20