17
Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University [email protected] 02.26.2014 1

Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University [email protected]

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Safety  Argument  based  on  GSN  for  Automotive  Control  Systems

Yutaka  MatsubaraNagoya  [email protected]

1

Page 2: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Agenda

1.  Safety  argument  in  ISO262622.  Requirements  related  to  safety  argument3.  Goal  Structuring  Notation(GSN)4.  Examples  of  GSN5.  Discussion6.  Conclusion

2

Page 3: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Safety  argument  in  ISO  26262

Product  argument•  A  safety  argument  that  argues  safety  based  directly  on  the  features  of  the  item  implemented.  

Process  argument•  A  safety  argument  that  argues  safety  based  on  the  features  of  the  development  and  assessment  process.

We  focused  on  product  argument  for  safety  of  an  Electric  Power  Steering(EPS)  control  system.  

3

Page 4: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

EPS  control  system

Main  functions•  EPS  uses  an  electric  motor  to  assist  the  driver  of  a  vehicle.

•  Sensors  detect  the  position  and  torque  of  the  steering  column,  and  an  ECU  applies  assistive  torque  via  the  motor.  •  This  allows  varying  amounts  of  assistance  to  be  applied  depending  on  driving  conditions.

4

http://www.ni.com/white-‐‑‒paper/4204/en/Notice:  This  diagram  is  not  related  to  real  products.

Our  activities•  Hazard  analysis  and  risk  assessment•  Specifying  safety  goals,  functional  safety  requirements(FSRs),  and  technical  safety  requirements(TSRs).

•  Verification  and  Validation  of  FSRs  and  TSRs

Page 5: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Requirements  related  to  safety  argument

Management  of  Safety  Requirements•  Objectives  are  to  ensure

•  the  correct  specification  of  safety  requirements  with  respect  to  their  attributes  and  characteristics,  and

•  consistent  management  of  safety  requirements  during  the  safety  lifecycle.  

•  To  achieve  the  above  objectives,  requirements    of  management  of  safety  requirements  are  listed  in  part.8  sec.  6.

5

ISO 26262-10:2012(E)

© ISO 2012 – All rights reserved 9

A possible manner to perform a functional safety assessment in the case of a distributed development is that

the vehicle manufacturer and the suppliers in the supply chain each address those aspects of the assessment

activities [see bullets a), b) and c) above] for which the respective party is responsible for, as follows:

⎯ a supplier reviews the safety measures implemented in the developed elements including their

appropriateness and effectiveness to comply with the corresponding safety goals or safety requirements

(provided by the customer or developed by the supplier), and evaluates its implemented processes and

the applicable work products. A supplier also evaluates the potential impacts of the developed elements

on the item's functional safety, e.g. identifies whether implemented safety measures can lead to new

hazards; and

⎯ the vehicle manufacturer evaluates the functional safety of the integrated item. A part of the evaluation

can be based on the work products or information provided by one or more suppliers, including reports of

the functional safety assessments performed at supplier's premises.

NOTE A customer can evaluate the safety measures implemented by a supplier and the work products made

available by a supplier. A customer can also evaluate the processes implemented by a supplier at the supplier's premises

(see ISO 26262-8:2011, 5.4.4.8)

5.3 Understanding of safety cases

5.3.1 Interpretation of safety cases

The purpose of a safety case is to provide a clear, comprehensive and defensible argument, supported by

evidence, that an item is free from unreasonable risk when operated in an intended context.

The guidance given here focuses on the scope of ISO 26262.

There are three principal elements of a safety case, namely:

⎯ the requirements;

⎯ the argument; and

⎯ the evidence, i.e. ISO 26262 work products.

The relationship between these three elements, in the context of ISO 26262, is depicted in Figure 6.

Figure 6 — Key elements of a safety case (see [2])

The safety argument communicates the relationship between the evidence and the objectives. The role of the

safety argument is often neglected. It is possible to present many pages of supporting evidence without clearly

explaining how this evidence relates to the safety objectives. Both the argument and the evidence are crucial

