Mixed Criticality Systems – view from the industry side
MAXI M Cristia n Airb us Ope ra tio ns S.A.S Da g stuhl Se mina r - 27/ 03/ 2017
Mixed Criticality Systems view from the industry side MAXI M - - PowerPoint PPT Presentation
Mixed Criticality Systems view from the industry side MAXI M Cristia n Airb us Ope ra tio ns S.A.S Da g stuhl Se mina r - 27/ 03/ 2017 Criticality (notions) itic ality is a de sig na tio n o f the le ve l o f a ssura nc e Cr a g
MAXI M Cristia n Airb us Ope ra tio ns S.A.S Da g stuhl Se mina r - 27/ 03/ 2017
itic ality is a de sig na tio n o f the le ve l o f a ssura nc e
a g a inst fa ilure ne e de d fo r a syste m c o mpo ne nt.
– Sa fe ty inte g rity le ve l
– De sig n Assura nc e L
e ve l
a nd ha za rd a na lysis (ARP4761)
ve r ific ation and validation pr
Level Failure condition Objectives With independence Failure Rate A Catastrophic 71 (66) 33 (25) 10-9/h B Hazardous 69 (65) 21 (14) 10-7/h C Major 62 (57) 8 (2) 10-5/h D Minor 26 (28) 5 (0) 10-3/h E No Safety Effect 0 (0) 0 (0) n/a
5 10 15 20 25 30 35 40 45 Planning Dev. Verif. CM QA Cert. DAL A DAL B DAL C DAL D
Sa fe ty- Critic a l L e ve ls C&D
imple me nta tio n
a na lysis
ne two rks
e le me try
Sa fe ty- Critic a l L e ve ls A&B
ly-b y-wire c o ntro ls
nfo rma tio n Displa y
ng ine Co ntro l
F F (frie nd o r fo e )
Vestal Industry
Criticality applies to a task The criticality is given to a function (a system-level property) Multiple WCET values for higher criticality tasks One WCET value is given for certification Better CPU usage is obtained through the existence of CLO Difficulty in implementation of a scheduling tasks having different WCETs (partition allocation) Failure in timing assumption of high criticality tasks result in dropping lower criticality tasks Spatial isolation doesn’t allow failures in a function to affect any other function Criticality mode change in the case of time violations Functions are given a certain criticality according to its SIL and any change of its criticality is subject to a new certification procedure
titioning fo r (sa fe ty) a ssura nc e vs. shar ing fo r
e ffic ie nt re so urc e usa g e
nte g ra te d Mo dula r Avio nic s
a ult isola tion: a fa ult in a n a pplic a tio n must no t pro pa g a te to o the r
a pplic a tio ns. Any fa ult must b e ha ndle d e ithe r b y the fa iling a pplic a tio n itse lf o r b y the syste m.
me mo ry a ddre ss spa c e s. T he syste m must c o ntro l tha t a pplic a tio ns c a nno t a c c e ss a ny me mo ry a re a s tha t ha ve no t b e e n spe c ific a lly a llo c a te d to the m.
e mpora l isola tion: the re a l-time b e ha vio r o f a n a pplic a tio n must b e
c o rre c t inde pe nde ntly o f the e xe c utio n o f o the r a pplic a tio ns. T he a llo c a tio n o f the syste m re so urc e s to a n a pplic a tio n is no t influe nc e d b y
Splitting up of avionics functions into applications then integrated on shared IMA resources
FW FCDC
Avionics Functions
WBBC
IMA Avionics Conventional Avionics
FWS
(Flight Warning)
FCDC
(Flight Computer Data Concentrator)
WBBC
(Weight and Balance Backup Computer)
re spo nsib le fo r the de ve lo pme nt o f o ne o r se ve ra l func tio ns pro vide s a c o mpute r
his me a ns tha t e a c h supplie r pe rfo rms the fo llo wing de ve lo pme nts:
nputs/ Outputs c a rds
mple me nta tio n o f se ve ra l func tio ns sha ring the c o mpute r re so urc e s
nput/ Output c a pa c ity
a vio nic s a pplic a tio ns
: SPAT I AL (Me mo ry) pa rtitio ning
ime : T E MPORAL pa rtitio ning
/ Os : Co mmunic a tio n b use s pa rtitio ning
a ult c o nta inme nt
nc re me nta l De ve lo pme nt
nc re me nta l Ve rific a tio n a nd Ce rtific a tio n
so ftwa re o f multiple c ritic a lity le ve ls
nsure s re stric te d a c c e sse s to me mo ry a re a s
imple me nte d in
BAT s )
Pro te c tio n Re g iste rs )
he te mpo ra l pa rtitio ning is e nsure d b y a me c ha nism na me d SL I CE R
sta tic c o nfig ura tio n file s
a ssig ne d time pe rio ds o f pa rtitio ns
) o f fixe d dura tio n is pe rio dic a lly re pe a te d
a c h pa rtitio n is a c tiva te d a t le a st o nc e pe r MAF
: multiple o f a ll the pa rtitio n pe rio ds
MAF MAF
P1 : Partition 1 P2 : Partition 2 P3 : Partition 3 P1 P1 P1 period P2 period P2 P2 P3 P1 P1 P2 P2 P3 P3 period
is c ompose d of one or se ve r al Mino r F
ra me s (MI F s)
F s dura tio n : fixe d b ut c o nfig ura b le a nd pe rio dic a lly re pe a te d
tition T ime Window : 0, 1 o r se ve ra l CPU time slic e s within a MI
F
MAF = n * MIF
e xe c ute s c onc ur
r e ntly with o the r pro c e sse s o f the sa me
pa rtitio n
q uiva le nt o f a syste m’ s ta sk
NORMAL mo de
a c h pro c e ss ha s a prio rity le ve l, pro c e sse s c a n sha re the sa me prio rity le ve l
he pro c e ss in the re a dy sta te with the hig he st c urre nt prio rity is a lwa ys e xe c uting while the pa rtitio n is a c tive
pe rio d it b e lo ng s to
pa rtitio n
me c ha nism
a c c o rding to the pre e mptio n le ve l o f the pa rtitio n
window (slice), it is guaranteed to be the first to execute when the partition is resumed ( if not preempted by another higher priority process ).
ime c a pa c ity = time g ive n to a pro c e ss to me e t its pro c e ssing re q uire me nts
NORMAL _MODE
PL E NISH_APE RI ODI C c a ll
(inside o r o utside the pa rtitio n windo w)
pa rtitio n
pa rtitio n
MA
AL
MC²
URO-MI L S