SlideShare a Scribd company logo
1 of 38
SW Safety Analysis
Czerny, “Effective Application of Software Safety Techniques for
Automotive Embedded Control Systems”, SAE 2005
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 2 / 17
목표
1. ISO26262의 SW Safety Analysis를 수행하기 위해 Delphi의 Safety analysis
approach에 대해 이해한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 3 / 17
Contents
1. Introduction
2. Software Safety Cycle Overview
3. Concept Design Phase
a. Preliminary Hazard Analysis
b. Software Safety Program Plan
4. Software Requirement Analysis Phase
a. Software Hazard Analysis
b. Hazard Testing
c. Software Safety Requirement Review
5. Software Architecture Design Phase
a. Fault Tree Analysis
b. System Level Software FMEA
6. Software Detailed Design and Coding Phase
a. Detailed Software Fault Tree Analysis
b. Detailed Software FMEA Technique
c. Defensive Programming
7. Software Verification and Validation Phase
8. Summery and Discussion
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 4 / 17
1. Introduction
Software failure는 ?
any deviation from the intended behavior of the software of a system
시스템의 소프트웨어의 의도된 행동으로부터 벗어난 행동
Software failure mode의 잠재적인 원인의 3가지 핵심 카테고리
1) Hardware failures
a. Memory failures in either the code space or variable space
b. CPU failure(ALU, registers)
c. Peripheral failures(I/O ports, A/D, CAN, SPI, watchdog, interrupt manager, timers)
2) Software Logic errors
a. infinite loops
b. incorrect calculations
c. abrupt return
d. taking a longer time to complete routine execution
3) support software(e.g. compiler) errors
a. failed to configure tools correctly
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 5 / 17
2. Software Safety Lifecycle Overview
v
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 6 / 17
2. Software Safety Lifecycle Overview
vSoftware development phase Typical Software Safety Tasks
Conceptual Design(System level) Preliminary Hazard Analysis
SW Safety Planning
SW Requirement Analysis SW Safety Requirements Analysis
SW Architectural Design SW Safety Architecture Design Analysis
SW Detailed Design and Coding SW Safety Detailed Analysis
SW Safety Code Analysis
SW Verification and Validation SW Safety Testing
SW Safety Test Analysis
SW Safety Case
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 7 / 17
2. Software Safety Lifecycle Overview
vSoftware development phase Typical Software Safety Tasks
Conceptual Design(System level) Preliminary Hazard Analysis
SW Safety Planning
SW Requirement Analysis SW Safety Requirements Analysis
SW Architectural Design SW Safety Architecture Design Analysis
SW Detailed Design and Coding SW Safety Detailed Analysis
SW Safety Code Analysis
SW Verification and Validation SW Safety Testing
SW Safety Test Analysis
SW Safety Case
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 8 / 17
3. Concept Design Phase(System Level)
Project Leader는 system safety program이 product concept을 위해 필요한지를 결정한다.
어떻게 판단을 해야 하지?
1. 과거의 제품 개발 경험을 바탕으로
2. Preliminary hazard analysis(PHA)의 결과를 기반으로
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 9 / 17
3. Concept Design Phase(System Level)
Preliminary Hazard Analysis(PHA)
1. PHA의 목표
a. high-level system hazard를 식별하기 위해서
b. 발생할 수도 있는 잠재적 mishap의 criticality를 판단하기 위해서
2. PHA를 수행하기 위한 basic step
a. system과 연관되어 있는 잠재적인 hazard를 식별하기 위해 브레인스토밍을 하거
나 기존의 잠재적 hazard list를 review한다.
b. 잠재적 hazard를 기술하고 그것과 연관되어 있는 잠재적 mishap 시나리오를 작성
한다.
c. 잠재적 hazard의 잠재적 cause를 파악한다.
d. 잠재적 hazard와 mishap scenario의 risk를 판단한다.
e. 잠재적 risk를 제거하거나 완화시키기 위해서 시스템 사양을 추가하기 위해 시스템
hazard-avoidance 요구사항이 필요한지의 여부를 판단한다.
time이 잠재적 hazard의 요소가 되거나 잠재적 mishap발생의 요소가 된다면,
설계상에 놓여있는 잠재적 hazard로서의 시간 제약이 조사되어야 할 필요가 있다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 10 / 17
3. Concept Design Phase(System Level)
Preliminary Hazard Analysis(PHA)
Control System의 example
Control System PHA의 example
High integrity ECU operation을 위해서,
design team은 software failure로 인한
의도되지 않은 시스템의 행동을 고려해야
한다.
Software의 fault는 hardware의 fault로도
발생할 수 있음
High integrity ECU operation을 위해서,
design team은 software failure로 인한
의도되지 않은 시스템의 행동을 고려해야
한다.
Software의 fault는 hardware의 fault로도
발생할 수 있음
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 11 / 17
4. Software Requirement Analysis Phase
Software Safety Program
1. 목표
a. 잠재적 software failure와 연관되어있는 potential hazard를 제거, 경감, 제어하기
위한 software safety requirement를 식별하기 위해서
2. Software Safety Goal을 만족시키기 위해 사용하는 methods
a. Software Hazard Analysis
b. Hazard Testing
c. Software Safety Requirement Review
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 12 / 17
4. Software Requirement Analysis Phase
Software Hazard Analysis
1. SHA에서의 주요 활동
a. 잠재적 system hazard로 이끌 수 있는 잠재적 software failure를 식별하기
system의 잠재적 hazard와 잠재적 software cause사이의 확립된 link를 기반으로 식별
된 system hazard-avoidance requirement가 software hazard-avoidance
requirement로 translate된다.
è 이 일을 달성하기 위해 주로 사용되는 방법은 fault tree analysis(FTA)이다.
FTA
• top-down(deductive) analysis method
• top level에서 undesired event에 대한 잠재적 cause를 식별한다.
현 단계에서 Software architecture나 detailed design에 대한 산출물이 없지만 FTA에
서 식별된 software state를 예상한다.
è 이 예상을 바탕으로 실제 architecture 설계나 detail design에서 FTA에서의 결과를
반영한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 13 / 17
4. Software Requirement Analysis Phase
Software Hazard Analysis
System 수준에서의 Fault Tree
현 단계에서 Software architecture나 detailed
design에 대한 산출물이 없지만 FTA에서 식별된
software state를 예상한다.
è 이 예상을 바탕으로 실제 architecture 설계나
detail design에서 FTA에서의 결과를 반영한다.
현 단계에서 Software architecture나 detailed
design에 대한 산출물이 없지만 FTA에서 식별된
software state를 예상한다.
è 이 예상을 바탕으로 실제 architecture 설계나
detail design에서 FTA에서의 결과를 반영한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 14 / 17
4. Software Requirement Analysis Phase
Software Hazard Analysis
System 수준에서의 Fault Tree
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 15 / 17
4. Software Requirement Analysis Phase
Hazard Testing
1. 목표
잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다.
이런 시험의 결과
a. fault response times
b. signal deviation level
잠재적 hazard가 발생하기 전에 회피
하기 위한 시스템 요구사항
잠재적 hazard가 발생하기 전에 회피
하기 위한 시스템 요구사항
Fault response timeFault response time
Software diagnostics의 설계를 할 수 있도록 한다.Software diagnostics의 설계를 할 수 있도록 한다.
Software task schedule의 설계에 매우 critical하다Software task schedule의 설계에 매우 critical하다
주어진 시간 이내에 선택한 controller가 충분한 성능이 있는지
를 판단하는 insight를 제공한다.
주어진 시간 이내에 선택한 controller가 충분한 성능이 있는지
를 판단하는 insight를 제공한다.
초기에는 simulation model이나 bench setup으로 수행될 수 있음초기에는 simulation model이나 bench setup으로 수행될 수 있음
식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시
험함으로써 confirm이 되어야 한다.
식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시
험함으로써 confirm이 되어야 한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 16 / 17
4. Software Requirement Analysis Phase
Hazard Testing
1. 목표
잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다.
이런 시험의 결과
a. fault response times
b. signal deviation level
초기에는 simulation model이나 bench setup으로 수행될 수 있음초기에는 simulation model이나 bench setup으로 수행될 수 있음
식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시
험함으로써 confirm이 되어야 한다.
식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시
험함으로써 confirm이 되어야 한다.
simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구
사항을 이끌어 낼 수 있음
“failure로 인한 vehicle에 유발된 undesired behavior는
x시간 이내에 y값을 넘기지 말아야 한다”
simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구
사항을 이끌어 낼 수 있음
“failure로 인한 vehicle에 유발된 undesired behavior는
x시간 이내에 y값을 넘기지 말아야 한다”
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 17 / 17
4. Software Requirement Analysis Phase
Hazard Testing
1. 목표
잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다.
이런 시험의 결과
a. fault response times
b. signal deviation level
simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구
사항을 이끌어 낼 수 있음
“failure로 인한 vehicle에 유발된 undesired behavior는
x시간 이내에 y값을 넘기지 말아야 한다”
simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구
사항을 이끌어 낼 수 있음
“failure로 인한 vehicle에 유발된 undesired behavior는
x시간 이내에 y값을 넘기지 말아야 한다”
소프트웨어가 아직 존재하지 않지만 vehicle level에서 vehicle 및
simulation기반으로 Software Safety Requirement을 정량화하기 위해
정량적인 vehicle level requirement를 사용하는 것이 가능하다.
소프트웨어가 아직 존재하지 않지만 vehicle level에서 vehicle 및
simulation기반으로 Software Safety Requirement을 정량화하기 위해
정량적인 vehicle level requirement를 사용하는 것이 가능하다.
the ECU output command delivered to the actuator shall not
deviate from the desired value by X amount for more than Y ms.
the ECU output command delivered to the actuator shall not
deviate from the desired value by X amount for more than Y ms.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 18 / 17
4. Software Requirement Analysis Phase
Software Safety Requirement Review
1. 목표
a. Software hazard analysis에 의해 식별된 software safety requirement(SSR)에 대해
complete하고 consistent한지를 검사한다.
b. Software functional requirement을 safety에 대한 영향(impact)관점에서 평가한다.
2. 수행 결과(Work product)
a. software design을 위한 software safety requirement(SSR)
SSR에는 coding guideline과 관련된 요구사항을 포함할 수 있음
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 19 / 17
4. Software Requirement Analysis Phase
Software Safety Requirement Review
Revised Software Safety Requirements
Software Safety Requirements
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 20 / 17
4. Software Requirement Analysis Phase
Software Safety Requirement Review
Req. No. Requirement Comment
SW-SAFETY-1 Software sensor diagnostics shall
detect deviations of actual vs.
measured sensor signals of TBD
amount within TBD ms.
Revised
SW-SAFETY-2 Software command diagnostics
shall detect deviations of computed
Actuator command of X amount
within Y ms.
Based on ECU integrity requirement
obtained from hazard testing
SW-SAFETY-3 Software communication/driver
diagnostics shall detect actuator
communication errors within Y ms
Determined by hazard testing
(Fault detect)
SW-SAFETY-4 Software failure management
routine shall initiate controlled
shutdown of the system
immediately after a diagnostic
detects a failure.
Fault handling
SW-SAFETY-5 All software shall conform to the
MISRA C coding guidelines
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 21 / 17
5. Software Architecture Design Phase
1. 목표
a. safety-critical software component와 function을 식별하는 것
b. 잠재적 hazard가 회피되거나 경감됨을 보이기 위해 식별된 component나 function
에 대해 적적한 high-level analysis method를 적용하는 것
2. 활동
a. software development team은 식별된 software requirement를 만족시키기 위해
서 생성할 필요가 있는 software component와 function들에 대해 명세 한다.
b. 기존의 software hazard analysis로부터 integrity와 criticality level이 각각의
component와 function에 대해 평가된다.
c. criticality level은 software component나 function의 malfunction으로부터 발생할
수 있는 잠재적 hazard에 의존적이다.
d. criticality가 높을수록 더 높은 analysis level이 요구된다.
e. 목표를 만족시키기 위해서
• 기존의 FTA를 확장하여 잠재적 hazard로 이끌 수 있는 소프트웨어의 state를
만드는 특정 software component나 function들을 식별한다.
• 잠재적인 failure에 대해 광범위하게 cover하기 위해 시스템 수준의 FMEA를
수행한다.
f. software component 및 function의 criticality는 개발된 fault tree에서 잠재적
software cause와 연결되어 있는 가장 높은 risk가 있는 잠재적 hazard를 기반으로
한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 22 / 17
5. Software Architecture Design Phase
소프트웨어 아키텍처의 example
Architecture는 SSR을 기반으로 설계되어야 한다.Architecture는 SSR을 기반으로 설계되어야 한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 23 / 17
5. Software Architecture Design Phase
Fault Tree Analysis
1. 활동
a. 기존의 fault tree가 revise되어 특정 software module이 fault tree에 포함된다.
• fault tree에 있는 기존의 software portion을 교체한다.
ü 필요한 소프트웨어 기능에 대한 지식을 기반으로 함
ü 소프트웨어의 구조를 기반으로 하지 않음
• 새롭게 생성된 software sub-tree와 교체되어 제거될 sub-tree를 비교하여 손실되는 부
분이 없도록 한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 24 / 17
5. Software Architecture Design Phase
Fault Tree Analysis
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 25 / 17
5. Software Architecture Design Phase
Fault Tree Analysis
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 26 / 17
5. Software Architecture Design Phase
Fault Tree Analysis actuator에 bad command가 들어가는 두
개의 immediate causes가 식별됨
1. Command delivered to actuator deviates
by X amount for Y ms and is not
detected
2. DetermineSystemMode() fails to initiate
shutdown when fault detected.
actuator에 bad command가 들어가는 두
개의 immediate causes가 식별됨
1. Command delivered to actuator deviates
by X amount for Y ms and is not
detected
2. DetermineSystemMode() fails to initiate
shutdown when fault detected.
12
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 27 / 17
5. Software Architecture Design Phase
Fault Tree Analysis
1. actuator에게 command를 produce, deliver할 필요
가 있는 software module 각각의 잠재적 failure
1. actuator에게 command를 produce, deliver할 필요
가 있는 software module 각각의 잠재적 failure
12
2. desired command로부터 deviation을 탐지할 의도
가 있는 관련된 diagnostics에서의 잠재적 failure
2. desired command로부터 deviation을 탐지할 의도
가 있는 관련된 diagnostics에서의 잠재적 failure
원인
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 28 / 17
5. Software Architecture Design Phase
Fault Tree Analysis
누가 더 criticality를 높아야 할까?
vs
DetermineSystemMode()는
the only single point failure이다.
그래서….
DetermineSystemMode()가
fail하는 것이 더 critical하다
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 29 / 17
5. Software Architecture Design Phase
System Level Software FMEA
1. 역할
• 소프트웨어 design의 구조적 weakness를 식별하는데 도움을 준다.
• weak 혹은 missing requirement를 찾는데 도움을 준다.
• latent software non-conformance를 찾는데 도움을 준다.
2. 목표
시스템의 구조와 기본 방어 설계를 점검하기 위해서
3. System level의 software FMEA를 수행하기 위한 핵심 자원
• PHA
• hazard testing
4. 관련 reference
• SAE ARP 5580
• SAE J-1739
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 30 / 17
5. Software Architecture Design Phase
System Level Software FMEA
5. 전제조건
• software FMEA를 수행하는 analyst는 다음에 대해 완벽하게 이해하여야 함
ü software design
ü hardware structure
ü interface between software and hardware
ü software language to be used
ü specifics of the software tools being used
6. 모든 component에 대한 failure mode
• Failure to execute
• Executes incompletely
• Executes with incorrect timing which includes incorrect activation and execution
time (including endless loop)
• Erroneous execution
6. Interrupt Service Routine(ISR)에 대한 failure mode
• Failure to return, thus blocking lower priority interrupts from executing
• Returns incorrect priority
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 31 / 17
5. Software Architecture Design Phase
System Level Software FMEA
5. 전제조건
• software FMEA를 수행하는 analyst는 다음에 대해 완벽하게 이해하여야 함
ü software design
ü hardware structure
ü interface between software and hardware
ü software language to be used
ü specifics of the software tools being used
6. 모든 component에 대한 failure mode
• Failure to execute
• Executes incompletely
• Executes with incorrect timing which includes incorrect activation and execution
time (including endless loop)
• Erroneous execution
7. Interrupt Service Routine(ISR)에 대한 failure mode
• Failure to return, thus blocking lower priority interrupts from executing
• Returns incorrect priority
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 32 / 17
5. Software Architecture Design Phase
System Level Software FMEA
8. 활동
• inductive reasoning을 수행하여 특정 mode에서 의도된 행동을 하는데 실패하는
component나 function에 대한 system 수준에서의 영향을 점검한다.
• Component에 대한 general failure mode를 정의한다.
• ISR에 대한 general failure mode를 정의한다.
• 각각의 functional subroutine에 대한 관련 failure mode의 effect를 평가한다.
• failure mode의 영향으로 인한 software output을 분석하고 hazardous outcome을
식별한다.
• 식별된 hazardous outcome에 대해 SSR 혹은 software design을 추가한다.
• 각각의 component나 function에 대해 failure mode를 적용하여 local 및 system
level의 영향을 분석하여 severity도 할당한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 33 / 17
5. Software Architecture Design Phase
System-Level의 Software FMEA의 example
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 34 / 17
6. Software Detailed Design and Coding Phase
1. 목표
• detailed software design을 분석한다.
• 구현된 software를 분석하여 software safety requirement가 만족되었는지를 확인
한다.
2. 활동
• subsystem interface를 분석하여 subsystem과 관련있는 잠재적 hazard를 식별한
다.
• 잠재적 unsafe state를 체크한다. unsafe state는 다음에 의해 유발될 수 있다.
ü I/O timing
ü out-of-sequence event
ü adverse environment
• SW FMEA나 SW FTA의 방법을 수행한다.
• requirement와 architecture phase에서 수행한 high-level의 FTA를 이용하여
potential hazard를 software variable과 state수준으로까지 확장시킨다.
• input variables및 software 내부의 processing logic의 잠재적 failure를 tracing를
함으로써 detailed FMEA를 적용한다.
• analysis의 수준은 criticality level의 값에 의존적이다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 35 / 17
6. Software Detailed Design and Coding Phase
Example code for determining system mode
다른 routine에서 작성한 diagnostic flag를 검사한다.
failure가 발생하면 system을 safe한 상태로 이동시킨다.
(Source code에서는 controller를 shot down시킨다.)
다른 routine에서 작성한 diagnostic flag를 검사한다.
failure가 발생하면 system을 safe한 상태로 이동시킨다.
(Source code에서는 controller를 shot down시킨다.)
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 36 / 17
6. Software Detailed Design and Coding Phase
Detailed Software Fault Tree Analysis
software detailed design과 code가 available하기 때문에 fault tree의 내용을 상세화 시킬
수 있다.
Detailed Software FMEA Technique
시간이 많이 소모되고 very-high integrity system에만 적용된다.
Example Variable mapping
Software routine에 대해 input, output,
global variable mapping을 수행한다.
variable mapping이 완성되면 variable과
processing logic에 대한 failure mode를
개발한다.
Software routine에 대해 input, output,
global variable mapping을 수행한다.
variable mapping이 완성되면 variable과
processing logic에 대한 failure mode를
개발한다.
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 37 / 17
6. Software Detailed Design and Coding Phase
Detailed Software FMEA Technique
Variable Failure Modes
Variable의 종류는 3가지가 있다.
1) Analog
2) Boolean
3) Enumerated
Failure Modes for Different Variable Type
ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory
ⓒ-Copyright 2012 Korea Testing Laboratory 38 / 17
6. Software Detailed Design and Coding Phase
Detailed Software FMEA Technique
Software Processing Logic Failure Modes
Software Processing Logic의 Failure Mode는 operator fault가 있다.
x = a + b === > x = a – b (fault)
Integrating Results
Example of a set of top-level critical variables identified by a detailed hazard analysis
critical variables

