Top Banner
Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement
35

DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

Mar 21, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

Pierre Lionne,

SC-205 / WG-71 SG-4 Co-Chairman

1 Nov. 2011

DO-178C / ED-12C

Model Based Supplement

Page 2: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Summary

• Introduction

• Foundations Concepts

• Highlights

• Conclusion

Page 3: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Introduction

Page 4: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Introduction

DO-178B

ED-94B

Issues

DO-178C

ED-94C

Supplement X

Supplement Y

TOR

Page 5: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Introduction

SC 205WG 71

Document Integration

Issues & Rationale

Tools

Model Based Development & Verification

Object Oriented

Formal Methods

CNS/ATM & Safety

SG 1

SG 2

SG 3

SG 4

SG 5

SG 6

SG 7

Page 6: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Foundation Concepts

Page 7: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Foundation Concepts

• Models to express requirements

• Scope of supplement

• Modeling Technique

• Model “Parent” Requirements

• Simulation

Page 8: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Concept #1

• Model is an acceptable means to express

completely software requirements or

architecture

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Req_001: The XX module shall

Wait 10ms before entering

in blabl state

Req_002: The XX module ….

Derived Req_003: …

Page 9: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Concept #2

• The supplement applies to any model that is

used to define software artifacts whatever

the process that produced it

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Page 10: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Concept #3

• Modeling Technique =– A Modeling Language

AND– A manner of using this language

• Modeling Technique has to be suitable to the type and tothe level of abstraction of the information to be expressed

• Modeling Technique have to be described in ModelStandards

Page 11: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Concept #4

• Model should be developed from a complete

set of requirements and constraints external

to it

Model Parent

Requirements

Page 12: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Concept #5

• Simulation: appropriate means to support

model verification

Model Parent

Requirements

Page 13: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Concept #6

• Simulation may be used to support the

testing effort

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Model Parent

Requirements

Executable Object Code

Page 14: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Highlights

Page 15: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Highlights

• System / Software

• Planning Process

• Development Process

• Verification Process

• Tools

Page 16: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

System / Software

• Interfaces between System and Software

processes updated to address the case

where system team produces a software

model

Page 17: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Planning Process

• Introduction of Model Standards

– Syntax & Semantic of the language

– Constraint on complexity

– Means to identify Requirements

– Derived requirements identification

– Means to establish traceability

– …

Page 18: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Development Process

• Same guidance apply for requirements

expressed in a model

• Model elements which do not represent

requirements should be identified

Page 19: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Guidance from DO-178C / ED-12C

Core Document remains applicable

Page 20: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Simulation & model verification:

• New means => New artifacts:– Simulation Cases & Procedures

– Simulation Results

• Simulation Cases based on

Model Parent Requirements

Page 21: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Model Parent

Requirements

Simulation Results

Simulation Procedures

Simulation Cases

Development

Verification

Page 22: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Test:

• Same guidance than in DO-178B / ED-12B:

– Compliance & Robustness with LLR

– Compliance & Robustness with HLR

Page 23: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

High Level

Requirements

Low Level

Requirements

Executable Object Code

Test (classical)

Page 24: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Verification Process

Test (example #1)

Low Level

Requirements

Executable Object Code

Model = HLR

Page 25: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

High Level

Requirements

Executable Object Code

Test (example #2)

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Model = LLR

Page 26: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Executable Object Code

Test (example #3)

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Model = HLR + LLR

Page 27: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Model Parent

Requirements

Executable Object Code

Test (example 3)

Model = HLR + LLR

Page 28: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Test (example 3)

When model express both LLR and HLR, it is

required to show:

– Compliance & Robustness of EOC with Model

– Compliance & Robustness of EOC with Model Parent Requirements

(whatever the process that produced it)

Page 29: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Model Coverage Analysis: Detect unintended

functions in a model

Model Parents

Requirements

Unintended function

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Executable

Page 30: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Verification Process

Simulation & Test:

• Some testing objectives can be achieved

by a combination of simulation and other

traditional means.

• HW/SW Integration test objectives cannot

be achieved by simulation.

Page 31: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Tools

Model Parent

Requirements

Source Code

Executable Object

Code

Model

Standards

WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Code Verification & Validation

Code Coverage

Code Verification & Validation

Code Coverage

Code ConformanceCode Inspector

Test Model Coverage

Trace Tool

Trace Tool

Model Conformance

Page 32: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Conclusion

Page 33: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Highlights

Model Parent

Requirements

Source Code

Executable Object

Code

Model

Standards

Concept #3 WHC_DFS_38/39

Status

1

reset counter

if { }Conf Status

Counter

raise confirmation flag

else { }

Conf Status

increment counter

elseif { }

counter_N_1

Counter

Conf StatusUnit Delay

1/z

Relational

Operator

>

Merge Status

Merge

Merge Counter

MergeIf

u1

u2

if(u1 == 0)

elseif(u2 == 1)

else

Goto

[counter]

From

[counter]

nb_ticks

2

enable

1

action

uint16

boolean

uint16

uint16

boolean

uint16

boolean

boolean

boolean

booleanaction

uint16

uint16action

Concept #1 #2

Concept #4

Concept #5

Concept #6

Page 34: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

Conclusion

• In the continuity of existing rules

• Consistent with current practices

• Try to anticipate future trends

Page 35: DO-178C / ED-12C Model Based Supplement - MathWorks · Pierre Lionne, SC-205 / WG-71 SG-4 Co-Chairman 1 Nov. 2011 DO-178C / ED-12C Model Based Supplement

© 2010 APSYS - All rights reserved

The reproduction, distribution and utilization of this document as well as

the communication of its contents to others without express authorization

is prohibited. Offenders will be held liable for the payment of damages.

All rights reserved in the event of the grant of a patent, utility model or design.

Thank you for your attention!

35

Title

Date