This content is not included in
your SAE MOBILUS subscription, or you are not logged in.
A Comprehensive Approach to Design of Embedded Real-Time Software for Controlling Mechanical Systems
Technical Paper
2007-01-3744
ISSN: 0148-7191, e-ISSN: 2688-3627
Annotation ability available
Sector:
Language:
English
Abstract
In this paper, we present a comprehensive approach to design of embedded real-time software for electrically controlled mechanical systems in automotive applications. As a case study, we implement a Gear change and Clutch controller for a Formula SAE car. This includes a generic communication interface and protocol for CAN bus communication, I/O interfaces for A/D conversion and PWM output, together with a PID controller for clutch actuation.
Under our framework, the embedded software is developed using Timber, a programming language and formalism that provides executable models for embedded real-time systems.
The case study shows how a complete control system can be straightforwardly modeled, simulated and transformed into executable code. The system has been realized and tested onto a lightweight, 8-bit AVR-5, embedded platform.
Compared to the raw C code design flow, the proposed framework has in our case study showed increased efficiency with respect to development time. We boldly conclude that our Timber based framework offers true “work with the work”.
Recommended Content
Technical Paper | Shift-time Limited Acceleration: Final Drive Ratios in Formula SAE |
Technical Paper | A Transmission Control System for Construction Machinery |
Technical Paper | A Practical Approach to Automatic Transmission Reliability |
Authors
Citation
Eriksson, J. and Lindgren, P., "A Comprehensive Approach to Design of Embedded Real-Time Software for Controlling Mechanical Systems," SAE Technical Paper 2007-01-3744, 2007, https://doi.org/10.4271/2007-01-3744.Also In
References
- Stensson A. Larsson T. “Industry demands on vehicle development - methods and tools” Vehicle System Dynamics Supplement 33 1999 202 213
- Schäuffele J. Zurawaka T. “Automotive Software Engineering - Principles, Processes, Methods, and Tools” SAE Publications Warrendale, PA 2005
- Müller-Glaser K. D. Frick G. “Multiparadigm Modeling in Embedded Systems Design” IEEE transaction on control systems technology 12 March 2004
- Amory A. Moraes F. Oliveira L. Calazans N. Hessel F. “A Heterogeneous and Distributed Co-Simulation Environment” Proceedings of the 15 th Symposium on Integrated Circuits and Systems Design 2002
- Eriksson J. Lindgren P. Deventer J. ”A Distributed Engine management system for formula SAE” SAE International Detroit 2007
- Eriksson J. “An Engine management system for Formula SAE” University of technology 2006
- Malmgren D. “Automotive electronics and their implementation in a race car” University of technology 2006
- Kolnick F. The QNX 4 Real-time Operating System Basis Computer Systems Inc. September 1998 0-921960-01-8
- Black A. Carlsson M. Jones M. Kieburtz R. Nordlander J. “Timber: A programming language for real-time embedded systems.” Technical Report CSE-02-002 Dept. of Computer Science & Engineering, Oregon Health & Science University April 2002
- Lindgren P. Nordlander J. Eriksson J. “Robust Real-Time Applications in Timber” Sixth IEEE International Conference on Electro, Information Tech EIT 2006
- “the Timber Developer Wiki” http://hackage.haskell.org/trac/timber/wiki
- freeRTOS http://www.freertos.org/
- Contiki http://www.sics.se/contiki/
- TinyOS http://www.tinyos.net/
- AmbientRT http://www.ambient-systems.net/ambient/technology-rtos.htm
- Baker T. P. “A Stack-Based Resource Allocation Policy for Realtime Processes” IEEE Real-Time Systems Symposium 191 200 1990
- Liu Y. A. Gomez G. “Automatic Accurate Cost-Bound Analysis for High-Level Languages” IEEE Transactions on Computers 2001
- Kero M. Nordlander J. Lindgren P. “A Correct and Useful Incremental Copying Garbage Collector” The 2007 Internatinal Symposium On Memory Management
- Eriksson J. Nybacka M. Larsson T. Lindgren P. “Using Multi-body Simulation to design reliable embedded software - Evaluation and discussion of work method” Accedpted to 14th Asia Pacific Automotive Engineering Conference (APAC-14)
- Tripakis S. Sofronis C. Caspi P. Curic A. “Translating Discrete-Time Simulink to Lustre” ACM Transactions on Embedded Computing Systems 4 4 November 2005 779 818