Ada95 and GNATPRO in AIM generic TEST SYSTEM

19
Ada95 and GNATPRO in AIM generic TEST SYSTEM B.Lozano

Transcript of Ada95 and GNATPRO in AIM generic TEST SYSTEM

Page 1: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Ada95 and GNATPRO in AIM generic TEST SYSTEM

B.Lozano

Page 2: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

A/C electronics systems life cycle

TEST Means HW/SW Facilities to support A/C equipment,Subsystem or system verification&validation process across product life-cycle

•  Verification means “ Are we building the product right?” It involves checking that the product conforms to its specification

•  Validation means “ Are we building the right product?” It involves checking that the product as implemented meets the expectations of the product customer

1/14

Page 3: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Overview

Stimulation,Acquisition and Simulation System (SEAS) is a modular generic distributed HW/SW items used to build test facilities

( Engineering Simulator, SW Benches, Functional test benches and Target Rigs)

SYSTEM UNDER TEST

+ Instruments

MONITORIZED DATA ACQUISITION

SENSORS DATA STIMULATION

TEST SYSTEM

TEST BENCH

2/14

Page 4: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS MOSA principles • Modular, Open, distributed and scalable architecture widely used with minimal changes from Desk Top Simulators to target rigs

•  Reconfigurability,Portability,Interoperability,Reusability, Scalability, Reliability and Maintainability

• Simulation environment multi-platform and multi-OS

• Generic SW components are written in Ada95 to improve reliability •  Multi-language support for simulations and bench specific SW (Ada95, C,C++,Java,VB,Fortran,..) •  VME, PCI, PCI-e form factors support for processors , I/O boards and USB for multimedia devices • Open integration to:

• COTS industrial test tools by flexible adapters • COTS Avionics and non-avionics I/F cards (A429,AFDX, 1553,EFEX, CAN, Analogues, Digital, Discretes, Ethernet, Shared Memory, High Speed data links) • COTS processors • COTS HMI tools ( GTKADA,VI, process control…) • COTS multimedia products • COTS instruments ( PXI, LXI, Ethernet)

3/14

Page 5: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Context Diagram

Systems Engineering domains

Test System

Test Reqmts ICD Models

HW Interface

Test Sessions Configuration Items

databases Test Preparation

Mngt

Master HMI

Test execution Mngt

Test Analysis

Mngt

User subsystem

Test engine

Core Processing subsystem

Test Equipments

CMS

Conf. &Dict&Data

Server

Simulation Environment

Recording Replay

Sequencer

Environment

Equipment/Subsystem/System

Under Test

4/14

Page 6: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Architecture

DAT

AVIS

Mas

ter-H

MI

Tren

d di

spl.

Num

eric

dis

p

Aut

omat

ic te

st

Use

r Def

ined

Use

r Def

ined

TUI

Syno

ptic

Syno

ptic

s RTI

RTSIG

….

IO BUS

IO Card IO Card ..

Nod

e S

erve

r Si

mul

atio

n Si

mul

atio

n ..

Sign

al p

roce

ss

Proccessor 1

Sim

ulat

ion

Sim

ulat

ion

Rec

ordi

ng

..

Sign

al p

roce

ss

Proccessor n

SEAS

Users stations

User Interface Subsys Core Processing subsyst.

Specific

RTI Pr

oces

s Exe

cute

r

Proc

ess E

xecu

ter

5/14

Page 7: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Signal Process Management

Process Executer Main processor

Secondary processor

Simulation

Simulation

Recording

SEAS-node server

Process Executer

Simulation

Simulation

Recording

Sequence

Registering

Serializing

Master Sched.

Master Sched.

I/O BUS

&

RTI

6/14

Page 8: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Simulations Build

Matlab/Simulink model

ADA Simulation

C Simulation Fortran Simulation

Binary Code SEAS

SEAS Simulation

VILabview/ SL-GMS....

Simulation ICD

Bench ICD

AP2633 Model

7/14

Page 9: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Simulations layers

SEAS Simulation

SIMULATION CORE

( ADA, C++, C#, VB )

Control Signals Interface Scheduler

Environment

Simulation Developpers Domain

Simulation Integrator Domain

SEAS Domain

Simulation Interface

SIMULATION Variables

Get_values Put_values

Automatically generated by SEAS user API for ADA or C

IO API’s SEAS RTPI lib

Dynamically:

• It Receives required signals and HW interface objects serialized from server during simulation initialization

•  Add new signals to server

•  Create Bundle signals

8/14

Page 10: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Simulations Build (II)

Bench signals

The SEAS user API gives the user the capability to associate Bench signals with simulation variables

Simulation variables

Main procedure, it instantiates a Simulation process class

Signal_process-Simulation

It implements the simulation process class

Simulation Process (spec and body)

It is a skeleton for the user to implement the simulation functionality (INIT, EXEC and STOP)

Interface files

It provides signals and IFUs-HW objects pointers to perform direct IO access to HW interfaces.

Object copies are serialized from server process by using ADA95 Annex E.

It implements Get_Values and Put_Values functions

Simulations have capability to call directly any HW interfaces API’s functions for specific board handling

Binding package to COTS API´s given in C or C++

9/14

Page 11: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

SEAS Simulation IDE

SEAS connect to native IDE for simulations and specific test tools

For Ada and C Code, generating a GPS project and launching GPS

… Or for Visual C source code, generating a Visual C project and launching Visual Studio Application

10/14

Page 12: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

A/C ICD’s Management

DOORS

Signal Definition

DB

MIA

Smarty

XSLT-FO

Rigs /Test benches

Reports

Legacy ICDs

Templates

Rig/Bench

Config data

Excel

11/14

Page 13: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Matlab Simulink models to SEAS Route

ARBS aplication

12/14

Page 14: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Test Facilities

• The maturity, robustness and reliability of the system have been demonstrated throughout hundreds of test facilities in use with this common test environment including Engineering Simulators for Aircraft Refuelling Boom System, System Integration Benches for Multirole Tanker Aircrafts, A400M, Lights&Medium Transport Aircraft, Full Integrated Tactical Systems and Aircraft Interface Modules for Final Assembly Lines of A400M, Multirole Tanker Aircrafts and L&MT aircrafts.

• Proved with up to 350.000 signals per system integration bench

13/14

Page 15: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Conclusion

Test System built around GNATPRO-Suite :

• Ada95 for SEAS Core SW using class wide programming for Processes, Signals, HW Interfaces, Scaling

•  Ada95 for Mission System simulations repertoire

• GTKADA for HMI and for special synoptic like mission scenarios, radar display simulations

• XMLADA for test system definitions Bench HW/SW definition

• Distributed Ada for shared memories, RPC , data, types and objects distribution

• GPS to create simulations

• High Flexibility for integration of non Ada SW like FORTRAN,C, C++ API’s

We consider using the provided solution by GNATPRO suite, as the core to develop such complex hybrid systems, with large life cycle like test systems for A/C V&V, offered big advantages.

14/14

Page 16: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

THANK YOU FOR YOUR ATTENTION

Page 17: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Seas Simulation class and activity diagram

= Init = Run = End

Page 18: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Seas Signal class

Page 19: Ada95 and GNATPRO in AIM generic TEST SYSTEM

Proprietary Information

Seas Signal class