7 research outputs found

    System-level Co-simulation of Integrated Avionics Using Polychrony

    Get PDF
    International audienceThe design of embedded systems from multiple views and heterogeneous models is ubiquitous in avionics as, in partic- ular, different high-level modeling standards are adopted for specifying the structure, hardware and software components of a system. The system-level simulation of such composite models is necessary but difficult task, allowing to validate global design choices as early as possible in the system de- sign ïŹ‚ow. This paper presents an approach to the issue of composing, integrating and simulating heterogeneous mod- els in a system co-design ïŹ‚ow. First, the functional behavior of an application is modeled with synchronous data-ïŹ‚ow and statechart diagrams using Simulink/Gene-Auto. The system architecture is modeled in the AADL standard. These high- level, synchronous and asynchronous, models are then trans- lated into a common model, based on a polychronous model of computation, allowing for a Globally Asynchronous Lo- cally Synchronous (GALS) interpretation of the composed models. This translation is implemented as an automatic model transformation within Polychrony, a toolkit for em- bedded systems design. Simulation, including proïŹling and value change dump demonstration, has been carried out based on the common model within Polychrony. An avionic case study, consisting of a simpliïŹed doors and slides control system, is presented to illustrate our approach

    Formal semantics of behavior specifications in the architecture analysis and design language standard

    Get PDF
    In system design, an architecture speciïŹcation or model serves, among other purposes, as a repository to share knowledge about the system being designed. Such a repository enables automatic generation of analytical models for diïŹ€erent aspects relevant to system design (timing, reliability, security, etc.). The Architecture Analysis and Design Language (AADL) is a standard proposed by SAE to express architecture speciïŹcations and share knowledge between the diïŹ€erent stakeholders about the system being designed. To support unambiguous reasoning, formal veriïŹcation, high-ïŹdelity simulation of architecture speciïŹcations in a model-based AADL design workïŹ‚ow, we have deïŹned a formal semantics for the behavior speciïŹcation of the AADL, the presentation of this semantics is the aim of this paper

    Modeling and Analysis of Mixed Synchronous/Asynchronous Systems

    Get PDF
    Practical safety-critical distributed systems must integrate safety critical and non-critical data in a common platform. Safety critical systems almost always consist of isochronous components that have synchronous or asynchronous interface with other components. Many of these systems also support a mix of synchronous and asynchronous interfaces. This report presents a study on the modeling and analysis of asynchronous, synchronous, and mixed synchronous/asynchronous systems. We build on the SAE Architecture Analysis and Design Language (AADL) to capture architectures for analysis. We present preliminary work targeted to capture mixed low- and high-criticality data, as well as real-time properties in a common Model of Computation (MoC). An abstract, but representative, test specimen system was created as the system to be modeled

    Élaboration d'une mĂ©thodologie de conception des systĂšmes embarquĂ©s basĂ©e sur la transformation du modĂšle fonctionnel de haut niveau vers le prototype virtuel

    Get PDF
    La croissance rapide des progrĂšs technologiques combinĂ©e aux demandes exigeantes de l’industrie entraĂźne une augmentation de la complexitĂ© des systĂšmes embarquĂ©s. Cette complexitĂ© impose plusieurs contraintes et critĂšres Ă  respecter pour produire des systĂšmes compĂ©titifs et robustes. Aussi, les mĂ©thodologies de conception ont grandement Ă©voluĂ© au cours des derniĂšres annĂ©es pour encadrer le dĂ©veloppement de ces systĂšmes complexes et assurer leur conformitĂ© aux requis initiaux. C’est ainsi que de nouvelles approches basĂ©es sur des modĂšles sont apparues, pour pallier Ă  ces difficultĂ©s et maĂźtriser le niveau de complexitĂ©. Mais souvent ces approches basĂ©es sur des modĂšles traitent les aspects fonctionnels et logiciels du systĂšme sans prendre en considĂ©ration les aspects d’exĂ©cution sur de rĂ©elles plateformes matĂ©rielles. Les travaux dĂ©veloppĂ©s dans le cadre de ce projet de recherche visent Ă  mettre en oeuvre une nouvelle mĂ©thodologie de conception des systĂšmes embarquĂ©s. Cette mĂ©thodologie permet d’établir un lien entre le niveau fonctionnel des modĂšles et la plateforme d’exĂ©cution matĂ©rielle de l’application en question. L’approche dĂ©veloppĂ©e est basĂ©e sur l’utilisation du langage de modĂ©lisation AADL pour dĂ©crire le comportement logiciel du systĂšme embarquĂ© Ă  un haut niveau d’abstraction. Ensuite, une chaĂźne de transformation automatique convertit le modĂšle AADL vers un modĂšle SystemC. Finalement, l’environnement Space Studio est utilisĂ© pour construire un prototype virtuel de la plateforme. Cet environnement permet l’exĂ©cution des aspects fonctionnels du systĂšme sur des ressources matĂ©rielles. Les performances du systĂšme peuvent ainsi ĂȘtre validĂ©es et raffinĂ©es en se basant sur une exploration architecturale de la plateforme matĂ©rielle. Une application d’imagerie a Ă©tĂ© exploitĂ©e en tant qu’étude de cas pour expĂ©rimenter ce flot. Il s’agit d’une application de dĂ©codage vidĂ©o MJPEG (Motion JPEG). Durant l’expĂ©rimentation, un modĂšle AADL de l’application MJPEG a Ă©tĂ© dĂ©veloppĂ© dĂ©crivant son comportement fonctionnel. Ensuite, la chaĂźne de transformation utilisĂ©e traduit automatiquement le modĂšle AADL en un modĂšle SystemC. Le modĂšle SystemC a servi comme Ă©lĂ©ment de base reprĂ©sentant l’aspect logiciel dans l’environnement de prototypage virtuel et de conception conjointe Space Studio. L’outil Space Studio s’est montrĂ© utile en permettant la crĂ©ation rapide d’un prototype de plateforme matĂ©rielle d’exĂ©cution, le partitionnement des fonctions logicielles sur des ressources matĂ©rielles et la validation et raffinement des performances du systĂšme. Les rĂ©sultats d’expĂ©rimentation obtenus furent concluants. La vitesse d’exĂ©cution a Ă©tĂ© visiblement augmentĂ©e et le temps pris pour achever la simulation du systĂšme a Ă©tĂ© rĂ©duit de 81.86%. En ce qui concerne le taux d’occupation du processeur quant Ă  lui a considĂ©rablement diminuĂ©, ce qui pourra ainsi diminuer le taux de puissance consommĂ©e par les ressources matĂ©rielles. Ainsi le traitement de donnĂ©es par unitĂ© de temps s’est amĂ©liorĂ© 12 fois de plus aprĂšs le raffinement portĂ© sur l’assignement des fonctions logicielles sur la plateforme matĂ©rielle. Dans le cadre de ce projet, un article scientifique a Ă©tĂ© publiĂ© (Benyoussef et al., FĂ©vrier 2014) Ă  la confĂ©rence ERTS 2014 (Embedded Real Time Software and Systems). Ce travail prĂ©sente le contexte et la problĂ©matique liĂ©e aux mĂ©thodologies basĂ©es sur des modĂšles, la nouvelle approche de modĂ©lisation dĂ©veloppĂ©e ainsi qu’une preuve de concept avec une application de dĂ©codage MJPEG

    Transformação assistida de modelos: mecanismo de suporte para o desenvolvimento de cyber-physical systems

    Get PDF
    Tese (doutorado) - Universidade Federal de Santa Catarina, Centro TecnolĂłgico, Programa de PĂłs-Graduação em Engenharia de Automação e Sistemas, FlorianĂłpolis, 2014O termo Cyber-Physical System representa um dispositivo eletrome-mecĂąnico controlado por um sistema baseado em computador, exemplos deste tipo de sistema incluem robĂŽs, aviĂ”es, redes inteligentes, entre outros. Devido a natureza multidisciplinar dos Cyber-Physical Systems, eles normalmente sĂŁo projetados utilizando diferentes modelos. A perspectiva "cibernĂ©tica" deste tipo de sistema pressupĂ”e a existĂȘncia de: (i) um modelo matemĂĄtico que representa a dinĂąmica do sistema fĂ­sico, (ii) algoritmos de controle, e (iii) um projeto do sistema computacional embarcado. Dentro deste contexto, esta tese de doutorado investiga uma forma de abordar adequadamente o projeto do sistema computacional embarcado de um Cyber-Physical System baseada na modelagem funcional do mesmo. Buscando evitar desta forma a criação de modelos funcionais e arquitetĂŽnicos dissociados, e alĂ©m disso, promover uma abordagem de projeto dirigido por modelos, proporcionando benefĂ­cios como a independĂȘncia de plataforma, nĂ­veis de abstração mais altos, e a reutilização de informaçÔes. Como resultado da pesquisa realizada, e apresentada uma solução que ajuda a realizar a transição do modelo funcional para o modelo de arquitetura de software durante o processo de desenvolvimento de um Cyber-Physical System. Para isso, Ă© sugerido como relacionar elementos de um modelo funcional com elementos de um modelo de arquitetura. A solução proposta, chamada de "Transformação Assistida de Modelos (AST)", fornece suporte para a transformação de modelos Simulink utilizados para a modelagem funcional em modelos arquitetĂŽnicos expressos em AADL, e aumenta a confiabilidade de que os modelos funcional e arquitetural sĂŁo consistentes entre si, uma vez que diminui ocorrĂȘncia de erros de inconsistĂȘncia de interface (portas, tipos de dados e conexĂ”es) entre os mesmos. A AST contribui portanto, com a implantação/integração de aplicativos vericados em arquiteturas validadas tornando o processode desenvolvimento de Cyber-Physical Systems mais robusto. Durante os experimentos, realizados na forma de estudos de caso, os modelos gerados pela AST mostraram-se passĂ­veis de anĂĄlises sintĂĄticas, verificaçÔes comportamentais, e anĂĄlises de escalonabilidade e de la-tĂȘncia de fluxos, o que serviu para reforçar a escolha pelo de o uso de modelos AADL durante o processo de desenvolvimento de CPS. TambĂ©m foi implementado no escopo desta pesquisa, o protĂłtipo de uma ferramenta computacional que automatiza a aplicação da solução proposta. O protĂłtipo foi implementado utilizando a linguagem de programação Java, e empacotado como um plugin para ser usado dentro do ambiente OSATE (Open Source Architectural Environment Tool ), que Ă© um processador de modelos AADL que roda dentro do Eclipse. O plugin em questĂŁo, chamado de AS2T, tambĂ©m pode ser considerado uma alternativa para estender a cadeia de transformação de modelos do ambiente TOPCASED, que Ă© um ambiente OpenSource para desenvolvimento de sistemas embarcados crĂ­ticos que tambĂ©m faz uso do OSATE.Abstract: Cyber-Physical System (CPS) is a denomination used to represent an electro-mechanical device controlled by a computerized system. Examples of CPS include robots, airplanes, smart grids, among others. Due to the multidisciplinary nature of CPSs, they are normally de-signed using different models. The "cybernetic" perspective assumes the existence of: (i) a mathematical model that represents the dynamics of the physical system, (ii) some control algorithms, and (iii) a design of the embedded computing system. In this context, this thesis investigates a way to adequately address the design of the architecture embedded computing system of a CPS based on apreliminary functional model. Looking forward to avoid the creation of decoupled functional and architectural models and aiming to promote a model-based design approach for CPS, the proposed approach targets using higher levels of abstraction and model-information reuse. The solution presented in this thesis is named "Assisted Transformation of Models" (AST), it focuses on discussing how to related elements of a functional model with the elements of an architectural model. AST provides support for the transformation of the Simulink models used for the functional modeling into architectural models expressed in AADL. As benets of using the proposed solution, one can see that it increases the reliability that the functional and architectonical models are consistent between themselves, especially when considering the connection interfaces between components (ports and connections data types). Experiments were conducted to validate the proposed transformation process. The generated models were analyzed in respect to the syntax correctness and also regarding additional model analyses, such as behavioral verication and schedulability analysis. The work provides a prototype tool that automates the proposed transformation process. Such tool can be used as plugin from OSATE (Open Source Architectural Environment Tool), which is an AADL processor that runs within Eclipse. The AS2T plugin can be considered an alternative to extend the chain of transformation of models of the TOPCASED environment, which is an OpenSource development environment of critical embedded systems that makes use of OSATE

    Applying patterns in embedded systems design for managing quality attributes and their trade-offs

    Get PDF
    Embedded systems comprise one of the most important types of software-intensive systems, as they are pervasive and used in daily life more than any other type, e.g., in cars or in electrical appliances. When these systems operate under hard constraints, the violation of which can lead to catastrophic events, the system is classified as a critical embedded system (CES). The quality attributes related to these hard constraints are named critical quality attributes (CQAs). For example, the performance of the software for cruise-control or self-driving in a car are critical as they can potentially relate to harming human lives. Despite the growing body of knowledge on engineering CESs, there is still a lack of approaches that can support its design, while managing CQAs and their trade-offs with noncritical ones (e.g., maintainability and reusability). To address this gap, the state-of-research and practice on designing CES and managing quality trade-offs were explored, approaches to improve its design identified, and the merit of these approaches empirically investigated. When designing software, one common approach is to organize its components according to well-known structures, named design patterns. However, these patterns may be avoided in some classes of systems such as CES, as they are sometimes associated with the detriment of CQAs. In short, the findings reported in the thesis suggest that, when applicable, design patterns can promote CQAs while supporting the management of trade-offs. The thesis also reports on a phenomena, namely pattern grime, and factors that can influence the extent of the observed benefits
    corecore