Vous êtes sur la page 1sur 5

MKROPPdXESORS AND

MICROSYSTEMS
ELSEVIER Microprocessors and Microsystems 20 (1997) 479-483

ARINC 653 - Achieving software re-use


A. Cook”, K.J.R. Huntb
aFormerIy with British Aerospace Airbus Ltd. Airframe Avionics, 867-02. Cl New Technical Centre. PO Box 77, Filion. Bristol, Avon, 8599 7AR, UK
‘British Aerospace Airbus Ltd, Airframe Avionics, 867-02, Cl New Technical Centre, PO Box 77, F&on. Bristol, Avon, B599 7AR, UK

Abstract

A key goal of the ARINC 653 (APEX) specification is the achievement of software re-use through provision of a standard
operating environment for applications software. Reuse of software can be achieved in two ways: (i) by re-using operating systems,
which provide common functions across the application spectrum, eg. health monitoring, process management, communications
mechanisms; and (ii) by re-using the applications software which provides avionics applications functions. By provision of a stan-
dardised interface between applications and operating system, ARINC 653 facilitates both forms of re-use.
Operating systems are by nature tightly coupled to the underlying hardware platform, re-use of operating systems is therefore
limited to modules employing the same hardware unless a new standard such as COEX (Core Executive Interface) can be tightly
defined.
Applications software is often dependent on the actual aircraft implementation. Direct re-use of applications will not always be
possible; however, by use of ARINC 653, it will be possible to re-use individual partitions of an application in other applications.
ARINC 653 is language-dependent
and within languagessuch asAda there is scopefor functionally identical implementations
which are syntactically different. Unless definitive language implementations of ARINC 653 are adhered to, language issues will
becomea major hurdle to re-use.
A large cost of avionics development (particularly software) is the cost of certification. Currently, avionics functions are certified at
the ‘system’level. In order to maximisethe benefits of software re-use, means must be found to claim credit for previously-developed
softwarecomponentsof a system.EUROCAE WG48 and RTCA SC182arecurrently investigatingthis issuein their definition of an
Avionics Computing Resource.It is hopedthat thesegroups,working in co-operationwith ARINC 653,will provide the meansto
achievethe benefitsof re-use.

Keywords: Software m-use; Integrated Modular Electronics; ARINC 653

1. Introduction This paper discussesthe issuesof software re-use and


describes the means of achieving the cost benefits of
A key goal of Integrated Modular Avionics (IMA) is re-use through the ARINC 653 interface. The objectives
achievement of cost benefits through the re-use of com- of the EUROCAE WG-48 and RTCA SC- 182, which are
ponents. Software re-use will be facilitated through the defining a Minimum Operational Performance Standard
Application Executive interface (APEX) defined in the (MOPS) for an Avionics Computing Resource (ACR),
ARINC 653 [l] working paper. are also described. The impact of the ACR MOPS, in
Compliance with the APEX interface will allow soft- conjunction with ARINC 653, on the certification of
ware to be used on another platform without changes to re-usable software is discussed.
the source code. However, the maximum benefits of soft-
ware re-use will not be obtained unless the software is
written in a modular manner in responseto a functional,
rather than aircraft application specific, set of require- 2. Why r-e-usesoftware?
ments. This re-use of software will enable development
and through-life cost benefits to be achieved when Currently, the procurement of avionics software is
compared to the incremental design approach often very expensive. In an avionics system, software often
used when migrating designsbetween aircraft variants. accounts for a high percentage of the development
0141-9331/97/$17.00 c 1997 Published by Elsevier Science B.V.
PII s0141-9331(97)01113-1
480 A. Cook, K.J.R. Hunt/Microprocessors and Microsystems 20 (1997) 479-483