elements of the safety case and go hand-in-hand. An argument without supporting evidence is unfounded,

and therefore unconvincing. Evidence without an argument is unexplained, resulting in a lack of clarity as to

䈗↪⠪䇭᧻ේ䇭⼾㩷㩿ฬฎደᄢቇ㪀㪡㪪㪘㩷㪮㪼㪹㩷㪪㫋㫆㫉㪼㩷㫆㫉㪻㪼㫉㩷㪥㫆㪅㪐㪈㪉㪇㪈㪋㪉㪌㪈㩷㪆㩷㪛㫆㫎㫅㫃㫆㪸㪻㪼㪻㪑㪉㪇㪈㪉㪄㪇㪏㪄㪉㪏䇸䊡䊷䉱䊷䊤䉟䉶䊮䉴ᄾ⚂䇹䈮ᓥ䈦䈩䈗↪䈒䈣䈘䈇䇯

Safety  Case•  The  purpose  of  a  safety  case  is  to  provide  a  clear,  comprehensive  and  defensible  argument,  supported  by  evidence  to  guarantee  safety  of  an  item.

•  A  safety  case  for  ASIL  (A),  B,  C  or  D  should  be  generated  as  a  work  product  during  the  safety  lifecycle  (part.2-‐‑‒6.4.6).

Page 6: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Structure  of  safety  requirement

6

Hazard  analysis  and  risk  assessment

Specification  of  safety  goals

Specification  of  FSRs

Specification  of  TSRs

Specification  of  hardware  safety  requirements

Specification  of  software  safety  requirements

Concept  phaseProduct  developm

ent

All  safety  requirements  should  be  appropriately  described  and  managed.

We  used  GSN  to  manage  these  requirements.

Page 7: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Management  of  safety  requirements

To  comply  with  the  followings,  appropriate  notation  and  management  techniques  are  required.a) Hierarchical  structure•  The  safety  requirements  must  be  structured  in  several  successive  levels.

b)  Organizational  structure•  The  safety  requirements  of  each  level  are  grouped  together,  which  usually  corresponds  to  the  architecture.  

c)  Completeness•  The  safety  requirements  at  one  level  fully  implement  all  of  the  safety  requirements  of  the  previous  level.  

7

ISO  26262:part  8  ,clause  6.4.4.3

Page 8: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Management  of  safety  requirements(cont.)

d)  External  consistency•  Multiple  safety  requirements  must  not  contradict  each  other.  

e)  No  duplication•  The  contents  of  the  safety  requirements  are  not  repeated  in  any  other  safety  requirements  at  a  different  level  of  the  hierarchical  structure.

f)  Maintainability•  The  set  of  requirements  can  be  easily  modified  or  extended,  e.g.,  by  the  introduction  of  new  versions  of  requirements  or  by  adding/removing  requirements  from  the  set  of  requirements.  

8

How  can  we  achieve  the  above  requirements?

Page 9: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Goal  Structuring  Notation(GSN)

Whatʼ’s  GSN•  GSN  is  a  graphical  argument  notation.•  It  can  be  used  to  document  explicitly  the  elements  and  structure  of  an  argument  and  the  argumentʼ’s  relationship  to  evidence.

9

GSN COMMUNITY STANDARD VERSION 1

© 2011 Origin Consulting (York) Limited, on behalf of the Contributors 5

G1

Control System is acceptably safe to operate

G2

All identified hazards have been eliminated or sufficiently mitigated

C1

Operating Role and Context

C2

Control System Definition

G3

Software in the Control System has been developed to SIL appropriate to hazards involved

C4

Hazards identified from FHA (Ref Y)

C3

Tolerability targets (Ref Z)

C5

SIL Guidelines and Processes

S1

Argument over each identified hazard

S2Argument over allocated SIL for Primary and Secondary elements

C6

Identified software hazards

G4

Hazard H1 has been eliminated

G5

Probability of Hazard H2 occuring < 1x10-6 per year

G6