More Related Content

What's hot

RTCA DO-178C overview
RTCA DO-178C overviewRTCA DO-178C overview
RTCA DO-178C overviewHongseok Lee
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개CURVC Corp
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성CURVC Corp
 
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)JiandSon
 
[고려대학교-SANE Lab] 170317풀타임세미나 이상민
[고려대학교-SANE Lab]  170317풀타임세미나 이상민[고려대학교-SANE Lab]  170317풀타임세미나 이상민
[고려대학교-SANE Lab] 170317풀타임세미나 이상민Sane Lab
 
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2tobeware
 
Sw 아키텍처와 sw 공학
Sw 아키텍처와 sw 공학Sw 아키텍처와 sw 공학
Sw 아키텍처와 sw 공학영온 김
 
SW 테스트 프로세스& 메뉴얼_V 모델
SW 테스트 프로세스& 메뉴얼_V 모델SW 테스트 프로세스& 메뉴얼_V 모델
SW 테스트 프로세스& 메뉴얼_V 모델KU HUISEONG
 
포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안TJ Seo
 
How Google Tests Software (구글의 소프트웨어 테스팅)
How Google Tests Software (구글의 소프트웨어 테스팅)How Google Tests Software (구글의 소프트웨어 테스팅)
How Google Tests Software (구글의 소프트웨어 테스팅)Ye Joo Park
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용CURVC Corp
 