cost, particularly if industry standard hardware modules to an open standard allowing manufacturers to produce
are used. A large proportion of this development cost is equipment which is decoupled from an actual imple-
incurred in meeting certification requirements in mentation. These components are configured into an
particular complying with the verification and validation architecture which meets the availability and integrity
pro-cesses. While safety and certification requirements requirements of the aircraft functions to be implemented.
must remain paramount there is obvious potential for
cost benefit if software can be re-used in new imple-
mentations and credit taken for previous certification
effort. 5. IMA software and ARINC 653
Re-use of applications is appropriate in the following
circumstances: Within IMA, applications software will provide each
system’s functionality. The applications software runs
i) the application is to be implemented in a different under the control of an executive, with one or more
airframe type, but where the software requirements applications running on a core processing module. The
are unchanged. executive provides a set of system services to the appli-
ii) although the software requirements have not changed, cations, eg. memory allocation, process management,
it is thought beneficial to upgrade or modify the communications services and health monitoring, thus
hardware platform. decoupling the applications from the hardware environ-
iii) new options or functions are identified for existing
ment. Using an executive enables applications to become
software. Additional software can be added while the
relocatable across core modules. However, re-use of
remainder is re-used.
applications across dissimilar executives will only be
achieved if the interface, through which the executive
services are accessed, is the same for all possible execu-
3. Current barriers to cost effective re-use of software tives. This requirement is the main driver for the ARINC
653 working paper ‘Avionics Applications Software
Presently, avionics software is procured by the air- Standard Interface’. ARINC 653 defines the Application
frame manufacturer as part of a system providing an Executive (APEX) interface. A set of services required
aircraft function. The computing platform is purpose by an avionics executive are described and a set of pro-
built to an architecture which meets the availability cedure declarations by which they are accessed are
and integrity requirements of the aircraft function. Hard- defined, these declarations being the APEX interface.
ware and software are thus tightly coupled, both to each By the nature of the services they provide, executives
other and to the actual aircraft implementation. Any are tightly coupled to the underlying architecture of the
changes to the aircraft functionality will require changes hardware.
to the existing software code. The full verification and The executive itself is a re-usable component of soft-
validation process must therefore be repeated to ensure ware, providing functionality which would otherwise be
that the changes do not prevent existing software from a requirement of the application software. However,
meeting its requirements. Similarly the re-use of an entire because of the coupling to hardware, executives are not
application in a new airframe type is often not possible. easily portable across different platforms. To enable the
Components of software from previous implementations re-use of executives across different platforms, a further
may be re-used in new implementations. Such com- interface known as the Core Executive (COEX) inter-
ponents must execute in conjunction with components face is described in ARINC 651 [2], which is a logical
which have been specifically developed for the new interface between an executive and the underlying
implementation, and all software components of the hardware. As yet, no ARINC working group has been
new implementation are therefore subject to the com- set up to define the COEX. Currently, it is expected that
plete verification and validation process. the executive will be supplied as an integral part of
Cost effective re-use will only be achievable when com- the core module which, itself, will be the re-usable
ponents of software can be added to a system, with the component.
assurance that the new components do not affect the
integrity of existing software.
6. Partitioning for safety

4. Achieving re-use with integrated modular avionics From the discussion in the previous paragraph it can
be seen that ARINC 653 is the key standard for facilitat-
IMA, as described in ARINC 651 [2], proposes an ing re-use of avionics applications software in IMA.
approach to avionics design which places emphasis ARINC 653 provides a common logical environment
firmly on component re-use. IMA components conform for applications software, allowing software to be ported
A. Cook, K.J.R. Hunt/Microprocessors and Microsystems 20 (1997) 479-483 481