Probability of Hazard H3 occuring < 1x10-3 per year

Sn1

Formal Verification

Sn2

Fault Tree Analysis

G7

Primary Protection System Developed to SIL 4

G8

Secondary Protection System Development to SIL2

Sn3

Process Evidence for

SIL4

Sn4

Process Evidence for

SIL2

A

A1

All hazards have been identified

J

J1

SIL apportionment is correct and complete

Figure 6: An Example Goal Structure

GSN COMMUNITY STANDARD VERSION 1

© 2011 Origin Consulting (York) Limited, on behalf of the Contributors 5

G1

Control System is acceptably safe to operate

G2

All identified hazards have been eliminated or sufficiently mitigated

C1

Operating Role and Context

C2

Control System Definition

G3

Software in the Control System has been developed to SIL appropriate to hazards involved

C4

Hazards identified from FHA (Ref Y)

C3

Tolerability targets (Ref Z)

C5

SIL Guidelines and Processes

S1

Argument over each identified hazard

S2Argument over allocated SIL for Primary and Secondary elements

C6

Identified software hazards

G4

Hazard H1 has been eliminated

G5

Probability of Hazard H2 occuring < 1x10-6 per year

G6

Probability of Hazard H3 occuring < 1x10-3 per year

Sn1

Formal Verification

Sn2

Fault Tree Analysis

G7

Primary Protection System Developed to SIL 4

G8

Secondary Protection System Development to SIL2

Sn3

Process Evidence for

SIL4

Sn4

Process Evidence for

SIL2

A

A1

All hazards have been identified

J

J1

SIL apportionment is correct and complete

Figure 6: An Example Goal Structure

GSN COMMUNITY STANDARD VERSION 1

© 2011 Origin Consulting (York) Limited, on behalf of the Contributors 5

G1

Control System is acceptably safe to operate

G2

All identified hazards have been eliminated or sufficiently mitigated

C1

Operating Role and Context

C2

Control System Definition

G3

Software in the Control System has been developed to SIL appropriate to hazards involved

C4

Hazards identified from FHA (Ref Y)

C3

Tolerability targets (Ref Z)

C5

SIL Guidelines and Processes

S1

Argument over each identified hazard

S2Argument over allocated SIL for Primary and Secondary elements

C6

Identified software hazards

G4

Hazard H1 has been eliminated

G5

Probability of Hazard H2 occuring < 1x10-6 per year

G6

Probability of Hazard H3 occuring < 1x10-3 per year

Sn1

Formal Verification

Sn2

Fault Tree Analysis

G7

Primary Protection System Developed to SIL 4

G8

Secondary Protection System Development to SIL2

Sn3

Process Evidence for

SIL4

Sn4

Process Evidence for

SIL2

A

A1

All hazards have been identified

J

J1

SIL apportionment is correct and complete

Figure 6: An Example Goal Structure

GSN COMMUNITY STANDARD VERSION 1

© 2011 Origin Consulting (York) Limited, on behalf of the Contributors 5

G1

Control System is acceptably safe to operate

G2

All identified hazards have been eliminated or sufficiently mitigated

C1

Operating Role and Context

C2

Control System Definition

G3

Software in the Control System has been developed to SIL appropriate to hazards involved

C4

Hazards identified from FHA (Ref Y)

C3

Tolerability targets (Ref Z)

C5

SIL Guidelines and Processes

S1

Argument over each identified hazard

S2Argument over allocated SIL for Primary and Secondary elements

C6

Identified software hazards

G4

Hazard H1 has been eliminated

G5

Probability of Hazard H2 occuring < 1x10-6 per year

G6

Probability of Hazard H3 occuring < 1x10-3 per year

Sn1

Formal Verification

Sn2

Fault Tree Analysis

G7

Primary Protection System Developed to SIL 4

G8

Secondary Protection System Development to SIL2

Sn3

Process Evidence for

SIL4

Sn4

Process Evidence for

SIL2

A

A1

All hazards have been identified

J

J1

