Professional Documents
Culture Documents
JSTOR is a not-for-profit service that helps scholars, researchers, and students discover, use, and build upon a wide
range of content in a trusted digital archive. We use information technology and tools to increase productivity and
facilitate new forms of scholarship. For more information about JSTOR, please contact support@jstor.org.
Your use of the JSTOR archive indicates your acceptance of the Terms & Conditions of Use, available at
https://about.jstor.org/terms
SAE International is collaborating with JSTOR to digitize, preserve and extend access to SAE
Transactions
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
2006-01-0168
David Wybo
Elektrobit, Inc.
50
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
output messages were the same. So users of CAN a vehicle as complex as this was no longer possible
communications were also required to standardize the without standardized software. They also stated that the
software driver. use of standard software has already paid off in this first
car platform.
OSEK BASED STANDARD PLATFORMS
THE HIS I/O LIBRARY
It turned out that the integration of a CAN driver into
existing software was not always easy, because certain
Further standardization steps were taken when
timing demands had to be met (e.g. calling a routine DaimlerChrysler,
in a in addition to introducing OSEK
defined interval). In addition, it became clearconforming
that a modules into their software development,
certain communication policy would help to better also required standardized access to on-chip
exploit
the bandwidth of the CAN bus. Up to that point any peripherals.
ECU The result of this was the definition of th
that had something to send simply did so, which waslibrary, which was adopted by a number of oth
HIS I/O
acceptable when there were only a few participants manufacturers.
in For example, it became an important
the communications. But with the demand for more part of Volkswagen's Standard Software Core. For the
ECUs communicating over CAN, this approach was first time, the complete abstraction of the hardware
susceptible to wasting a large portion of the available
seemed possible, permitting truly portable applications
bandwidth on network collisions.
51
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
but using the same software for both customers would acquired. The details describing the source of all this
be the better solution, reducing cost and complexity, and information is configured into the RTE, which can thus
thereby gaining higher reliability. easily handle situations where the sources of information
change during development. This is the basis for being
AUTOSAR was initiated by manufacturers and suppliers, able to move functionality between ECUs in the in-car
the core members, in early 2003, and became public in network - one of the main long term goals of AUTOSAR.
the fall of 2003. Since then, various companies have
joined the initiative as either premium or development Currently, AUTOSAR specifications for release 1.0 have
members. The core and premium members co-operated been completed and the first implementations of single
in defining the standards, not only for single software AUTOSAR compliant modules, as well as a complete
modules, but also for the information required to set of components, are in progress. Initial versions have
configure these modules, as well as the framework already found their way to manufacturers and suppliers
necessary to integrate these modules into a software
in order to allow them to evaluate the implementation of
platform. The differences between AUTOSAR and the specifications. The intention of AUTOSAR release
OSEK can be likened to the comparison between 1.0 is to get feedback in order to mature the
Windows and MS-DOS: AUTOSAR incorporates OSEK,specifications. There are companies considering the use
but also provides solutions for problems OSEK was of these modules in production as well.
never intended to address.
In addition to defining standard software modules,
Almost all of the OSEK specifications have made their
AUTOSAR also specifies a complete workflow, ranging
way into AUTOSAR, including the operating system, the
from system definition and constraints to the final source
communication system and the network management. code API of the standard core modules. This workflow
Even some OSEK configuration formats are currently involves the different participants in automotive ECU and
included. The same is true for the concepts of the HIS
network development. This approach works with the
I/O library. They form the foundations for whatestablished working schemes between manufacturer
AUTOSAR calls the microcontroller abstraction layer
and supplier, but also opens the door for new scenarios
(MCAL). But AUTOSAR goes much further in that it alsosuch as the purchase of hardware and software
defines communication drivers for CAN, LIN and separately from different suppliers, or the integration of
FlexRay as well as dedicated MCU drivers, diagnostic software from several suppliers into a single ECU.
routines, and base services such as CRC.
AN IMPLEMENTER'S VIEW OF AUTOSAR
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
between all the software layers of a given package can well as to maintain, update and support them. Our
be reduced to a minimum. However, this requires experiences from the past suggest that users are
knowledge about the internals of the other modules, dissatisfied when each module comes with its own
which may not be possible if they are provided by configuration tool. It will be interesting to see the
competing vendors. The best optimization therefore, is concepts designed to improve the situation.
likely only to be achieved if the complete package
comes from one supplier source. The above only reflects the challenges for the develo
of the AUTOSAR basic software modules and
As mentioned previously, some parts of AUTOSAR are configuration tools, and does not even address t
direct successors of existing solutions, such as the complex attributes of AUTOSAR. More work is
AUTOSAR operating system. It is based on the to develop the tools for system design and c
successful OSEK operating system specification but
determination. These can be realized as either stand-
adds additional features. The most prominent ones arealone tools or solutions integrated with the configurati
tools.
time and memory monitoring, both of which facilitate the
integration of third party software into an application.
Using these services, it is possible to check whether aUSING AUTOSAR AND HOW TO GET THERE
single task or group of tasks consume too much
execution time or access memory areas they should not. What does working with AUTOSAR mean to the
Time monitoring is performed using time budgets which, developer of automotive ECUs? Let us first take a look
compared to traditional deadline monitoring techniques, at the final vision of software development from an
insure the cause of the problem, i.e. the task which ran AUTOSAR perspective. Following that, we will describe
out of time, can be determined. Memory monitoring, or to what extent this is already possible.
protection, guarantees that accesses from one task to
another task's memory can be detected. Memory THE AUTOSAR VISION
protection does require the availability of additional
hardware resources, namely an MMU. Both time AUTOSAR takes the OSEK philosophy of statically
monitoring and memory protection are configuration configuring the basic software one step further b
options. This allows the AUTOSAR OS to be used on extending this paradigm to a much larger share of
microcontrollers without an MMU, and also allows users software. It is no longer applies to only five modules
to scale the size of the operating system. in the case of OSEK, but to more than thirty. Using th
approach of static configuration is essential for
On the other hand, there are portions of AUTOSAR AUTOSAR because it is still the best approach for
which may sound familiar but that have been completely getting highly optimized code.
redefined. The new microcontroller abstraction layer, or
MCAL, only has its basic concept, but no implementation Fortunately, much of the configuration work will be done
details, in common with the HIS I/O library mentioned ahead of time, and will not be the responsibility of the
earlier. As another example, AUTOSAR COM adds applications developer. The AUTOSAR compliant
many new features to what is defined in OSEK COM. software manufacturer will provide the software
Finally, the AUTOSAR RTE is something that does not component descriptions and system constraints. Then
have any similar predecessor in OSEK, and needs to be the available ECUs will be defined in an ECU
developed from scratch. This provides a sense of how description. The next step is a mapping between the
much work is necessary to develop a software platform software component descriptions and the ECU
compliant to the AUTOSAR specifications. A complete descriptions. This will determine which functions will run
AUTOSAR implementation, including all defined on which ECUs. The resulting ECU configuration
modules, now competes in functionality with largerdescription can then be used to generate the separate
operating systems already available in the market. The ECU configuration files for the AUTOSAR modules.
development costs for the provider are also comparable
- and so the resulting products will have comparable Among the ECU configuration files, the configuration of
prices. the RTE is of special importance. Since the RTE
includes the API for all the software modules in
AUTOSAR CONFIGURATION
AUTOSAR, its configuration can influence the
configuration of all of the others. It contains information
As mentioned earlier, an AUTOSAR software supplier about data available over the network as well as locally.
must provide a configuration tool that is able to Whenever
handle this information changes, the RTE
the configuration of each of the software modules. Due
configuration file for any involved ECU will change. This
to the large number of software packages in AUTOSAR, will necessitate the propagation of these changes to
it is important that this tool support the complete other local modules like e.g. the CAN driver, which might
configuration of all modules as much as possible, while then need to be configured to receive different CAN
at the same time being easy to use. In principle it is frames.
possible to provide a collection of configuration tools, but
there are significant drawbacks to this approach. It is What the applications developer will need to do in the
difficult to achieve consistency across multiple tools, as way of configuration is primarily to make very specific
53
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
application dependent decisions such as which PWM than will be possible in the future. It is agreed that for
channel to use for what purpose, and so on. The major quite a while it will be necessary to examine the
portion of general configuration assignments will already generated configuration files quite closely. In the future
have taken place when the developer begins their this will not be required, but anyone who starts with
implementation effort. AUTOSAR today will have the knowledge to continue to
do this if desired.
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
some time; time which is better spent making small and for that reason are not included in the first
steps towards a complete solution rather that attempting implementation. This is true for the RTE as well fo
to make the leap all at once. AUTOSAR workflow previously described. How
even this software will soon be completed with the
FIRST EXPERIENCES availability of the first implementations based on
AUTOSAR release 2.0 later this year.
IMPLEMENTING AUTOSAR
CONCLUSION
The task of developing an AUTOSAR based standard
core is a big challenge that requires a large number of AUTOSAR is a giant leap in standard software
developers with excellent skills. Only a few companies platforms, but it is not necessarily a leap that must be
will be able to provide such a solution. Previous made all at once. Depending on the users' targets even
experiences with similar projects seem to be a must in today starting with an OSEK based platform is an option
order to be successful. There are not many projects in worth consideration. As was the case when OSEK was
the automotive embedded software area that have had first introduced, the important first step is not simply to
comparable size. use the software, but more importantly, to understan
the philosophy behind it. This is especially true with th
AUTOSAR philosophy as it will likely significantly
The crucial part is that it is not a static piece of software
that is being developed but a collection of various change the workflow behind vehicle software
modules that can each take many forms, depending on development
the configuration. Thus, testing is a major portion of the
effort. With the intended wide-spread use of AUTOSAR, The user will have to think in communicating entities
high quality software is even more important an issue instead of tasks or even time slices. For example, the
than in the past. Defects in the implementation could operating system will be invisible to the application and
affect not only one single car model or brand but various must be accessed via the RTE. The same is true for
manufacturers using the same component. Testing drivers and all the software layers below the RTE. Th
tools, therefore, will also need to be developed, and will, may be unusual at first but will turn out to match
themselves, require a significant effort. Successful perfectly with well-known object-oriented software
experience with projects on a similar scale provides the concepts.
knowledge to handle these challenges.
Even so, familiarity with an operating system like OSEK
However, first results are available and getting to usable will be very beneficial for anyone working with
results in a reasonable time is possible if a company is AUTOSAR. This is especially true for early AUTOSAR
willing to take an early start. These early adopters will in adopters, as the user still has to directly work with the
particular help to stabilize the existing software - and operating system. Even with the availability of a final
they will be the first to benefit from this improved quality. AUTOSAR implementation, a better understanding of
what is going on beneath the AUTOSAR RTE and how
USING AUTOSAR the complete software package functions, will be
valuable knowledge. This is why the implementation of
Customers are now evaluating AUTOSAR an AUTOSAR application by first gaining experience
implementations and the first reactions are quite with OSEK is the recommended approach.
surprising. Far fewer problems have appeared than
might be expected from a software project of this size. On the one hand AUTOSAR may seem scary due to its
The similarity of the current solutions to existing software pure size and complexity. On the other hand AUTOSAR
platforms may have helped. will take reliability to new dimensions if it becomes the
standard it was designed to be. It will hopefully result in
A majority of the questions have had to do with the new the adoption of software standards by all OEMs and
concepts within AUTOSAR, like MCAL, while the use of suppliers, and will streamline the software development
the operating system seemed to work without problems, process for in-vehicle applications.
most likely because of its similarity to OSEK.
REFERENCES
Another key issue is the use of tools that provide a well-
known look-and-feel. It is extremely helpful if the user is 1. H. Heinecke, K.-P. Schnelle e.a. AUTOMOTIVE
familiar with the basic concepts of the configuration tool. OPEN SYSTEM ARCHITECTURE, Proceedings of
One possible way to achieve this is the extension of the 2004 international congress on transportation
existing tools for e.g. the configuration of OSEK electronics, 2004, Detroit, Ml, p. 325-332
operating systems to other modules. Doing so has 2. Jochen Schoof, Towards portable embedded
proven to improve the users' acceptance significantly. automotive applications, Embedded Control
Europe, November 2002, ICC Media 2002, S. 38-40
What can not yet be judged, of course, are those parts
of AUTOSAR that have not been completely specified
55
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms
CONTACT ECU: Electronic Control Unit
56
This content downloaded from 147.233.250.200 on Tue, 23 Aug 2022 20:24:46 UTC
All use subject to https://about.jstor.org/terms