Embedded Steer-by-Wire System Development
Embedded Steer-by-Wire System Development
Embedded Steer-by-Wire System Development
Abstract
Model-based design enables the automatic
generation of final-build software from models
for high-volume automotive embedded
systems. A software engineering framework
is needed to support this.
Process
Model-based design supports the needs of
controls/DSP systems engineers and software
developers by providing a common
environment for graphical specification and
analysis. In this process, models are made
and used to specify system data, interfaces,
feedback control logic, discrete/state logic,
and real-time behavior.
System
Requirements
HW/SW
Integration
V&V
SCM
RT
Doc
SW
Requirements
- High Level
- Derived
SW Design:
- Architecture
- Low Level
- Derived
Final SW
Integration
Low Level
SW
Integration
Code
Generation:
- Source
- Object
f()
do_gs
1
gs_theta_err
T(z+1)
-K-
2(z-1)
Integrator
1
Elevator CMD
Integral Gain
1/1000
-K2
gs_dist
|u|
Proportional Gain
SOC
Calculator
System
Conditioning
Battery Voltage
Measurement
Load
Reduction
Fan Power
Reduction
Generator
Control Voltage
Regulation
1. Behavioral Modeling
Models are used for specifying requirements
and design for all aspects of individual
subsystems (e.g., steer-by-wire).
A typical system includes:
Inputs (e.g., steering wheel sensors)
Controller or DSP model
Plant model (DC motor, rack and
pinion, wheels )
Outputs (change of direction)
In Figures 2 and 3, a system model can be
created to represent the desired behavior
using control system block diagrams for
3
ECU
FlexRay
ECU
ECU
ECU
ECU
ECU
ECU
Figure 4B: Steer-by-wire system with faulttolerant redundant bus system (FlexRay)
Rapid Prototyping
Due to inaccurate plant models and
insufficient processing power required to get a
working solution on production silicon,
modeling alone does not provide the total
solution.
To overcome these shortcomings, rapid
prototyping is highly useful because it
replaces the plant model with the physical
plant. In the steer-by-wire example the plant
might be a car, and in that case, an actual car
is used. However, because the system is not
yet built, a real-time or embedded platform
ECU
ECU
ECU
ECU
ECU
ECU
ECU
ECU
References
[1] www.mathworks.com
[2] www.ieee.org
[3] B. Aldrich, Using model coverage analysis
to improve the controls development
process, AIAA 2002
[4] "Software considerations in airborne
systems and equipment certification,"
RTCA/DO-178B, RTCA Inc., Dec. 1992
[5] Dr. Michael von der Beeck, ARTIST
Industrial Seminar, Paris, 23.4.2002
http://www.artistembedded.org/PastEvents/Kickoffs/BMW.pdf
[6] www.decomsys.com
[7] Paul Yih, Jihan Ryu, J. Christian Gerdes,
Modification of Vehicle Handling
Characteristics via Steer-by-Wire, Dept. of
Mechanical Engineering, Stanford University
Integral Components
Most software standards require traceability of
requirements, perhaps originating in other
requirements tools, throughout development.
Also, software configuration management
(SCM) is needed to store, version, and
retrieve the various development artifacts.
Documentation via report generators ensures
management, customers and suppliers will
see the model. The SCM interface is shown
below in figure 10.
Authors
[1] Joachim Langenwalter
European Automotive Marketing Manager
[email protected]
[2] Tom Erkkinen
Embedded Applications Manager
[email protected]
-- # # # --
Conclusion
Major software evolutions occur when the full
software engineering process activities are
supported. Improving bits and pieces alone is
insufficient. This paper described a full
software engineering framework for modelbased design and production code
generation. Specific methods and tools were
shown to illustrate that this is not just theory,
but rather it is both practical and available.
Each topic presented easily contains enough
content for a separate paper or book.
Readers who wish to learn more or care to
exchange ideas regarding additional methods
and use cases are encouraged to contact the
authors.