SIL apportionment is correct and complete

Figure 6: An Example Goal Structure

Main  notations•  Goal(Requirement):  the  claims  of  the  argument,  or  the  safety  objectives  that  must  be  addressed  to  assure  safety.

•  Strategy(Argument):  how  the  evidence  indicates  compliance  with  the  requirements.

•  Context:  identifying  the  basis  for  the  argument  presented.

•  Solution(evidence):  evidence  to  guarantee  that  a  goal  could  be  satisfied.

Page 10: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Example  of  GSN:  Organizational  structure

10

Safety  GoalFSR_̲001

Assigned  ASIL  of  FSR_̲001

the  element  to  which  FSR_̲001  was  allocated

the  basis  for  FSR_̲001

Evidence  showing  that  the  TSR_̲001_̲003  was  satisfied.

FSR_̲001  was  divided  to  several  requirements  and  allocated  to  each  element.

Page 11: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Example  of  GSN:  ASIL  decomposition

11

TSR_̲001_̲001  was  decomposed  to  A(D)  requirement  and  C(D)  requirement.

The  requirement  for  independence  between  the  decomposed  requirementswas  added.

Page 12: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Good  points  of  GSN  compared  to  natural  languages

• The  relationships  between  a  goal  and  sub-‐‑‒goals  could  be  clearly  described  by  argument  elements.  • The  completeness  of  the  safety  requirements  specifications  becomes  obvious.  • Duplication  and  contradiction  of  safety  requirements  specifications  could  be  avoided  by  reviewing  the  relationships  between  the  specifications.  • A  hierarchical  structure  is  easily  achieved  by  a  system  element.  

12

→  Req.  a)

→  Req.  b)

→  Req.  c)

→  Req.  d),e)

GSN  was  one  of  appropriate  techniques  for  describing  a  safety  case  and  management  of  safety  requirements.

Page 13: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Weak  points

•  The  semantics  of  the  context  elements  should  be  restricted  because  the  elements  can  be  used  with  various  meanings.  •  Tool  cooperation  should  be  improved  to  ensure  traceability.•  For  example,  the  GSN  description  tool  should  work  with  the  traceability  management  tools,  hazard  analysis  tools,  system  architectures,  and  so  on.  

•  For  ASIL  C  or  D  requirements,  other  semi-‐‑‒formal  or  formal  methods  may  be  needed  because  contents  of  each  element  of  GSN  are  described  in  natural  languages.

13

→  Req.  f)

Page 14: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Requirements  for  notation  of  safety  requirements

Notation  methods

Practical  situation  in  Japan  •  The  safety  requirements  have  been  described  in  natural  languages  in  many  cases.  

To  develop  items  with  ASIL  C  or  D,  semi-‐‑‒formal  notations  should  be  used  instead  of  natural  languages.  

14

ISO 26262-8:2011(E)

10 © ISO 2011 – All rights reserved

Table 1 — Specifying safety requirements

Methods ASIL

A B C D

1a Informal notations for requirements specification ++ ++ + +

1b Semi-formal notations for requirements specification + + ++ ++

1c Formal notations for requirements specification + + + +

6.4.2 Attributes and characteristics of safety requirements

6.4.2.1 Safety requirements shall be unambiguously identifiable as safety requirements.

NOTE In order to comply with this requirement, safety requirements can be listed in a separate document. If safety requirements and other requirements are administered in the same document, safety requirements can be identified explicitly by using a special attribute as described in 6.4.2.5.

6.4.2.2 Safety requirements shall inherit the ASIL from the safety requirements from which they are derived, except if ASIL decomposition is applied in accordance with ISO 26262-9.

NOTE As safety goals are the top level safety requirements, the inheritance of ASILs starts at the safety goal level (see ISO 26262-1:2011, definition 1.108).

6.4.2.3 Safety requirements shall be allocated to an item or an element.

6.4.2.4 Safety requirements shall have the following characteristics:

a) unambiguous and comprehensible,

