Automatic Generation, Migration, and Tests of a Real Time Code to an Embedded Controller 2008-36-0342
A constant challenge for the mobility engineering is to build correctly, the right product at the right time, cost and quality. This challenge gives opportunities to adopt new paradigms in system development, especially in generation, migration and tests of controller codes. This work presents the automatic generation, migration, and tests of real time code to an embedded controller. This is part of the Attitude and Orbit Control System (AOCS) for the Multi-Mission Platform (MMP) of the National Institute for Space Research (INPE). The modeling and simulation paradigm associated with automatic code generation makes possible the migration of a real time embedded controller code to a wide variety of target processors and/or Real Time Operating Systems (RTOS) using the same controller model. The MATRIXx (XMath/SystemBuild/AutoCode/DocumentIt) modeling and simulation environment was used to analyze and design the controller and generate its real time code. For that, the whole control system was modeled including its sensors, actuators, controller, plant dynamics and external environment. After the controller design was considered satisfactory, its model was used to generate a real time source code capable to be embedded in a target processor. The ANSI C generated real time code with the RTEMS RTOS were migrated to an emulator of the ERC32 SPARC target. Tests have shown that the software controller results comply with the pointing and stabilization requirements of the MMP ACS.
Citation: de Amorim, F. and de Oliveira e Souza, M., "Automatic Generation, Migration, and Tests of a Real Time Code to an Embedded Controller," SAE Technical Paper 2008-36-0342, 2008, https://doi.org/10.4271/2008-36-0342. Download Citation
Author(s):
Francisco Carlos de Amorim, Marcelo Lopes de Oliveira e Souza
Affiliated:
Mectron Engenharia, Indústria e Comércio S. A., São José dos Campos, SP, Brazil, National Institute for Space Research (INPE), São José dos Campos, SP, Brazil
Pages: 11
Event:
2008 SAE Brasil Congress and Exhibit
ISSN:
0148-7191
e-ISSN:
2688-3627
Related Topics:
Control systems
Simulation and modeling
Computer software and hardware
Sensors and actuators
SAE MOBILUS
Subscribers can view annotate, and download all of SAE's content.
Learn More »