Automatic Code Generation of an Attitude Control System for the Multi-Mission Platform 2008-36-0362
This paper presents the automatic code generation process of the academic design of an Attitude Control System (ACS) for the Multi-Mission Platform (MMP). The MMP is a three axis stabilized artificial satellite now under development at the National Institute for Space Research (INPE). Such design applied some software engineering concepts as: 1)visual modeling; 2)automatic code generation; 3)automatic code migration; 4)soft real time simulation; and 5)hard real time simulation. A block diagram based modeling and a virtual time simulation of the MMP ACS in its nominal operational mode were built in the MatrixX 7.1 environment satisfying the three axis pointing and stabilization requirements. After that, its AutoCode module was used to generate C ANSI code representing the block diagram model. Four operating systems were used for code migration: 1)Windows 2000; 2)Mandrake Linux 10.1; 3)RedHawk Linux 2.1; and 4)RTEMS 4.6.2. Results for each of these four computational environments were generated. The results shown the advantages of using those software engineering concepts in the MMP ACS development. The automatic generated code can be considered the correspondent source code of the block diagram model.
Citation: de Lima Bastos Moreira, M. and de Oliveira e Souza, M., "Automatic Code Generation of an Attitude Control System for the Multi-Mission Platform," SAE Technical Paper 2008-36-0362, 2008, https://doi.org/10.4271/2008-36-0362. Download Citation
Author(s):
Marcelo de Lima Bastos Moreira, Marcelo Lopes de Oliveira e Souza
Affiliated:
Equatorial Sistemas S.A, National Institute for Space Research
Pages: 7
Event:
2008 SAE Brasil Congress and Exhibit
ISSN:
0148-7191
e-ISSN:
2688-3627
Related Topics:
Attitude control
Control systems
Simulation and modeling
Computer software and hardware
SAE MOBILUS
Subscribers can view annotate, and download all of SAE's content.
Learn More »