from one platform to another. However, from earlier processes must therefore be allocated timeslices within
discussion, it is clear that to maximise the cost-benefits the partition execution cycle; if the aperiodic event
of re-use, it is necessary to reduce the verification and does not occur, processing will not take place within
validation effort required when software is re-used. the allocated timeslice. Similarly, a partition’s software
ARINC 653 addresses this issue through the concept of may occasionally complete its execution before the end
partitioning. Applications software executes within a of the partition timeslice, in which case all processing is
number of partitions, each of which is isolated in time suspended until the end of the timeslice. Nothing can be
and space from other partitions. The software within a done to recover the under-utilised processor time, as the
particular partition can only address a pre-allocated area partitions must execute with fixed periodicity.
of memory, and can only execute within pre-determined
timeslices.
The partitioning mechanism ensures that software 7. Challenges of the IMA approach
errors in one partition do not propagate into other par-
titions. There are three main advantages for re-use, A major disadvantage of the IMA approach is the
gained by implementation of the partitioning mechan- level of work required by the system integrator. The sys-
ism; software of different DO- 178B [3] levels can execute tem integrator must determine how applications will be
on the same module, malfunction of software in one partitioned in terms of functionality and predict the
partition cannot affect execution of software in other memory and time requirements of each partition. The
partitions, new software can be added to or removed integrator is responsible for allocating functions to
from a partition without affecting the execution of soft- modules and defining the partition execution cycle for
ware in other partitions. each module. The definition of the time schedule is a
By employing the partitioning mechanism appli- task whose complexity is likely to rise exponentially
cations can be partitioned into loosely coupled com- with the number of partitions to be configured onto a
ponents. Where it can be shown that failure of a core module. It is unlikely that a schedule of even
particular component does not adversely affect the moderate complexity can be determined manually and
critical functions of the application, the component’s therefore the assistance of sophisticated software tools
software can be assigned a lower DO-178B [3] level, will be required. Because of the relocatable nature of
something that obviously has advantages both during applications, any particular partition may need to pass
initial design and when the component is re-used. Modi- messages to partitions located either on the same
fied software can be added to partitions while re-using module, on a different module in the same cabinet or
software in other partitions without repeating the verifi- outside the host cabinet. The integrator is responsible
cation and validation process. As long as it is demon- for ensuring that the communications paths are set up
strated that software can be located in a partition, for each partition, by generating configuration tables for
meeting its time and space requirements, software can each module which provide routing information for all
therefore also be ported to a different module without messages sent and received by each partition resident on
repeating the verification and validation processes. the module. The generation of configuration tables is
Partitioning, however, is only a means of ensuring that another high-complexity task which will require sophis-
errors do not propagate between components. Partition- ticated tools to assist successful implementation.
ing cannot guarantee that common mode or combina- The successful achievement of IMA objectives is
tional failures cannot occur, nor does it provide a means highly dependent on being able to control the complexity
of fault recovery. For example, if two partitions each of implementations and the development of tools which
contain software performing a function whose individual can alleviate the work load of the system integrator.
loss is major but whose combined loss is catastrophic,
and they execute on the same module, then the processor
is a single point of failure which would lead to a cata- 8. Software re-use outside the IMA environment
strophic failure condition. The configuration of par-
titions onto core modules must therefore satisfy the The problems described in the previous paragraph are
normal safety assessments, assurance must be provided essentially caused by attempts to integrate aircraft func-
that functional availability and integrity requirements tions into a common system environment. Functional
are met, and that common mode failures are eliminated. integration is not, however, essential for achieving cost-
In order to implement the ARINC 653 partitioning effective re-use. The APEX interface is independent of
mechanism, the timing requirements of each application any physical implementation and is equally applicable
must be known, and a partition execution schedule to Line Replaceable Units (LRUs) and to IMA Line
derived for each module. The schedule must be periodic Replaceable Modules (LRMs).
to allow deterministic execution, although applications EUROCAE WG-48 and RTCA SC-l 82 were established
may need to respond to aperiodic events. Aperiodic to define a Minimum Operational Performance Standard
482 A. Cook, K.J.R. Hum/Microprocessors and Microsysiems 20 (19973 479-483

(MOPS) for an Avionics Computing Resource (ACR). September 1997. Subject to their approval of the MOPS,
The ACR will be a generic computing module which can the FAA has agreed to produce a Technical Standard
host unspecified applications software, and the MOPS Order based on the MOPS by September 1998.
will define a set of characteristics which will establish if
the ACR is capable of hosting a certain class of appli-
cation. An IMA core processing module may achieve
the classification of an ACT but an ACR is not neces- 10. Conclusions
sarily an IMA core processing module. EUROCAE
WG-48 has made the reduction of certification costs Software re-use is potentially of great benefit to the
when re-using applications software one of its primary avionics industry and the biggest benefit will be in the
objectives. This cost reduction will be achieved through area of certification. The benefit will only be achieved if
pre-qualification of the ACR, and an ACR developed to mechanisms can be established to enable the carrying
comply with the MOPS will be qualified to host certain over of previous verification and validation work, when
types of application software. It is anticipated that there software components are re-used.
will be a number of ACR classes. The ACR MOPS will To facilitate re-use, a move away from hardware and
describe a logical environment for the execution of appli- software which are both tightly coupled to specific func-
cations software, rather than focusing on the physical tions is required. Avionics computers should instead be
hardware characteristics. The ACR will therefore consist based on processing modules which feature an executive
of a processor and operating system with a standard allowing relocatable applications. IMA and the more
Applications Programming Interface (API); the recent ACR concept propose this type of solution.
APEX will hopefully be adopted as the API. The ARINC 653 describes the required functionality of an
ARINC 653 working group and RTCA SC-182 have Avionics Executive and defines the APEX interface
met to discuss common issues of ARINC 653 and the through which applications access the services. By devel-
ACR. The agreement and participation of the air- oping executives which comply to the APEX interface,
worthiness authorities is essential to the success of applications can be ported across modules. ARINC 653
the ACR MOPS. The concept of component pre- is a key standard for avionics software re-use.
qualification, for an unspecified application, is a radical One of the main features of ARINC 653 is the defini-
one. Precisely what credit can be taken when porting tion of partitioning. Partitioning ensures that the exe-
software from one ACR to another needs to be defined cution of software within a particular partition cannot
and agreed with the authorities. Currently, the FAA be adversely affected by software executing in another
actively participates in RTCA SC-182, and EUROCAE partition. The implementation of this concept enables
WG-48 has made the European Authorities aware of software of different criticalities to execute on the same
its objectives and intentions. processing module and to allow changes to software
within one partition while guaranteeing that other par-
titions are not affected. Partitioning is therefore a crucial
9. Timescales for applicable standards concept to enable certification credit to be taken when
re-using software.
ARINC 653 is approaching completion of Phase 1. ARINC 653 and the ACR MOPS provide a mech-
All the services have been defined and the service call anism for re-use of applications software, although the
procedures specified. However a final review meeting means of gaining certification credit is dependent on
will be held towards the end of 1995. The major topic a process of pre-qualification of components. Pre-
at this meeting will be to agree two appendices giving qualification is a radical concept for certification and
a definitive specification of the APEX in Ada and C. will only be achieved in co-operation with the certifica-
The appendices are necessary because although Sec- tion authorities.
tion 3.0 of ARINC 653 specifies the service calls as ARINC 653 is applicable both to IMA and future
a set of pseudo-code procedure declarations, there LRU implementations. Early adoption by industry will
remains a possibility of producing functionally identi- ensure that future avionics software will be upwardly
cal implementations which have syntactic differences. compatible with later IMA solutions, and the benefits
This could arise, for example, where Ada generic of successful re-use will be felt in the near term as well
packages are used. Syntactic differences would affect as the more distant future.
the portability of software across different APEX
implementations, and it is therefore proposed to
include comprehensive language definitions as gui- References
dance to developers,
RTCA SC-182 and EUROCAE WG-48 intend [I] Avionics applications software standard interface, ARINC Project
to complete the specification of the MOPS for ACR by Paper 653, Draft 13, June 1995.
A. Cook, K.J.R. Hunt/Microprocessors and Microsystems 20 (1997) 479-483 483

[2] Design guidelines for integrated modular avionics, ARINC Report


651, November 1991. Ken Hunt completed an MSc in Electronics System Design at Cran-
[3] Software considerations in airborne systemsand equipment certifi- field Institute of Technology in 1974, then took up a post at GEC’s
Central Research Laboratory at Wembley. During this time, he
cation, EUROCAE/RTCA DO-178B/ED12B, December 1992 i worked on commercial and military semiconductor- and phosphor-
based displays and infrared imaging systems. Moving to BAe
Dynamics in 1985, he took on responsibility for the electro-mechan-
Alan Cook graduated with a BSc (Eng) degree in Materials Science ical design and manufacturing of many of the companys defence
from Imperial College London in 1983. Having developed an interest products; latterly with responsibility for the EMC design, perfor-
in computing while at college. he decided to pursue a career in the mance and testing of avionic and shipborne equipments. During this
software industry, initially taking employment as a programmer with time, he worked on several modular avionic programmes, including
Ferranti Computer Systems Ltd in October 1983. He subsequently the Advanced Avionic Architecture and Packaging (A’P) study and
workedfor Plessey Avionics and GEC, his work areas were develop- chaired the ASSC (Avionic Systems Standardisation Committee)
ment of real-time systems and performance assessment models. He Packaging Working Group. Since transferring to the Airbus division in
joined British Aerospace Airbus in 1991 to work on the Control Tech- 1991, he has workedon avionic equipmentsfitted to aircraft rangingfrom
nology Programme, looking at the certt$cation and software aspects Concorde to the A330. Whilst in his present role as Manager, Systems
of integrated modular avionics. He has been a member of the ARINC Technology, he has been consortium manager for the Control Tech-
653 working group since 1993, and is currently secretary of EVRO- nology Programme Phase 2.
CAE WG48 (Avionics Computing Resource).

Vous aimerez peut-être aussi