2010 SW Testing Trend
2010 SW Testing Trend2010 SW Testing Trend
2010 SW Testing TrendMurian Song
 
(애자일) 테스트 계획서 샘플
(애자일) 테스트 계획서 샘플(애자일) 테스트 계획서 샘플
(애자일) 테스트 계획서 샘플SangIn Choung
 
모아소프트(MOASOFT) 회사소개서 (20200922) version
모아소프트(MOASOFT) 회사소개서 (20200922) version모아소프트(MOASOFT) 회사소개서 (20200922) version
모아소프트(MOASOFT) 회사소개서 (20200922) version모아소프트 MOASOFT
 

What's hot (14)

RTCA DO-178C overview
RTCA DO-178C overviewRTCA DO-178C overview
RTCA DO-178C overview
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개
SonarQube와 함께하는 소프트웨어 품질 세미나 - SonarQube 소개
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성
SonarQube와 함께하는 소프트웨어 품질 세미나 - 소프트웨어 품질의 중요성
 
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)
2015.03.25 테크니컬 세미나 - SonarQube를 활용한 코드 품질 시각화(김모세)
 
[고려대학교-SANE Lab] 170317풀타임세미나 이상민
[고려대학교-SANE Lab]  170317풀타임세미나 이상민[고려대학교-SANE Lab]  170317풀타임세미나 이상민
[고려대학교-SANE Lab] 170317풀타임세미나 이상민
 
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2
투비웨어 AgitarOne Junit 단위테스트자동화 솔루션소개_201608_v1.2
 
