Oct. 2006 State-Space Modeling Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools.

Slides:



Advertisements
Similar presentations
Lecture 5 This lecture is about: Introduction to Queuing Theory Queuing Theory Notation Bertsekas/Gallager: Section 3.3 Kleinrock (Book I) Basics of Markov.
Advertisements

Apr. 2007SatisfiabilitySlide 1 Satisfiability A Lecture in CE Freshman Seminar Series: Ten Puzzling Problems in Computer Engineering.
Lecture 6  Calculating P n – how do we raise a matrix to the n th power?  Ergodicity in Markov Chains.  When does a chain have equilibrium probabilities?
The Laplace Transform Let f(x) be defined for 0≤x
Fault Tree Analysis Part 12 – Redundant Structure and Standby Units.
Chapter 8 Continuous Time Markov Chains. Markov Availability Model.
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
INDR 343 Problem Session
Probability and Statistics with Reliability, Queuing and Computer Science Applications: Chapter 6 on Stochastic Processes Kishor S. Trivedi Visiting Professor.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Review Resources: Wiki: State Variables YMZ: State Variable Technique Wiki: Controllability.
TCOM 501: Networking Theory & Fundamentals
Oct. 2007State-Space ModelingSlide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
Dependability Evaluation through Markovian model.
NETE4631:Capacity Planning (3)- Private Cloud Lecture 11 Suronapee Phoomvuthisarn, Ph.D. /
Reliable System Design 2011 by: Amir M. Rahmani
Oct Combinational Modeling Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
Ch 7.9: Nonhomogeneous Linear Systems
A. BobbioBertinoro, March 10-14, Dependability Theory and Methods 5. Markov Models Andrea Bobbio Dipartimento di Informatica Università del Piemonte.
Oct Terminology, Models, and Measures Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Ch 6.1: Definition of Laplace Transform Many practical engineering problems involve mechanical or electrical systems acted upon by discontinuous or impulsive.
Queueing Theory: Part I
2003 Fall Queuing Theory Midterm Exam(Time limit:2 hours)
Modeling and Analysis of Manufacturing Systems Session 2 QUEUEING MODELS January 2001.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
Oct Fault Masking Slide 1 Fault-Tolerant Computing Dealing with Low-Level Impairments.
Oct Defect Avoidance and Circumvention Slide 1 Fault-Tolerant Computing Dealing with Low-Level Impairments.
Continuous-Time Convolution EE 313 Linear Systems and Signals Fall 2005 Initial conversion of content to PowerPoint by Dr. Wade C. Schwartzkopf Prof. Brian.
Oct. 2007Combinational ModelingSlide 1 Fault-Tolerant Computing Motivation, Background, and Tools.
Chapter 3 1 Laplace Transforms 1. Standard notation in dynamics and control (shorthand notation) 2. Converts mathematics to algebraic operations 3. Advantageous.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
5.7 Impulse Functions In some applications, it is necessary to deal with phenomena of an impulsive nature—for example, voltages or forces of large magnitude.
ECE 2300 Circuit Analysis Dr. Dave Shattuck Associate Professor, ECE Dept. Lecture Set #12 Natural Response W326-D3.
ECE 2300 Circuit Analysis Dr. Dave Shattuck Associate Professor, ECE Dept. Lecture Set #13 Step Response W326-D3.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Chapter 3 mathematical Modeling of Dynamic Systems
Prepared by Mrs. Azduwin Binti Khasri
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
IEEE ICCA 2010 – Xiamen, June 11, 2010 On Closed Form Solutions for Equilibrium Probabilities in the Closed Lu-Kumar Network under Various Buffer Priority.
Evaluating Algebraic Expressions 1-7 Solving Equations by Adding or Subtracting Preparation for AF4.0 Students solve simple linear equations and inequalities.
Why Wait?!? Bryan Gorney Joe Walker Dave Mertz Josh Staidl Matt Boche.
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
1 EXAKT SKF Phase 1, Session 2 Principles. 2 The CBM Decision supported by EXAKT Given the condition today, the asset mgr. takes one of three decisions:
NETE4631: Network Information System Capacity Planning (2) Suronapee Phoomvuthisarn, Ph.D. /
MATH 416 Equations & Inequalities II. Solving Systems of Equations Apart from the graphic method, there are three other methods we could use to solve.
Linear Constant-Coefficient Difference Equations
Discretization of Continuous-Time State Space Models
REPAIRABLE SYSTEMS 1 AVAILABILITY ENGINEERING. A Single Repairable Component With Failure Rate λ and Repair Rate μ The component may exist in one of Two.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
ERT 210/4 Process Control & Dynamics DYNAMIC BEHAVIOR OF PROCESSES :
1 Chapter 5 Continuous time Markov Chains Learning objectives : Introduce continuous time Markov Chain Model manufacturing systems using Markov Chain Able.
Lecture -5 Topic :- Step Response in RL and RC Circuits Reference : Chapter 7, Electric circuits, Nilsson and Riedel, 2010, 9 th Edition, Prentice Hall.
Dynamic Presentation of Key Concepts Module 6 – Part 2 Natural Response of First Order Circuits Filename: DPKC_Mod06_Part02.ppt.
DYNAMIC BEHAVIOR OF PROCESSES :
Velocity Propagation Between Robot Links 3/4 Instructor: Jacob Rosen Advanced Robotic - MAE 263D - Department of Mechanical & Aerospace Engineering - UCLA.
Copyright 2007 Koren & Krishna, Morgan-Kaufman Part.4.1 FAULT TOLERANT SYSTEMS Part 4 – Analysis Methods Chapter 2 – HW Fault Tolerance.
Discrete-time Markov chain (DTMC) State space distribution
Teknik kendali.
Availability Availability - A(t)
Much More About Markov Chains
SIGMA INSTITUTE OF ENGINEERING
Mathematical Modeling of Control Systems
Equivalent State Equations
Reliability Engineering
Mathematical Models of Control Systems
Chapter 3 Modeling in the Time Domain
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Presentation transcript:

Oct State-Space Modeling Slide 1 Fault-Tolerant Computing Motivation, Background, and Tools

Oct State-Space Modeling Slide 2 About This Presentation EditionReleasedRevised FirstOct This presentation has been prepared for the graduate course ECE 257A (Fault-Tolerant Computing) by Behrooz Parhami, Professor of Electrical and Computer Engineering at University of California, Santa Barbara. The material contained herein can be used freely in classroom teaching or any other educational setting. Unauthorized uses are prohibited. © Behrooz Parhami

Oct State-Space Modeling Slide 3 State-Space Modeling

Oct State-Space Modeling Slide 4

Oct State-Space Modeling Slide 5 What Is State-Space Modeling? With respect to availability of resources and computational capabilities, a system can be viewed as being in one of several possible states State transitions: System moves from one state to another as resource availability and computational power change due to various events State-space modeling entails quantifying transition probabilities so as to determine the probability of the system being in each state; from this, we derive reliability, availability, safety, and other desired parameters The number of states can be large, if we want to make fine distinctions, or it can be relatively small if we lump similar states together Great Lousy Good So-so

Oct State-Space Modeling Slide 6 Markov Chains Represented by a state diagram with transition probabilities Sum of all transition probabilities out of each state is 1 s(t + 1) = s(t) M s(t + h) = s(t) M h The state of the system is characterized by the vector (s 0, s 1, s 2, s 3 ) (1, 0, 0, 0) means that the system is in state 0 (0.5, 0.5, 0, 0) means that the system is in state 0 or 1 with equal prob’s (0.25, 0.25, 0.25, 0.25) represents complete uncertainty Must sum to 1 Transition matrix: M = Example: (s 0, s 1, s 2, s 3 ) = (0.5, 0.5, 0, 0) M = (0.4, 0.4, 0.15, 0.05) (s 0, s 1, s 2, s 3 ) = (0.4, 0.4, 0.15, 0.05) M = (0.34, 0.365, 0.225, 0.07) Markov matrix (rows sum to 1) Self loops not shown

Oct State-Space Modeling Slide 7 Merging States in a Markov Model  All solid lines Dashed lines    0 Failed state if TMR Simpler equivalent model for 3-unit fail-soft system Whether or not states are merged depends on the model’s semantics There are three identical units 1 = Unit is up 0 = Unit is down

Oct State-Space Modeling Slide 8 Two-State Nonrepairable Systems Reliability as a function of time: R(t) = p 1 (t) = e – t Rate of change for the probability of being in state 1 is – p 1 = – p 1 p 1 + p 0 = 1 10 The label on this transition means that over time dt, the transition will occur with probability dt (we are dealing with a continuous-time Markov model) p 0 = 1 – e – t p 1 = e – t 1 Time Initial condition: p 1 (0) = 1

Oct State-Space Modeling Slide 9 k-out-of-n Nonrepairable Systems nn – 1 n n – 2 (n–1) kk – 1 k … 0 … p n = –n p n p n–1 = n p n – (n – 1) p n–1. p k = (k + 1) p k+1 – k p k p n + p n– p k + p F = 1 F p n = e –n t p 1 = ne –(n–1) t (1 – e – t ). p k = ( ) e –(n–k) t (1 – e – t ) k p F = 1 –  j=k to n p j nknk Initial condition: p n (0) = 1 In this case, we do not need to resort to more general method of solving linear differential equations (LaPlace transform, to be introduced later) The first equation is solvable directly, and each additional equation introduces only one new variable

Oct State-Space Modeling Slide 10 Two-State Repairable Systems Availability as a function of time: A(t) = p 1 (t) =  /( +  ) + /( +  ) e –( +  )t Derived in the next slide In steady state (equilibrium), transitions into/out-of each state must “balance out” – p 1 +  p 0 = 0 p 1 + p 0 = 1 10  The label  on this transition means that over time dt, repair will occur with probability  dt (constant repair rate as well as constant failure rate) p 1 =  /( +  ) p 0 = /( +  ) 1 Steady-state availability Time