NOTE 1 A requirement is unambiguous if there is common understanding of the meaning of the requirement.

NOTE 2 A requirement is comprehensible if the reader at an adjacent abstraction level (i.e. either the stakeholder or the consumer of that requirement) understands its meaning.

b) atomic,

NOTE Safety requirements at one hierarchical level are atomic when they are formulated in such a way that they can not be divided into more than one safety requirement at the considered level.

c) internally consistent,

NOTE Unlike external consistency, in which multiple safety requirements do not contradict each other, internal consistency means that each individual safety requirement contains no contradictions within itself.

d) feasible, and

NOTE A requirement is feasible if it can be implemented within the constraints of the item development (resources, state-of-the-art, etc.).

e) verifiable.

6.4.2.5 Safety requirements shall have the following attributes:

a) a unique identification remaining unchanged throughout the safety lifecycle,

EXAMPLE A unique identification of a requirement can be achieved in a variety of ways, such as subscripting each instance of the word “shall”, e.g. “The system shall9782 check …”, or numbering consecutively each sentence containing the word “shall”, e.g. “9782 In the case of ... the system shall check ...”.

䈗↪⠪䇭᧻ේ䇭⼾㩷㩿ฬฎደᄢቇ㪀㪡㪪㪘㩷㪮㪼㪹㩷㪪㫋㫆㫉㪼㩷㫆㫉㪻㪼㫉㩷㪥㫆㪅㪐㪈㪈㪇㪈㪐㪍㪏㪊㩷㪆㩷㪛㫆㫎㫅㫃㫆㪸㪻㪼㪻㪑㪉㪇㪈㪈㪄㪈㪈㪄㪈㪎䇸䊡䊷䉱䊷䊤䉟䉶䊮䉴ᄾ⚂䇹䈮ᓥ䈦䈩䈗↪䈒䈣䈘䈇䇯

highly  recommended

Informal  notation

ISO 26262-8:2011, Table.1

Page 15: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Semi-‐‑‒formal  notation  methods

Definition  of  “Semi-‐‑‒formal”  notation•  Descriptive  techniques  where  the  syntax  is  completely  defined  but  where  the  semantics  definition  can  be  incomplete.

Examples•  System  Analysis  and  Design  Techniques  (SADT)

•  Unified  Modeling  Language  (UML)•  Widely  used  in  practical  situation

These  methods  are  suitable  for  design  of  item  and  software,  but  not  suitable  for  description  of  requirements.→  A  method  that  is  suitable  for  description  of  safety  requirements  is  required.

15

Page 16: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

Conclusion

•  We  presented  a  case  study  of  a  safety  argument  description  for  the  EPS  control  system  by  GSN.

•  We  compared  the  capacities  of  natural  languages  and  GSN  for  describing  the  safety  case  and  management  of  safety  requirements  specifications.  

•  Based  on  the  case  study,  we  confirmed  that  GSN  was  an  appropriate  technique  for  these  purposes.

•  However,  some  future  works  were  found  to  spread  GSN  in  practical  situations.

Thank  you  for  your  attention.  Any  question?

16

Page 17: Safety Argument based on GSN for Automotive Control Systems · 2014. 8. 21. · Safety Argument based on GSN for Automotive Control Systems Yutaka Matsubara Nagoya University yutaka@ertl.jp

References

1.  ISO:  ISO  26262:2011  Functional  safety  -‐‑‒  road  vehicles.  ISO,  (2011)  

2.  Goal  Structuring  Notation  Working  Group:  GSN  Community  Standard  Version  1.    http://www.goalstructuringnotation.info/,  (2011)  

3.  B.  Palin,  D.  Ward,  I.  Habli  and  R.  Rivett:  ISO  26262  safety  cases:  compliance  and  assurance.  In:  IET  Intl.  System  Safety  Conf.,  (2011)  

4.  Y.  Matsuno:  D-‐‑‒Case  Ediotor:  http://www.il.is.s.u-‐‑‒tokyo.ac.jp/deos/dcase/  

17