Sw 아키텍처와 sw 공학
Sw 아키텍처와 sw 공학Sw 아키텍처와 sw 공학
Sw 아키텍처와 sw 공학
 
SW 테스트 프로세스& 메뉴얼_V 모델
SW 테스트 프로세스& 메뉴얼_V 모델SW 테스트 프로세스& 메뉴얼_V 모델
SW 테스트 프로세스& 메뉴얼_V 모델
 
포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안포티파이 안전한 애플리케이션 구축 및 운영방안
포티파이 안전한 애플리케이션 구축 및 운영방안
 
How Google Tests Software (구글의 소프트웨어 테스팅)
How Google Tests Software (구글의 소프트웨어 테스팅)How Google Tests Software (구글의 소프트웨어 테스팅)
How Google Tests Software (구글의 소프트웨어 테스팅)
 
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용
SonarQube와 함께하는 소프트웨어 품질 세미나 - ISMS 시큐어코딩을 위한 SonarQube 활용
 
2010 SW Testing Trend
2010 SW Testing Trend2010 SW Testing Trend
2010 SW Testing Trend
 
(애자일) 테스트 계획서 샘플
(애자일) 테스트 계획서 샘플(애자일) 테스트 계획서 샘플
(애자일) 테스트 계획서 샘플
 
모아소프트(MOASOFT) 회사소개서 (20200922) version
모아소프트(MOASOFT) 회사소개서 (20200922) version모아소프트(MOASOFT) 회사소개서 (20200922) version
모아소프트(MOASOFT) 회사소개서 (20200922) version
 

Viewers also liked

에너지를 수확하다 [에너지하베스팅]
에너지를 수확하다 [에너지하베스팅]에너지를 수확하다 [에너지하베스팅]
에너지를 수확하다 [에너지하베스팅]inucreative
 
Introduction to Software Failure Modes Effects Analysis
Introduction to Software Failure Modes Effects AnalysisIntroduction to Software Failure Modes Effects Analysis
Introduction to Software Failure Modes Effects AnalysisAnn Marie Neufelder
 
ISO 26262 introduction
ISO 26262 introductionISO 26262 introduction
ISO 26262 introductionKoenLeekens
 
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우 내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우 Yoon Sup Choi
 
IEEE-Std-1016-2009 Systems Design — Software Design Descriptions
IEEE-Std-1016-2009 Systems Design — Software Design DescriptionsIEEE-Std-1016-2009 Systems Design — Software Design Descriptions
IEEE-Std-1016-2009 Systems Design — Software Design DescriptionsHongseok Lee
 
Appropriate technology - Sleeping House for babies in developing or underdeve...
Appropriate technology - Sleeping House for babies in developing or underdeve...Appropriate technology - Sleeping House for babies in developing or underdeve...
Appropriate technology - Sleeping House for babies in developing or underdeve...youngsolar
 
Istqb 2-소프트웨어수명주기와테스팅-2015
Istqb 2-소프트웨어수명주기와테스팅-2015Istqb 2-소프트웨어수명주기와테스팅-2015
Istqb 2-소프트웨어수명주기와테스팅-2015Jongwon Lee
 
Istqb 3-정적테스팅기법-2015
Istqb 3-정적테스팅기법-2015Istqb 3-정적테스팅기법-2015
Istqb 3-정적테스팅기법-2015Jongwon Lee
 
적정기술과 디자인 Appropriate Technology & Design
적정기술과 디자인 Appropriate Technology & Design적정기술과 디자인 Appropriate Technology & Design
적정기술과 디자인 Appropriate Technology & DesignYoon Ha
 
소프트웨어 테스팅
소프트웨어 테스팅소프트웨어 테스팅
소프트웨어 테스팅영기 김
 
Nonlinear Simulation of Rotor-Bearing System Dynamics
Nonlinear Simulation of Rotor-Bearing System DynamicsNonlinear Simulation of Rotor-Bearing System Dynamics
Nonlinear Simulation of Rotor-Bearing System DynamicsFrederik Budde
 
2259 file spectrum_analysis_basics_application_note_150_aligent_2005
2259 file spectrum_analysis_basics_application_note_150_aligent_20052259 file spectrum_analysis_basics_application_note_150_aligent_2005
2259 file spectrum_analysis_basics_application_note_150_aligent_2005Philipp Isla
 
Qualification of Eclipse-based Tools according to ISO 26262
Qualification of Eclipse-based Tools according to ISO 26262Qualification of Eclipse-based Tools according to ISO 26262
Qualification of Eclipse-based Tools according to ISO 26262Oscar Slotosch
 
위대한개발문화
위대한개발문화위대한개발문화
위대한개발문화신승환
 
SYM Technology RF Spectrum Performance Analysis
SYM Technology RF Spectrum Performance AnalysisSYM Technology RF Spectrum Performance Analysis
SYM Technology RF Spectrum Performance AnalysisTodd Masters
 
Requirements of ISO 26262
Requirements of ISO 26262Requirements of ISO 26262
Requirements of ISO 26262Torben Haagh
 

Viewers also liked (19)

에너지를 수확하다 [에너지하베스팅]
에너지를 수확하다 [에너지하베스팅]에너지를 수확하다 [에너지하베스팅]
에너지를 수확하다 [에너지하베스팅]
 
Introduction to Software Failure Modes Effects Analysis
Introduction to Software Failure Modes Effects AnalysisIntroduction to Software Failure Modes Effects Analysis
Introduction to Software Failure Modes Effects Analysis
 
ISO 26262 introduction
ISO 26262 introductionISO 26262 introduction
ISO 26262 introduction
 
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우 내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우
내가 대학원에 들어왔을 때 알았더라면 좋았을 연구 노하우
 
IEEE-Std-1016-2009 Systems Design — Software Design Descriptions
IEEE-Std-1016-2009 Systems Design — Software Design DescriptionsIEEE-Std-1016-2009 Systems Design — Software Design Descriptions
IEEE-Std-1016-2009 Systems Design — Software Design Descriptions
 
Appropriate technology - Sleeping House for babies in developing or underdeve...
Appropriate technology - Sleeping House for babies in developing or underdeve...Appropriate technology - Sleeping House for babies in developing or underdeve...
Appropriate technology - Sleeping House for babies in developing or underdeve...
 
201412 전산자산통합관리
201412 전산자산통합관리201412 전산자산통합관리
201412 전산자산통합관리
 
Istqb 2-소프트웨어수명주기와테스팅-2015
Istqb 2-소프트웨어수명주기와테스팅-2015Istqb 2-소프트웨어수명주기와테스팅-2015
Istqb 2-소프트웨어수명주기와테스팅-2015
 
TTTech automotive-overview
TTTech automotive-overviewTTTech automotive-overview
TTTech automotive-overview
 
Istqb 3-정적테스팅기법-2015
Istqb 3-정적테스팅기법-2015Istqb 3-정적테스팅기법-2015
Istqb 3-정적테스팅기법-2015
 
적정기술과 디자인 Appropriate Technology & Design
적정기술과 디자인 Appropriate Technology & Design적정기술과 디자인 Appropriate Technology & Design
적정기술과 디자인 Appropriate Technology & Design
 
Appium & Jenkins
Appium & JenkinsAppium & Jenkins
Appium & Jenkins
 
소프트웨어 테스팅
소프트웨어 테스팅소프트웨어 테스팅
소프트웨어 테스팅
 
Nonlinear Simulation of Rotor-Bearing System Dynamics
Nonlinear Simulation of Rotor-Bearing System DynamicsNonlinear Simulation of Rotor-Bearing System Dynamics
Nonlinear Simulation of Rotor-Bearing System Dynamics
 
2259 file spectrum_analysis_basics_application_note_150_aligent_2005
2259 file spectrum_analysis_basics_application_note_150_aligent_20052259 file spectrum_analysis_basics_application_note_150_aligent_2005
2259 file spectrum_analysis_basics_application_note_150_aligent_2005
 
Qualification of Eclipse-based Tools according to ISO 26262
Qualification of Eclipse-based Tools according to ISO 26262Qualification of Eclipse-based Tools according to ISO 26262
Qualification of Eclipse-based Tools according to ISO 26262
 
위대한개발문화
위대한개발문화위대한개발문화
위대한개발문화
 
SYM Technology RF Spectrum Performance Analysis
SYM Technology RF Spectrum Performance AnalysisSYM Technology RF Spectrum Performance Analysis
SYM Technology RF Spectrum Performance Analysis
 
Requirements of ISO 26262
Requirements of ISO 26262Requirements of ISO 26262
Requirements of ISO 26262
 

Similar to Effective application of software safety techniques for automotive embedded control systems

모바일 앱(App) 개발 테스트 솔루션 v20160415
모바일 앱(App) 개발 테스트 솔루션 v20160415모바일 앱(App) 개발 테스트 솔루션 v20160415
모바일 앱(App) 개발 테스트 솔루션 v20160415SeungBeom Ha
 
단위테스트자동화지원도구 임성현 최종
단위테스트자동화지원도구 임성현 최종단위테스트자동화지원도구 임성현 최종
단위테스트자동화지원도구 임성현 최종guest7178884
 
Tr#3 5) 임성현 책임
Tr#3 5) 임성현 책임Tr#3 5) 임성현 책임
Tr#3 5) 임성현 책임Lim SungHyun
 