Oct State-Space Modeling Slide 11 Solving the State Differential Equations 10  To solve linear differential equations with constant coefficients: 1. Convert to algebraic equations using LaPlace transform 2. Solve the algebraic equations 3. Use inverse LaPlace transform to find original solutions p 1 (t) = – p 1 (t) +  p 0 (t) p 0 (t) = –  p 0 (t) + p 1 (t) sP 1 (s) –  p 1 (0) = – P 1 (s) +  P 0 (s) sP 0 (s) –  p 0 (0) = –  P 0 (s) + P 1 (s) P 1 (s) = (s +  ) / [s 2 + ( +  )s] P 0 (s) = / [s 2 + ( +  )s] 1 0 p 1 (t) =  /( +  ) + /( +  ) e –( +  )t p 0 (t) = /( +  ) – /( +  ) e –( +  )t LaPlace Transform Table h(t) H(s) kk/s e –at 1/(s + a) t n–1 e –at /(n – 1)!1/(s + a) n k h(t) k H(s) h(t) + g(t) H(s) + G(s) h(t) s H(s) – h(0)

Oct State-Space Modeling Slide 12 Systems with Multiple Failure States Safety evaluation: Total risk of system is  failure states c j p j In steady state (equilibrium), transitions into/out-of each state must “balance out” – p 2 +  p 1 +  p 0 = 0 –  p p 2 = 0 p 2 + p 1 + p 0 = 1 p 2 =  /( +  ) p 1 = 1 /( +  ) p 0 = 0 /( +  ) Failure state j has a cost (penalty) c j associated with it 1   = 1 Time p2(t)p2(t) p1(t)p1(t) p0(t)p0(t)

Oct State-Space Modeling Slide 13 Systems with Multiple Operational States Performability evaluation: Performability =  operational states b j p j – 2 p 2 +  2 p 1 = 0 1 p 1 –  1 p 0 = 0 p 2 + p 1 + p 0 = 1 p 2 =  p 1 =  2 /  2 p 0 =  1 2 /(  1  2 ) Operational state j has a benefit b j associated with it 2 1  2 Let  = 1/[1 + 2 /  /(  1  2 )] Example: 2 = 2, 1 =,  1 =  2 =  (single repairperson or facility), b 2 = 2, b 1 = 1, b 0 = 0 P = 2p 2 + p 1 = 2  + 2  /  = 2(1 + /  )/(1 +2 /  /  2 )

Oct State-Space Modeling Slide 14 TMR System with Repair Mean time to failure evaluation: See [Siew92], pp , for derivation MTTF = 5/(6 ) +  /(6 2 ) = [5/(6 )](  / ) –3 p 3 +  p 2 = 0 –(  + 2 )p p 3 = 0 p 3 + p 2 + p F = 1 Assume the voter is perfect Upon first module malfunction, we switch to duplex operation with comparison 3 3F2 2  Steady-state analysis of no use p 3 = p 2 = 0, p F = 1 MTTF Comparisons ( = 10 –6 /hr,  = 0.1/hr) Nonredundant1/ 1 M hr TMR5/(6 ) M hr TMR with repair[5/(6 )](  / )16,668 M hr MTTF for TMR Improvement due to repair Improvement factor

Oct State-Space Modeling Slide 15 Fail-Soft System with Imperfect Coverage – 2 p 2 +  2 p 1 = 0 2 (1 – c)p p 1 –  1 p 0 = 0 p 2 + p 1 + p 0 = 1 p 2 =  p 1 = 2  p 0 = 2  (1 – c +  )  If malfunction of one unit goes undetected, the system fails 2 c 1  2 We solve this in the special case of 2 = 2, 1 =,  2 =  1 =  Let  = /  and  = 1 / (1 + 4  – 2c  + 2  2 ) We can also consider coverage for the repair direction 2 (1 – c)

Oct State-Space Modeling Slide 16 Birth-and-Death Processes Special case of Markov model with states appearing in a chain and transitions allowed only between adjacent states This model is used in queuing theory, where the customers’ arrival rate and provider’s service rate determine the queue size and waiting time Closed-form expression for state probabilities can be found, assuming n + 1 states and s service providers (repair persons): M/M/s/n/n queue p j = (n – j + 1) ( /  ) p j–1 / j for j = 1, 2,..., r p j = (n – j + 1) ( /  ) p j–1 / r for j = r + 1, r + 2,..., n 4  01 3  2 3  24 22 22 33  22 33 44 Equation for p 0 [Siew92], p. 347

Oct State-Space Modeling Slide 17 The Dependability Modeling Process Choose modeling approach Combinational State-space Solve model Derive model parameters Interpret results Validate model and results Construct model Iterate until results are satisfactory

Oct State-Space Modeling Slide 18 Software Aids for Reliability Modeling Relex (company specializing in reliability engineering) Reliability block diagram: Markov: Iowa State University HIMAP: University of Virginia Galileo: See Appendix D, pp , of [Shoo02] for more programs Dept. of Mechanical Engineering, Univ. of Maryland: List of reliability engineering tools: