1 / 11

Checking Fault Tolerance in Safety and Security-Critical Systems

Checking Fault Tolerance in Safety and Security-Critical Systems. Component faults. Sensor. Controller. Safety / Security Violation. Button. Model Checking. Identify Unsafe Behaviour. Aim: To Predict the Effects of Component Failures. The problem:. The solution:.

presta
Download Presentation

Checking Fault Tolerance in Safety and Security-Critical Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Checking Fault Tolerance in Safety and Security-Critical Systems

  2. Component faults Sensor Controller Safety / Security Violation Button Model Checking Identify Unsafe Behaviour Aim: To Predict the Effects of Component Failures The problem: The solution: ie, automatic Failure Modes and Effect Analysis (FMEA)

  3. Step 1: Identify the Safety/Security Requirements Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either … System Model Or … Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  4. Step 2: Formalise the Safety/Security Requirements th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either … System Model Or … Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  5. Step 3: Model the System Behaviour Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either… System Model Or… Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  6. Step 4: Model the Component Fault Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either… System Model Or… Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  7. Fault injection is automatic Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either… System Model Or… Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  8. The Tool checks whether the Safety Requirement is met Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking System Model with Injected Component Fault Modes Either… System Model Or… Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  9. Example Violation of Safety Requirement Motor turned on while plunger falling past point of no return Faulty Sensor Result: Motor may explode, Operator in danger

  10. The Tool identifies an Unsafe Behaviour Safety and Security Requirements Formalised Temporal Logic Formulae Identified unsafe behaviours th1: THEOREM behavior |- G((plunger=plunger_at_top AND operator=operator_released_button) => (electric_Motor=electric_Motor_on)); th2: THEOREM behavior |- G((plunger=plunger_falling_fast) => (electric_Motor=electric_Motor_off)); th3: THEOREM behavior |- G(F(plunger=plunger_falling_fast)) => G((plunger=plunger_falling_slow AND operator=operator_released_button) => U(plunger=plunger_falling_slow, electric_Motor=electric_Motor_on)); th4: THEOREM behavior |- G(NOT((plunger=plunger_rising_below_PONR OR plunger=plunger_rising_above_PONR) AND (electric_Motor=electric_Motor_off))); Th1: Uncommanded closing: Plunger should not start falling without the operator pressing the button. Th2: Motor on below PONR: The motor should not turn on when the plunger is falling below the PONR. Th3: Loss of abort: If the plunger is falling above the PONR and the operator releases the button, the motor should turn on. Th4: Plunger falling before reaching the top: The motor should not turn off unless the plunger is at the top. Automatic Model Checking Hazard has occurred System Model with Injected Component Fault Modes Either… System Model Or … Verification that the Injected Component Faults do not lead to unsafe behaviour Component Fault Modes

  11. In summary: Predicting Effects of Component Failures • Identify impact of component faults • Identify paths leading to unsafe behaviour • Automates Failure Mode and Effect Analysis (FMEA)

More Related