우리 제품의 검증 프로세스 소개 자료
우리 제품의 검증 프로세스 소개 자료 우리 제품의 검증 프로세스 소개 자료
우리 제품의 검증 프로세스 소개 자료 SangIn Choung
 
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템SeungBeom Ha
 
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 [Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 Oracle Korea
 
오픈 스펙을 대상으로 한 테스트설계사례
오픈 스펙을 대상으로 한 테스트설계사례오픈 스펙을 대상으로 한 테스트설계사례
오픈 스펙을 대상으로 한 테스트설계사례SangIn Choung
 
IBM 보안솔루션 앱스캔_App Scan Source Edition
IBM 보안솔루션 앱스캔_App Scan Source EditionIBM 보안솔루션 앱스캔_App Scan Source Edition
IBM 보안솔루션 앱스캔_App Scan Source Edition은옥 조
 
테스트수행사례 W통합보안솔루션
테스트수행사례 W통합보안솔루션테스트수행사례 W통합보안솔루션
테스트수행사례 W통합보안솔루션SangIn Choung
 
Opensource APM SCOUTER in practice
Opensource APM SCOUTER in practiceOpensource APM SCOUTER in practice
Opensource APM SCOUTER in practiceGunHee Lee
 
[오픈소스컨설팅]소프트웨어테스팅전략
[오픈소스컨설팅]소프트웨어테스팅전략[오픈소스컨설팅]소프트웨어테스팅전략
[오픈소스컨설팅]소프트웨어테스팅전략Ji-Woong Choi
 
[고려대학교-SANE Lab] 170317풀타임세미나 이지섭
[고려대학교-SANE Lab]  170317풀타임세미나 이지섭[고려대학교-SANE Lab]  170317풀타임세미나 이지섭
[고려대학교-SANE Lab] 170317풀타임세미나 이지섭Sane Lab
 
Five Star Mobile App을 위한 테스트 체계 만들기
Five Star Mobile App을 위한 테스트 체계 만들기Five Star Mobile App을 위한 테스트 체계 만들기
Five Star Mobile App을 위한 테스트 체계 만들기Ki Bae Kim
 
위험기반테스트접근 테스트계획 사례
위험기반테스트접근 테스트계획 사례위험기반테스트접근 테스트계획 사례
위험기반테스트접근 테스트계획 사례SangIn Choung
 
Opensource apm scouter in practice
Opensource apm scouter in practiceOpensource apm scouter in practice
Opensource apm scouter in practicedonghoonlee18659041
 
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation TestNAVER Engineering
 
01.개발환경 교육교재
01.개발환경 교육교재01.개발환경 교육교재
01.개발환경 교육교재Hankyo
 
IBM 보안솔루션 앱스캔_AppScan Standard 소개
IBM 보안솔루션 앱스캔_AppScan Standard 소개IBM 보안솔루션 앱스캔_AppScan Standard 소개
IBM 보안솔루션 앱스캔_AppScan Standard 소개은옥 조
 
더 나은 SW프로젝트를 위해
 더 나은 SW프로젝트를 위해 더 나은 SW프로젝트를 위해
더 나은 SW프로젝트를 위해지수 윤
 

Similar to Effective application of software safety techniques for automotive embedded control systems (20)

모바일 앱(App) 개발 테스트 솔루션 v20160415
모바일 앱(App) 개발 테스트 솔루션 v20160415모바일 앱(App) 개발 테스트 솔루션 v20160415
모바일 앱(App) 개발 테스트 솔루션 v20160415
 
단위테스트자동화지원도구 임성현 최종
단위테스트자동화지원도구 임성현 최종단위테스트자동화지원도구 임성현 최종
단위테스트자동화지원도구 임성현 최종
 
Tr#3 5) 임성현 책임
Tr#3 5) 임성현 책임Tr#3 5) 임성현 책임
Tr#3 5) 임성현 책임
 
우리 제품의 검증 프로세스 소개 자료
우리 제품의 검증 프로세스 소개 자료 우리 제품의 검증 프로세스 소개 자료
우리 제품의 검증 프로세스 소개 자료
 
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템
모바일 앱(App) 개발 테스트 솔루션 - 인터링크시스템
 
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개 [Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
[Main Session] 보안을 고려한 애플리케이션 개발 공정 및 실무적 수행 방법 소개
 
오픈 스펙을 대상으로 한 테스트설계사례
오픈 스펙을 대상으로 한 테스트설계사례오픈 스펙을 대상으로 한 테스트설계사례
오픈 스펙을 대상으로 한 테스트설계사례
 
IBM 보안솔루션 앱스캔_App Scan Source Edition
IBM 보안솔루션 앱스캔_App Scan Source EditionIBM 보안솔루션 앱스캔_App Scan Source Edition
IBM 보안솔루션 앱스캔_App Scan Source Edition
 
테스트수행사례 W통합보안솔루션
테스트수행사례 W통합보안솔루션테스트수행사례 W통합보안솔루션
테스트수행사례 W통합보안솔루션
 
Opensource APM SCOUTER in practice
Opensource APM SCOUTER in practiceOpensource APM SCOUTER in practice
Opensource APM SCOUTER in practice
 
[오픈소스컨설팅]소프트웨어테스팅전략
[오픈소스컨설팅]소프트웨어테스팅전략[오픈소스컨설팅]소프트웨어테스팅전략
[오픈소스컨설팅]소프트웨어테스팅전략
 
[고려대학교-SANE Lab] 170317풀타임세미나 이지섭
[고려대학교-SANE Lab]  170317풀타임세미나 이지섭[고려대학교-SANE Lab]  170317풀타임세미나 이지섭
[고려대학교-SANE Lab] 170317풀타임세미나 이지섭
 
Five Star Mobile App을 위한 테스트 체계 만들기
Five Star Mobile App을 위한 테스트 체계 만들기Five Star Mobile App을 위한 테스트 체계 만들기
Five Star Mobile App을 위한 테스트 체계 만들기
 
위험기반테스트접근 테스트계획 사례
위험기반테스트접근 테스트계획 사례위험기반테스트접근 테스트계획 사례
위험기반테스트접근 테스트계획 사례
 
Opensource apm scouter in practice
Opensource apm scouter in practiceOpensource apm scouter in practice
Opensource apm scouter in practice
 
Opensource apm scouter in practice
Opensource apm scouter in practiceOpensource apm scouter in practice
Opensource apm scouter in practice
 
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test
[26]자동화, 계륵에 살 붙이기 : Evolution of Android Automation Test
 
01.개발환경 교육교재
01.개발환경 교육교재01.개발환경 교육교재
01.개발환경 교육교재
 
IBM 보안솔루션 앱스캔_AppScan Standard 소개
IBM 보안솔루션 앱스캔_AppScan Standard 소개IBM 보안솔루션 앱스캔_AppScan Standard 소개
IBM 보안솔루션 앱스캔_AppScan Standard 소개
 
더 나은 SW프로젝트를 위해
 더 나은 SW프로젝트를 위해 더 나은 SW프로젝트를 위해
더 나은 SW프로젝트를 위해
 

Effective application of software safety techniques for automotive embedded control systems

  • 1. SW Safety Analysis Czerny, “Effective Application of Software Safety Techniques for Automotive Embedded Control Systems”, SAE 2005
  • 2. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 2 / 17 목표 1. ISO26262의 SW Safety Analysis를 수행하기 위해 Delphi의 Safety analysis approach에 대해 이해한다.
  • 3. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 3 / 17 Contents 1. Introduction 2. Software Safety Cycle Overview 3. Concept Design Phase a. Preliminary Hazard Analysis b. Software Safety Program Plan 4. Software Requirement Analysis Phase a. Software Hazard Analysis b. Hazard Testing c. Software Safety Requirement Review 5. Software Architecture Design Phase a. Fault Tree Analysis b. System Level Software FMEA 6. Software Detailed Design and Coding Phase a. Detailed Software Fault Tree Analysis b. Detailed Software FMEA Technique c. Defensive Programming 7. Software Verification and Validation Phase 8. Summery and Discussion
  • 4. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 4 / 17 1. Introduction Software failure는 ? any deviation from the intended behavior of the software of a system 시스템의 소프트웨어의 의도된 행동으로부터 벗어난 행동 Software failure mode의 잠재적인 원인의 3가지 핵심 카테고리 1) Hardware failures a. Memory failures in either the code space or variable space b. CPU failure(ALU, registers) c. Peripheral failures(I/O ports, A/D, CAN, SPI, watchdog, interrupt manager, timers) 2) Software Logic errors a. infinite loops b. incorrect calculations c. abrupt return d. taking a longer time to complete routine execution 3) support software(e.g. compiler) errors a. failed to configure tools correctly
  • 5. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 5 / 17 2. Software Safety Lifecycle Overview v
  • 6. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 6 / 17 2. Software Safety Lifecycle Overview vSoftware development phase Typical Software Safety Tasks Conceptual Design(System level) Preliminary Hazard Analysis SW Safety Planning SW Requirement Analysis SW Safety Requirements Analysis SW Architectural Design SW Safety Architecture Design Analysis SW Detailed Design and Coding SW Safety Detailed Analysis SW Safety Code Analysis SW Verification and Validation SW Safety Testing SW Safety Test Analysis SW Safety Case
  • 7. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 7 / 17 2. Software Safety Lifecycle Overview vSoftware development phase Typical Software Safety Tasks Conceptual Design(System level) Preliminary Hazard Analysis SW Safety Planning SW Requirement Analysis SW Safety Requirements Analysis SW Architectural Design SW Safety Architecture Design Analysis SW Detailed Design and Coding SW Safety Detailed Analysis SW Safety Code Analysis SW Verification and Validation SW Safety Testing SW Safety Test Analysis SW Safety Case
  • 8. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 8 / 17 3. Concept Design Phase(System Level) Project Leader는 system safety program이 product concept을 위해 필요한지를 결정한다. 어떻게 판단을 해야 하지? 1. 과거의 제품 개발 경험을 바탕으로 2. Preliminary hazard analysis(PHA)의 결과를 기반으로
  • 9. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 9 / 17 3. Concept Design Phase(System Level) Preliminary Hazard Analysis(PHA) 1. PHA의 목표 a. high-level system hazard를 식별하기 위해서 b. 발생할 수도 있는 잠재적 mishap의 criticality를 판단하기 위해서 2. PHA를 수행하기 위한 basic step a. system과 연관되어 있는 잠재적인 hazard를 식별하기 위해 브레인스토밍을 하거 나 기존의 잠재적 hazard list를 review한다. b. 잠재적 hazard를 기술하고 그것과 연관되어 있는 잠재적 mishap 시나리오를 작성 한다. c. 잠재적 hazard의 잠재적 cause를 파악한다. d. 잠재적 hazard와 mishap scenario의 risk를 판단한다. e. 잠재적 risk를 제거하거나 완화시키기 위해서 시스템 사양을 추가하기 위해 시스템 hazard-avoidance 요구사항이 필요한지의 여부를 판단한다. time이 잠재적 hazard의 요소가 되거나 잠재적 mishap발생의 요소가 된다면, 설계상에 놓여있는 잠재적 hazard로서의 시간 제약이 조사되어야 할 필요가 있다.
  • 10. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 10 / 17 3. Concept Design Phase(System Level) Preliminary Hazard Analysis(PHA) Control System의 example Control System PHA의 example High integrity ECU operation을 위해서, design team은 software failure로 인한 의도되지 않은 시스템의 행동을 고려해야 한다. Software의 fault는 hardware의 fault로도 발생할 수 있음 High integrity ECU operation을 위해서, design team은 software failure로 인한 의도되지 않은 시스템의 행동을 고려해야 한다. Software의 fault는 hardware의 fault로도 발생할 수 있음
  • 11. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 11 / 17 4. Software Requirement Analysis Phase Software Safety Program 1. 목표 a. 잠재적 software failure와 연관되어있는 potential hazard를 제거, 경감, 제어하기 위한 software safety requirement를 식별하기 위해서 2. Software Safety Goal을 만족시키기 위해 사용하는 methods a. Software Hazard Analysis b. Hazard Testing c. Software Safety Requirement Review
  • 12. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 12 / 17 4. Software Requirement Analysis Phase Software Hazard Analysis 1. SHA에서의 주요 활동 a. 잠재적 system hazard로 이끌 수 있는 잠재적 software failure를 식별하기 system의 잠재적 hazard와 잠재적 software cause사이의 확립된 link를 기반으로 식별 된 system hazard-avoidance requirement가 software hazard-avoidance requirement로 translate된다. è 이 일을 달성하기 위해 주로 사용되는 방법은 fault tree analysis(FTA)이다. FTA • top-down(deductive) analysis method • top level에서 undesired event에 대한 잠재적 cause를 식별한다. 현 단계에서 Software architecture나 detailed design에 대한 산출물이 없지만 FTA에 서 식별된 software state를 예상한다. è 이 예상을 바탕으로 실제 architecture 설계나 detail design에서 FTA에서의 결과를 반영한다.
  • 13. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 13 / 17 4. Software Requirement Analysis Phase Software Hazard Analysis System 수준에서의 Fault Tree 현 단계에서 Software architecture나 detailed design에 대한 산출물이 없지만 FTA에서 식별된 software state를 예상한다. è 이 예상을 바탕으로 실제 architecture 설계나 detail design에서 FTA에서의 결과를 반영한다. 현 단계에서 Software architecture나 detailed design에 대한 산출물이 없지만 FTA에서 식별된 software state를 예상한다. è 이 예상을 바탕으로 실제 architecture 설계나 detail design에서 FTA에서의 결과를 반영한다.
  • 14. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 14 / 17 4. Software Requirement Analysis Phase Software Hazard Analysis System 수준에서의 Fault Tree
  • 15. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 15 / 17 4. Software Requirement Analysis Phase Hazard Testing 1. 목표 잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다. 이런 시험의 결과 a. fault response times b. signal deviation level 잠재적 hazard가 발생하기 전에 회피 하기 위한 시스템 요구사항 잠재적 hazard가 발생하기 전에 회피 하기 위한 시스템 요구사항 Fault response timeFault response time Software diagnostics의 설계를 할 수 있도록 한다.Software diagnostics의 설계를 할 수 있도록 한다. Software task schedule의 설계에 매우 critical하다Software task schedule의 설계에 매우 critical하다 주어진 시간 이내에 선택한 controller가 충분한 성능이 있는지 를 판단하는 insight를 제공한다. 주어진 시간 이내에 선택한 controller가 충분한 성능이 있는지 를 판단하는 insight를 제공한다. 초기에는 simulation model이나 bench setup으로 수행될 수 있음초기에는 simulation model이나 bench setup으로 수행될 수 있음 식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시 험함으로써 confirm이 되어야 한다. 식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시 험함으로써 confirm이 되어야 한다.
  • 16. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 16 / 17 4. Software Requirement Analysis Phase Hazard Testing 1. 목표 잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다. 이런 시험의 결과 a. fault response times b. signal deviation level 초기에는 simulation model이나 bench setup으로 수행될 수 있음초기에는 simulation model이나 bench setup으로 수행될 수 있음 식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시 험함으로써 confirm이 되어야 한다. 식별된 fault response times는 가능하면 자동차의 실제 시스템에서 시 험함으로써 confirm이 되어야 한다. simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구 사항을 이끌어 낼 수 있음 “failure로 인한 vehicle에 유발된 undesired behavior는 x시간 이내에 y값을 넘기지 말아야 한다” simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구 사항을 이끌어 낼 수 있음 “failure로 인한 vehicle에 유발된 undesired behavior는 x시간 이내에 y값을 넘기지 말아야 한다”
  • 17. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 17 / 17 4. Software Requirement Analysis Phase Hazard Testing 1. 목표 잠재적 hazard 환경에서의 시스템의 실제 행동에 대한 시험하는 요구사항을 개발한다. 이런 시험의 결과 a. fault response times b. signal deviation level simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구 사항을 이끌어 낼 수 있음 “failure로 인한 vehicle에 유발된 undesired behavior는 x시간 이내에 y값을 넘기지 말아야 한다” simulation을 사용한 hazard testing과 vehicle testing은 가상적인 요구 사항을 이끌어 낼 수 있음 “failure로 인한 vehicle에 유발된 undesired behavior는 x시간 이내에 y값을 넘기지 말아야 한다” 소프트웨어가 아직 존재하지 않지만 vehicle level에서 vehicle 및 simulation기반으로 Software Safety Requirement을 정량화하기 위해 정량적인 vehicle level requirement를 사용하는 것이 가능하다. 소프트웨어가 아직 존재하지 않지만 vehicle level에서 vehicle 및 simulation기반으로 Software Safety Requirement을 정량화하기 위해 정량적인 vehicle level requirement를 사용하는 것이 가능하다. the ECU output command delivered to the actuator shall not deviate from the desired value by X amount for more than Y ms. the ECU output command delivered to the actuator shall not deviate from the desired value by X amount for more than Y ms.
  • 18. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 18 / 17 4. Software Requirement Analysis Phase Software Safety Requirement Review 1. 목표 a. Software hazard analysis에 의해 식별된 software safety requirement(SSR)에 대해 complete하고 consistent한지를 검사한다. b. Software functional requirement을 safety에 대한 영향(impact)관점에서 평가한다. 2. 수행 결과(Work product) a. software design을 위한 software safety requirement(SSR) SSR에는 coding guideline과 관련된 요구사항을 포함할 수 있음
  • 19. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 19 / 17 4. Software Requirement Analysis Phase Software Safety Requirement Review Revised Software Safety Requirements Software Safety Requirements
  • 20. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 20 / 17 4. Software Requirement Analysis Phase Software Safety Requirement Review Req. No. Requirement Comment SW-SAFETY-1 Software sensor diagnostics shall detect deviations of actual vs. measured sensor signals of TBD amount within TBD ms. Revised SW-SAFETY-2 Software command diagnostics shall detect deviations of computed Actuator command of X amount within Y ms. Based on ECU integrity requirement obtained from hazard testing SW-SAFETY-3 Software communication/driver diagnostics shall detect actuator communication errors within Y ms Determined by hazard testing (Fault detect) SW-SAFETY-4 Software failure management routine shall initiate controlled shutdown of the system immediately after a diagnostic detects a failure. Fault handling SW-SAFETY-5 All software shall conform to the MISRA C coding guidelines
  • 21. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 21 / 17 5. Software Architecture Design Phase 1. 목표 a. safety-critical software component와 function을 식별하는 것 b. 잠재적 hazard가 회피되거나 경감됨을 보이기 위해 식별된 component나 function 에 대해 적적한 high-level analysis method를 적용하는 것 2. 활동 a. software development team은 식별된 software requirement를 만족시키기 위해 서 생성할 필요가 있는 software component와 function들에 대해 명세 한다. b. 기존의 software hazard analysis로부터 integrity와 criticality level이 각각의 component와 function에 대해 평가된다. c. criticality level은 software component나 function의 malfunction으로부터 발생할 수 있는 잠재적 hazard에 의존적이다. d. criticality가 높을수록 더 높은 analysis level이 요구된다. e. 목표를 만족시키기 위해서 • 기존의 FTA를 확장하여 잠재적 hazard로 이끌 수 있는 소프트웨어의 state를 만드는 특정 software component나 function들을 식별한다. • 잠재적인 failure에 대해 광범위하게 cover하기 위해 시스템 수준의 FMEA를 수행한다. f. software component 및 function의 criticality는 개발된 fault tree에서 잠재적 software cause와 연결되어 있는 가장 높은 risk가 있는 잠재적 hazard를 기반으로 한다.
  • 22. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 22 / 17 5. Software Architecture Design Phase 소프트웨어 아키텍처의 example Architecture는 SSR을 기반으로 설계되어야 한다.Architecture는 SSR을 기반으로 설계되어야 한다.
  • 23. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 23 / 17 5. Software Architecture Design Phase Fault Tree Analysis 1. 활동 a. 기존의 fault tree가 revise되어 특정 software module이 fault tree에 포함된다. • fault tree에 있는 기존의 software portion을 교체한다. ü 필요한 소프트웨어 기능에 대한 지식을 기반으로 함 ü 소프트웨어의 구조를 기반으로 하지 않음 • 새롭게 생성된 software sub-tree와 교체되어 제거될 sub-tree를 비교하여 손실되는 부 분이 없도록 한다.
  • 24. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 24 / 17 5. Software Architecture Design Phase Fault Tree Analysis
  • 25. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 25 / 17 5. Software Architecture Design Phase Fault Tree Analysis
  • 26. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 26 / 17 5. Software Architecture Design Phase Fault Tree Analysis actuator에 bad command가 들어가는 두 개의 immediate causes가 식별됨 1. Command delivered to actuator deviates by X amount for Y ms and is not detected 2. DetermineSystemMode() fails to initiate shutdown when fault detected. actuator에 bad command가 들어가는 두 개의 immediate causes가 식별됨 1. Command delivered to actuator deviates by X amount for Y ms and is not detected 2. DetermineSystemMode() fails to initiate shutdown when fault detected. 12
  • 27. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 27 / 17 5. Software Architecture Design Phase Fault Tree Analysis 1. actuator에게 command를 produce, deliver할 필요 가 있는 software module 각각의 잠재적 failure 1. actuator에게 command를 produce, deliver할 필요 가 있는 software module 각각의 잠재적 failure 12 2. desired command로부터 deviation을 탐지할 의도 가 있는 관련된 diagnostics에서의 잠재적 failure 2. desired command로부터 deviation을 탐지할 의도 가 있는 관련된 diagnostics에서의 잠재적 failure 원인
  • 28. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 28 / 17 5. Software Architecture Design Phase Fault Tree Analysis 누가 더 criticality를 높아야 할까? vs DetermineSystemMode()는 the only single point failure이다. 그래서…. DetermineSystemMode()가 fail하는 것이 더 critical하다
  • 29. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 29 / 17 5. Software Architecture Design Phase System Level Software FMEA 1. 역할 • 소프트웨어 design의 구조적 weakness를 식별하는데 도움을 준다. • weak 혹은 missing requirement를 찾는데 도움을 준다. • latent software non-conformance를 찾는데 도움을 준다. 2. 목표 시스템의 구조와 기본 방어 설계를 점검하기 위해서 3. System level의 software FMEA를 수행하기 위한 핵심 자원 • PHA • hazard testing 4. 관련 reference • SAE ARP 5580 • SAE J-1739
  • 30. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 30 / 17 5. Software Architecture Design Phase System Level Software FMEA 5. 전제조건 • software FMEA를 수행하는 analyst는 다음에 대해 완벽하게 이해하여야 함 ü software design ü hardware structure ü interface between software and hardware ü software language to be used ü specifics of the software tools being used 6. 모든 component에 대한 failure mode • Failure to execute • Executes incompletely • Executes with incorrect timing which includes incorrect activation and execution time (including endless loop) • Erroneous execution 6. Interrupt Service Routine(ISR)에 대한 failure mode • Failure to return, thus blocking lower priority interrupts from executing • Returns incorrect priority
  • 31. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 31 / 17 5. Software Architecture Design Phase System Level Software FMEA 5. 전제조건 • software FMEA를 수행하는 analyst는 다음에 대해 완벽하게 이해하여야 함 ü software design ü hardware structure ü interface between software and hardware ü software language to be used ü specifics of the software tools being used 6. 모든 component에 대한 failure mode • Failure to execute • Executes incompletely • Executes with incorrect timing which includes incorrect activation and execution time (including endless loop) • Erroneous execution 7. Interrupt Service Routine(ISR)에 대한 failure mode • Failure to return, thus blocking lower priority interrupts from executing • Returns incorrect priority
  • 32. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 32 / 17 5. Software Architecture Design Phase System Level Software FMEA 8. 활동 • inductive reasoning을 수행하여 특정 mode에서 의도된 행동을 하는데 실패하는 component나 function에 대한 system 수준에서의 영향을 점검한다. • Component에 대한 general failure mode를 정의한다. • ISR에 대한 general failure mode를 정의한다. • 각각의 functional subroutine에 대한 관련 failure mode의 effect를 평가한다. • failure mode의 영향으로 인한 software output을 분석하고 hazardous outcome을 식별한다. • 식별된 hazardous outcome에 대해 SSR 혹은 software design을 추가한다. • 각각의 component나 function에 대해 failure mode를 적용하여 local 및 system level의 영향을 분석하여 severity도 할당한다.
  • 33. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 33 / 17 5. Software Architecture Design Phase System-Level의 Software FMEA의 example
  • 34. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 34 / 17 6. Software Detailed Design and Coding Phase 1. 목표 • detailed software design을 분석한다. • 구현된 software를 분석하여 software safety requirement가 만족되었는지를 확인 한다. 2. 활동 • subsystem interface를 분석하여 subsystem과 관련있는 잠재적 hazard를 식별한 다. • 잠재적 unsafe state를 체크한다. unsafe state는 다음에 의해 유발될 수 있다. ü I/O timing ü out-of-sequence event ü adverse environment • SW FMEA나 SW FTA의 방법을 수행한다. • requirement와 architecture phase에서 수행한 high-level의 FTA를 이용하여 potential hazard를 software variable과 state수준으로까지 확장시킨다. • input variables및 software 내부의 processing logic의 잠재적 failure를 tracing를 함으로써 detailed FMEA를 적용한다. • analysis의 수준은 criticality level의 값에 의존적이다.
  • 35. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 35 / 17 6. Software Detailed Design and Coding Phase Example code for determining system mode 다른 routine에서 작성한 diagnostic flag를 검사한다. failure가 발생하면 system을 safe한 상태로 이동시킨다. (Source code에서는 controller를 shot down시킨다.) 다른 routine에서 작성한 diagnostic flag를 검사한다. failure가 발생하면 system을 safe한 상태로 이동시킨다. (Source code에서는 controller를 shot down시킨다.)
  • 36. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 36 / 17 6. Software Detailed Design and Coding Phase Detailed Software Fault Tree Analysis software detailed design과 code가 available하기 때문에 fault tree의 내용을 상세화 시킬 수 있다. Detailed Software FMEA Technique 시간이 많이 소모되고 very-high integrity system에만 적용된다. Example Variable mapping Software routine에 대해 input, output, global variable mapping을 수행한다. variable mapping이 완성되면 variable과 processing logic에 대한 failure mode를 개발한다. Software routine에 대해 input, output, global variable mapping을 수행한다. variable mapping이 완성되면 variable과 processing logic에 대한 failure mode를 개발한다.
  • 37. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 37 / 17 6. Software Detailed Design and Coding Phase Detailed Software FMEA Technique Variable Failure Modes Variable의 종류는 3가지가 있다. 1) Analog 2) Boolean 3) Enumerated Failure Modes for Different Variable Type
  • 38. ISO 26262 Road vehicles - Functional safety Training by Korea Testing Laboratory ⓒ-Copyright 2012 Korea Testing Laboratory 38 / 17 6. Software Detailed Design and Coding Phase Detailed Software FMEA Technique Software Processing Logic Failure Modes Software Processing Logic의 Failure Mode는 operator fault가 있다. x = a + b === > x = a – b (fault) Integrating Results Example of a set of top-level critical variables identified by a detailed hazard analysis critical variables