RELIABILITY AND RISK MODELS
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
RELIABILITY AND RISK MODELS SETTING RELIABILITY REQUIREMENTS
M.T. Todinov Cranfield University, UK
Copyright Ó 2005
John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, England Telephone
(þ44) 1243 779777
Email (for orders and customer service enquiries):
[email protected] Visit our Home Page on www.wiley.com All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except under the terms of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London W1T 4LP, UK, without the permission in writing of the Publisher. Requests to the Publisher should be addressed to the Permissions Department, John Wiley & Sons Ltd, The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, England, or emailed to
[email protected], or faxed to (þ44) 1243 770620. Designations used by companies to distinguish their products are often claimed as trademarks. All brand names and product names used in this book are trade names, service marks, trademarks or registered trademarks of their respective owners. The Publisher is not associated with any product or vendor mentioned in this book. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold on the understanding that the Publisher is not engaged in rendering professional services. If professional advice or other expert assistance is required, the services of a competent professional should be sought. Other Wiley Editorial Offices John Wiley & Sons Inc., 111 River Street, Hoboken, NJ 07030, USA Jossey-Bass, 989 Market Street, San Francisco, CA 94103-1741, USA Wiley-VCH Verlag GmbH, Boschstr. 12, D-69469 Weinheim, Germany John Wiley & Sons Australia Ltd, 33 Park Road, Milton, Queensland 4064, Australia John Wiley & Sons (Asia) Pte Ltd, 2 Clementi Loop #02-01, Jin Xing Distripark, Singapore 129809 John Wiley & Sons Canada Ltd, 22 Worcester Road, Etobicoke, Ontario, Canada M9W 1L1 Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Library of Congress Cataloging in Publication Data Todinov, M.T. Reliability and risk models : setting reliability requirements / M.T. Todinov. p. cm. ISBN 0-470-09488-5 1. Reliability (Engineering)—Mathematical models. 2. Risk assessment—Mathematical models. I. Title. TA169.T65 2005 6200 .004520 015118—dc22 2004026795 British Library Cataloguing in Publication Data A catalogue record for this book is available from the British Library ISBN 0-470-09488-5 (HB) Typeset in 10/12pt Times by Integra Software Services Pvt. Ltd, Pondicherry, India Printed and bound in Great Britain by TJ International, Padstow, Cornwall This book is printed on acid-free paper responsibly manufactured from sustainable forestry in which at least two trees are planted for each one used for paper production.
To Polly and Marin
Contents
PREFACE 1
SOME BASIC RELIABILITY CONCEPTS 1.1 1.2
1.3
1.4 2
Reliability (survival) Function, Cumulative Distribution and Probability Density Function of the Times to Failure Random Events in Reliability and Risk Modelling 1.2.1 Reliability of a System with Components Logically Arranged in Series 1.2.2 Reliability of a System with Components Logically Arranged in Parallel 1.2.3 Reliability of a System with Components Logically Arranged in Series and Parallel On Some Applications of the Total Probability Theorem and the Bayes Transform 1.3.1 Total Probability Theorem. Applications 1.3.2 Bayesian Transform. Applications Physical and Logical Arrangement of Components
COMMON RELIABILITY AND RISK MODELS AND THEIR APPLICATIONS 2.1 2.2 2.3 2.4
General Framework for Reliability and Risk Analysis Based on Controlling Random Variables Binomial Model Homogeneous Poisson Process and Poisson Distribution Negative Exponential Distribution 2.4.1 Memoryless Property of the Negative Exponential Distribution
xv 1 1 3 5 8 10 12 12 16 18
19 19 20 24 26 28
viii
Contents
2.4.2
2.5
2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 3
4
Link Between the Poisson Distribution and the Negative Exponential Distribution 2.4.3 Reliability of a Series Arrangement, Including Components with Constant Hazard Rates Hazard Rate 2.5.1 Difference between a Failure Density and Hazard Rate Mean Time to Failure (MTTF) Gamma Distribution Uncertainty Associated with the Mean Time to Failure Mean Time Between Failures (MTBF) Uniform Distribution Model Gaussian (Normal) Model Log-Normal Model The Weibull Model Reliability Bathtub Curve for Non-Repairable Components/Systems Extreme Value Models
28 29 30 32 33 34 37 39 40 41 45 46 49 50
RELIABILITY AND RISK MODELS BASED ON MIXTURE DISTRIBUTIONS
53
3.1 3.2 3.3
Distribution of a Property from Multiple Sources Variance of a Property from Multiple Sources Variance Upper Bound Theorem 3.3.1 Determining the Source Whose Removal Results in the Largest Decrease of the Variance Upper Bound 3.3.2 Modelling the Uncertainty of the Charpy Impact Energy at a Specified Test Temperature 3.4 Variation and Uncertainty Associated with the Charpy Impact Energy at a Specified Test Temperature Appendix 3.1 Appendix 3.2 An Algorithm for Determining the Upper Bound of the Variance of Properties from Sampling from Multiple Sources
53 55 59
BUILDING RELIABILITY AND RISK MODELS
69
4.1 4.2
69 72
General Rules for Reliability Data Analysis Probability Plotting 4.2.1 Testing for Consistency with the Uniform Distribution Model 4.2.2 Testing for Consistency with the Exponential Model 4.2.3 Testing for Consistency with the Weibull Distribution
60 61 62 64
67
75 75 76
ix
Contents
4.2.4
4.3 4.4
5
77 77 78 80 82
LOAD–STRENGTH (DEMAND–CAPACITY) MODELS
85
5.1 5.2 5.3 5.4
85 86 88
5.5 5.6
6
Testing for Consistency with the Type I Extreme Value Model 4.2.5 Testing for Consistency with the Normal Distribution Estimating Model Parameters Using the Method of Maximum Likelihood Estimating the Parameters of a Three-Parameter Power Law 4.4.1 Some Applications of the Three-Parameter Power Law
A General Reliability Model The Load–Strength Interference Model Load–Strength (Demand Capacity) Integrals Calculating the Load–Strength Integral Using Numerical Methods Normally Distributed and Statistically Independent Load and Strength Reliability and Risk Analysis Based on the Load–Strength Interference Approach 5.6.1 Influence of Strength Variability on Reliability 5.6.2 The Importance of the Shape of the Lower Tail of the Strength Distribution and the Upper Tail of the Load Distribution
90 91 95 95
99
SOLVING RELIABILITY AND RISK MODELS USING A MONTE CARLO SIMULATION
105
6.1 6.2
105 108
Monte Carlo Simulation Algorithms Simulation of Random Variables 6.2.1 Simulation of a Uniformly Distributed Random Variable 6.2.2 Generation of a Random Subset 6.2.3 Inverse Transformation Method for Simulation of Continuous Random Variables 6.2.4 Simulation of a Random Variable Following the Negative Exponential Distribution 6.2.5 Simulation of a Random Variable Following the Gamma Distribution 6.2.6 Simulation of a Random Variable Following a Homogeneous Poisson Process in a Finite Interval 6.2.7 Simulation of a Discrete Random Variable with a Specified Distribution 6.2.8 Selection of a Point at Random in Three-dimensional Space Region
108 109 110 111 112 112 113 114
x
Contents
6.2.9
Simulation of Random Locations Following a Homogeneous Poisson Process in a Finite Domain 6.2.10 Simulation of a Random Direction in Space 6.2.11 Simulation of a Random Variable Following the Three-parameter Weibull Distribution 6.2.12 Simulation of a random variable following the maximum extreme value distribution 6.2.13 Simulation of a Gaussian Random Variable 6.2.14 Simulation of a Log-normal Random Variable 6.2.15 Conditional Probability Technique for Bivariate Sampling 6.2.16 Von Neumann’s Method for Modelling Continuous Random Variables 6.2.17 Random sampling from a mixture distribution 6.3 Monte Carlo Simulation Algorithms for Solving Reliability and Risk Models 6.3.1 An Algorithm for Solving the General Reliability Model 6.3.2 Monte Carlo Evaluation of the Reliability on Demand during a Load–Strength Interference 6.4 Monte Carlo Simulation of the Lower Tail of the Strength Distribution for Materials Containing Flaws Appendix 6.1 7
ANALYSIS OF THE PROPERTIES OF INHOMOGENEOUS MEDIA USING MONTE CARLO SIMULATIONS 7.1 7.2 7.3 7.4
8
Analysis of Inhomogeneous Microstructures Using Random Transects Empirical Cumulative Distribution of the Intercepts Intercept Variance Lower Tail of Material Properties, Monotonically Dependent on the Amount of the Intercepted Fraction
115 116 117 118 118 119 120 121 123 123 123 124 127 130
133 134 135 139 142
MECHANISMS OF FAILURE
145
8.1
145 145 147 147 149 149 149 151
8.2
Overstress Failures 8.1.1 Brittle Fracture 8.1.2 Ductile Fracture 8.1.3 Ductile-to-brittle Transition Region 8.1.4 Yielding Wear-out Failures 8.2.1 Fatigue Failures 8.2.2 Failures due to Corrosion and Erosion
xi
Contents
8.3
9
OVERSTRESS RELIABILITY INTEGRAL AND DAMAGE FACTORISATION LAW 9.1 9.2
10
10.3 10.4 10.5
10.6
Background General Equation Related to the Probability of Failure of a Stressed Component with Internal Flaws Determining the Individual Probability of Triggering Failure, Characterising a Single Flaw Parameters Related to the Statistics of Fracture Triggered by Flaws Upper Bounds of the Flaw Number Density and the Stressed Volume Guaranteeing Probability of Failure below a Maximum Acceptable Level A Stochastic Model Related to the Fatigue Life Distribution of a Component Containing Defects
UNCERTAINTY ASSOCIATED WITH THE LOCATION OF THE DUCTILE-TO-BRITTLE TRANSITION REGION OF MULTI-RUN WELDS 11.1 11.2 11.3
12
Reliability Associated with Overstress Failure Mechanisms Damage Factorisation Law
DETERMINING THE PROBABILITY OF FAILURE FOR COMPONENTS CONTAINING FLAWS 10.1 10.2
11
Early-life Failures 8.3.1 Influence of the Design on Early-life Failures 8.3.2 Influence of the Variability of Critical Design Parameters on Early-life Failures
Modelling the Systematic and Random Component of the Charpy Impact Energy Determining the Uncertainty Associated with the Location of the Ductile-to-brittle Transition Region Risk Assessment Associated with the Location of the Transition Region
MODELLING THE KINETICS OF DETERIORATION OF PROTECTIVE COATINGS DUE TO CORROSION 12.1 12.2 12.3
Statement of the Problem Modelling the Quantity of Corroded Protective Coating with Time An Illustrative Example
153 153 154
159 159 162
165 165 168 170 173
174 176
179 179 181 186
191 191 192 194
xii 13
14
Contents
MINIMISING THE PROBABILITY OF FAILURE OF AUTOMOTIVE SUSPENSION SPRINGS BY DELAYING THE FATIGUE FAILURE MODE
199
RELIABILITY GOVERNED BY THE RELATIVE LOCATIONS OF RANDOM VARIABLES IN A FINITE DOMAIN
205
14.1
Reliability Dependent on the Relative Configurations of Random Variables 14.2 A Generic Equation Related to Reliability Dependent on the Relative Locations of a Fixed Number of Random Variables 14.2.1 An Illustrative Example. Probability of Clustering of Random Demands within a Critical Interval 14.3 A Given Number of Uniformly Distributed Random Variables in a Finite Interval (Conditional Case) 14.4 Applications 14.5 Reliability Governed by the Relative Locations of Random Variables Following a Homogeneous Poisson Process in a Finite Domain Appendix 14.1 15
RELIABILITY DEPENDENT ON THE EXISTENCE OF MINIMUM CRITICAL DISTANCES BETWEEN THE LOCATIONS OF RANDOM VARIABLES IN A FINITE INTERVAL 15.1
15.2 15.3
15.4
Problems Requiring Reliability Measures Based on Minimum Critical Intervals (MCI) and Minimum Failure-free Operating Periods (MFFOP) The MCI and MFFOP Reliability Measures General Equations Related to Random Variables Following a Homogeneous Poisson Process in a Finite Interval Application Examples 15.4.1 Setting Reliability Requirements to Guarantee a Specified MFFOP 15.4.2 Reliability Assurance that a Specified MFFOP has been met 15.4.3 Specifying a Number Density Envelope to Guarantee Probability of Clustering below a Maximum Acceptable Level
205
206 209 210 212
216 217
221
221 224
225 227 227 228
230
xiii
Contents
15.5
15.6 15.7
16
Setting Reliability Requirements to Guarantee a Minimum Failure-free Operating Period before Failures Followed by a Downtime 15.5.1 A Monte Carlo Simulation Algorithm for Evaluating the Probability of Existence of an MFFOP of Specified Length A Numerical Example Setting Reliability Requirements to Guarantee an Availability Target 15.7.1 Monte Carlo Evaluation of the Average Availability Associated with a Finite Time Interval 15.7.2 A Numerical Example
RELIABILITY ANALYSIS AND SETTING RELIABILITY REQUIREMENTS BASED ON THE COST OF FAILURE 16.1
16.2 16.3 16.4
16.5 16.6 16.7 16.8
16.9
General Models for Setting Cost-of-failure-driven Reliability Requirements for Non-repairable Components/Systems 16.1.1 A Constant Cost of Failure Cost of Failure from Mutually Exclusive Failure Modes Some Important Counterexamples Time-dependent Cost of Failure 16.4.1 Calculating the Risk of Failure in case of Cost of Failure Dependent on Time Risk of Premature Failure if the Cost of Failure Depends on Time Setting Reliability Requirements to Minimise the Total Cost. Value from the Reliability Investment Guaranteeing Multiple Reliability Requirements for Systems with Components Logically Arranged in Series Risk of Premature Failure for Systems whose Components are not Logically Arranged in Series 16.8.1 Expected Losses from Failures for Repairable Systems whose Components are not Arranged in Series Reliability Allocation to Minimise the Total Losses
231
233 234 235 236 237
239
240 240 242 246 249 249 251 252 259 261
264 264
APPENDIX A
267
1. 2. 3.
267 270 270
Random Events Union of Events Intersection of Events
xiv
Contents
4. Probability 5. Probability of a Union and Intersection of Mutually Exclusive Events 6. Conditional Probability 7. Probability of a Union of Non-disjoint Events 8. Statistically Dependent Events 9. Statistically Independent Events 10. Probability of a Union of Independent Events 11. Boolean Variables and Boolean Algebra
275 276 279 281 281 282 282
APPENDIX B
289
1. 2. 3. 4. 5. 6. 7. 8. 9.
Random Variables. Basic Properties Boolean Random Variables Continuous Random Variables Probability Density Function Cumulative Distribution Function Joint Distribution of Continuous Random Variables Correlated Random Variables Statistically Independent Random Variables Properties of the Expectations and Variances of Random Variables 10. Important Theoretical Results Regarding the Sample Mean APPENDIX C
CUMULATIVE DISTRIBUTION FUNCTION OF THE STANDARD NORMAL DISTRIBUTION
274
289 290 291 291 292 292 293 294 295 297
299
APPENDIX D c2 -DISTRIBUTION
301
REFERENCES
307
INDEX
313
Preface
Reliability engineering is neither reliability statistics nor solely engineering knowledge related to a particular equipment. Rather, it is an amalgam of theoretical principles, reliability analysis techniques and sound understanding of the physics of the component or system under consideration. Accordingly, most of the reliability and risk analysis models and techniques in this book have been related to practical engineering problems and applications. The intention was to obtain some balance between theory and application. Common, as well as little known models and their applications are discussed. Thus, a powerful generic equation is introduced for determining the probability of safe/failure states dependent on the relative configuration of random variables, following a homogeneous Poisson process in a finite domain. Seemingly intractable reliability problems can be solved easily using this equation which reduces a complex reliability problem to a simpler problem. The equation provides a basis for the new reliability measure introduced in Chapter 15, which consists of a combination of a set of specified minimum free distances before/between random variables in a finite interval, and a minimum specified probability with which they must exist. The new reliability measure is at the heart of a technology for setting quantitative reliability requirements based on minimum failure-free operating periods (MFFOP). A number of important applications of the new reliability measure are also considered such as: probability of a collision of demands from customers using a particular equipment for a specified time; probability of overloading of supply systems from consumers connecting independently and randomly; determining the hazard rate which guarantees with a minimum specified probability a minimum failure-free operating period before each random failure in a finite time interval. Problems related to probability of clustering are also discussed. It is demonstrated that even for a small number of random variables in a finite interval, the probability of clustering of two or more random variables within a critical distance is surprisingly high, and should always be accounted for in risk assessments.
xvi
Preface
Substantial space has been allocated for load–strength (demand–capacity) models and their applications. Common problems can easily be formulated and solved using the load–strength interference concept. On the basis of counterexamples, a point is made that for non-normally distributed load and strength, the reliability measures ‘reliability index’ and ‘loading roughness’ can be completely misleading. In Chapter 9, the load–strength interference model has been generalised, with the time included as a variable. The derived equation is in effect a new integral for determining reliability associated with an overstress failure mechanism. Models are also discussed related to building the lower tail of the strength distribution for materials with flaws. In Chapter 10, this has been done on the basis of a model for determining the probability of failure of a component with arbitrary shape and loading. The model can also be used to test vulnerability of designs to the presence of flaws and to develop optimised designs and loading, characterised by a low probability of failure. For industries with a high cost of failure, reliability requirements should be driven by the cost of failure. Setting reliability requirements based solely on a high availability target does not necessarily limit the risk of premature failure. Even at a high availability level, the probability of premature failure can still be unacceptably large. Reliability requirements must guarantee not only the required minimum availability but they must also reduce the risk of failure below a maximum acceptable level. Accordingly, in Chapter 16 a new methodology and models are proposed for reliability analysis and setting reliability requirements based on the cost of failure. Models and algorithms are introduced for determining the value from the reliability investment, the risk of premature failure, optimisation models for minimising the total losses, models for limiting the risk of failure below a maximum acceptable level and for guaranteeing a minimum availability level. It is proved that the expected losses from failures of a repairable system in a specified time interval are equal to the expected number of failures times the expected cost given failure. The models related to the value from the reliability investment can be used to quantify the effect from reducing early-life failures on the financial revenue and for selecting between alternative solutions. Setting reliability requirements at a system level has been reduced to determining the intersection of the hazard rate upper bounds which deliver the separate requirements. Furthermore, in Chapter 16 the conventional reliability analysis is challenged. Using counterexamples it is demonstrated that maximising the reliability of the system does not necessarily mean minimum expected losses from failures. Altering the hazard rates of the components may increase the reliability of the system and simultaneously increase the expected losses from failures! This counterintuitive result shows that the cost-of-failure reliability analysis requires a new generation of reliability tools, different from the conventional tools.
Preface
xvii
Uncertainties associated with model predictions are discussed on the basis of the location of the ductile-to-brittle transition region and the Charpy impact energy of multi-run welds at a specified test temperature. The large variation of the Charpy impact energy from sampling inhomogeneous microstructure, combined with a small number of test temperatures, propagates into a large uncertainty in the location of the ductile-to-brittle transition region. On the basis of the uncertainty model, a risk assessment model is presented for detecting fracture toughness degradation from a single data set. The assessment of the uncertainty associated with Charpy impact energy has been based upon an important result introduced rigorously in Chapter 3 referred to as ‘upper bound variance theorem’. The exact upper bound of the variance of properties from multiple sources is attained from sampling not more than two sources. Various applications of the theorem are presented. Methods related to assessing the consistency of a conjectured model with a data set and estimating the model parameters are also discussed. In this respect, a little known method for producing unbiased and precise estimates of the parameters in the three-parameter power law in Chapter 4 is introduced. All algorithms are presented in pseudocode which can be easily transformed into a programming code in any programming language. A whole chapter has been devoted to Monte Carlo simulation techniques and algorithms which are subsequently used to build algorithms for solving reliability and risk analysis problems. Basic mechanisms of failure and physics of failure models are discussed in Chapter 8, as well as the important topic related to early-life failures. Physicsof-failure concepts which help improve the reliability of automotive suspension springs by delaying the fatigue failure mode are the subject of Chapter 13. The conditions for the validity of common models have also been presented. A good example is the Palmgren–Miner rule. This is a very popular model in fatigue life predictions, yet no comments are made in the reliability literature in which cases this rule is applicable. Consequently, in Chapter 9, a substantial space has been allocated for a discussion related to the conditions under which the empirical Palmgren–Miner rule can be applied to predict fatigue life. In Chapter 12, seemingly abstract models related to coverage of surface by circular objects find an important application in modelling the corrosion kinetics of protective coatings. By trying to find the balanced mix between a theory, physics and application, my desire was to make the book useful to researchers, consultants, students and practising engineers. This text assumes limited familiarity with probability and statistics. Most of the basic probabilistic concepts have been summarised in Appendices A and B. Other concepts have been developed in the text, where necessary. In conclusion, I acknowledge financial support from British Petroleum, the editing and production staff at John Wiley & Sons, Ltd for their excellent work
xviii
Preface
and in particular, the cooperation and help of Wendy Hunter and Philip Tye. Thanks also go to many colleagues from universities and industry for their useful suggestions and comments. Finally, I acknowledge the help and support of my wife during the preparation of the manuscript. Michael T. Todinov
1 Some Basic Reliability Concepts
1.1
RELIABILITY (SURVIVAL) FUNCTION, CUMULATIVE DISTRIBUTION AND PROBABILITY DENSITY FUNCTION OF THE TIMES TO FAILURE
According to commonly accepted definitions (IEC, 50 (191), 1991) reliability is ‘the ability of an entity to perform a required function under given conditions for a given time interval’ and failure is the termination of the ability to perform the required function. In the mathematical sense, reliability is measured by the probability that a system or a component will work without failure during a specified time interval (0, t) under given operating conditions and environment (Figure 1.1). The probability P(T > t) that the time to failure T will be greater than a specified time t is given by the reliability function R(t) ¼ P(T > t), also referred to as the survival function. The reliability function is a monotonic non-increasing function, always unity at the start of life (R(0) ¼ 1, R(1) ¼ 0). It is linked with the cumulative distribution function F(t) of the time to failure by R(t) ¼ 1 F(t): Reliability ¼ 1 Probability of failure. If T is the time to failure, F(t) gives the probability P(T t) that the time to failure T will be smaller than the specified time t, or in other words, the probability that the system will fail before time t. The probability density function of the time to failure is denoted by f(t). It describes how the failure probability is spread over time. In the infinitesimal interval t, t þ dt, the probability of failure is f(t)dt. The probability of failure in any specified time interval t1 T t2 is
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
2
Reliability and Risk Models
0
Specified time interval
Failure
t
Time
Time to failure
Figure 1.1 Reliability is measured by the probability that the time to failure will be greater than a specified time t
Pðt1 T t2 Þ ¼
Z
t2
f ðtÞdt
ð1:1Þ
t1
Basic properties of the probability density of the time to failure are (i) f(t) is non-negative and (ii) the total area beneath f(t) is always equal to one: Ralways 1 f (t)dt ¼ 1. This is because f(t) is a probability distribution, i.e. the prob0 abilities of all possible outcomes for the time to failure must add up to unity. The cumulative distribution function of the time to failure is related to the failure density function by f ðtÞ ¼ dFðtÞ=dt
ð1:2Þ
From expression (1.2), the probability that the time to failure will be smaller than a specified value t is FðtÞ ¼ PðT tÞ ¼ FðtÞ ¼
Z
t
f ðÞd
ð1:3Þ
0
R1 where is a dummy integration variable; F(1) ¼ 0 f ()d ¼ 1, F(0) ¼ 0. Because f(t) is non-negative, its integral F(t) is Ra monotonic non-decreasing t function of t (Figure 1.2). The value F(t ) ¼ 0 f ()d of the cumulative distribution function at time t* gives the area beneath the probability density function f(t) until time t* (Figure 1.2). The link between the reliability function R(t), cumulative distribution function F(t) and probability density function f(t) is illustrated in Figure 1.2. P(t1 < T t2) is the probability of failure between times t1 and t2: Pðt1 < T t2 Þ ¼
Z
t2
f ðÞd ¼ Fðt2 Þ Fðt1 Þ
ð1:4Þ
t1
The hatched area in Figure 1.3 is equal to the difference F(t2) F(t1) and gives the probability that the time to failure T will be between t1 and t2. A comprehensive discussion related to the basic reliability functions has been provided by Grosh (1989).
3
Some Basic Reliability Concepts Probability, probability density R (t ) = 1– F (t )
F (t )
1 F (t ∗)
Area = F (t ∗)
f (t ∗) R (t ∗)
f (t ) 0 t∗
Time, t
Figure 1.2 Reliability function, cumulative distribution function of the time to failure and failure density function
Probability, probability density 1 F (t2)
F (t )
F (t1) f (t ) 0 t1
t2
Time to failure, T
Figure 1.3 Cumulative distribution and probability density function of the time to failure
1.2
RANDOM EVENTS IN RELIABILITY AND RISK MODELLING
Two common approaches in reliability and risk modelling are based on: (i) random events and (ii) random variables. Various properties associated with operations with random events are discussed in Appendix A. Consider the following common example: Example 1.1. Suppose that two pumps (an old one and a new one) have been installed and work independently from each other as part of a fluid supply system. The reliability of the old pump associated with a specified time interval
4
Reliability and Risk Models
is 0.6. The reliability of the new pump associated with the same time interval is 0.8. The probabilities of the following events are required: (a) (b) (d) (g)
There will exist a full fluid supply at the end of the specified time interval; There will exist a fluid supply at the end of the specified time interval; There will be no fluid supply at the end of the time interval; There will be insufficient fluid supply at the end of the time interval.
This basic problem can be formulated naturally and solved using random events. Let A denote the event the old pump will be working at the end of the time interval and B denote the event the new pump will be working at the end of the time interval. The probability that there will be a full fluid supply at the end of the time interval is equal to the probability of the event A\B that both pumps will be working. Because events A and B are statistically independent, for the probability of their intersection A\B (see Appendix A) we have PðA \ BÞ ¼ PðAÞ PðBÞ ¼ 0:6 0:8 ¼ 0:48
ð1:5Þ
The probability that there will be a fluid supply at the end of the specified time interval is equal to the probability of the event A [ B that at least one pump will be working. The probability of the union A [ B of the statistically independent events A and B is (see Appendix A) PðA [ BÞ ¼ PðAÞ þ PðBÞ PðAÞPðBÞ ¼ 0:6 þ 0:8 0:6 0:8 ¼ 0:92
ð1:6Þ
The probability that no fluid supply will exist at the end of the specified time interval is equal to the probability of the compound event A \ B: the old pump will not be working and the new pump will not be working, whose probability is PðA \ BÞ ¼ PðAÞ PðBÞ ¼ ð1 0:6Þ ð1 0:8Þ ¼ 0:08
ð1:7Þ
The event insufficient fluid supply is equivalent to the event exactly one pump will be working. This event can be presented as a union (A \ B) [ (A \ B) of the following mutually exclusive events: A \ B – the old pump will be working and the new pump will not be working and A \ B – the new pump will be working and the old pump will not be working. According to the formula related to a probability of a union of mutually exclusive events (see Appendix A): PðA \ B [ A \ BÞ ¼ PðA \ BÞ þ PðA \ BÞ ¼ PðAÞPðBÞ þ PðAÞPðBÞ ¼ 0:44
ð1:8Þ
5
Some Basic Reliability Concepts
1.2.1
RELIABILITY OF A SYSTEM WITH COMPONENTS LOGICALLY ARRANGED IN SERIES
Another important application of random events is the practically important case of a system composed of statistically independent components, arranged logically in series (Figure 1.4). Let S denote the event the system will be working and Ck denote the event the kth component will be working. For the series arrangement in Figure 1.4, event S is an intersection of all events Ck, k ¼ 1, 2, . . . , n, because the system will be working only if all of the components work. Consequently, S ¼ C1 \ C2 \ . . . \ Cn
ð1:9Þ
According to the formula related to a probability of an intersection of statistically independent events (Appendix A), the probability that the system will be working is PðSÞ ¼ PðC1 ÞPðC2 ÞPðC3 Þ . . . PðCn Þ
ð1:10Þ
the product of the probabilities that the separate components will be working. Since R ¼ P(S) and Rk ¼ P(Ck), where R is the reliability of the system and Rk is the reliability of the kth component, the reliability of a series arrangement is (Bazovsky, 1961) R ¼ R1 R2 Rn
ð1:11Þ
Two important conclusions can be made from this expression. The larger the number of components is, the lower is the reliability of the arrangement. Indeed, if an extra component Cnþ1 with reliability Rnþ1 is added as shown in Figure 1.5, the reliability of the arrangement is R1 R2 Rn Rnþ1 and since Rnþ1 < 1, R1 R2 Rn > ðR1 R2 Rn Þ Rnþ1
C1
C2
Cn
Figure 1.4 A system with components logically arranged in series
C1
C2
Cn
Cn+1
Figure 1.5 An extra component added to a series arrangement
ð1:12Þ
6
Reliability and Risk Models
Another important observation is that the reliability of a series arrangement is smaller than the reliability Rk of the least reliable component k: R1 R2 Rn < Rk
ð1:13Þ
This fact has important practical implications. It means that the reliability of a series arrangement cannot be improved unless the reliability of the least reliable component is improved. If a reliability improvement on a system level is to be made, the reliability efforts should be focused on improving the reliability of the least reliable component first, not on improving the reliability of the components with already high reliability. Without loss of generality, assume that the reliabilities of the components have been arranged in descending order: R1 > R2 > . . . > Rn1 > Rn. Suppose that the reliability of the least reliable nth component has been increased to the reliability of the most reliable component (Rn ¼ R1). Now, the reliability of the system is smaller than the reliability of its least reliable component Rn1: R1 R2 Rn < Rn1. In order to improve the reliability of the system, the reliability of this component must be increased. Suppose that it has also been increased to the reliability of the most reliable component: Rn1 ¼ R1. Continuing this with the rest of the components, finally reliability of the system will become: R ¼ Rn1 . Consider now a common practical example related to two very reliable components with high reliabilities Rc 1, connected with an interface of relatively low reliability r Rc (Figure 1.6). According to equation (1.11), the reliability of the arrangement R ¼ Rc r Rc r
ð1:14Þ
is approximately equal to the reliability of its weakest link, the interface r. In order to improve the reliability of the arrangement, the reliability of the interface must be increased. One of the reasons why so many failures occur at interfaces, despite the fact that the separate components are very reliable, is the fact that often interfaces are not manufactured to match the reliability of the corresponding components. An alternative presentation of the reliability of n identical, statistically independent components arranged logically in series is R ¼ ð1 pÞn
Rc
r
ð1:15Þ
Rc
Figure 1.6 Two very reliable components with reliabilities Rc 1 connected with an unreliable interface with reliability r
7
Some Basic Reliability Concepts
where p is the probability of failure of a single component. This equation provides an insight into the link between the complexity of a system and its reliability. Indeed, let us present equation (1.15) as R ¼ exp [nln(1 p)]. For small probabilities of failure p 1, ln(1 p) p and the reliability of the arrangement becomes R ¼ expðpnÞ
ð1:16Þ
As can be verified from the equation, if the number of components n in the system is increased by a factor of k, in order to maintain the reliability on a system level, the probability of failure p of a single component must be decreased by the same factor k. It must be pointed out that, for a relatively large number of components logically arranged in series, the error associated with reliability predictions based on equation (1.15) can be significant. Indeed, suppose that a large number n of identical components have been connected in series. Each component has a reliability r. Since the reliability of the system is R ¼ rn, a small relative error r/r in estimating the reliability r of the individual components gives rise to a large relative error R/R nr/r in the predicted reliability of the system. We will illustrate this point by a simple numerical example. Let us assume that the reliability estimate related to an individual component varies in the relatively small range 0.96 r 0.98. If r ¼ 0.96 is taken as a basis for predicting the reliability of a system including 35 components logically arranged in series, the calculated reliability is R ¼ 0.9635 0.24. If r ¼ 0.98 is taken as a basis for the reliability prediction, the calculated reliability is R ¼ 0.9835 0.49, more than twice compared to the previous estimate. This example can also be interpreted in the following way. If 35 identical components with reliabilities 0.96 are logically arranged in series, a relatively small reliability increase associated with the individual components yields a large system reliability increase. The application of the formula related to a series arrangement is not restricted to hardware components only. Assume that the successful accomplishment of a project depends on the successful accomplishment of 35 identical tasks. If a person accomplishes successfully a separate task with probability 0.96, an investment in additional training which increases this probability to only 0.98 will make a huge impact on the probability of accomplishing the project. In another example, suppose that a single component can fail due to n statistically independent failure modes. The event S: the component will survive time t, can be presented as an intersection of the events Si: the component will survive the ith failure mode, S ¼ S1 \ S2 \ . . . \ Sn. The probability P(S) of the event S, is the reliability R(t) of the component associated with the time interval (0, t), which is given by the product (Ebeling, 1997)
8
Reliability and Risk Models
RðtÞ ¼ PðS1 Þ \ PðS2 Þ \ . . . \ PðSn Þ ¼ R1 ðtÞR2 ðtÞ . . . Rn ðtÞ
ð1:17Þ
where Ri (t), i ¼ 1, 2, . . . , n, is the probability that the component will survive the ith failure mode. Since the probabilities of failure before time t, associated with the separate failure modes, are given by Fi(t) ¼ 1 Ri(t), the probability of failure of the component before time t is FðtÞ ¼ 1 RðtÞ ¼ 1
n Y
½1 Fk ðtÞ
ð1:18Þ
k¼1
A review of the theory of independent competing risks can be found in Bedford and Cooke (2001). If the failure modes are not statistically independent, the reliability is equal to the product RðtÞ ¼ PðS1 Þ PðS2 jS1 Þ PðS3 jS1 S2 Þ PðSn jS1 S2 . . . Sn1 Þ
ð1:19Þ
where P(Sk|S1S2 . . . Sk1) is the probability of surviving the kth failure mode given that no failure has been initiated by the first (S1), the second (S2), . . . , and the (k 1)th failure mode (Sk1). An application of this formula to determining the reliability in case of two statistically dependent failure modes: ‘failure initiated by individual flaws’ and ‘failure caused by clustering of flaws within a small critical distance’ can be found in Todinov (2005).
1.2.2
RELIABILITY OF A SYSTEM WITH COMPONENTS LOGICALLY ARRANGED IN PARALLEL
For the parallel logical arrangement in Figure 1.7, the event S (the system will be working) is a union of the events Ck: the kth component will be working,
C1
C2
...
Cn
Figure 1.7 Components logically arranged in parallel
9
Some Basic Reliability Concepts
k ¼ 1, 2, . . . , n, because the system will be working only if at least one component works. Consequently, event S can be presented as the union of events Ck: S ¼ C1 [ C2 [ . . . [ Cn
ð1:20Þ
Simpler expressions are obtained if the reasoning is in terms of system failure (S) rather than system success (S). For a parallel logical arrangement, the event S (system failure) is an intersection of events Ck , k ¼ 1, 2, . . . , n, because the system will fail only if all of the components fail: S ¼ C1 \ C2 \ . . . \ Cn
ð1:21Þ
The probability of system failure is P(S) ¼ P(C1 ) P(C2 ) P(Cn ). We notice here that while the reliability of a series arrangement is a product of the reliabilities of the components, the probability of failure of a parallel arrangement is a product of the probabilities of failure of the components. Since the reliability of the system is R ¼ 1 P(S) and the reliabilities of the components are Ri, i ¼ 1, 2, . . . , n, the reliability of the parallel arrangement (Bazovsky, 1961) is R ¼ 1 ð1 R1 Þ ð1 R2 Þ ð1 Rn Þ
ð1:22Þ
Two important conclusions can be made from this expression. The larger the number of components in parallel, the larger the reliability of the system. Indeed, if an extra component Cnþ1 with reliability Rnþ1 is added as shown in Figure 1.8, the reliability of the arrangement is R ¼ 1 ð1 R1 Þ ð1 Rn Þ ð1 Rnþ1 Þ and since Rnþ1 < 1,
C1
C2
... Cn Cn+1
Figure 1.8 An extra component added to a parallel arrangement
10
Reliability and Risk Models
1 ð1 R1 Þ ð1 Rn Þ < 1 ð1 R1 Þ ð1 Rn Þ ð1 Rnþ1 Þ
ð1:23Þ
The second conclusion is that the reliability of the parallel arrangement is larger than the reliability of its most reliable component. In other words, for a parallel arrangement, the relationship 1 ð1 R1 Þ ð1 Ri Þ ð1 Rn Þ > Ri
ð1:24Þ
holds. Indeed, since ð1 Ri Þ½1 ð1 R1 Þ ð1 Ri1 Þ ð1 Riþ1 Þ ð1 Rn Þ > 0 holds, relationship (1.24) follows immediately.
1.2.3
RELIABILITY OF A SYSTEM WITH COMPONENTS LOGICALLY ARRANGED IN SERIES AND PARALLEL
A system with components logically arranged in series and parallel can be reduced to a simple series or a parallel system, in stages, as shown in Figure 1.9. In the first stage, the components in parallel with reliabilities R1, R2 and R3 are reduced to a component with reliability R123 ¼ 1 (1 R1)(1 R2)(1 R3) (Figure 1.9A). Next, the components in parallel, with reliabilities R4 and R5, are reduced to a component with reliability R45 ¼ 1 (1 R4)(1 R5) and the components in series with reliabilities R6, R7 and R8 are reduced to a component with reliability R678 ¼ R6 R7 R8 (Figure 1.9B). As a result, in the second stage, the equivalent reliability block diagram B is obtained (Figure 1.9B). Next, the reliability block diagram B is further simplified by reducing components with reliabilities R123 and R45 to a single component with reliability R12345 ¼ R123 R45. The final result is the equivalent reliability block diagram C including only two elements arranged in parallel, whose reliability is R ¼ 1 (1 R12345)(1 R678). Now let us assume that a system consists of only two components, arranged in series, such as shown in Figure 1.10a. Two possible ways of increasing the reliability of the system are (i) by including an active redundancy at a system level (Figure 1.10b) and (ii) by including active redundancies at a component level (Figure 1.10c). Let us compare the reliabilities of the two arrangements. Arrangement (b) is characterised by reliability R1 ¼ m2 ð2 m2 Þ
ð1:25Þ
11
Some Basic Reliability Concepts
R1 R4 R2 R5 A
R3
R6
R7
R8
R123
B
R45 R678
R12345 C
R678
Figure 1.9 Reducing the complexity of a system including components logically arranged in series and parallel a
m
m
m
m
m
m
m
m
m
m
b
c
Figure 1.10 (a) A simple series arrangement and two ways (b and c) of increasing its reliability
while arrangement (c) is characterised by reliability R2 ¼ m2 ð2 mÞ2
ð1:26Þ
Since R2 R1 ¼ 2m2(m 1)2 > 0, the arrangement in Figure 1.10(b) has a lower reliability than that in Figure 1.10(c). This example demonstrates the
12
Reliability and Risk Models
well-known principle that redundancy at a component level is more effective than redundancy at a system level (Barlow and Proschan, 1965).
1.3
1.3.1
ON SOME APPLICATIONS OF THE TOTAL PROBABILITY THEOREM AND THE BAYES TRANSFORM TOTAL PROBABILITY THEOREM. APPLICATIONS
Consider the following common engineering problem. Example 1.2. Components are delivered by n suppliers A1, A2, .P . . , and An. The market shares of the suppliers are p1, p2, . . . , pn, respectively, ni¼1 pi ¼ 1. The probabilities characterising the separate suppliers, that the strength of their components will be greater than a minimum required strength of Y MPa, are y1, y2, . . . , yn, respectively. What is the probability that a purchased component will have strength larger than Y MPa? This problem can be solved easily using the total probability theorem. Let B denote the event the purchased component will have strength greater than Y MPa and A1, A2, . . . , An denote the events the component comes from the first, the second,. . ., or the nth supplier, respectively. Event B occurs whenever any of the mutually exclusive and exhaustive events Ai occurs. Events Ai form a partition of the sample space (Figure 1.11): Ai \ Aj ¼ ;
if i 6¼ j;
A1 [ A2 [ . . . [ An ¼ PðA1 Þ þ PðA2 Þ þ þ PðAn Þ ¼ 1
Ω Ai A1 An B A2
Figure 1.11 Venn diagram representing events related to the strength of components from n suppliers
13
Some Basic Reliability Concepts
Since B ¼ (A1 \ B) [ (A2 \ B) [ . . . [ (An \ B), the probability of event B is given by the total probability formula PðBÞ ¼ PðA1 ÞPðBjA1 Þ þ PðA2 ÞPðBjA2 Þ þ þ PðAn ÞPðBjAn Þ
ð1:27Þ
The probabilities P(Ai) are equal to the market shares pi of the individual suppliers, i ¼ 1, 2, . . . , n. Since the conditional probabilities P(B|A1) ¼ y1, P(B|A2)y2, . . . , and P(B|An) ¼ yn are known, according to the total probability formula (1.27), the probability that a purchased component will have strength greater than Y MPa is PðBÞ ¼ p1 y1 þ p2 y2 þ þ pn yn
ð1:28Þ
From the total probability theorem, an important special case can be derived if the probability space is partitioned into two complementary events only. Let events A and A be complementary: A \ A ¼ 0, A [ A ¼ , P(A) þ P(A) ¼ 1. Since these events partition the probability space, if B occurs then either A occurs and B occurs or A does not occur and B occurs. The probability of event B according to the total probability theorem is PðBÞ ¼ PðBjAÞPðAÞ þ PðBjAÞPðAÞ
ð1:29Þ
Equation (1.29) forms the basis of the decomposition method for solving reliability problems (Ramakumar, 1993) which we will illustrate by a generic engineering application. Example 1.3. A comparator includes four identical measuring devices (thermocouples, manometers, voltmeters, etc.) which measure a particular quantity (temperature, pressure, voltage) in two separate zones (A and B) of a component (Figure 1.12). There are also two identical control devices which compare Control device
Data transmitter
Zone A
Zone B
Measuring devices
Control device
Figure 1.12 A functional diagram of the generic comparator
14
Reliability and Risk Models
the readings from the measuring devices and send a signal when a critical difference in the measured quantity is registered between the two zones. Only one of the control devices is required to register a critical difference in the measured quantity from the two zones. Once a critical difference is registered a signal is sent. A data transmitter is also used to transfer data between the control devices. The reliability on demand of each measuring device is m and the reliability on demand of the data transmitter is c. What is the probability that a signal will be sent in case of a critical difference in the measured quantity from zones A and B? Such a generic comparator has a number of applications. If, for example, the measurements indicate a critical concentration gradient between the two zones, the signal may operate a device which eliminates the gradient. In case of a critical differential pressure for example, the signal may be needed to open a valve which will equalise the pressure. In case of a critical temperature gradient measured by thermocouples in two zones of the same component, the signal may be needed to interrupt heating/cooling in order to limit the magnitude of the thermal stresses induced by the thermal gradient. In case of a critical potential difference measured in two zones of a circuit, the signal may activate a switch protecting the circuit. The logical arrangement of the components in the generic comparator can be represented by the reliability block diagram shown in Figure 1.13. In the figure, letters m denote the reliabilities of the measuring devices and a letter c denotes the reliability of the data transmitter. Clearly, the probability that the comparator will send a signal if a critical difference in the measured quantity exists is equal to the probability of existence of a path through working components between nodes A and B (Figure 1.13). Let event S denote the event the comparator is working on demand, C is the event the data transmitter is working on demand and C is the event the data transmitter is not working on demand. Depending on whether the data transmitter is working, the initial reliability block diagram in Figure 1.13 decomposes into two reliability block diagrams (Figure 1.14).
m
m c
A
m
B
m
Figure 1.13 A reliability block diagram of the generic comparator
15
Some Basic Reliability Concepts
m
m c
A m
(a)
B m
Transmitter working
(b) m
m c
A
Transmitter not working
m
m
B B
A m
m m
m
Figure 1.14 Depending on whether the transmitter is working, the initial reliability block diagram of the comparator decomposes into two reliability block diagrams (a) and (b)
According to the decomposition method, the probability P(S) that the comparator will be working on demand is equal to the sum of the probabilities that the comparator will be working, given that the transmitter is working and the probability that the comparator will be working given that the transmitter is not working: PðSÞ ¼ PðSjCÞPðCÞ þ PðSjCÞPðCÞ
ð1:30Þ
Figures 1.14(a) and (b) give the reliability block diagrams corresponding to events C – the transmitter is working on demand and C – the transmitter is not working on demand. According to equations (1.26) and (1.25), P(S|C) ¼ m2(2 m)2, P(SjC) ¼ m2 (2 m2 ), and the probability of sending a signal becomes PðSÞ ¼ c½m2 ð2 mÞ2 þ ð1 cÞ½m2 ð2 m2 Þ
ð1:31Þ
which is linear with respect to the reliability c of the transmitter. Depending on the reliability of the transmitter, the reliability of the comparator decreases linearly from P(S|C) ¼ m2 (2 m)2 when c ¼ 1, to P(SjC) ¼ m2 (2 m2 ) when c ¼ 0. A value c ¼ 1 corresponds to a perfect transmitter, which is approximated well if the transmitter is simply a cable. A value c ¼ 0 corresponds to a disconnected transmitter, with the reliability block diagram in Figure 1.14(b).
16
Reliability and Risk Models
For all intermediate values for the reliability c of the transmitter, the reliability of the comparator is between the reliabilities of arrangements (1.14a) and (1.14b).
1.3.2
BAYESIAN TRANSFORM. APPLICATIONS
Suppose now that Ai, i ¼ 1, . . . , n are n mutually exclusive and exhaustive events, where P(Ai) are the prior probabilities of Ai before testing. B is an observation characterised by a probability P(B). Let P(B|Ai) denote the probability of the observation B, given that event Ai has occurred. From the definition of conditional probability (see Appendix A): PðAi jBÞ ¼
PðAi \ BÞ PðAi ÞPðBjAi Þ ¼ PðBÞ PðBÞ
ð1:32Þ
P Since P(B) ¼ ni¼1 P(Ai )P(BjAi ), the Bayes’ formula (Bayes’ transform) is obtained (DeGroot, 1989): PðAi ÞPðBjAi Þ PðAi jBÞ ¼ Pn i¼1 PðAi ÞPðBjAi Þ
ð1:33Þ
The probability P(B|Ai) is usually easier to calculate than P(Ai|B). The application will be illustrated by two basic examples. The first example is similar to an example related to diagnostic tests discussed by Parzen (1960). Example 1.4. Suppose that the probability of contamination with a particular harmful agent is 0.01. A laboratory test developed for identifying the agent. It is known that 90% of the contaminated samples will test positively and 10% of the non-contaminated samples will also test positively. What is the probability that a particular sample will be contaminated given that the test has been positive? Let B denote the event the test is positive and A the event the sample has been contaminated. Because events A and A are complementary, they partition the probability space, P(A) þ P(A) ¼ 1 and P(A \ A) ¼ 0. According to the total probability theorem PðBÞ ¼ PðBjAÞPðAÞ þ PðBjAÞPðAÞ From the Bayes’s formula PðAjBÞ ¼
PðBjAÞPðAÞ PðBjAÞPðAÞ ¼ PðBÞ PðBjAÞPðAÞ þ PðBjAÞPðAÞ
ð1:34Þ
17
Some Basic Reliability Concepts
After substituting the numerical values the probability PðAjBÞ ¼
0:90 0:01 ¼ 0:083 0:90 0:01 þ 0:10 0:99
is obtained. Note that only about 8% of the samples which test positively will indeed be contaminated! The second example deals with components which come from two suppliers only. Example 1.5. Supplier A produces high-strength components while supplier B produces low-strength components. A component from supplier A survives a mechanical test with probability 0.9 while a component from supplier B survives the test with probability 0.6. If the suppliers have equal market shares, what is the probability that a particular component will be a high-strength component (from supplier A), given that it has survived the test? Since the market shares of the suppliers are equal, the probabilities of the events A and B that the component comes from supplier A or B are P(A ) ¼ 0:5 and P(B ) ¼ 0:5, respectively. Let denote the event the component has survived the test. Now, the probabilities P(i ) can be modified formally through the Bayes’ theorem, in the light of the outcome from the mechanical test. Since the total probability of surviving the test is PðÞ ¼ PðjA ÞPðA Þ þ PðjB ÞPðB Þ ¼ 0:9 0:5 þ 0:6 0:5 ¼ 0:75 the probability P(A j) that the component comes from the first supplier given that it has survived the test is PðA jÞ ¼
Primary seal (PS)
PðjA ÞPðA Þ 0:9 0:5 ¼ 0:6 PðÞ 0:75 Secondary seal (SS) Physical arrangement PS
SS
Logical arrangement PS SS
Figure 1.15 Seals that are physically arranged in series but logically in parallel
18
Reliability and Risk Models Functional diagram
Physical arrangement C1 C2 C3
Logical arrangement C1
Figure 1.16
1.4
C2
C3
The seals are physically arranged in parallel but logically in series
PHYSICAL AND LOGICAL ARRANGEMENT OF COMPONENTS
It must be pointed out that there exists a difference between a physical (functional) arrangement and a logical arrangement. This is illustrated in Figure 1.15 for a system of seals. Although the physical arrangement of the seals is in series, their logical arrangement with respect to the failure mode ‘leakage in the environment’ is in parallel. Indeed, leakage in the environment is present only if both seals fail. Conversely, components can be physically arranged in parallel but their logical arrangement is in series. This is illustrated by the seals in Figure 1.16. Although the physical arrangement of the seals is in parallel, their logical arrangement with respect to the failure mode leakage in the environment is in series. Leakage in the environment is present if at least one seal is leaking. Various examples from the electronics regarding the difference between a physical and logical arrangement have been discussed by Amstadter (1971).
2 Common Reliability and Risk Models and Their Applications
2.1
GENERAL FRAMEWORK FOR RELIABILITY AND RISK ANALYSIS BASED ON CONTROLLING RANDOM VARIABLES
Some of the random factors controlling reliability are material strength, operating loads, dimensional design parameters, distributions of defects, residual stresses, service conditions (e.g. extremes in temperature) and environmental effects (e.g. corrosion). Each random factor controlling reliability can be modelled by a discrete or a continuous random variable which will be referred to as controlling random variable. The controlling random variables can in turn be functions of other random variables. Strength for example, is a controlling random variable which is a function of material properties, design configuration and dimensions: Strength ¼ Fðmaterial properties, design configuration, dimensionsÞ Modelling based on random variables is a powerful technique in reliability engineering. Some of the properties of random variables and operations with random variables are discussed in Appendix B. The general algorithmic framework for reliability and risk analysis, based on random variables, can be summarised in the following steps: . .
Identifying all basic factors controlling reliability and risk. Defining controlling random variables corresponding to the basic factors.
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
20 . . . . . .
Reliability and Risk Models
Selecting appropriate statistical models for the controlling random variables. Updating the model parameters in the light of new observations. Building a reliability and risk model incorporating the statistical models of the controlling random variables. Analysis of the quality of the model (e.g. its robustness). Solving the model using analytical or numerical techniques. Generating uncertainty bounds of the results predicted from the model, for example, by a Monte Carlo simulation or probability calculus.
2.2
BINOMIAL MODEL
Consider the following engineering example. Example 2.1. A fluid supply system consists of five pumps connected in parallel as shown in Figure 2.1. The pumps work and fail independently from one another. The capacity of each pump is 10 litres per second, and the reliability of the pumps for one year’s continuous operation is 0.85. What is the probability that at the end of one year’s continuous operation, the total output X from the pumps will be at least 30 litres per second (X 30 ls1)? This example can be generalised in the following way. Example 2.2. A system is composed of n identical components which work independently from one another (Figure 2.2). The system performs its function successfully, only if at least m components work. What is the probability that the system will perform successfully? Another common example is present when n independently working components fail with probability p. The question of interest is the probability of obtaining fewer than r failures among the n components. This is illustrated by the next example.
P (X ≥ 30) = ?
Figure 2.1 Functional diagram of the fluid supply system
21
Common Reliability and Risk Models and Their Applications n components p p • • •
m working
p
Figure 2.2 A system which performs successfully if at least m components work
Example 2.3. Suppose that a detection system for a particular harmful chemical substance is composed of n identical devices, detecting a chemical release with probability p, independently of one another. In order to avoid a false alarm, at least m devices (usually m ¼ 2) are needed to detect the chemical release in order to activate a shut-down system. What is the probability that the shut-down system will be activated in case of a chemical release? A common feature of these problems is the fixed number of identical trials, each of which results either in success (the component is working) or failure (the component is not working). Furthermore, the trials are statistically independent, i.e. the probability that a component will be working does not depend on the state (working or failed) of the other components. The probability of success in each trial (the probability that a component will be working) is the same. These common features define the so-called binomial experiment. The number of successful outcomes from a binomial experiment is given by the binomial distribution, a probability distribution of fundamental importance. In mathematical terms, if X is a discrete random variable denoting the number of successes during n trials, its distribution is given by f ðX ¼ xÞ ¼
n! px ð1 pÞnx x!ðn xÞ!
ðx ¼ 0; 1; 2; . . . ; nÞ
ð2:1Þ
Indeed, the probability of any particular sequence of x successes and n x failures is the product px (1 p)nx of probabilities characterising n statistically independent events: x successes each characterised by a probability p combined with n x failures, each characterised by a probability 1 p. There are n!/(x!(n x)!) different sequences yielding x successes out of n trials. The events characterising the realisation of the separate sequences are mutually exclusive, i.e. only one particular sequence can exist at the end of the n trials. The sum of the probabilities characterising these mutually exclusive sequences is the probability given by equation (2.1).
22
Reliability and Risk Models
In Figure 2.3, the binomial distribution has been illustrated by three experiments involving ten trials characterised by probabilities of success in each trial p ¼ 0.1, p ¼ 0.5 and p ¼ 0.8, respectively. The probability of obtaining a number of successes greater than or equal to a particular number m is PðX mÞ ¼
n X
n! px ð1 pÞnx x!ðn xÞ! x¼m
ð2:2Þ
Equation (2.2) gives in fact the sum of the probabilities of the following mutually exclusive events: exactly m successes at the end of the n trials whose probability is n! pm ð1 pÞnm ; m!ðn mÞ! exactly m þ 1 successes at the end of the n trials whose probability is n! pmþ1 ð1 pÞnðmþ1Þ ; . . . ðm þ 1Þ!½n ðm þ 1Þ! exactly n successes at the end of the n trials, whose probability is n! pn ð1 pÞnn ¼ pn n!ðn nÞ! (note that 0! ¼ 1). Going back to the engineering problem defined at the start of this chapter, the probability that the total output will be at least 30 ls1 is equal to the probability that at least three pumps will be working at the end of the year. Substituting the numerical values n ¼ 5; m ¼ 3 and p ¼ 0.85 in equation (2.2) results in PðX 3Þ ¼
5 X
5! 0:85x ð1 0:85Þ5x 0:973 x!ð5 xÞ! x¼3
The probability that the number of successes X will be smaller than or equal to a specified number X r is given by the binomial cumulative distribution function PðX rÞ ¼
r X
n! px ð1 pÞnx x!ðn xÞ! x¼0
ð2:3Þ
23
Common Reliability and Risk Models and Their Applications Binomial probability 0.4 0.3
n = 10 trials p = 0.1
0.2 0.1 Number of successes
0.0 (a)
0
1
2
3
4
5
6
7
8
9
10
Binomial probability 0.25 0.20 0.15
n = 10 trials p = 0.5
0.10 0.05
Number of successes
0.00 (b)
0
1
2
3
4
5
6
7
8
9
10
Binomial probability 0.3
0.2 n = 10 trials p = 0.8 0.1 Number of successes
0.0 (c)
1
2
3
4
5
6
7
8
9
10
Figure 2.3 Binomial probability density distribution associated with 10 trials, characterised by a probability of success (a) p ¼ 0.1; (b) p ¼ 0.5 and (c) p ¼ 0.8 in each trial
24
Reliability and Risk Models
Equation (2.3) is in fact a sum of the probabilities of the following mutually exclusive events at the end of the n trials: zero successes, characterised by a probability n! p0 ð1 pÞn0 ¼ ð1 pÞn 0!ðn 0Þ! exactly one success, characterised by a probability n! p1 ð1 pÞn1 ; . . . 1!ðn 1Þ! exactly n successes characterised by a probability n! pn ð1 pÞnn ¼ pn n!ðn nÞ! The mean of a random variable X which follows a binomial distribution with number of trials n and probability of success in each trial p is E(X) ¼ np and the variance is V(X) ¼ np(1 p) (Miller and Miller, 1999).
2.3
HOMOGENEOUS POISSON PROCESS AND POISSON DISTRIBUTION
A binomial experiment is considered, where the number of trials n tends to infinity and the probability of success p in each trial tends to zero in such a way that the mean np of the binomial distribution remains finitely large. Assume that the trials in the binomial experiment are performed within n infinitesimally small time intervals with length . A single experiment in each interval is performed which results in either success or failure (Figure 2.4). Let t ¼ np be the mean number of successes in the finite time interval t. Here is the number density of the occurrences (number of occurrences per
1 2 ∆
n n∆ = t
Figure 2.4 Trials of a binomial experiment performed within small time intervals with lengths
Common Reliability and Risk Models and Their Applications
25
unit interval). The probability density function of the binomial distribution can be presented as x n! t f ðX ¼ xÞ ¼ ð1 pÞnx x!ðn xÞ! n ¼
nðn 1Þ . . . ðn x þ 1Þ ðtÞx ð1 pÞn nx x! ð1 pÞx
Since n is large and p is small, (1 p)n exp ( np) ¼ exp (t). The number of successes is finitely large, therefore (1 p)x exp(xp) exp(0) ¼ 1. Since nðn 1Þ . . . ðn x þ 1Þ lim ¼ lim ðð1 1=nÞð1 2=nÞ . . . ð1 ðx 1Þ=nÞÞ ¼ 1 n!1 n!1 nx finally f ðX ¼ xÞ ¼
ðtÞx expðtÞ x ¼ 0; 1; 2; . . . x!
ð2:5Þ
is obtained. This is the probability mass function for the Poisson distribution describing the distribution of the number of occurrences from a homogeneous Poisson process which is a limiting case of a binomial experiment with parameters n and p ¼ t/n when n ! 1. In other words, a binomial experiment with a large number of trials n and a small probability p in each trial can be approximated reasonably well by a homogeneous Poisson process with intensity ¼ np/t. The homogeneous Poisson process is an important model for random events. It exists whenever the following conditions are fulfilled: .
The numbers of occurrences in non-overlapping intervals are statistically independent. . The probability of an occurrence in intervals of the same length is the same and depends only on the length of the interval, not on its location. . The probability of more than one occurrence in a vanishingly small interval is negligible. For a homogeneous Poisson process, the intensity is constant ( ¼ const:) and the mean number of occurrences in the interval 0, t is t. Since the Poisson distribution is a limiting case of the binomial distribution, its mean is E(X ) ¼ np ¼ t and the variance has the same value V(X) ¼ t because if n ! 1, p ! 0 and np ¼ t, then np(1 p) ! t. If a homogeneous Poisson process with intensity is present, the distribution of the number of occurrences in the time interval (0, t) is given by the Poisson
26
Reliability and Risk Models
distribution (2.5). The probability of r or fewer occurrences in the finite time interval (0, t) is given by the cumulative Poisson distribution: PðX rÞ FðrÞ ¼
r X ðtÞx x¼0
x!
expðtÞ
ð2:6Þ
As statistical models for random failures, the Poisson process and the Poisson distribution are used frequently (Thompson, 1988). The homogeneous Poisson process, for example, can also be used as a model of randomly distributed defects in a spatial domain. In this case, the random occurrences are locations of defects. Example 2.4. Failures of a repairable system is a homogeneous Poisson process with five average number of failures per year (365 days). (a) What is the probability that the system will fail twice during three months of operation? (b) What is the probability that the system will not fail in the next 24 hours? Solution:(a) The mean number of failures per three months is (5/12) 3 ¼ 1.25. According to equation (2.5), the probability that the system will fail exactly twice during three months of operation is f ð2Þ ¼
1:252 expð1:25Þ 0:22 2!
(b) The mean number of failures for 24 hours is (5/365) 1 ¼ 0.0137 failures. According to equation (2.5), the probability that the system will not fail in the next 24 hours is f ð0Þ ¼
2.4
0:01370 expð0:0137Þ ¼ 0:986 0!
NEGATIVE EXPONENTIAL DISTRIBUTION
Suppose that the probability that a component/system will fail within a short time interval is constant. In other words, the probability that a component which has survived time t will fail in the small time interval t, t þ t is constant (t) and does not depend on the age t of the component. Under this assumption we will show that the life distribution of the component is described by the negative exponential distribution FðtÞ ¼ 1 expðtÞ
ð2:7Þ
27
Common Reliability and Risk Models and Their Applications
Indeed, let the time interval (0, t) be divided into a large number n of small time intervals t ¼ t/n (Figure 2.5). The probability R(t) that the component/ system will survive n time intervals with lengths t is RðtÞ ¼ ð1 tÞn
ð2:8Þ
Since (1 t)n can be presented as exp (n ln [1 t]), considering that for t ! 0, ln [1 t] ¼ t and t ¼ nt, equation (2.8) becomes RðtÞ ¼ expðtÞ
ð2:9Þ
Since F(t) ¼ 1 R(t), for the probability of failure before time t, the negative exponential distribution (2.7) is obtained. The probability density function of the time to failure (Figure 2.6) is obtained by differentiating the cumulative distribution function (2.7) with respect to t (f(t) ¼ dF(t)/dt): f ðtÞ ¼ expðtÞ
ð2:10Þ
The negative exponential distribution applies whenever the probability of failure in a small time interval practically does not depend on the age of the component. It describes the distribution of failures characterised by a constant hazard rate . ∆t
∆t
...
∆t
∆t
0
t
Time
Figure 2.5 A time interval (0, t) divided into n small intervals with lengths t
Probability density λ f (t) = λ exp (–λt )
Time, t
Figure 2.6 Probability density function of the negative exponential distribution
28
Reliability and Risk Models
2.4.1
MEMORYLESS PROPERTY OF THE NEGATIVE EXPONENTIAL DISTRIBUTION
If the life of a component is exponentially distributed, the probability of failure in a specified time interval does not depend on the age of the component. The probability that the component will fail within a specified time interval is the same, irrespective of whether the component has been used for some time or has just been placed in use. In other words, the probability that the life will be greater than t þ t, given that the component has survived time t does not depend on t. The component is as good as new. Indeed, let A denote the event the component will survive time t þ t. Let B denote the event the component has survived time t. The probability PðAjBÞ that the component will survive time t þ t given that it has survived time t can be determined from the conditional probability formula PðT > t þ tjT > tÞ ¼
Rðt þ tÞ exp½ðt þ tÞ ¼ ¼ expðtÞ RðtÞ expðtÞ
ð2:11Þ
where R(t) ¼ exp (t) is the probability that the component will survive time t. From equation (2.11) it follows that the probability that the component will survive a time interval t þ t, given that it has survived time t, is always equal to the probability that the component will survive the time interval t, irrespective of its age t. This is the so-called memoryless property of the negative exponential distribution. It makes the exponential model suitable for components whose conditional probability of failure within a specified time interval practically does not depend on age. This condition is approximately fulfilled for components which practically do not degrade or wear out with time (certain electrical components, protected structures, static mechanical components, etc.).
2.4.2
LINK BETWEEN THE POISSON DISTRIBUTION AND THE NEGATIVE EXPONENTIAL DISTRIBUTION
Suppose that the occurrences of the random events in any specified time interval with length t is a homogeneous Poisson process with parameter t, where is the number density of occurrences. The probability f(x) of x occurrences in the interval 0, t is then given by the Poisson distribution (2.5). From equation (2.5), the probability that the time to the first occurrence will be larger than a specified time t can be obtained directly, by setting x ¼ 0 (zero number of occurrences): Pðno occurrencesÞ ¼ et
ð2:12Þ
29
Common Reliability and Risk Models and Their Applications t1 0
t2
t3
•••
tk–1
tk
•••
Time a
Figure 2.7 Times of successive failures in a finite time interval with length a
Consequently, the probability that the time T to the first occurrence will be equal to or smaller than t is given by P(T t) ¼ 1 et which is the negative exponential distribution (2.7). If the times between the occurrences are exponentially distributed, the number of occurrences follows a homogeneous Poisson process and vice versa. This link between the negative exponential distribution and the homogeneous Poisson process will be illustrated by the following important example. Suppose that a component/system is characterised by an exponential life distribution F(t) ¼ 1 exp (t). After each failure at times ti a replacement/ repair is initiated which brings the component/system to as good as new condition. Under these assumptions, the successive failures at times t1, t2, . . . in the finite time interval with length a (Figure 2.7) follow a homogeneous Poisson process with intensity . The mean number of failures in the interval (0, a) is given by a. Another important application of the negative exponential distribution is for modelling the lifetime of components and systems which fail whenever the load exceeds the strength of the component/system. Suppose that the load applications which exceed the strength of our component/system follow a homogeneous Poisson process with intensity . The reliability R associated with a finite time interval with length t is then equal to the probability R ¼ exp (t) that there will be no load application within the specified time t. Consequently, the probability of failure is given by the negative exponential distribution (2.7). Another reason for the importance of the negative exponential distribution is that it is an approximate limit failure law for complex systems containing a large number of components which fail independently and whose failures lead to a system failure (Drenick, 1960).
2.4.3
RELIABILITY OF A SERIES ARRANGEMENT, INCLUDING COMPONENTS WITH CONSTANT HAZARD RATES
The reliability of a system logically arranged in series is R ¼ R1 R2 Rn where R1 ¼ exp (1 t), . . . , Rn ¼ exp (n t) are the reliabilities of n components with constant hazard rates 1 , 2 , . . . , n . The failures of the components are statistically independent. Substituting the component reliabilities in the system reliability formula results in R ¼ expð1 tÞ expð2 tÞ expðn tÞ ¼ expðtÞ
ð2:13Þ
30
Reliability and Risk Models
P where ¼ ni¼1 i . As a result, the hazard rate of the system is a sum of the hazard rates of the components. The times to failure P of such a system follow a homogeneous Poisson process with intensity ¼ ni¼1 i . This additive property is a theoretical basis for the widely used parts count method for predicting system reliability (Bazovsky, 1961; MIL-HDBK 217F, 1991). The method is suitable for systems including independently working components, logically arranged in series, where failure of any component causes a system failure. If the components are not logically arranged in series, the system hazard rate P ¼ ni¼1 i calculated on the basis of the parts count method is an upper bound of the real system hazard rate. One downside of this approach is that the reliability predictions are too conservative.
2.5
HAZARD RATE
Suppose that the probability of failure in the small time interval t, t þ t, depends on the age of the component/system and is given by h(t)t, where h(t) will be referred to as the hazard rate. Again, let the time interval t be divided into a large number n of small intervals with lengths t ¼ t/n, such as shown in Figure 2.5. The probability R(t) that the component/system will survive all time intervals is RðtÞ ¼ ð1 h1 tÞð1 h2 tÞ ð1 hn tÞ
ð2:14Þ
where h1, . . . ,hn approximate the hazard rate function h(t) in the separate small time intervals with lengths t. Equation (2.14) can also be presented as RðtÞ ¼ expfln½ð1 h1 tÞð1 h2 tÞ ð1 hn tÞg ! n X lnð1 hi tÞ ¼ exp i¼1
For [1 hi t] hi t and considering that for t ! 0, Pn t ! 0,R ln t h t ! h()d, equation (2.14) becomes i i¼1 0 Z t RðtÞ ¼ exp hðÞd
ð2:15Þ
0
Rt where is a dummy integration variable. The integral H(t) ¼ 0 h()d in equation (2.15) is also known as the cumulative hazard rate. Using the
31
Common Reliability and Risk Models and Their Applications
cumulative hazard rate, reliability can be presented as (Barlow and Proschan, 1975): RðtÞ ¼ expðHðtÞÞ
ð2:16Þ
Reliability R(t) can be increased by decreasing the hazard rate h(t), which decreases the value of the cumulative hazard rate H(t). Correspondingly, the cumulative distribution of the time to failure is FðtÞ ¼ 1 expðHðtÞÞ
ð2:17Þ
If the hazard rate h(t) increases with age, the cumulative distribution of the time to failure is known as an increasing failure rate (IFR) distribution. Alternatively, if the hazard rate h(t) is a decreasing function of t, the cumulative distribution of the time to failure is known as a decreasing failure rate (DFR) distribution. If the hazard rate is constant, the negative exponential distribution is obtained from equation (2.17). The negative exponential distribution is a constant failure rate (CFR) distribution. Indeed, for h(t) ¼ ¼ const:, the cumulative hazard rate becomes Z t HðtÞ ¼ d ¼ t ð2:18Þ 0
and the cumulative distribution function of the time to failure is given by the negative exponential distribution (2.7). The hazard rate can also be presented as a function of the probability density f(t) of the time to failure. Indeed, the probability of failure in the time interval t, t þ t is given by f (t)t which is equal to the probability R(t)h(t)t of the compound event that the component will survive time t and after that will fail in the small time interval t, t þ t (Figure 2.8). Equating the two probabilities results in f ðtÞ ¼ RðtÞhðtÞ
ð2:19Þ
hðtÞ ¼ f ðtÞ=RðtÞ
ð2:20Þ
from which
t
0 Time to failure
t + ∆t Time
Figure 2.8 Time to failure in the small time interval t, t þ t
32
Reliability and Risk Models
Since f(t) ¼ R0 (t), where R(t) is the reliability function, equation (2.20) can also be presented as R0 (t)/R(t) ¼ h(t). Integrating both sides with the initial condition R(0) ¼ 1 gives expression (2.15) which relates the reliability associated with the time interval (0, t) with the hazard rate function. Example 2.5. What is the expected number of failures among 100 structural elements during 1000 hours of operation, if each element has a linear hazard rate function h(t) ¼ 106t? According to equation (2.15), Z t Z t 2 6 6 t hðvÞdv ¼ exp 10 vdv ¼ exp 10 RðtÞ ¼ exp 2 0 0 For t ¼ 1000 hours, the reliability is R(1000) ¼ exp( 12) 0:61. Since the probability of failure is F(1000) ¼ 1 R(1000) ¼ 0.39, the expected number of failures among the 100 elements is 100 0.39 ¼ 39.
2.5.1
DIFFERENCE BETWEEN A FAILURE DENSITY AND HAZARD RATE
There exists a fundamental difference between the failure density f(t) and the hazard rate h(t). Consider an initial population of N0 components. The proportion n/N0 of components from the initial number N0 that fail within the time interval t, t þ t is given by f (t)t. In short, the failure density f (t) ¼ n/(N0 t) gives the percentage of the initial number of items that fail per unit interval. Conversely, the proportion n/N(t) of items in service that will fail in the time interval t, t þ t is given by h(t)t. In short, the hazard rate h(t) ¼ n/(N(t)t) is the proportion of items in service that fail per unit interval. If age has no effect on the probability of failure, the hazard function h(t) will be constant (h(t) ¼ ¼ const:) and the same proportion dn(t)/n(t) of items in service is likely to fail within the infinitesimal interval t, t þ dt. Since this proportion is also equal to dt, we can write dnðtÞ=nðtÞ ¼ dt
ð2:21Þ
which is a separable differential equation. After rearranging to d ln [n(t)] ¼ dt and integrating within the time interval 0, t, we get nðtÞ ¼ n0 expðtÞ
ð2:22Þ
Common Reliability and Risk Models and Their Applications
33
where n0 is the initial number of items. The probability of survival of time t is therefore given by n(t)/n0 ¼ R(t) ¼ exp (t). Consequently, the probability of failure is obtained from F(t) ¼ 1 n(t)/n0 ¼ 1 exp ( t) which is the negative exponential distribution.
2.6
MEAN TIME TO FAILURE (MTTF)
An important reliability measure is the mean time to failure (MTTF) which is the average time to the first failure. It can be obtained from the mean of the probability density of the time to failure f(t): MTTF ¼
Z
1
tf ðtÞdt
ð2:23Þ
0
If R(t) is the R 1reliability function, the integral in equation (2.23) becomes MTTF ¼ 0 t dR(t) dt which, after integrating by parts (Grosh, 1989), gives MTTF ¼
Z
1
RðtÞdt
ð2:24Þ
0
For a constant hazard rate t ¼ const. MTTF ¼ ¼
Z
1
expðtÞdt ¼ 1=
ð2:25Þ
0
i.e. in this case the mean time to failure is the reciprocal of the hazard rate. Equation (2.25) is valid only for failures characterised by a constant hazard rate. In this case, the probability that a failure will occur earlier than the MTTF is approximately 63%. Indeed, PðT MTTFÞ ¼ 1 exp½MTTF ¼ 1 expð1Þ 0:63 Example 2.6. The mean time to failure of a component characterised by a constant hazard rate is MTTF ¼ 50 000 h. Calculate the probabilities of the following events: (i) the component will survive continuous service for one year; (ii) the component will fail between the fifth and the sixth year; (iii) the component will fail within a year given that it has survived the end of the fifth year. Compare this probability with the probability that the component will fail within a year given that it has survived the end of the tenth year.
34
Reliability and Risk Models
Solution: (i) Since MTTF ¼ 50 000 h ¼ 5.7 years, the hazard rate of the component is ¼ 1/5:7 years1. Reliability is determined from R(t) ¼ exp (t) and the probability of surviving one year is Rð1Þ ¼ PðT > tÞ ¼ e1=5:7 0:84 (ii) The probability that the component will fail between the end of the fifth and the end of the sixth year can be obtained from the cumulative distribution function of the negative exponential distribution: Pð5 < T 6Þ ¼ Fð6Þ Fð5Þ ¼ expð5=5:7Þ expð6=5:7Þ 0:07 (iii) Because of the memoryless property of the negative exponential distribution, the probability that the component will fail within a year, given that it has survived the end of the fifth year, is equal to the probability that the component will fail within a year after having been put in use: Pð5 < T 6jT > 5Þ ¼ Pð0 < T 1Þ ¼ 1 expð1=5:7Þ 0:16 Similarly, the probability that the component will fail within a year given that it has survived the end of the tenth year is obtained from Pð10 < T 11jT > 10Þ ¼ Pð0 < T 1Þ ¼ 1 expð1=5:7Þ 0:16 This probability is equal to the probability from the previous example (as it should be) because of the memoryless property of the negative exponential distribution.
2.7
GAMMA DISTRIBUTION
Consider k components whose failures follow a homogeneous Poisson process with intensity , and a system built with these components which fails when all components fail. Such is the k-fold standby system in Figure 2.9 consisting of k components with identical negative exponential life distributions exp (t). Component ci is switched on immediately after the failure of component ci1. The system fails when all components fail. The distribution of the time to k failures can be derived using the following probabilistic argument. The probability F(t) that there will be at least k failures before time t is equal to 1 R(t), where R(t) is the probability that there will be fewer than k failures. The compound event fewer than k failures before time t is composed of the following mutually exclusive events: no failures before time t,
Common Reliability and Risk Models and Their Applications
35
c1
c2
ck
Figure 2.9 A k-fold standby system
exactly one failure before time t, . . . , exactly k1 failures before time t. The probability R(t) is then a sum of the probabilities of these events given by the Poisson distribution (Tuckwell, 1988): ðtÞ1 ðtÞ2 expðtÞ þ expðtÞ 1! 2! ðtÞk1 expðtÞ þ þ ðk 1Þ!
RðtÞ ¼ expðtÞ þ
ð2:26Þ
The probability of at least k failures before time t is given by F(t) ¼ 1 R(t). FðtÞ ¼ 1 RðtÞ ¼
ðtÞk ðtÞkþ1 expðtÞ þ expðtÞ þ k! ðk þ 1Þ!
ð2:27Þ
Differentiating F(t) in equation (2.27) with respect to t gives the probability density function of the time to the kth failure: dF ðtÞk1 expðtÞ ¼ f ðtÞ ¼ dt ðk 1Þ!
ð2:28Þ
Denoting the mean time to failure by ¼ 1/, equation (2.28) becomes f ðtÞ ¼
tk1 expðt=Þ k ðk 1Þ!
ð2:29Þ
which is the gamma density function G(, ): Gð; Þ ¼
t1 expðt=Þ a ðÞ
ð2:30Þ
36
Reliability and Risk Models
with parameters ¼ k and ¼ ((k) ¼ (k 1)!) (Abramowitz and Stegun, 1972). As a result, the sum of k statistically independent random variables following the negative exponential distribution with parameter follows a gamma distribution G(k, 1/) with parameters k and 1/. The mean and the variance of a random variable following the gamma distribution G(k, 1/) are E(X) ¼ k/ and V(X) ¼ k/2 , respectively. If the time between failures of a repairable device follows the negative exponential distribution with mean time to failure ¼ 1/, the probability density of the time to the kth failure is given by the gamma distribution G(k, ) (equation 2.29). Here is an alternative formulation: if k components with identically distributed lifetimes following a negative exponential distribution are characterised by a mean time to failure , the sum of the times to failure of the components T ¼ t1 þ t2 þ þ tk, follows a gamma distribution G(k, ) with parameters k and . The negative exponential distribution is a special case of a gamma distribution in which k ¼ 1. Another important special case of a gamma distribution with parameters k and ¼ 2 is the 2 distribution G(k, 2) with n ¼ 2k degrees of freedom. Values of the 2 statistics for different degrees of freedom can be found in the 2 -distribution table in Appendix D. In the table, the area cut off to the right of the abscissa (see Figure 2.10) is given with the relevant degrees of freedom n. Gamma distributions have an additivity property: the sum of two random variables following gamma distributions G(k1 , ) and G(k2 , ), is a random variable following a gamma distribution G(k1 þ k2 , ) with parameters k1 þ k2 and : Gðk1 ; Þ þ Gðk2 ; Þ ¼ Gðk1 þ k2 ; Þ
ð2:31Þ
An important property of the gamma distribution is that if a random variable X follows a gamma distribution G(k, ), C X follows the gamma distribution G(k, C) (Grosh, 1989). According to this property, since the sum of k times to failure T ¼ t1 þ t2 þ þ tk follows a gamma distribution G(k, ), the distribution of the estimated mean time to failure ^ ¼ T/k ¼ (t1 þ t2 þ þtk )/k will follow the gamma distribution G(k, /k). Therefore, the quantity 2k^/ will follow a 2 -distribution G(k, 2) with n ¼ 2k degrees of freedom. An important application of the gamma distribution is for modelling the distribution of the time to failure of a component, subjected to shocks whose arrivals follow a homogeneous Poisson process with intensity . If the component is subjected to partial damage or degradation by each shock and fails completely at the kth shock, the distribution of the time to failure of the component is given by the gamma distribution G(k, 1/).
Common Reliability and Risk Models and Their Applications
37
Another application of the Gamma distribution will be discussed in the next section related to determining the uncertainty associated with the mean time to failure determined from a limited number of failure times.
2.8
UNCERTAINTY ASSOCIATED WITH THE MEAN TIME TO FAILURE
Suppose that components characterised by a constant hazard rate have been tested for failures. After failure, the components are not replaced and the test is truncated on the occurrence of the kth failure, at which point T componenthours have been accumulated. In other words, the total accumulated operational time T includes the sum of the times to failure of all k components. The MTTF can be estimated by dividing the total accumulated operational time T (the sum of all operational times) by the number of failures k: T ^ ¼ k
ð2:32Þ
where ^ is the estimator of the unknown MTTF. If denotes the true value of the MTTF, according to the previous section, the expression 2k^/ follows a 2 -distribution with 2k degrees of freedom, where the end of the observation time is at the kth failure. In other words, the expression 2T/ follows a 2 -distribution. This property can be used to determine a lower limit for the MTTF which is guaranteed with a specified probability (confidence level). Assume that we would like to find a bound about which a statement could be made that the true MTTF is greater than the bound with probability p. The required bound is obtained by finding the value 2, 2k of the statistics 2 which cuts off an area from the right tail of the 2 -distribution (Figure 2.10). The required bound is obtained from ¼ 2T/2, 2k where ¼ 1 p and 2, 2k is the value of the 2 statistics for the selected confidence level p ¼ 1 and degrees of freedom n ¼ 2k. The probability that the
χ2 Probability density
p=1–α χ2α, 2k
α χ2
Figure 2.10 Probability density function of the 2 -distribution
38
Reliability and Risk Models
MTTF will be greater than the lower bound is equal to the probability that the 2 statistics will be smaller than 2, 2k : Pð Þ ¼ Pð2 2;2k Þ ¼ 1 ¼ p
ð2:33Þ
Suppose now that 21, 2k and 22, 2k correspond to two specified bounds 1 and 2 (1 < 2 ). The probability P(1 2 ) that the true MTTF will be between the specified bounds 1 and 2 is equal to the probability that the 2 statistics will be between 22, 2k and 21, 2k (Figure 2.11): Pð1 2 Þ ¼ Pð22;2k 2 21;2k Þ ¼ 2 1
ð2:34Þ
Another question is related to estimating the confidence level which applies to the estimate of the MTTF given by equation (2.32). In other words, the probability with which the true MTTF value will be greater than the estimate ^ ¼ T/k is required. This probability can be determined if a value of the 2 -statistics is calculated first from 2 ¼ 2T/^. Next, for n ¼ 2k degrees of freedom from the table in Appendix D, it is determined what value of gives 2, 2k approximately equal to the calculated 2 ¼ 2T/^. The 1 is the confidence level with which it can be stated that the true MTTF is greater than the estimate ^ (Smith, 1972). In cases where two bounds are required, between which the MTTF lies with a specified probability p, two values of the 2 -statistics are needed. The lower limit 21/2, 2k of 2 (Figure 2.12) is used to determine the upper confidence limit U ¼ 2T/21/2, 2k of the confidence interval for the MTTF, while the upper limit 2/2, 2k (Figure 2.12) is used to determine the lower bound L ¼ 2T/2/2, 2k . The probability that the true MTTF will be between L and U is equal to the probability that 2 will be between 21/2, 2k and 2/2, 2k : PðL U Þ ¼ Pð21=2;2k 2 2=2;2k Þ χ2 Probability density
α2 – α1 α1 2
2
χα2, 2k χα1, 2k
χ2
Figure 2.11 The hatched area 2 1 gives the probability that the 2 -statistics will be between 22, 2k and 21, 2k
Common Reliability and Risk Models and Their Applications
39
χ2 Probability density
α /2
α /2
p=1–α
2
χ1 – α / 2, 2k
2
χα / 2, 2k
χ2
Figure 2.12 Two limits of the 2 -statistics necessary to determine a confidence interval for MTTF
This probability is equal to the specified confidence level p ¼ 1 (/2 þ /2) ¼ 1 : It must be pointed out that for failures characterised by a non-constant hazard rate, the MTTF reliability measure can be misleading because a large MTTF can be obtained from failure data where increased frequency of failure (low reliability) at the start of life is followed by very large periods of failurefree operation (high reliability). This will be illustrated by the following numerical example. Example 2.7. Given two components of the same type, with different MTTFs: Data set 1 (Times to failure, days) 5, 21, 52, 4131, 8032, 12170, 16209 MTTF1 ¼
5 þ 21 þ 52 þ 4131 þ 8032 þ 12170 þ 16209 5803 days 7
Data set 2 (Times to failure, days) 412, 608, 823, 1105, 1291, 1477 MTTF2 ¼
412 þ 608 þ 823 þ 1105 þ 1291 þ 1477 953 days 6
Suppose that reliable work is required during the first year (Figure 2.13). If the component is selected solely on the basis of its MTTF, the component with the smaller reliability in the first year will be selected!
2.9
MEAN TIME BETWEEN FAILURES (MTBF)
The mean time between failure (MTBF) reliability measure is defined for repairable systems. Assume that the failed component is restored to as good
40
Reliability and Risk Models Random failures MTTF1
0
Time
First year
MTTF2
0
Time
First year MTTF1 > MTTF2
Figure 2.13
Two components of the same type with different MTTFs
as new condition. Let Ui be the duration of the ith operational period (uptime) and Di be the downtime needed to restore the system after failure to as good as new condition. It is assumed that all Ui come from a common parent distribution and all Di come from another common parent distribution. It is also assumed that the sums Xi ¼ Ui þ Di are statistically independent. The MTBF is the expected (mean) value of the sum Xi ¼ Ui þ Di (Trivedi, 2002): MTBF ¼ EðUi þ Di Þ ¼ EðUi Þ þ EðDi Þ
ð2:36Þ
where E(Ui) and E(Di) are the expected values of the uptimes and the downtimes correspondingly. Since MTTF ¼ E(Ui) and MTTR ¼ E(Ui), where MTTR is the mean time to repair, the mean time between failures becomes MTBF ¼ MTTF þ MTTR
ð2:37Þ
Equation (2.37) illustrates the difference between MTTF and MTBF.
2.10
UNIFORM DISTRIBUTION MODEL
Often the only information available about a parameter X is that it varies between limits a and b. In this case, the uniform distribution is useful for modelling the uncertainty associated with the parameter X. A random variable X following uniform distribution in the interval (a, b) is characterised by a probability density function: f ðxÞ ¼ 1=ðb aÞ
ð2:38Þ
for a x b and f(x) ¼ 0, elsewhere (Figure 2.14). The cumulative distribution function of the uniform distribution is FðxÞ ¼
xa ba
ð2:39Þ
Common Reliability and Risk Models and Their Applications
41
F(x) = (x–a) / (b–a) 1 f(x) = 1 / (b – a)
Parameter, X a
b
Figure 2.14 Probability density and cumulative distribution function of the uniform distribution
for a < x b, F(x) ¼ 0 for x a and F(x) ¼ 1 for x b (Figure 2.14). The mean of a uniformly distributed random variable X is E(X) ¼ (a þ b)/2 and the variance is V(X) ¼ (b a)2/12. A uniform distribution for the coordinates is often used to guarantee unbiased sampling during Monte Carlo simulations or to select a random location. For example, a random path of length a on a plane can be simulated if the coordinates of the starting point of the path and the direction angle are uniformly distributed. Sampling from the uniform distribution can also be used to generate times to repair. The homogeneous Poisson process and the uniform distribution are closely related. An important property of the homogeneous Poisson process, well documented in books on probabilistic modelling (e.g. Ross, 2000), states: ‘Given that n random variables following a homogeneous Poisson process are present in the finite interval a, the coordinates of the random variables are distributed uniformly in the interval a.’ As a result, in cases where the number of failures following a homogeneous Poisson process in a finite time interval 0, a is known, the successive failures times are uniformly distributed in the length a.
2.11
GAUSSIAN (NORMAL) MODEL
Often the random variable of interest is a sum of a large number of random variables none of which dominates the distribution of the sum. For example, the distribution of a geometrical design parameter (e.g. length) incorporates the additive effects of a large number of factors: temperature variation, cutting tool wear, variations in the parameters of the control system, etc. If the number of separate contributions (additive terms) is relatively large, and if none of the separate contributions dominates the distribution of their sum, the distribution of the design parameter d (Figure 2.15) can be approximated by a normal distribution with mean equal to the sum of the means and
42
Reliability and Risk Models 0 d1
d2
d3
•••
dn
d
Length Load Weight
Figure 2.15 A design parameter d equal to the sum of n design parameters di, i ¼ 1, 2, . . . , n
variance equal to the sum of the variances of the separate contributions. The variation of a quality parameter in manufacturing often complies well with the normal distribution because the variation is usually a result of the additive effects of multiple factors, none of which is dominant. Formulated regarding a sum of statistically independent random P variables, the central limit theorem, states: The distribution of the sum X ¼ ni¼1 Xi of a large number n of statistically independent random variables X1, X2, . . . , Xn approaches a Gaussian (normal) distribution with increasing the number of random variables, if none of the random variables dominates the distribution of the sum. P P The sum X has mean ¼ ni¼1 i and variance V ¼ ni¼1 Vi , where i and Vi are the means and the variances of the separate random variables. Suppose that a system of collinear forces is present. According to the central limit theorem, for a sufficiently large number of forces, if none of the forces dominates the distribution of the sum, the total force is approximately normally distributed, irrespective of the individual distributions of the forces. Formulated regarding sampling from the same distribution, the central limit theorem states: If the independent random variables are identically distributed and have finite variances, the sum of the random variables approaches normal distribution with increasing their number (Gnedenko, 1962). This can be illustrated by an example where the average weight of n items, selected randomly from a batch, is recorded. The population of all items is characterised by a mean weight and standard deviation . For a sufficiently large number n of selected items, the sample mean (the average weight of the selected items) will approximately follow a normal distribution with mean pffiffiffi and standard deviation / n. A random variable X, characterised by a probability density function: 1 ðx Þ2 f ðxÞ ¼ pffiffiffiffiffiffi exp 22 2
! ð2:40Þ
where 1 < x < 1 is said to be Gaussian (normally) distributed. The normal distribution of a random variable X is characterised by two parameters, the
Common Reliability and Risk Models and Their Applications
43
mean E(X) ¼ and the variance V(X) ¼ 2 . After changing the variables by z ¼ (x )/, the Gaussian model transforms into 2 1 z f ðzÞ ¼ pffiffiffiffiffiffi exp 2 2
ð2:41Þ
which is the probability density function of the standard normal distribution. The new variable z ¼ (x )/ is normally distributed, with mean EðzÞ ¼
1 ½EðxÞ ¼ 0
and variance VðzÞ ¼
1 2 ½VðxÞ 0 ¼ ¼1 2 2
Equation (2.42) gives the cumulative distribution function of the standard normal distribution:
ðzÞ ¼ PðZ zÞ ¼
2 1 u pffiffiffiffiffiffi exp du 2 1 2
Z
z
ð2:42Þ
where u is a dummy integration variable. If the probability that X will be smaller than b is required, it can be determined from P(X b) ¼ (z2 ) where z2 ¼ (b )/. The probability that X will take on values from the interval [a, b] can be determined from Pða X bÞ ¼ ðz2 Þ ðz1 Þ where z1 ¼ (a )/ and z2 ¼ (b )/. The probability density function and the cumulative distribution function of the standard normal distribution are given in Figure 2.16, where the probability P(Z z ¼ 1) 0.8413 has been determined (the hatched area beneath the probability density function f(z)) using the statistical table in Appendix C. Although the table lists (z) for non-negative values z 0, it can also be used for determining probabilities P(Z |z|) associated with negative values |z|. Indeed, considering the symmetry of the standard normal curve it can be verified that P(Z |z|) ¼ 1 P(Z |z|).
44
Reliability and Risk Models
f (z) 1 Φ (z) Φ (1) 0 1.0
z = (x – µ) / σ
Figure 2.16 Probability density function of the standard normal distribution
Example 2.8. The strength X of an element built in a device is normally distributed, with mean ¼ 75 MPa and a standard deviation ¼ 10 MPa. (i) Calculate the probability that the strength X will be smaller than 65 MPa. Solution: 65 75 PðX 65Þ ¼ ¼ ð1Þ ¼ 1 ð1Þ ¼ 0:158 10 (ii) Calculate the probability P(55 X 65) that the strength X will be between 55 and 65 MPa. Solution:
55 75 ¼ ð2Þ 10
65 75 ¼ ð1Þ 10 Pð55 X 65Þ ¼ ð1Þ ð2Þ ¼ ½1 ð1Þ ½1 ð2Þ ¼ ð2Þ ð1Þ ¼ 0:9772 0:8413 ¼ 0:1359 An important property of the normal distribution holds for a sum of statistically independent, normally distributed random variables: The distribution of P the sum X ¼ ni¼1 Xi of n statistically independent, normally distributed random variables X1, XP 2, . . . , Xn is a normally distributed random variable. The sum X has mean ¼ ni¼1 i equal to the sum of the means i of the random variables P and variance 2 ¼ ni¼1 2i equal to the sum of the variances 2i of the separate random variables.
45
Common Reliability and Risk Models and Their Applications
F1
F2
F3
Figure 2.17 A load which consists of three normally distributed collinear loads
For collinear loads (Figure 2.17) whose magnitudes are normally distributed, the resultant load is always normally distributed for any number of loads and any magnitudes characterising the separate loads. The difference X ¼ X1 X2 of two normally distributed random variables with means 1 and 2 and variances 21 and 22 is a normally distributed random variable with mean ¼ 1 2 and variance 2 ¼ 21 þ 22 . 2.12
LOG-NORMAL MODEL
A random variable X is log-normally distributed if its logarithmQln X is normally distributed. Suppose that a quantity X is a product X ¼ ni¼1 Yi of a large number of statistically independent quantities Yi, none of which dominates the distribution of the product. A good example is the common model X ¼ Yn, where Y is a random variable. According to the central P limit theorem, for a large number n, the logarithm of the product ln X ¼ ni¼1 ln Yi will be approximately normally distributed regardless of the probability distributions of Yi. Consequently, if ln X is normally distributed, according to the definition of the log-normal distribution, the random variable X is log-normally distributed. Here is a multiplicative version of the central limit theorem: The distribution of a product of random variables none of which dominates the distribution of the product approaches a log-normal distribution with increasing the number of random variables. A basic application of the log-normal model is the case where (i) a multiplicative effect of a number of factors controlling reliability is present; (ii) the controlling factors are statistically independent and (iii) their number is relatively large. The log-normal model is characterised by a probability density function (Figure 2.18) " # 1 ðln x Þ2 f ðxÞ ¼ pffiffiffiffiffiffi exp x>0 ð2:43Þ 22 x 2 where and are the mean and the standard deviation of the ln x data.
46
Reliability and Risk Models Probability density
Value, X
Figure 2.18 Probability density function of the log-normal distribution
An important property of the log-normal model is its reproductive property. A product of n log-normal random variables with means Q i and standard deviations n i is a log-normal random variable. Indeed, from X ¼ i¼1 Yi , the logarithm of Pn X, ln X ¼ i¼1 ln Yi is normally distributed because it is a sum of normally distributed random variables. Because ln X is normally distributed, according to the definition of the log-normal distribution, X is log-normally distributed. Often, the log-normal distribution is appropriate for modelling material strength. With increasing the log-normal mean and decreasing the standard deviation, the log-normal distribution transforms gradually into a normal distribution. The hazard rate of the log-normal distribution increases at first and then decreases which makes it unsuitable for modelling times to failure of components. However, the log-normal distribution can often be used for describing the length of time to repair (Barlow and Proschan, 1965). The repair time distribution is usually skewed, with a long upper tail, which is explained by some problem repairs taking a long time.
2.13
THE WEIBULL MODEL
A universal model for the times to failure of structural components or systems which fail when the weakest component in the system fails is the Weibull model (Weibull, 1951). This model is also popular for the strength distribution of brittle materials. One of the reasons is that the fracture stress of a system composed of many links equals the smallest of the fracture stresses of the links, i.e. equals the fracture stress of the weakest link. The cumulative distribution function of the Weibull distribution is 0 m FðÞ ¼ 1 exp
ð2:44Þ
Common Reliability and Risk Models and Their Applications
47
where F() is the probability of failure at a loading stress , 0 is the minimum stress below which the probability of failure F() is zero; is a scale and m is a shape parameter. R() ¼ 1 F() is the probability of surviving a loading stress . If time t instead of stress was used, equation (2.45) is obtained: t t0 m FðtÞ ¼ 1 exp
ð2:45Þ
which describes a distribution of the time to failure. In equation (2.45), F(t) is the probability that failure will occur before time t, t0 is a location parameter or minimum life, is the characteristic lifetime and m is a shape parameter. In many cases, the minimum life t0 is assumed to be zero and the threeparameter Weibull distribution transforms into a two-parameter Weibull distribution: FðtÞ ¼ 1 expððt= Þm Þ
ð2:46Þ
Setting t ¼ in equation (2.46) gives F(t) ¼ 1 e1 0.632. In other words, the probability of failure before time t ¼ , referred to as characteristic life, is 63.2%. Alternatively, the characteristic life corresponds to a time at which 63.2% of the initial population of items has failed. If m ¼ 1, the Weibull distribution transforms into the negative exponential distribution F(t) ¼ 1 exp (t) with parameter ¼ 1/ . Differentiating equation (2.46) with respect to t gives the probability density function of the Weibull distribution: f ðtÞ ¼
m t m1 exp½ðt= Þm
ð2:47Þ
which has been plotted in Figure 2.19 for different values of the shape parameter m. As can be verified, the Weibull distribution is very flexible. By selecting different values of the shape parameter m and by varying the scale parameter
, a variety of shapes can be obtained to fit experimental data. Since the hazard rate is defined by h(t) ¼ f(t)/R(t), where f ðtÞ ¼
m t m1 exp½ðt= Þm
and the reliability function is R(t) ¼ exp [ (t/ )m ], the Weibull hazard rate function becomes hðtÞ ¼ ðm= Þðt= Þm1
ð2:48Þ
48
Reliability and Risk Models 0.4 m=5 0.3 m = 3.6 m = 2.5
m=1
f(t)
0.2
m=2
0.1
0.0
0
2
4
6
8
10
Figure 2.19 Two-parameter Weibull probability density function for different values of the shape parameter m
As can be verified from equation (2.48), for m < 1, the hazard rate is decreasing, for m > 1, the hazard rate is increasing and m ¼ 1 corresponds to a constant hazard rate. Weibull hazard rate functions for different values of the Weibull exponent m and for ¼ 1 have been plotted in Figure 2.20. 5 Hazard rate h (t ) = (m /η)(t /η)m – 1 m = 3.2
4
3 m=2
m = 0.5 2
m = 1.5
m=1
1
0 0.0
0.2
0.4
0.6
0.8
1.0
1.2
1.4
1.6
1.8
2.0 t
Figure 2.20 Weibull hazard rate for different values of the shape parameter m
49
Common Reliability and Risk Models and Their Applications
2.14
RELIABILITY BATHTUB CURVE FOR NON-REPAIRABLE COMPONENTS/SYSTEMS
The hazard rate of non-repairable components and systems follows a curve with bathtub shape, characterised by three distinct regions (Figure 2.21). The first region, referred to as the infant mortality region, comprises the start of life and is characterised by an initially high hazard rate which decreases with time. Most of the failures in the infant mortality region are quality related and result from inherent defects due to poor design, manufacturing and assembly. A substantial proportion of failures can also be attributed to a human error during installation and operation. Since most substandard components fail during the infant mortality period and the experience of the personnel operating the equipment increases, the initially high hazard rate gradually decreases. The cumulative distribution of the time to failure is a decreasing failure rate (DFR) distribution. The second region of the bathtub curve, referred to as the useful life region, is characterised by an approximately constant hazard rate. This is why the negative exponential distribution, which is a constant failure rate (CFR) distribution, is the model of the times to failure in this region. Failures in this region are not due to age, wear-out or degradation and preventive maintenance does not affect the hazard rate. The third region, referred to as the wear-out region, is characterised by an increasing with age hazard rate due to accumulated wear and degradation of properties (e.g. wear, erosion, corrosion, fatigue, creep). The corresponding cumulative distribution of the times to failure is an increasing failure rate (IFR) distribution. In the infant mortality region, the hazard rate can be decreased (curve 2 in Figure 2.22) and reliability increased, by better design, materials, manufacturing, inspection and assembly. A significant reserve in decreasing the hazard rate at the start of life is decreasing the variability of material properties and other design parameters. Another substantial reserve is decreasing the uncertainty Hazard rate h (t) Infant mortality region
Useful life region
Wear-out region
(CFR)
(IFR)
(DFR)
Time, t
Figure 2.21
Reliability bathtub curve
50
Reliability and Risk Models Hazard rate h (t ) 1
2 Time, t
Figure 2.22
Decreasing the hazard rate by eliminating early-life failures and delaying the wear-out phase by preventive maintenance
associated with the actual loads experienced during service. A method for quantitative assessment of the impact of the decreased hazard rate on reliability will be provided in Chapter 16. In the wear-out region, reliability can significantly be increased by preventive maintenance consisting of replacing old components. This delays the wear-out phase and, as a result, reliability is increased (Figure 2.22). For a shape parameter m ¼ 1, the Weibull distribution transforms into the negative exponential distribution and describes the useful life region of the bathtub curve, where the probability of failure within a specified time interval practically does not depend on age. For components, for which early-life failures have been eliminated and a preventive maintenance has been conducted to replace worn parts before they fail, the hazard rate tends to remain constant (Villemeur, 1992). A value of the shape parameter smaller than 1 (m < 1) corresponds to a decreasing hazard rate and indicates infant mortality failures. A value of the shape parameter greater than 1 (m > 1) corresponds to increasing hazard rate and indicates wear-out failures. Values in the interval (1.0 < m 4) indicate early wear-out failures caused for example by a low cycle fatigue, corrosion or erosion. Values of the shape parameter greater than 4 indicate old age wear-out (m > 4) (Abernethy, 1994). Most steep Weibull distributions have a safe period within which the probability of failure is negligible. The larger the parameter m, the smaller the variation of the time to failure. An almost vertical Weibull, with very large m, implies perfect design, quality, control and production (Abernethy, 1994). Components made from purer materials have larger Weibull exponents m compared to components made from materials containing impurities.
2.15
EXTREME VALUE MODELS
Suppose that X1, . . . , Xn are n independent observations of a random variable (e.g. load, strength). Let X ¼ max {X1, X2, . . . , Xn} denote the maximum value
51
Common Reliability and Risk Models and Their Applications
among these observations. Provided that the right tail of the random variable distribution decreases at least as fast as that of the negative exponential distribution, the asymptotic distribution of X for large values of n is the type I distribution of extreme values (Gumbel, 1958): x FðxÞ ¼ exp exp ð2:49Þ This condition is satisfied by most of the reliability distributions: the normal, log-normal and the negative exponential distribution. The maximum extreme value distribution model (Figure 2.23) is often appropriate in cases where the maximum load determines component failures. The type I extreme value model has a scale parameter and a mode . The mean of the distribution is þ 0:57722 and the standard deviation is ¼ 1:28255 (Metcalfe, 1994). Suppose that n statistically independent loads X1, X2, . . . , Xn following the maximum extreme value distribution F(x) have been applied consecutively to a component with strength x. The probability that the component will survive all n loads is PðX1 xÞ PðX2 xÞ PðXn xÞ ¼ ½FðxÞn ¼ expðn exp½ðx Þ=Þ Since exp (n exp [(x )/]) ¼ exp ( exp [(x ( þ ln n))/]), the distribution of the maximum load also follows an extreme value distribution FðxÞ ¼ exp½ expððx 0 Þ=Þ
ð2:50Þ
with a scale parameter and a new displacement parameter (mode) 0 ¼ þ ln n. Thus, the maximum value from sampling an extreme value distribution also follows an extreme value distribution. Probability density
Maximum extreme, X
Figure 2.23
Probability density function of the maximum extreme value model
52
Reliability and Risk Models Probability density
Minimum extreme, X
Figure 2.24 Probability density function of the minimum extreme value distribution
Suppose now that X1, . . . , Xn are n independent observations of a random variable (e.g. load, strength). Let X ¼ min {X1, X2, . . . , Xn} denote the minimum value among these observations. With increasing the number of observations n, the asymptotical distribution of the minimum value follows the minimum extreme value distribution (Gumbel, 1958): x FðxÞ ¼ 1 exp exp
ð2:51Þ
The minimum extreme value distribution (Figure 2.24) can for example be used for describing the distribution of the lowest temperature and the smallest strength. The Weibull distribution is related to the minimum extreme value distribution as the log-normal distribution is related to the normal distribution. If a variable is Weibull-distributed, its logarithm follows the minimum extreme value distribution. Indeed, it can be verified that if the transformation x ¼ ln z is made in equation (2.51), the new variable z follows the Weibull distribution. References and discussions related to other statistical models used in reliability and risk analysis can be found in Trivedi (2002) and Bury (1975).
3 Reliability and Risk Models Based on Mixture Distributions
3.1
DISTRIBUTION OF A PROPERTY FROM MULTIPLE SOURCES
Suppose that items arrive from M different sources in proportions p1, p2, . . . , pM, PM p ¼ 1. A particular property of the items from each source k is i k¼1 characterised by a mean k and variance Vk. Often, of significant practical interest is the variance V of the property for items collected from all sources. In another example, small samples are taken randomly from a three-component inhomogeneous structure (components A, B and C, Figure 3.1). The probabilities p1, p2 and p3 of sampling the structural constituents A, B and C are equal to their volume fractions A , B and C (p1 ¼ A p2 ¼ B p3 ¼ C ). Suppose that the three structural constituents A, B and C have volume fractions A ¼ 0:55, B ¼ 0:35 and C ¼ 0:1. The mean yield strengths of the constituents are: A ¼ 800 MPa, B ¼ 600 MPa and C ¼ 900 MPa, and the standard deviations are: A ¼ 20 MPaB ¼ 25 MPa and C ¼ 10 MPa, correspondingly. What is the variance of the yield strength from random sampling of the inhomogeneous structure? It can be demonstrated that in these cases, the property of interest from the different sources can be modelled by a distribution mixture. Suppose that M sources (i ¼ 1, M) are sampled with probabilities p1, p2, . . . , P pM, M i¼1 pi ¼ 1. The distributions of the property characterising the individual sources are Fi(x), i ¼ 1, 2, . . . ,M, correspondingly. Thus, the probability F(x) P(X x) of the event B (Figure 3.2) that the property X will be
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
54
Reliability and Risk Models
C
B A
Random samples
Figure 3.1 Sampling of an inhomogeneous microstructure composed of three structural constituents A, B and C Ω
Ai
A1 B
AM
A2
Figure 3.2 The probability of event B is a sum of the probabilities of the mutually exclusive events Ai \ B
smaller than or equal to a specified value x can be presented as a union of the following mutually exclusive and exhaustive events: A1 \ B: the first source is sampled (event A1) and the property is smaller than x (the probability of this compound event is p1F1(x)); A2: the second source is sampled (event A2) and the property is smaller than x (the probability of this compound event is p2F2(x)); . . . ; AM: the Mth source is sampled and the property is smaller than x (the probability of this compound event is pMFM(x)). According to the total probability theorem, the probability that the property X will be smaller than or equal to a specified value x is FðxÞ ¼
M X
pk Fk ðxÞ
ð3:1Þ
k¼1
which is the cumulative distribution of the property from all sources. F(x) is a mixture of the probability distribution functions Fk(x) characterising the individual sources, scaled by the probabilities pk, k ¼ 1, M with which they are
55
Reliability and Risk Models Based on Mixture Distributions
sampled. After differentiating equation (3.1), a relationship between the probability densities is obtained: f ðxÞ ¼
M X
pk fk ðxÞ
ð3:2Þ
k¼1
Multiplying both sides of equation (3.2) by x and integrating: Z
þ1
xf ðxÞdx ¼ 1
M X
Z
þ1
xfk ðxÞdx
pk 1
k¼1
gives ¼
M X
ð3:3Þ
pk k
k¼1
for the mean value of a property from M different sources (Everitt and Hand, 1981).
3.2
VARIANCE OF A PROPERTY FROM MULTIPLE SOURCES
The variance V of the mixture distribution (3.1) for continuous probability density functions fk(x) characterising the existing microstructural constituents can be derived as follows: V¼ ¼
Z
ðx Þ2 f ðxÞdx ¼
M X
Z pk
Z
ðx k Þ2 fk ðxÞdx þ
k¼1
þ
Z
ðx k þ k Þ2
2
Z
M X
pk fk ðxÞdx
k¼1
2ðx k Þðk Þfk ðxÞdx
ðk Þ fk ðxÞdx
R Because the middle integral in the expansion is zero: 2(x k )(k ) fk (x)dx ¼ 0, the expression for the variance becomes (Todinov, 2002a) V¼
M X
pk ½Vk þ ðk Þ2
ð3:4Þ
k¼1
where Vk, k ¼ 1, M are the variances characterising the M individual distributions. Although equation (3.4) has a simple form, the grand mean of the
56
Reliability and Risk Models
distribution mixture given by equation (3.3) is a function of the means k of the individual distributions. An expression for the variance can also be derived as a function only of the pairwise distances between the means k of the individual distributions. Indeed, substituting expression (3.3) for the mean of a distribution mixture P 2 into the term M p ( k¼1 k k ) of equation (3.4) gives M X
2
pk ðk Þ ¼
k¼1
M X
pk 2k
k¼1
M X
!2 ð3:5Þ
pk k
k¼1
The variance of the distribution mixture can now be expressed only in terms of the pairwise differences between the means of the individual distributions. Expanding the right-hand part of equation (3.5) results in: M X
pk 2k
k¼1
M X
!2 pk k
k¼1
¼ p1 21 þ p2 22 þ þ pM 2M p21 21 p22 22 p2M 2M 2
M X i1 X
pi pj i j
i¼2 j¼1
¼ p1 ðp2 þ p3 þ þ pM Þ21 þ p2 ðp1 þ p3 þ þ pM Þ22 X þ þ pM ðp1 þ p2 þ þ pM1 Þ2M 2 pi pj i j i<j
¼
X
pi pj ði j Þ2
i<j
because 1 p1 ¼ p2 þ p3 þ þ pM ; 1 p2 ¼ p1 þ p3 þ þ pM ; etc: Finally, the variance of the distribution mixture (3.4) becomes V¼
M X k¼1
pk ½Vk þ ðk Þ2 ¼
M X k¼1
pk Vk þ
X
pi pj ði j Þ2
ð3:6Þ
i<j
P The expansion of i<j pi pj (i j )2 has M(M 1)/2 number of terms, equal to the number of different pairs (combinations) of indexes among M indexes. For M ¼ 2 individual distributions (sources), equation (3.6) becomes
57
Reliability and Risk Models Based on Mixture Distributions
V ¼ pV1 þ ð1 pÞV2 þ pð1 pÞð1 2 Þ2
ð3:7Þ
For three sources (M ¼ 3, Figure 3.3), equation (3.6) becomes V ¼ p1 V1 þ p2 V2 þ p3 V3 þ p1 p2 ð1 2 Þ2 þ p2 p3 ð2 3 Þ2 þ p1 p3 ð1 3 Þ2
ð3:8Þ
Going back to the problem at the beginning of this chapter, according to equation (3.3), the mean yield strength of the samples from all microstructural zones is ¼ pA A þ pB B þ pC C ¼ 0:55 800 þ 0:35 600 þ 0:10 900 ¼ 740 MPa Considering that the variances Vk in equation (3.8) are the squares of the standard deviations A , B and C characterising the yield strength of the separate microstructural zones, the standard deviation of the yield strength from sampling all microstructural zones becomes ¼ ½pA 2A þ pB 2B þ pC 2C þ pA pB ðA B Þ2 þ pB pC ðB C Þ2 þ pA pC ðA C Þ2 1=2
ð3:9Þ
After substituting the numerical values in equation (3.9), the value 108:85 MPa is obtained for the standard deviation characterising sampling from all microstructural constituents. As can be verified, the value 108:85 MPa is significantly larger than the standard deviations A ¼ 20 MPa, B ¼ 25 MPa and C ¼ 10 MPa characterising sampling from the individual structural constituents.
Probability f1(x ) f2(x ) f3(x )
µ1
µ2
µ3
Property
Figure 3.3 Distributions of properties from three different sources
58
Reliability and Risk Models
If we examine equation (3.6) closely, the reason for the large variance becomes clear. In equation (3.6), the variance of the distribution mixture has P been decomposed into two major components. The first component M p k¼1 k Vk including the terms pkVk, characterises only variation of properties within the separate sources (individual distributions). The second component is the sum P 2 p p ( i<j i j i j ) and characterises the variation of properties between the separate sources (individual distributions). Assuming that all individual distri2 butions have the same mean (i ¼ j ¼ ), the terms pi pj ( Pi M j ) in equation (3.6) become zero and the total variance becomes V ¼ k¼1 pk Vk . In other words, the total variation of the property is entirely a within-sources variation (Figure 3.4). From equation (3.8), for three sources with the same mean, the variance becomes V ¼ p1 V1 þ p2 V2 þ p3 V3
ð3:10Þ
Now let us assume that all sources (individual distributions) are characterised by very small variancesVk 0 (Figure 3.5). In this case, the within-sources Probability
f1(x)
f2(x) f3(x) µ1 = µ2 = µ3
Property
Figure 3.4 Distribution of properties from three different sources with the same mean Probability f1(x)
f2(x)
f3(x)
Property µ1
µ2
µ3
Figure 3.5 Distribution of properties from three different sources with very small variances
59
Reliability and Risk Models Based on Mixture Distributions
PM variance k¼1 pk Vk 0 and the total variance becomes P can be neglected: 2 V ¼ i<j pi pj (i j ) . In other words, the total variation of the property is entirely a between-sources variation. From equation (3.8), for the three sources in Figure 3.5 characterised by negligible variances (V1 0, V2 0 and V3 0), the total variance from sampling all sources becomes V p1 p2 ð1 2 Þ2 þ p2 p3 ð2 3 Þ2 þ p3 p1 ð3 1 Þ2
3.3
ð3:11Þ
VARIANCE UPPER BOUND THEOREM
If the mixing proportions pk are unknown, the variance V in equation (3.4) cannot be calculated. Depending on the actual mixing proportions pk, the variance V may vary from the smallest variance Vk characterising one of the sources up to the largest possible variance obtained from sampling a particular combination of sources with appropriate probabilities pi. A central question is to establish an exact upper bound for the variance of properties from multiple sources irrespective of the mixing proportions pk with which the sources are sampled. This upper bound can be obtained using the simple numerical algorithm in Appendix 3.2 which is based on an important result derived rigorously in Appendix 3.1. Variance upper bound theorem (Todinov, 2003b). The exact upper bound of the variance of properties from sampling multiple sources is obtained from sampling not more than two sources. Mathematically, the upper bound variance theorem can be expressed as Vmax ¼ pmax Vk þ ð1 pmax ÞVs þ pmax ð1 pmax Þðk s Þ2
Variance
ð3:12Þ
Vmax
pk, ps 0
p max
1
Figure 3.6 Upper bound of the variance from sampling two sources with indices k and s
60
Reliability and Risk Models
where k and s are the indices of the sources for which the upper bound of the variance is obtained and 0 pmax 1 and 1 pmax are the probabilities of sampling the two sources (Figure 3.6). If pmax ¼ 1, the maximum variance is obtained from sampling a single source (the kth source) only. For a large M, determining the upper bound variance by directly finding the global maximum of expression (3.6) regarding the probabilities pk is a difficult task which can be made easy using the upper bound variance theorem. The algorithm for finding the maximum variance of the properties in Appendix 3.2 is based on the upper bound variance theorem and consists of checking the variances of all individual sources and the variances from sampling all possible pairs of sources. Finding the upper bound variance of the properties from M sources involves only M(M þ 1)/2 checks.
3.3.1
DETERMINING THE SOURCE WHOSE REMOVAL RESULTS IN THE LARGEST DECREASE OF THE VARIANCE UPPER BOUND
The variance upper bound theorem can be applied to identify the source whose removal yields the smallest value of the variance upper bound. The algorithm consists of finding the source (pair of sources) yielding the largest variance. If sampling from a single source yields the largest variance, removing this source yields the largest decrease in the variance upper bound. The algorithm will be illustrated by the following numerical example. Suppose that properties of items from five sources are characterised by individual distributions with variances V1 ¼ 208, V2 ¼ 240, V3 ¼ 108, V4 ¼ 102, V5 ¼ 90 and means 1 ¼ 39, 2 ¼ 43, 3 ¼ 45, 4 ¼ 56 and 5 ¼ 65, correspondingly. Removal of which source yields the largest decrease in the variance upper bound? The global maximum of the variance of properties from these sources is Vmax 323.15, attained from sampling the fifth source with probability pmax 0.41 and the first source with probability 1 pmax 0.59. Removing the fifth source yields the largest reduction of the variance upper bound. Indeed, the calculations show that after removing the fifth source the variance upper bound Vmax 241.4 is attained from sampling the fourth source with probability pmax 0.09 and the second source with probability 1 pmax 0.91. Removal of the fifth source yields a value of the variance upper bound which cannot be improved (decreased further) by the removal of any other source instead. This result is particularly useful in cases where the mixing proportions from the sources are unknown and a tight upper bound for the variance is necessary for a conservative estimate of the uncertainty associated with the properties from the sources.
Reliability and Risk Models Based on Mixture Distributions
3.3.2
61
MODELLING THE UNCERTAINTY OF THE CHARPY IMPACT ENERGY AT A SPECIFIED TEST TEMPERATURE
The variance upper bound theorem can also be applied for calculating the uncertainty associated with the Charpy impact energy from sampling inhomogeneous C–Mn welds. Multi-run welds are characterised by a large variation of the impact toughness. Determining the variance of the distribution mixture from sampling different microstructural zones is closely related to the probability bounds of mechanical properties associated with these zones, which is an important part of the structural reliability assessment. The microstructure of the C–Mn multi-run welds (Figure 3.7) is markedly inhomogeneous, consisting of a central zone characterised by a poor impact toughness, a reheated zone characterised by a relatively high impact toughness, and an intermediate zone characterised by an intermediate impact toughness (see Figure 3.8). The microstructure consists roughly of as-deposited metal (the dark zones in Figure 3.7) and reheated zones (the lighter zones) representing recrystallised weld metal. Each subsequent weld bead, grain refines (normalises) part of the previous weld metal underneath and
Intermediate zone Central zone
Reheated zone
(a)
Intermediate zone Central zone
Reheated zone
(b) Position of the Charpy V-notch
Figure 3.7 A typical inhomogeneous microstructure characterising C – Mn multi-run welds
62
Reliability and Risk Models Charpy impact energy (J) 140 120 100 80 60 40 20 Microstructural zones
0 Central zone
Intermediate Reheated zone zone
All zones
Figure 3.8 Scatter of the Charpy impact energy characterising sampling from the individual microstructural zones of a C–Mn multi-run weld and from all zones
refinements in microstructure result in improved toughness compared to the microstructure not affected by reheating (Easterling, 1983). The microstructural zone in which the V-notch is cut (Figure 3.7b) has a very strong influence on the distribution of the impact energy in the transition ductile-to-brittle region (Todinov et al., 2000). This is illustrated by the well separated distributions of the impact energy from the microstructural zones (Figure 3.8). Distribution mixtures arising from sampling inhomogeneous materials are characterised by large variances and this is also illustrated by the box plots in Figure 3.8 representing the scatter of the Charpy impact energy from sampling the individual microstructural zones and from sampling all zones.
3.4
VARIATION AND UNCERTAINTY ASSOCIATED WITH THE CHARPY IMPACT ENERGY AT A SPECIFIED TEST TEMPERATURE
Determining the variation of the Charpy impact energy at a specified test temperature is based on experimental data published in earlier work (Todinov et al., 2000) and on equation (3.8) related to the variance of a mixture distribution from three sources. The experimental data characterise the Charpy impact
Reliability and Risk Models Based on Mixture Distributions
63
energy from the central, intermediate and reheated zone of multi-run C–Mn welds at 0 C and include Charpy impact energy measurements from 117 impact tests with a V-notch placed in different microstructural zones. The Charpy impact energy distribution of the central zone is characterised by a mean 1 ¼ 62:32 J and standard deviation 1 ¼ 10:49 J calculated on the basis of 34 measurements, with a V-notch placed in the central zone only. Correspondingly, the impact energy of the intermediate zone is characterised by a mean 2 ¼ 92:22 J and standard deviation 2 ¼ 16:02 J calculated on the basis of 54 measurements, with a V-notch placed in the intermediate zone only and the Charpy impact energy of the reheated zone is characterised by an empirical distribution with mean 3 ¼ 106:22 J and standard deviation 3 ¼ 13:63 J calculated on the basis of 29 measurements with a V-notch placed in the reheated zone only. For M ¼ 3 microstructural zones (central, intermediate and reheated), equation (3.1) yields a model for the distribution of the Charpy impact energy: FðxÞ ¼ p1 F1 ðxÞ þ p2 F2 ðxÞ þ p3 F3 ðxÞ
ð3:13Þ
where p1, p2 and p3 are the probabilities of sampling the central (1), intermediate (2) and reheated zone (3) and F1(x), F2(x) and F3(x) are the cumulative distribution functions characterising the Charpy impact energy from the three microstructural zones. According to equation (3.3), the mean of the Charpy impact energy at 0 C is 0 ¼ p1 1 þ p2 2 þ p3 3
ð3:14Þ
where 1 ¼ 62:32 J, 2 ¼ 92:22 J and 3 ¼ 106:22 J are the means of the Charpy impact energy characterising the separate microstructural zones. According to equation (3.8), the variance of the Charpy impact energy at 0 C is V0 ¼ p1 21 þ p2 22 þ p3 23 þ p1 p2 ð1 2 Þ2 þ p2 p3 ð2 3 Þ2 þ p1 p3 ð1 3 Þ2
ð3:15Þ
where 1 ¼ 10:49 J, 2 ¼ 16:02 J and 3 ¼ 13:63 J are the standard deviations of the Charpy impact energy associated with the separate microstructural zones. Since the probabilities p1, p2 and p3 of sampling the individual microstructural zones are unknown, the variance V0 in equation (3.15) cannot be determined in general. In order to obtain a conservative estimate for the variance, its exact upper bound with respect to the probabilities of sampling pi needs to be determined. The global maximum of the variance of a distribution mixture composed of the three individual distributions is Vmax 492.109. This upper
64
Reliability and Risk Models
bound has been determined by maximising V0 in equation (3.15) with respect to the sampling probabilities p1, p2 and p3 using the numerical procedure in Appendix 3.2. According to the upper bound variance theorem, the upper bound of the variance of properties from sampling the inhomogeneous multirun weld is attained from sampling not more than two microstructural zones. In our case the upper bound was attained from sampling the central and the reheated zone with probabilities p1 0.5 and p3 ¼ 0.5. The mean of the distribution mixture which corresponds to the upper bound of the variance is ¼ 0:51 þ 0:53 ¼ 84:27 J. In this way, a conservative estimate of the variance of the Charpy impact energy at a specified test temperature has been obtained which will be used in Chapter 11 to determine the uncertainty associated with the location of the ductile-to-brittle transition region. As can be verified from equation (3.15), the total uncertainty associated with the Charpy impact energy at a specified test temperature is caused by the natural variability of the impact energy from sampling different microstructural zones (aleatory uncertainty) and from the lack of knowledge of the probabilities pk with which the different microstructural zones are sampled (epistemic uncertainty). According to equation (3.15) the total uncertainty can be reduced significantly if a single microstructural zone (for example the central zone) is sampled. The probabilities of sampling then become p1 ¼ 1, p2 ¼ 0 and p3 ¼ 0 and equation (3.15) transforms into V0 ¼ 21 . In this case, the total uncertainty in the impact energy is caused by the variability of the Charpy impact energy of the central zone. By sampling from a single microstructural zone, the variability associated with the Charpy impact energy P is decreased sub2 stantially because the sum of the squared differences i<j pi pj (i j ) in equation (3.15) becomes zero.
APPENDIX 3.1 The upper bound Vmax of the variance V of a distribution mixture is obtained by maximising the general equation (3.6) with respect to pk, k ¼ 1, M: Vmax ¼ max
p1 p2 ...pM
M X
pk V k þ
k¼1
X
! pi pj ði j Þ
2
ð3A:1Þ
i<j
The local extrema of expression (3A.1) can be determinedPusing Lagrange multipliers, because of the equality constraint: g(p1 , . . . , pM ) ( M k¼1 pk ) 1 ¼ 0. The necessary condition for an extremum of the variance given by expression (3.6) is @V=@pk þ @g=@pk ¼ 0
k ¼ 1; 2; . . . ; M
ð3A:2Þ
65
Reliability and Risk Models Based on Mixture Distributions
where isP the Lagrange multiplier. These M equations, together with the constraint M k¼1 pk 1 ¼ 0, form a system of M þ 1 linear equations in the M þ 1 unknowns p1, . . . ,pM and : p1 þ p2 þ þ pM ¼ 1 þ p1 ðk 1 Þ2 þ p2 ðk 2 Þ2 þ þ pk1 ðk k1 Þ2 þpkþ1 ðk kþ1 Þ2 þ þ pM ðk M Þ2 ¼ Vk where k ¼ 1, M. This linear system can also be presented in a vector form: Ap ¼ V
ð3A:3Þ
where 1 0 1 1 ... 1 2 2 B 1 . . . ð1 M Þ C 0 ð1 2 Þ C B 2 B A¼B 1 ð2 1 Þ 0 . . . ð2 M Þ2 C C A @... ... ... ... ... 2 2 1 ðM 1 Þ ðM 2 Þ . . . 0 1 1 0 0 1 B p1 C B V1 C C C B B C C B p¼B B p2 C and V ¼ B V2 C @ ... A @ ... A pM VM 0
ð3A:4Þ
Matrix A is a Cayley–Menger matrix (Glitzmann and Klee, 1994). The determinant of this matrix is at the basis of a method for calculating the volume V of an N-simplex (in the N-dimensional space). Suppose an N-simplex has vertices 2 1 , 2 , . . . , Nþ1 and dkm is the squared distance between vertices k and m . Let the matrix D be defined as 0
0 1 2 B 1 d 11 D¼B @... ... 2 1 dNþ1;1
1 ... 1 2 C ... d1;Nþ1 C ... ... A 2 . . . dNþ1;Nþ1
The equation V2 ¼
ð1ÞNþ1 2N ðN!Þ2
detðDÞ
66
Reliability and Risk Models
then gives the volume V of the N-simplex (Glitzmann and Klee, 1994; Sommerville, 1958). From this equation it is clear that if the Cayley–Menger determinant det (D) is zero, the volume of the simplex is also zero. The converse is also true, if the volume of the simplex is zero, the Cayley–Menger determinant is necessarily zero. As can be verified from our matrix A given by (3A.4), the means i can be considered as first-axis coordinates of the vertices of a simplex in an M-1-dimensional space with other coordinates set to zero. The ‘volume’ of this simplex is clearly zero except in the one-dimensional case (M 1 ¼ 1) where the ‘volume’ of the simplex is simply the distance j1 2 j between the two means of the individual distributions (sources). As a consequence, the determinant of matrix A is always zero for M > 2 and the linear system (3A.3) has no solution. We will now prove that no local maximum for the variance exists if exactly k > 2 individual distributions (sources) are sampled from a mixture distribution composed of M components (individual distributions). If k > 2 individual distributions are sampled, the sampling probabilities of these individual distributions must then all be different from zero. Without loss of generality let us assume that only the first k individual Pk distributions are sampled, with probabilities p1 6¼ 0; p2 6¼ 0, . . . , pk 6¼ 0, i¼1 pi ¼ 1, (pkþ1 ¼ 0, . . . , pM ¼ 0). Since the k individual distributions also form a mixture distribution and k > 2, the linear system (3A.3) has no solution, therefore no local maximum exists. This means that the global maximum is attained somewhere on the boundary of the domain 0 p1 1, . . . ,0 pk 1, either for some ps ¼ 0 or for some pt ¼ 1. The case pt ¼ 1, however, means that the rest of the sampling probabilities must be zero (pi ¼ 0 for i 6¼ t). In both cases, at least one of the sampling probabilities p1, p2, . . . , pk must be zero. Without loss of generality suppose that pk ¼ 0. The same reasoning can be applied to the remaining k 1 sources. If k 1 > 2, some of the p1, p2, . . . , pk 1 must be zero, etc. If k ¼ 2 (one-dimensional simplex), the matrix equation (3A.3) becomes 0
0 1 @1 0 1 ð1 2 Þ2
1 1 0 1 0 1 1 ð1 2 Þ2 A @ p1 A ¼ @ V1 A p2 V2 0
ð3A:5Þ
Because in this case the Cayley–Menger determinant is equal to 2(1 2 )2 , a solution of the linear system (3A.5) now exists and a local maximum may be present. The solution of the linear system (3A.5) is p1 ¼ 0:5 þ p2 ¼ 0:5
V1 V2 2ð1 2 Þ2 V1 V2 2ð1 2 Þ2
ð3A:6Þ ð3A:7Þ
Reliability and Risk Models Based on Mixture Distributions
67
These values of p1 and p2 correspond to a local maximum in the domain 0 p1 1, 0 p2 1, only if jV1 V2 j < (1 2 )2 . If jV1 V2 j (1 2 )2 , the maximum is attained at the boundary of the domain, either for p1 ¼ 1, p2 ¼ 0 (Vmax ¼ V1) or for p1 ¼ 0, p2 ¼ 1 (Vmax ¼ V2), whichever is greater (Vmax ¼ max {V1, V2}). If jV1 V2 j < (1 2 )2 , a local maximum of the variance exists for p1 and p2 given by relationships (3A.6) and (3A.7). The maximum value of the variance corresponding to these values is
Vmax ¼
V1 þ V2 ðV1 V2 Þ2 1 2 2 þ þ 2 2 4ð1 2 Þ2
ð3A:8Þ
In short, the global maximum of the right-hand side of equation (3.6) is attained either from sampling a single source/individual distribution, in which case one of the sampling probabilities pi is unity and the rest are zero (pi ¼ 1; pj=i ¼ 0), or from sampling only two individual distributions k and m among all individual distributions composing the mixture distribution. In this case, pk 6¼ 0 and pm 6¼ 0 and the rest of the pi are zero (pi ¼ 0) for i 6¼ k and i 6¼ m. If Vmax,k, m denotes the local maximum of the variance from sampling sources (individual distributions) k and m (k 6¼ m), the global maximum Vmax of the right-hand side of equation (3.6) can be found from Vmax ¼ max {V1,V2, . . . ,VM,Vmax,k,m} where k ¼ 2, M and m ¼ 1, k 1. Since there exist M (M 1)/2 number of terms Vmax,k,m, the global maximum is determined after M þ M (M 1)/2 ¼ M(M þ 1)/2 checks. As can be verified from the algorithm presented in Appendix 3.2, the maximum of the variance is determined by two nested loops. The control variable i of the external loop takes on values from 2 to M (the number of sources) while the control variable j of the internal loop takes on values from 1 to i 1.
APPENDIX 3.2 AN ALGORITHM FOR DETERMINING THE UPPER BOUND OF THE VARIANCE OF PROPERTIES FROM SAMPLING FROM MULTIPLE SOURCES The algorithm is in pseudo-code, where the statements in braces {op1; op2; op3; . . . ;} are executed as a single block. Detailed description of the various control structures is given in Chapter 6. The variable max contains the largest variance at the end of the calculations, the constant M is the number of components (sources) composing the mixture distribution. Variables k_max and m_max contain the indices of the sources sampling from which yields the largest variance. If the maximum variance is attained from sampling a single source, k_max and m_max will both contain the index of this source.
68
Reliability and Risk Models
Algorithm. max ¼V[1]; k_max ¼1; m_max ¼1; for i from 2 to M do { if (max < V[i]) then do { max ¼V[i]; k_max ¼i; m_max ¼i; pk_max ¼1; pm_max ¼1; } for j ¼ 1 to i do { if jV[i] V[j]j < ([i] [j])2 then do { (V[i] V [ j])2 [i] [j] 2 candidate_max = V[i]/2 þ V [ j ]/2 þ þ ; 2 4([i] [j])2 if (max < candidate_max) then do { max¼candidate_max; k_max¼i; m_max¼j; V[i] V [j] ; 2([i] [ j ])2 pm_max¼1-pk_max; pk_max ¼ 0:5 þ
} } } } Variables pk_max and pm_max contain the probabilities of sampling the two sources which yield the largest variance. As can be verified, the statements in the internal loop are executed only if the condition jV[i] V [ j ]j < ([i] [ j ])2 is fulfilled, which indicates a local maximum.
4 Building Reliability and Risk Models Failure rate and failure mode data are of vital importance for reliability analyses. For the purposes of the reliability predictions, failure rates should be quoted for specific failure modes. A reliability data record usually includes the following basic components (fields): .
Inventory field: Gives information on the particular component or subsystem. Failure mode field: Describes the particular failure event including its effect on the operational state of the system. . Failure time field: Includes time to failure, fraction of failed items per unit time, number of demands and number of failures on demand, etc. . Operational and environment conditions. .
Industry-specific data are related to a particular industry. An example of an industry-specific data source is the OREDA database (Offshore REliability DAta) (OREDA-1992) which contains field data. The database is a collection of offshore failure rate and failure mode data. Failure rates are listed for a wide range of offshore hardware components: electromechanical, mechanical and hydraulic components, and for a number of environmental applications.
4.1
GENERAL RULES FOR RELIABILITY DATA ANALYSIS
A basic initial step is to verify whether the data have been collected correctly since the quality of the field data varies between misleading data and useful
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
70
Reliability and Risk Models
data. Without good quality data, however, there is no quality prediction, despite the amount of sophisticated mathematics involved. A proper data collection should include data quality assurance. This involves auditing the source of data and specifying the procedures to be followed during data collection, recording and processing. After data collection, exploratory data analysis is the next step. It involves summarising and examining the data in an exploratory way using plots, charts and histograms. The results from the preliminary data analysis are helpful for the next step, where an appropriate reliability and risk model is formulated. Let us examine the data summary of lifetimes in Figure 4.1 which clearly indicates bimodality. There is a well-defined distribution of the lives of the weak subpopulation and another distribution, characterising the distribution of the lives of the normal population. Consequently, none of the classical unimodal distributions will be appropriate for this particular data set. Another example is presented in Figure 4.2, where the dependence of the Charpy impact energy on the percentage of ductile fracture over the fracture surface of a Charpy specimen was studied using a scatter plot. A strong positive correlation exists between the absorbed impact energy and the percentage of ductile fracture which suggests a possible connection between the two (Todinov et al., 2000). Indeed, ductile fracture is associated with a large amount of absorbed impact energy, as opposed to brittle fracture, which is associated with a small amount of impact energy. Thorough understanding of the failure mechanisms and factors which control failure is required by the next step – formulation of a reliability (risk) model. It is particularly important to verify whether the selected random variables indeed control reliability (risk). If a well-established model already exists, the model formulation may be reduced to assessing whether the new data conform to the existing model. In some cases models are obvious: for example the homogeneous Poisson process for random arrivals. If a suitable model is not obvious, data can be presented in various plots which often suggest a suitable model. Another approach is to use a general model that is
Relative frequency
Time
Figure 4.1 Bimodality in life data
71
Building Reliability and Risk Models 120
Impact energy (J)
100
80
60
40
20 30
40
50
60
70
80
90
100
Ductile fracture (%)
Figure 4.2 Scatter plot revealing a strong positive correlation between the Charpy impact energy and the percentage of ductile fracture (Todinov et al., 2000)
likely to include a suitable one as a special case. Such is for example the Weibull distribution which includes the negative exponential distribution as a special case. Once the model has been formulated, it usually involves a number of parameters which need to be estimated from data. Figure 4.3 gives basic types of probability density distributions for the estimates a^ of a particular parameter a. The quality of the estimates varies widely from unbiased and efficient, characterised by a small error, to biased and inefficient, characterised by a large error (Figure 4.3). Here are some of the objectives in building a statistical model. Following Chatfield (1998), a good statistical model should be: .
Physically based: the model should provide insight into the underlying physical mechanism of the modelled random factor. . Parsimonious: the model should involve the smallest number of parameters necessary to describe the data set. . Robust: small variations in the input data or in the estimates of the model parameters should lead to small variations in the model predictions. . Capable of correct predictions outside the data range and providing a good fit within the data range. Model building is not about getting the best fit to the observed data. It is about constructing a model which is consistent with the underlying physical
72
Reliability and Risk Models
Unbiased
Biased p.d.f. a^
Efficient
p.d.f. a^
a
a
estimate a^
estimate a^
p.d.f. a^
Inefficient
p.d.f. a^
a
estimate a^
a
estimate a^
Figure 4.3 Basic types of parameter estimates
mechanism of failure under consideration. The ability of a model to give a very good fit to a single data set may indicate little because a good fit can be achieved simply by making the model more complicated (Chatfield, 1998), by over-parameterising for example. As a rule, over-parameterised models have poor predictive capability. The robustness of a statistical model means that the output of the model is relatively insensitive to small variations in the input data, for example a system reliability insensitive to small variations in the reliabilities of the components. According to the example in Chapter 1, in case of a series system involving a very large number of identical components, small errors in the reliability estimate for the individual component gives rise to a large error in the system reliability estimate. A basic component of the final step of model building is the model validation. It involves comparing the predictions of the model under the range of conditions for which it holds with further experimental observations (field data).
4.2
PROBABILITY PLOTTING
Probability plotting provides a quick goodness-of-fit evidence whether a data set is consistent with the conjectured model. To construct a probability plot, the observations are first ranked in ascending order x(1), x(2), . . . ,x(n). This can be done by sorting the data values x1, x2, . . . ,xn. If the number n of data values is
73
Building Reliability and Risk Models
large, sorting can be performed by some of the well-known methods (Quicksort, Heapsort, Bubble sort, Insertion, Shell, etc.), covered in literature dealing with computer algorithms (Horowitz and Sahni, 1997). Next, an approximation F^i of the cumulative distribution function F(t) is made. The plotting positions F^i ¼ (i 0:5)/n, where i are the indices of the ordered observations, provide a good choice for most applications. If the probability plot is subsequently used for estimating the parameters of the conjectured distribution, the best plotting positions will depend on the assumed model (Meeker and Escobar, 1998). A basic result in the probability theory states that the empirical cumulative distribution function F^i (x) converges in a probabilistic sense as n grows to the true cumulative distribution function F(x) (DeGroot, 1989). In other words, for a large sample, the empirical cumulative distribution is close to the true cumulative distribution with high probability. At each value xi, the empirical cumulative distribution function has a jump of height 1/n, where n is the number of experimental observations (Figure 4.4). Building an empirical cumulative distribution can be done for the Charpy impact energy from the microstructural zones characterising multi-pass C–Mn welds (Figure 4.5). Clearly, the empirical distributions in Figure 4.5 provide strong evidence that the separate microstructural zones in multi-run C–Mn welds are characterised by distinct distributions of the impact energy. The cumulative distribution function F(t) can be linearised by applying an appropriate transformation of the coordinate axes t and F(t). Let the linear transformation be defined by z ¼ kx þ c, where z ¼ (F(t)) and x ¼ (t) are functions of F(t) and t. If zi ¼ (F^(ti )) are now plotted against xi ¼ (ti ), the plotted points will fall approximately along a straight line if the conjectured statistical distribution F(t) does indeed describe the data set. If the plotted points deviate systematically from a straight line, the conjectured distribution is not consistent with the observations. A linear transformation is used because deviations from a straight
Probability 1 ^ Fi
1/n
Random variable X x1
x2
xi
xn
Figure 4.4 Building the empirical cumulative distribution of a random variable
74
Reliability and Risk Models 1.0 0.9 0.8
Sampling from the intermediate zone
Tested at 0 °C
Probability
0.7 Sampling from the central zone
0.6 0.5 0.4 0.3 0.2
Sampling from the reheated zone
0.1 0.0
0
10
20
30
40
(a)
50
60
70
80
90 100 110 120 130 140
Charpy impact energy (J) 1.0 0.9 Tested at 0 °C
0.8
Mixed sampling
Probability
0.7 0.6
Sampling from the central zone
0.5 0.4 0.3
Sampling from the reheated zone
0.2 0.1 0.0 (b)
0
10
20
30
40
50
60
70
80
90 100 110 120 130 140
Impact toughness (J)
Figure 4.5 Cumulative empirical distribution of the Charpy impact energy characterising (a) sampling from the separate microstructural zones of C–Mn multi-run welds; (b) sampling from all microstructural zones (Todinov et al., 2000)
Building Reliability and Risk Models
75
line indicating a departure from the conjectured model are easily identifiable. Fitting a straight line to the transformed data can be done using linear regression. Once a candidate distribution has been identified, the next step is to estimate its parameters. Usually, the parameter estimates are obtained using the method of maximum likelihood. Probability plots, however, can also be used for estimating model parameters.
4.2.1
TESTING FOR CONSISTENCY WITH THE UNIFORM DISTRIBUTION MODEL
Let the ordered sample values x(1), x(2), . . . , x(n) come from an uniform distribution with probability density function defined by 1/(b a) in the interval [a, b] and zero elsewhere. The cumulative distribution function F(x) ¼ (x a)/(b a) can be presented as z ¼ kx þ c, where z ¼ F(x), k ¼ 1/(b a) and c ¼ a/(b a). After the cumulative distribution function has been approximated by F^i ¼ i/(n þ 1), where n is the number of observations, the values zi ¼ i/(n þ 1) are plotted against the ordered observations x(1), x(2), . . . , x(n). If the values do indeed come from a uniform distribution, the points will fall approximately along a straight line. Estimates a^ ¼ c /k and b^ ¼ (1 c )/k of the true parameters a and b can be obtained from the slope k* and the intercept c* of the best-fit straight line. The best-fit line is usually determined using the method of least squares.
4.2.2
TESTING FOR CONSISTENCY WITH THE EXPONENTIAL MODEL
In order to check whether a set of observations is consistent with the negative exponential distribution, an exponential probability plot can be made using an appropriate linear transformation of the axes. Since the cumulative distribution function of the exponential distribution is F(t) ¼ 1 exp (t), by taking a logarithm, the negative exponential distribution can be transformed into an equation of a straight line: z ¼ lnð1 FðtÞÞ ¼ t
ð4:1Þ
Next, the data points are ranked in ascending order: t(1), t(2), . . . , t(n) and the plotting positions are obtained from F^i ¼ i/(n þ 1), which estimates the probability that t will be smaller than t(i). If the data set does come from an exponential distribution, the values zi ¼ ln (1 F^i ) plotted against t(i), i ¼ 1, 2, . . . , n should be close to a straight line. The slope ^ of the best-fit straight line is an estimate of the unknown parameter in the negative exponential distribution.
76 4.2.3
Reliability and Risk Models
TESTING FOR CONSISTENCY WITH THE WEIBULL DISTRIBUTION
Weibull analysis may be carried out by using a very small number of observations (Abernethy, 1994; Dodson, 1994). The Weibull distribution F(t) ¼ 1 exp [t/]m is linearised first, by taking a double logarithm 1 ln ln ¼ m ln t m ln ð4:2Þ 1 FðtÞ This is an equation of the straight line z ¼ mx þ c, where 1 z ¼ ln ln x ¼ lnðtÞ and c ¼ m ln 1 FðtÞ The ordered observations are t(1) < t(2) < . . . < t(n) and the median rank approximations for the Weibull cumulative distribution function are F^i ¼ (i 0:3)/(n þ 0:4), where i ¼ 1, 2, . . . , n are the indices of the ordered observations and n is the number of observations. From the estimated F^i values, the values zi ¼ ln [ ln (1/(1 F^i ))] are determined. Using the method of ^ and the intercept c^ of the best-fit straight line (Figure 4.6) least squares, the slope m are obtained from n P zi ðxi xÞ i¼1 ^¼ n m ð4:3Þ P ðxi xÞ2 i¼1
and ^ x c^ ¼ z m
ð4:4Þ
^ zi = ln [ln (1/(1 – Fi ))]
0
Figure 4.6
c^
α
^ = tan (α) m xi = ln(ti )
A probability plot for a two-parameter Weibull distribution
77
Building Reliability and Risk Models
P P where x ¼ 1/n ni¼1 ln ti , z ¼ 1/n ni¼1 zi and xi ¼ ln (ti) (Draper and Smith, ^ is an estimate of the exponent m in the Weibull distribution 1981). The value m ^ ) is an estimate of the characteristic life . and ^ ¼ exp (^ c/ m
4.2.4
TESTING FOR CONSISTENCY WITH THE TYPE I EXTREME VALUE MODEL
Suppose that the ordered observations are x(1) < x(2) < x(3) < . . . < x(n). The median rank approximations of the cumulative distribution function of the type I extreme value distribution are F^i ¼ (i 0:4)/(n þ 0:2). If the extreme value distribution F(x) ¼ exp [ exp ((x)/)] is approximated by F^i ¼ exp ( exp ((x(i) )/)), taking natural logarithms twice gives xðiÞ ¼ þ ½ lnð ln F^i Þ
ð4:5Þ
After determining zi ¼ ln ( ln F^i ) the values x(i) are plotted against zi. If the plotted points fall approximately along a straight line, evidence is obtained in support of the conjecture that the observations are consistent with the maximum extreme value model. In case of a good fit, the slope and the intercept of the best-fit line are estimates of the unknown parameters and , respectively.
4.2.5
TESTING FOR CONSISTENCY WITH THE NORMAL DISTRIBUTION
Let the ordered sample values be x(1), x(2), . . . , x(n). If the sample x(1), x(2), . . . , x(n) comes from a normal distribution with mean and standard deviation , zi ¼ (x(i) )/ will follow the standard normal distribution. Estimates of zi for n observations can be obtained from the standardised normal scores, which satisfy i 0:5 ¼ PðZ zi Þ ¼ ðzi Þ n
ð4:6Þ
where ( ) is the cumulative distribution function of the standard normal distribution. The normal scores zi can be determined from zi ¼ 1 ((i 0:5)/n), where 1 ( ) is the inverse of ( ). Values of 1 ( ) are tabulated or obtained using numerical methods. The normal probability plot is constructed by plotting the standardised normal scores zi against x(i). If the data x(i) do come from a normal distribution, plotting x(i) versus the standard normal scores zi ¼ 1 ((i 0:5)/n) produces points falling
Standardised normal scores
78
Reliability and Risk Models 3
3
Tested at t = 50 °C Mixed sampling
2 1
1
0
0
–1
–1
–2
–2
–3
0
Standardised normal scores
(a)
10 20 30 40 50 60 70 80 90 100 110 120 130 140
Impact energy (J)
3
–3
0
(b)
10 20 30 40 50 60 70 80 90 100 110 120 130 140
Impact energy (J)
3
Tested at 0 °C Mixed sampling
2
1
0
0
–1
–1
–2
–2
0
(c)
10 20 30 40 50 60 70 80 90 100 110 120 130 140
Impact energy (J)
Tested at –40 °C Mixed sampling
2
1
–3
Tested at –20 °C Mixed sampling
2
–3
0
(d)
10 20 30 40 50 60 70 80 90 100 110 120 130 140
Impact energy (J)
Figure 4.7 Normal plots of the Charpy impact energy of C–Mn multi-run welds at different test temperatures (Todinov et al., 2000)
approximately along the straight line x(i) ¼ zi þ with slope and intercept . In case of a good linear fit, which indicates that the data are consistent with a normal distribution, its standard deviation and mean can be estimated from the slope and the intercept of the best-fit straight line. In Figure 4.7, the normal probability plotting technique has been illustrated with Charpy impact energy data related to the case where the Charpy V-notch has sampled from every single microstructural zone of a multi-run weld (mixed sampling). In Figure 4.7, the systematic deviations of the plotted points from a straight line indicate that the normal distribution is not an appropriate model for the Charpy impact energy of inhomogeneous multi-run welds (Todinov et al., 2000).
4.3
ESTIMATING MODEL PARAMETERS USING THE METHOD OF MAXIMUM LIKELIHOOD
Suppose that the conjectured model (statistical distribution) f(x, a) depends on a Q single parameter a. If the likelihood function L(x1 , x2 , : : : , xn , a) ¼ ni¼1 f (xi , a)
79
Building Reliability and Risk Models
has been defined, the maximum likelihood estimate a^ of the true parameter a is the value for which the likelihood function attains a maximum:
Lðx1 ; x2 ; . . . ; xn ; a^Þ ¼ maxa
n Y
! f ðxi ; aÞ
ð4:7Þ
i¼1
Maximising the logarithm of the likelihood function yields the same maximum likelihood estimate a^: maxa Lðx1 ; x2 ; . . . ; xn ; aÞ ¼ maxa ln½Lðx1 ; x2 ; . . . ; xn ; aÞ Setting the log-likelihood derivative to zero: d ln Lðx1 ; x2 ; . . . ; xn ; aÞ ¼0 da ja¼^ a and solving the equation analytically with respect to a to find a local maximum, or maximising the log-likelihood function numerically, yields the estimate a^. The method of maximum likelihood will be illustrated by estimating the parameter of the negative exponential distribution. Suppose that probability plotting has indicated that the data sample (x1, x2, . . . , xn) is compatible with the negative exponential distribution exp ( x). In order to obtain a maximum likelihood estimate of the only model parameter , the log-likelihood function is constructed first:
ln L ¼
n X
lnð expðxi ÞÞ ¼ n ln
i¼1
n X
xi
ð4:8Þ
i¼1
Differentiating the log-likelihood function with respect to gives d ln L/d P ¼ n/ ni¼1 xi . P Setting the derivative to zero and solving d ln L/d ¼ n/ ni¼1 xi ¼ 0 with respect to results in ^ ¼ n
X n
xi
ð4:9Þ
i¼1
For this value, the second derivative d2 ln L/d2 ¼ n/2 is negative, therefore ^ corresponds to a local maximum which is also the global maximum. The value ^ given by equation (4.9) is the maximum likelihood estimate of the unknown parameter density . Estimating the parameters of the models
80
Reliability and Risk Models
discussed earlier can also be done using the method of the maximum likelihood. Usually, the log-likelihood function cannot be maximised analytically except in cases involving a very small number of model parameters. Numerical optimisation methods are widely used as an alternative.
4.4
ESTIMATING THE PARAMETERS OF A THREE-PARAMETER POWER LAW
From a set of measurements yi, for the values xi, i ¼ 1, 2, . . . ,N of the controlled variable, we would like to obtain unbiased and efficient estimates of the parameters of the power law y ¼ kðx x0 Þm
ð4:10Þ
A method based on linear correlation has been proposed in Todinov (2001a). An estimate of the unknown exponent m in equation (4.10) is obtained by first transforming equation (4.10) into y1=m ¼ k1=m ðx x0 Þ
ð4:11Þ
Let us denote z ¼ y1/m. The values of the unknown exponent m are varied in the interval 0 < m mmax, where mmax is an appropriately selected upper bound. Denoting zi ¼ y1/m i , the values zi are plotted versus the observations xi, and for each value of m, the correlation coefficient PN ðmÞ ¼
i¼1 ðzi
zÞðxi xÞ ¼ sz sx
PN
i¼1 zi ðxi
sz sx
xÞ
ð4:12Þ
is determined, where vffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi u N uX sz ¼ t ðzi zÞ2
ð4:13Þ
i¼1
and vffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi u N uX sx ¼ t ðxi xÞ2
ð4:14Þ
i¼1
^ , for which the maximum value of the correlation coefficient of zi The value m versus xi is attained, is an estimate of the unknown exponent m.
81
Building Reliability and Risk Models
^ are determined from Next, the values zi corresponding to the best estimate m ^ m zi ¼ y1/ , i ¼ 1, N and the slope i PN zi ðxi xÞ p ¼ Pi¼1 N Þ2 i¼1 ðxi x
ð4:15Þ
c ¼ z p x
ð4:16Þ
and the intercept
of the best-fit straight line are finally determined. The parameters k and x0 in equation (4.10) are estimated from the estimated slope p ¼ k1/m^ and intercept c ¼ k1/m^ x0 of the best-fit straight line: k^ ¼ pm^
ð4:17Þ
x^0 ¼ ðc=pÞ
ð4:18Þ
and
It is important to point out that the true value of the location parameter x0 ^ of the shape parameter m. Indeed, let xi be does not affect the estimate m presented as xi ¼ x0 þ xi where xi is xi and x0. xi Pthe distance between P does not depend on x0. The expressions i (xi x) and i (xi x)2 entering in equation (4.12) for the correlation coefficient then become X ðxi xÞ and i
X X ðxi xÞ2 , x ¼ ð1=NÞ xi i
!
i
Since neither of these depends on x0, the value of the location parameter x0 does not affect the estimate of the unknown exponent m. This constitutes the strength of the proposed method: estimating the shape of the power curve defined by equation (4.10) is separated from its location along the x-axis. The method yields practically unbiased estimates for the parameters (Todinov, 2001a). Moreover, the precision with which the parameters are estimated is very good even in case of large scatter of the yi values for the values xi of the argument. Using appropriate transformations, a number of three-parameter models can be reduced to the power law (4.10) and the unknown parameters estimated using the proposed technique. Such is for example the important threeparameter model: FðxÞ ¼ 1 exp½kðx x0 Þm
ð4:19Þ
82
Reliability and Risk Models
which can be reduced to the three-parameter power law (4.10) by presenting it as exp [k(x x0)m] ¼ 1 F(x) and taking a logarithm from both sides. As a result, equation (4.10) is obtained, where y ¼ ln [1 F(x)].
4.4.1
SOME APPLICATIONS OF THE THREE-PARAMETER POWER LAW
The three-parameter power law can for example be used to describe the corrosion kinetics of structural components. Thus, the model d ¼ kðt t0 Þm
ð4:20Þ
has been adopted by Dianqing et al. (2004) to describe a corrosion of ship structures. In this model, d is the corroded thickness, t is time, t0 is the coating life, k and m are constants. If N measurements di for the thickness of the corroded material have been collected at N different times ti, i ¼ 1, 2, . . . , N, using the technique from the previous section, the unknown parameters in equation (4.20) can be estimated. The model (4.10) has also been used to fit the systematic variation of the ductile-to-brittle transition temperature of steels (Todinov, 2001a). The systematic variation E(x) of the Charpy impact energy (Figure 4.8) was modelled by EðxÞ ¼ EL þ ðEU EL ÞFðxÞ
ð4:21Þ
where x denotes temperature, EL and EU are the lower and the upper-shelf Charpy impact energies (estimated from experimental data) and F(x) is the normalised Charpy impact energy [E(x) EL]/(EU EL) modelled by equation (4.19). Charpy impact energy (J ) EU
E(x)
EL
Temperature (x )
Figure 4.8 Systematic variation of the Charpy impact energy with temperature
Building Reliability and Risk Models
83
If x in equation (4.19) denotes ‘time’, the equation can be used for modelling the time evolution of transformed phase produced by nucleation and growth. For example, the quantity of transformed phase from a phase transformation with constant nucleation rate and radial growth rate is described by the Kolmogorov–Johnson–Mehl–Avrami (KJMA) equation (Christian, 1965), whose functional form is again equation (4.19). If x in equation (4.19) denotes ‘time’, the equation can also be used for modelling the time evolution of sticking/jamming forces between sliding surfaces. Pilot experiments have indicated that equation (4.21) describes well the time evolution of the force necessary to separate by shear two jammed sliding surfaces. In this case EL in equation (4.21) corresponds to the minimum level of the jamming force and EU corresponds to a 100% jamming attained after a significant amount of time; F(x) is given by equation 4.19.
5 Load–Strength (Demand–Capacity) Models
5.1
A GENERAL RELIABILITY MODEL
Reliability is often derived from the probability of violating a limit (failure) state. A limited number of random variables X1, X2, . . . , Xn usually control the reliability of the system. Such are for example the critical design parameters material properties, dimensions and loads. Particular examples of random variables controlling reliability are the fracture toughness, the number density and the size of the flaws, the stress and strain magnitude. Random variables may not necessarily be statistically independent. Any set x1, x2, . . . , xn of values for the controlling random variables can be presented as a point in the n-dimensional variable space. The failure region F contains all realisations (combinations of values for the controlling variables) that result in failure (failure states) as opposed to the safe region S containing all realisations that do not result in failure. The surface L(x1,x2, . . . ,xn) ¼ 0 which divides the variable space into a failure and safe region is referred to as the failure surface. The points on the failure surface are also failure states. Suppose that the controlling random variables are characterised by a joint probability density function f(x1, x2, . . . , xn). The reliability on demand is then given by the integral Z Z Z R¼ . . . f ðx1 ; x2 ; . . . ; xn Þdx1 dx2 . . . dxn ð5:1Þ x1 ;...;xn 2S
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
86
Reliability and Risk Models
where integration is carried out only over the safe region S (Melchers, 1999). In other words, the integration of the probability density function is performed only at points where no failure can occur. As a result, the sum of the probabilities over the safe region must necessarily equal the reliability on demand. If the controlling random variables are statistically independent, the joint probability density function f(x1, x2, . . . , xn) can be factorised: f ðx1 ; x2 ; . . . ; xn Þ ¼ f ðx1 Þf ðx2 Þ . . . f ðxn Þ and the reliability integral (5.1) becomes R¼
Z
Z Z ...
f ðx1 Þf ðx2 Þ; . . . ; f ðxn Þdx1 dx2 . . . dxn
ð5:2Þ
x1 ;...;xn 2S
where f(x1), f(x2), . . . , f(xn) are the marginal probability densities of the controlling random variables. Significant difficulties arise in solving the general reliability models (5.1)–(5.2), some of which can be summarised as follows: 1. Insufficient amount of data to define the joint probability distribution of the controlling random variables. 2. Difficulties in defining the integration domain (the safe region) S. 3. The multidimensional numerical integration is extremely time-consuming. These difficulties no longer exist if Monte Carlo simulation is employed to evaluate the reliability integral.
5.2
THE LOAD–STRENGTH INTERFERENCE MODEL
A common framework for predicting structural/mechanical reliability at a component level is the load–strength interference model (Freudenthal, 1954) which is related to the interaction of the load distribution and the strength distribution. If strength and load were constant as shown in Figure 5.1, no failure would occur (O’Connor, 2003). Because of the variability of the load and strength and the interference (overlap) between the load distribution and the strength distribution, the reliability on demand is smaller than 100%. The reliability on demand is determined by the probability of a relative configuration of the load and strength in which load is smaller than strength (L < S). Reliability on demand is controlled by two random variables load (L) and strength (S) characterised by distinct distributions (Freudental, 1954). Numerous failure modes can be described conveniently in the context of the load– strength interference (see for example Carter, 1986). Such are for example
87
Load–Strength (Demand–Capacity) Models Probability density Load
Strength
µL
µS
Stress
Figure 5.1 Constant values for the load and strength
all overstress failures occurring whenever load exceeds resistance: (i) damage exceeding damage resistance; (ii) demand exceeding supply; (iii) loading stress exceeding yield strength; (iv) local stress exceeding local fracture toughness; (v) jamming (sticking) force exceeding applied force; (vi) corrosion damage exceeding corrosion resistance, etc. (Figure 5.2). The load–strength interference model is a special case of the general reliability model where only two controlling random variables are present: X1 (Strength) and X2 (Load). In this case, the failure surface is L(X1,X2) X1 X2 ¼ 0. Suppose that the load–strength joint probability density function is f(x1,x2) and the strength and the load are distributed in the domain defined by x1,min x1 x1,max, x2,min x2 x2, max, respectively (Figure 5.3). The values x1,min and x1,max are the lower and the upper limit of strength while values x2,min and x2,max are the lower and the upper limit of load. According to the general reliability model (5.1), reliability on demand is given by the integral Z Z f ðx1 ; x2 Þdx1 dx2 ð5:3Þ R¼ x1 ;x2 2S
Probability density Load, demand
Strength, supply, resistance
Figure 5.2 The universal nature of the load–strength interference
88
Reliability and Risk Models X2 (Load )
Failure surface X1 – X2 = 0
Failure region X1 – X2 ≤ 0 x2,max F
Safe region X1 – X2 > 0
S
x2,min X1 (Strength) x1,min
x1,max
Figure 5.3 Failure region, safe region and failure surface in load–strength interference
over the safe region S from the rectangular area in Fig.5.3 where X1 X2 > 0. If strength and load are statistically independent random variables, the reliability integral becomes R¼
Z Z
f ðx1 Þf ðx2 Þdx1 dx2
ð5:4Þ
x1 ;x2 2S
5.3
LOAD–STRENGTH (DEMAND CAPACITY) INTEGRALS
In the derivations to follow, load and strength will be denoted by indices L and S. Their probability density functions will be denoted by fL(x) and fS(x) and the cumulative distribution functions by FL(x) and FS(x), respectively. If a load–strength interference is present, the reliability on demand R equals the probability that strength will be greater than load. The probability that the strength will be in the infinitesimal interval x, x þ dx is fS(x) dx. The probability of the compound event, that the strength will be in the infinitesimal interval x, x þ dx and the load will not be greater than x, is FL(x)fS(x) dx. Because the strength can be in any infinitesimally small interval x, x þ dx between the lower bound Smin and the upper bound Smax (Figure 5.4a), according to the total probability theorem, integrating FL(x) fS (x) dx gives the reliability on demand R: R¼
Z
Smax
fS ðxÞFL ðxÞdx
ð5:5Þ
Smin
For the lower and the upper bounds Smin and Smax of the strength, fS(x) ¼ 0 is fulfilled for x Smin and x Smax. An alternative form of the load–strength
89
Load–Strength (Demand–Capacity) Models FL(x ) = P (L ≤ x ) dx
Smin
Smax Stress
x x + dx (a)
1–Fs (x ) = P (S > x ) dx
Stress
x x + dx
Lmin
Lmax
(b)
Figure 5.4 Possible safe configurations of the load and strength. Integration is performed between (a) Smin and Smax – the lower and the upper bound of the strength; (b) between Lmin and Lmax – the lower and the upper bound of the load
interference integral can be derived if integration is performed between the lower and the upper bound of the load (Figure 5.4b). The probability that the load will be in the infinitesimal interval x, x þ dx is fL (x) dx. The probability of the compound event, that the load will be in the infinitesimal interval x, x þ dx and the strength will be greater than x þ dx, is [1 FS (x)] fL (x)dx. Because the load can be in any infinitesimal interval x, x þ dx between its lower bound Lmin and upper bound Lmax, according to the total probability theorem, integrating [1 FS (x)] fL (x)dx gives the reliability on demand: Z Lmax Z Lmax fL ðxÞ½1 FS ðxÞdx ¼ 1 fL ðxÞFS ðxÞdx ð5:6Þ R¼ Lmin
Lmin
For the lower and upper bounds Lmin and Lmax of the load, fL (x) ¼ 0 is fulfilled for x Lmin and x Lmax. Suppose that the component is subjected to statistically independent and identically distributed loads. For n load applications, the probability that the loads L1, L2, . . . ,Ln will be smaller than a particular value x of the strength is PðL1 x and L2 x . . . : and Ln xÞ ¼ FLn ðxÞ
ð5:7Þ
where FL(x) is the cumulative distribution of the load. The probability of the compound event, that strength will be in the infinitesimal interval x, x þ dx and the loads from all load applications will be smaller than x, is F nL (x)fS (x)dx. Because the strength can be in any infinitesimally small interval x, x þ dx between Smin and Smax, according to the total probability theorem, integrating F nL (x)fS (x)dx gives Z Smax R¼ fS ðxÞF nL ðxÞdx ð5:8Þ Smin
90
Reliability and Risk Models FD (x–a) ≡ P (D ≤ x–a) a Smin
dx x x + dx
Quantity Smax
Figure 5.5 Relative configurations of the supply and demand which guarantee that supply exceeds demand by a quantity larger than a
for the reliability on demand associated with n load applications. Often, particularly in problems related to demand and supply, the question of interest is the probability that supply exceeds demand by a value greater than a (Figure 5.5). In what follows, supply and demand will be denoted by indices S and D. Their probability density distributions will be denoted by fS(x) and fD(x) and their cumulative density distributions by FS(x) and FD(x), respectively. The probability of the compound event, that the supply will be in the infinitesimal interval x, x þ dx and the demand will be smaller than or equal to x a, is FD (x a)fS(x)dx. According to the total probability theorem, integrating FD(x a)fS(x)dx yields R¼
Z
Smax
fS ðxÞFD ðx aÞdx
ð5:9Þ
Smin
for the probability that supply will exceed demand by a quantity larger than a. Smin and Smax are the lower and upper bounds of the supply, where fS(x) ¼ 0 for x Smin and x Smax.
5.4
CALCULATING THE LOAD–STRENGTH INTEGRAL USING NUMERICAL METHODS
The maximum extreme value distribution is often a good model for the maximum load. If the cumulative distribution function of the loading stress is given by x FL ðxÞ ¼ exp exp
ð5:10Þ
and the probability density distribution of the strength by the three-parameter Weibull distribution fS ðxÞ ¼
m x x0 m1 x x0 m exp
ð5:11Þ
91
Load–Strength (Demand–Capacity) Models
the reliability on demand can be determined from R¼
Z
Smax
FL ðxÞfS ðxÞdx
ð5:12Þ
Smin
This integral can be solved numerically using the Simpson’s method (Cheney and Kincaid, 1999). This approach will be illustrated by a numerical example related to calculating the risk of failure of a critical component. Example 5.1. A data set is given, regarding the strength of a component (yield strength, fracture toughness, bending strength, fatigue strength, etc.). The appropriate model for the strength was found to be the three-parameter Weibull distribution (5.11) with parameters: m ¼ 3:9
¼ 297:3
and
x0 ¼ 200 MPa
A data set is also given, regarding the maximum load over a number of consecutive time intervals (days, months, years). The measurements have been transformed into a set of calculated maximum loading stresses over the specified time intervals. The appropriate model for the strength was found to be the maximum extreme value distribution (5.10) with parameters: ¼ 119:0
and
¼ 73:64
Find the probability of failure of the critical component. Solution: Using the numerical values of the parameters, and a sufficiently large value Smax ¼ 3000 MPa for the upper integration limit of the strength, the value 0.985 was calculated for the reliability on demand: Z
x 119 exp exp 73:64 200 " 3:91 # 3:9 x 200 x 200 3:9 exp dx ¼ 0:985 297:3 297:3 297:3 3000
The required probability of failure is 1 0.985 = 0.015. In Chapter 6, this probability will be confirmed by a Monte Carlo simulation.
5.5
NORMALLY DISTRIBUTED AND STATISTICALLY INDEPENDENT LOAD AND STRENGTH
Load (L) and strength (S ) are assumed to be statistically independent, normally distributed random variables N(L , 2L ) and N(S , 2S ), where L and S are the
92
Reliability and Risk Models
means and L and S are the standard deviations of the load and strength distribution, respectively. The random variable y ¼ S L is normally distributed because y is a sum of normally distributed random variables. Its expected value is y ¼ EðyÞ ¼ EðSÞ EðLÞ ¼ S L
ð5:13Þ
VðyÞ ¼ 2y ¼ VðSÞ þ ð1Þ2 VðLÞ ¼ 2S þ 2L
ð5:14Þ
and the variance is
Because y is normally distributed, with mean y and standard deviation y (Figure 5.6), the probability that y 0 (the probability of failure) can be found using the linear transformation z ¼ (0 y )/y . This is needed for calculating the probability P(y 0) using the standard normal distribution: P(y 0) ¼ (z). Setting S L ¼ y =y ¼ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 2S þ 2L
ð5:15Þ
gives Pðy 0Þ ¼ ðÞ for the probability of failure, where ( ) is the cumulative distribution function of the standard normal distribution. In equation (5.15), the quantity , also known as the reliability index or safety margin, is an important reliability parameter which measures the relative separation of load and strength. Reliability on demand is determined from R ¼ 1 ðÞ ¼ 1 ½1 ð Þ ¼ ðÞ
ð5:16Þ
Probability density of y = S – L Failure Safe region region y≤0 y>0
2
2
N (µS – µL, σS + σL )
P (y ≤ 0)
µy = µS – µL 0
y=S–L
Figure 5.6 A normal probability density distribution of the difference y ¼ S L
93
Load–Strength (Demand–Capacity) Models
A table containing the area under the standard normal probability density function is given in Appendix C. We must point out immediately, however, that the safety margin has a meaning only for normally distributed load and strength. Later, we shall demonstrate that in the general case, a low safety margin does not necessarily mean low reliability and vice versa. Example 5.2. The strength of a structural component is normally distributed with mean 800 MPa and standard deviation 40 MPa. The load is also normally distributed with mean 700 MPa and standard deviation 30 MPa. Calculate the reliability on demand for the component if the load and strength are statistically independent. Solution: For statistically independent load and strength, the reliability index is S L 800 700 ¼ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ¼ pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ¼ 2 402 þ 302 2S þ 2L According to equation (5.16), the reliability on demand is R ¼ ð2Þ ¼ 0:977 Equation (5.16) can also be applied to normally distributed supply and demand. Demand (D) and supply (S) are assumed to be statistically independent normally distributed random variables N(D , 2D ) and N(S , 2S ), where D , S are the means and D and S are the standard deviations, respectively. The probability that supply will exceed demand by an amount greater than a called the reserve (Figure 5.7) is equal to the probability that y ¼ S D > a will be fulfilled. Considering that the random variable y ¼ S D a is normally distributed, the load–strength interference formula can be applied. Using the load–strength interference formula, the probability that after the demand there will remain a quantity greater than or equal to a (S D a) can be calculated, noticing that P(S D a) ¼ P(S D þ a). D þ a is also a normally distributed random variable with mean D þ a and standard deviation D . In other words, by increasing the demand by the amount of the required reserve a, the problem
Supply, S
Demand, D
Reserve, a
Figure 5.7 Supply, demand and reserve
94
Reliability and Risk Models
is reduced to the familiar load–strength interference problem. Consequently, the probability that supply will exceed demand by at least a is 0 1 BS ðD þ aÞC PðS D aÞ ¼ @ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi A 2S þ 2D
ð5:17Þ
Assume that the supply is composed of contributions from M suppliers and the demand is composed of the consumption from N consumers. All supplied and consumed quantities are assumed to be normally distributed or constants. A constant supply or demand of magnitude c can formally be interpreted as ‘normally distributed’, with mean c and standard deviation zero. PMThe total supply in this case is also normally distributed, with mean ¼ S i¼1 Si and P 2 variance 2S ¼ M where and are the mean and the standard Si Si i¼1 Si deviation associated with the P ith supplier. The total demand is also normally PN 2 2 distributed, with mean D ¼ N i¼1 Di and variance D ¼ i¼1 Di where Di and Di are the mean and the standard deviation of the ith consumer. Substituting these in equation (5.17) gives 0 P 1 PM N þ a Si Di i¼1 B i¼1 C ð5:18Þ PðS D aÞ ¼ @ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi PM 2 PN 2 A i¼1 Si þ i¼1 Di Supply–demand problems can also be illustrated by the following examples. Example 5.3. Fuel is delivered to a tank which is empty at the start of a sixmonth period. The amount of the delivered fuel within the six-month period by suppliers A and B are normally distributed with means A ¼ 60 t, B ¼ 20 t and standard deviations A ¼ 6 t and B ¼ 4:5 t. The amount of fuel taken from the tank during the six-month-period is also normally distributed, with mean D ¼ 65 t and standard deviation D ¼ 5 t. What is the probability that at the end of the six-month-period there will be a reserve of at least a ¼ 10 t fuel in the tank? Solution: The required probability can be calculated directly from the supply– demand formula: 0 1 60 þ 20 65 10 BA þ B D aC ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi ffi q p PðS D aÞ ¼ @ 0:71 A¼ 62 þ 4:52 þ 52 2 þ 2 þ 2 A
B
D
Example 5.4. Spare parts are delivered in a warehouse. The amount of spare parts delivered for one year is normally distributed with mean S ¼ 2000 and standard deviation S ¼ 150. The amount of spare parts sold by the warehouse during the year is also normally distributed, with mean C ¼ 500 and standard
95
Load–Strength (Demand–Capacity) Models
deviation C ¼ 90. Calculate the probability that at the end of the year, there will be sufficient amount of spare parts left in the warehouse to satisfy a demand from a plant. The amount of spare parts required by the plant is normally distributed, with mean R ¼ 1200 and standard deviation R ¼ 200. Solution: Using the load–strength interference formula, the required probability can be calculated directly from 0
1
2000 500 1200 B S C R C PðS DÞ ¼ @qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiA ¼ pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 0:87 1502 þ 902 þ 2002 2S þ 2C þ 2R The supply–demand formulae can also be applied for solving other type of problems. Such is the next example. Example 5.5. The time for accomplishing a particular task by the operator A is normally distributed, with mean 40 minutes and standard deviation 8 minutes. The time for accomplishing the same task by the operator B is also normally distributed, with mean 60 minutes and standard deviation 12 minutes. If the two operators start accomplishing the task simultaneously and independently from each other, calculate the probability that operator A will accomplish the task at least 10 minutes before operator B. Solution: The probability that operator A will accomplish the task at least 10 minutes before operator B equals the probability that the time tB of operator B will be equal to or greater than the time tA of operator A plus 10 minutes. Using the load–strength interference formula, where A , B are the means and A , B are the standard deviations of the times for operators A and B, correspondingly, a probability of approximately 75% is obtained: 0
1
60 40 10 BB ðA þ 10ÞC PðtB tA þ 10Þ ¼ @ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi A ¼ pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 122 þ 82 2B þ 2A ¼ ð0:69Þ 0:75
5.6
5.6.1
RELIABILITY AND RISK ANALYSIS BASED ON THE LOAD–STRENGTH INTERFERENCE APPROACH INFLUENCE OF STRENGTH VARIABILITY ON RELIABILITY
Figure 5.8 illustrates a case where low reliability is a result of large variability of the strength. Large variability of strength is caused by the presence of weak (substandard) items due to poor material properties, manufacturing, assembly and quality control. The large variability of strength leads to a large overlap of
96
Reliability and Risk Models Probability density Load
µL
Strength
µS
Stress
Figure 5.8 Low reliability caused by a large variability of the strength
the lower tail of the strength distribution and the upper tail of the load distribution. A large overlap causes low reliability and can be decreased by a high-stress burn-in or proof-testing which cause weak items to fail. The resultant distributions (Figure 5.9) are characterised by a small or no overlap (Carter, 1986; O’Connor, 2003). Strength variability caused by variability of material properties is one of the major reasons for an increased interference with the load distribution which results in increased probability of failure (Figure 5.10). Here this point is discussed in some detail. Assume for simplicity that the load and strength are normally distributed. Since the reliability on demand is 0 1 B S L C R0 ¼ @qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiA 2S0 þ 2L decreasing the variability of the strength to S1 < S0 (Figure 5.10) increases the reliability on demand to 0
1
B S L C R1 ¼ @qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiA > R0 2S1 þ 2L Probability density Load
µL
Strength
µS
Stress
Figure 5.9 Increased reliability after a burn-in
97
Load–Strength (Demand–Capacity) Models Probability density Load
µL
Strength
σS0 > σS1
µS
Stress
Figure 5.10 The importance of the strength variation to the probability of failure
If, for example, variability of strength is due to sampling from multiple sources, it can be decreased by sampling from a single source – the source characterised by the smallest variance. It must be pointed out that strength variability depends also on the particular design solution. A particular material for example may have a low resistance to thermal fatigue. If the design solution, however, eliminates start–stop regimes that lead to substantial temperature variations, thermal fatigue will no longer be a problem. Another example can be given with fatigue failures of suspension springs. It is a well-established fact that the fatigue strength of suspension springs is very sensitive to the state of the spring wire surface. If the spring wire is shot-peened, however, compressive residual stresses are introduced in the surface layers. As a result, the effective amplitude of the loading stress on the spring surface decreases and the fatigue crack initiation and propagation are delayed. The overall effect is a significant increase of the fatigue life. Low reliability due to increased strength variability is often due to ageing and the associated with it material degradation. Material degradation can often be induced by the environment, for example due to corrosion and irradiation. A typical feature of the strength degradation is an increase of the variance and a decrease of the mean of the strength distribution (Figure 5.11).
Probability density Strength degradation Load
Initial strength
µL
µS
Stress
Figure 5.11 Decreased reliability due to a strength degradation
98
Reliability and Risk Models Probability density Load
Strength
µL
µS
Stress
Figure 5.12 Increased load–strength interference due to a large variability of the load (rough loading)
Low reliability is often due to excessive variability of the load. If variability of the load is large (rough loading), the probability of an overstress failure is significant (Figure 5.12). Mechanical equipment is usually characterised by a rough loading as opposed to electronic equipment which is characterised by a smooth loading (Figure 5.13). A common example of smooth loading is the power supply of electronic equipment through an anti-surge protector. Here are some possible options for increasing the reliability on demand: (i) decreasing the strength variability; (ii) reducing the lower tail of the strength distribution; (iii) increasing the mean strength; (iv) decreasing the mean load; (v) decreasing the variability of the load and obtaining a smooth loading; (vi) truncating the upper tail of the load distribution using stress limiters. Altering the upper tail of the load distribution using stress limiters is equivalent to concentrating the probability mass beneath the upper tail of the load distribution (the area marked U in Figure 5.14) into the truncation point A. Typical examples of stress limiters are the safety pressure valves, fuses and overload trips activated when pressure or current reaches critical values.
Probability density Load
µL
Strength
µS
Stress
Figure 5.13 High reliability achieved by smooth loading
99
Load–Strength (Demand–Capacity) Models Probability density Altered load distribution
Strength distribution
A U
µL Figure 5.14
5.6.2
µS
Stress
High reliability achieved by altering the upper tail of the load distribution using a stress limiter
THE IMPORTANCE OF THE SHAPE OF THE LOWER TAIL OF THE STRENGTH DISTRIBUTION AND THE UPPER TAIL OF THE LOAD DISTRIBUTION
The most important aspect of the load–strength interaction is the interaction of the upper tail of the load distribution and the lower tail of the strength distribution (Figure 5.15). Figure 5.16 shows a favourable shape of the tails, yielding intrinsically high reliability. The values from the lower tail of the strength distribution control reliability, not the high or central values (Figure 5.17). Consequently, an adequate model of the strength distribution should faithfully represent its lower tail. The normal distribution, for example, may not describe satisfactorily the strength variation in the distribution tails, mainly because the strength distribution is usually asymmetric, bounded on the left. In a large number of cases, the Weibull model and the log-normal model are suitable models for the variation of materials properties, but in some cases the strength distribution is in fact a distribution mixture. Probability density Load
Strength
Stress
Figure 5.15
Reliability is determined by the interaction of the upper tail of the load distribution and the lower tail of the strength distribution
100
Reliability and Risk Models Probability density Load
Strength
µL
µS
Stress
Figure 5.16 Tails of the load and strength distribution resulting in intrinsically high reliability
Probability density Region which controls reliability
Strength
Stress
Figure 5.17 The lower tail of the strength distribution controls reliability
Here we must point out that for non-normally distributed load and strength, the traditional reliability measures safety margin and loading roughness can be misleading. Let us have a look at Figure 5.18(a). The figure depicts a case where a low qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi safety margin ¼ (S L )/ 2S þ 2L exists (S L is small and 2S þ 2L is large) yet reliability is high. In Figure 5.18, L and S are the mean values of the load and strength and L and S are the corresponding standard deviations. Now let us have a look at Figure 5.18(b) which has been obtained by reflecting symmetrically the distributions from Figure 5.18(a). Since the reflection does not change the variances of the distributions, the new feature is the larger difference of the means 0S 0L > S L . Despite the larger new safety margin however: 0S 0L S L ffi > ¼ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 0 ¼ qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 2 2 S þ L 2S þ 2L
101
Load–Strength (Demand–Capacity) Models Probability density Strength Load
(a)
0
µL
µS
Stress
Probability density Strength Load
(b)
0
µ′L
µ′S
Probability density
Stress
Strength Load
(c)
0
µL
µS
Stress
Figure 5.18 A counterexample showing that for skewed load and strength distributions the traditional measures ‘reliability index’ and ‘loading roughness’ are misleading
the reliability on demand is smaller compared to the previous case. Clearly, the safety margin concept applied without considering the shape of the interacting distribution tails can be misleading. Similar considerations are valid regarding the parameter loading roughness qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi L / 2L þ 2S introduced by Carter (1986, 1997). If only the load in Figure 5.18(a)is reflected symmetrically regarding the mean L , the loading in Figure 5.18(c) is obtained. Since the standard deviation L of the load has not been qffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi affected by the reflection, the loading roughness L / 2L þ 2S in Figure 5.18(c) is the same as in Figure 5.18(a), despite the completely different (much more severe) type of loading. These problems do not exist if for load and strength which do not follow a normal distribution, a numerical integration, instead of the reliability index,
102
Reliability and Risk Models Probability density Strength, fS(x)
Load, fL(x) 1 FL(x)
Stress, x 0 Smin
Lmax
Smax
Figure 5.19 Deriving the reliability on demand, by integrating within the interval (Smin, Lmax) including only the upper tail of the load distribution and the lower tail of the strength distribution
is used to quantify the interaction between the lower tail of the strength distribution and the upper tail of the load distribution. Furthermore, only information related to the lower tail of the strength distribution and the upper tail of the load distribution is necessary. Let us start with the load–strength integral which gives the probability of failure pf for a single load application: pf ¼
Z
Smax
½1 FL ðxÞ fS ðxÞdx
ð5:19Þ
Smin
where FL(x) is the cumulative distribution of the load and fS(x) is the probability density distribution of the strength. Suppose that the Smin and Smax in Figure 5.19 correspond to stress levels for which fS(x) ¼ 0 if x Smin or x Smin. The integral in equation (5.19) can also be presented as pf ¼
Z
Lmax
½1 FL ðxÞfS ðxÞdx þ
Smin
Z
Smax
½1 FL ðxÞ fS ðxÞdx
ð5:20Þ
Lmax
For x > Lmax, FL(x) 1 holds for the cumulative distribution of the load (Figure 5.19) and the second integral in equation (5.20) becomes zero R Smax ( Lmax [1 FL (x)] fS (x)dx 0). Consequently, the probability of failure becomes pf ¼
Z
Lmax
Smin
½1 FL ðxÞfS ðxÞdx
ð5:21Þ
Load–Strength (Demand–Capacity) Models
103
Finally, for the reliability on demand we get R¼1
Z
Lmax
½1 FL ðxÞ fS ðxÞdx
ð5:22Þ
Smin
The advantage of the reliability integral (5.22) is that in order to derive the reliability on demand, data covering the lower tail of the load distribution and the upper tail of the strength distribution are no longer necessary.
6 Solving Reliability and Risk Models Using a Monte Carlo Simulation
6.1
MONTE CARLO SIMULATION ALGORITHMS
Consider an experiment involving n trials to determine the mean of a random variable characterised by a probability distribution f(x) and standard deviation . According to the central limit theorem, with P increasing the number n of trials, the distribution of the mean x ¼ (1/n) ni¼1 p xiffiffiffi approaches a normal distribution with mean and standard deviation / n. The probability that pffiffiffi j x j > k/ n equals 2(k) where ( ) is the cumulative distribution function of the standard normal distribution. For a fixed k, the equation ! k 1 X n P x pffiffiffi ¼ 1 2ðkÞ ð6:1Þ n i¼1 i n P holds (Sobol, 1994). The error " ¼ (1/n) ni¼1 xi p ffiffi ffi is inversely proportional to the square root of the number of trials (" / 1/ n) and approaches zero as n increases. From equation (6.1) it follows that reducing the error m times requires increasing the number of Monte Carlo trials by a factor of m2. In order to improve the efficiency of the Monte Carlo simulation by reducing the variance of the Monte Carlo estimates, a number of techniques such as stratified sampling and importance sampling can be employed (see for example
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
106
Reliability and Risk Models
Ross, 1997; Rubinstein, 1981). The efficiency of the Monte Carlo simulations can also be increased by a better reproduction of the input distributions using latin hypercube sampling (Vose, 2002). In describing some basic Monte Carlo simulation algorithms below, a number of conventions are used. Thus, the statements in braces {Statement 1; Statement 2; Statement 3; . . . ;} separated by semicolons are executed as a single block. The construct: For i ¼ 1 to Number_of_trials do { .... } is a loop with a control variable i, accepting successive values from one to the number of Monte Carlo trials (Number_of_trials). In some cases it is necessary that the control variable i accepts successive decreasing values from Number_of_trials to one. The corresponding construct is For i ¼ Number_of_trials downto 1 do { .... } The loops execute the block of statements in the braces Number_of_trials number of times. If a statement break is encountered in the body of a loop, the execution continues with the next statement immediately after the loop (Statement n þ 1 in the next example) skipping all statements between the statement ‘break’ and the end of the loop: For i ¼ 1 to Number_of_trials do { Statement 1; ..... break; ..... Statement n 1; Statement n; } Statement n þ 1; The construct: While (Condition) do {Statement 1; . . . ;Statement n;} is a loop which executes the block of statements repeatedly as long as the specified condition is true. If the variable ‘Condition’ is false before entering
Solving Reliability and Risk Models Using a Monte Carlo Simulation
107
the loop, the block of statements is not executed at all. A similar construct is the loop Repeat Statement 1; .... Statement n; Until (Condition); which repeats the execution of all statements between Repeat and Until until the specified condition becomes true. Unlike the While-do loop, the Repeat-Until loop statements are executed at least once. In the conditional statement below, the block of statements in the braces is executed only if the specified condition is true. If (Condition) then {Statement 1; . . . ;Statement n;} A procedure is a self-contained section to perform a certain task. The procedure is called by including its name (‘proc’ in the next example) in other parts of the algorithm. procedure proc() { Statement 1; ... Statement n; } A function is also a self-contained section which returns value and which is called by including its name in other parts of the algorithm. Before returning to the point of the function call, a particular value p is assigned to the function name (‘fn’ in the next example) with the statement return. function fn() { Statement 1; ... Statement n; return p; } Text in italic between the symbols ‘/*’ and ‘*/’ is comments.
108 6.2 6.2.1
Reliability and Risk Models
SIMULATION OF RANDOM VARIABLES SIMULATION OF A UNIFORMLY DISTRIBUTED RANDOM VARIABLE
An efficient algorithm for generating uniformly distributed pseudo-random numbers is the congruential multiplicative pseudo-random number generator suggested by Lehmer (1951). If an initial value X0 called seed is specified, the random numbers Xiþ1 in the random sequence with seed X0 are calculated from the previous value Xi using the formula Xiþ1 ¼ AXi mod M
ð6:2Þ
where the multiplier A and the modulus M are positive integers. Xiþ1 is the remainder left when AXi is divided by M. For a different seed X00 , a different random sequence is obtained. After at most M generated values, the random sequence will repeat itself. Because 0 < Xi < M, uniformly distributed pseudorandom numbers in the interval (0,1) are obtained from ui ¼
Xi M
ð6:3Þ
Comprehensive discussion on generating random numbers and tests for statistical independence of the generated random numbers is provided in Knuth (1997), Rubinstein (1981) and Tuckwell (1988). A random sequence with good properties is obtained if A ¼ 16 807 and M ¼ 2147 483 647 are selected for the values of the constants in the recurrent formula (6.2) defining the pseudorandom generator (Park and Miller, 1988). The algorithm in pseudocode for simulating a random variable following an uniform distribution in the interval (0,1) can be presented as follows. Algorithm 6.1. function u_random() { t ¼ A*Seed; Seed ¼ mod (t, M); u ¼ Seed/M; /* Generating a random number in the interval (0,1) */ return u; } The function mod returns the remainder from the division of t and M. Before the first call of the function u_random(), the variable Seed is initialised with any number in the range 1, M 1. Subsequently this value is altered in the statement Seed ¼ mod (t, M).
Solving Reliability and Risk Models Using a Monte Carlo Simulation
109
Using the linear transformation xi ¼ a þ (b a)ui, where ui is a random number uniformly distributed in the interval (0,1), a uniformly distributed random value xi in any specified interval (a, b) can be generated. Uniformly distributed integer numbers in the range (0,n 1) with equal probability of generating any of the numbers 0, 1, 2, . . . , n 1 can be obtained using the expression xi ¼ ½nui
ð6:4Þ
where [nui] denotes the greatest integer which does not exceed nui. Consequently, the formula xi ¼ ½nui þ 1
ð6:5Þ
will generate with equal probability the integer numbers 1, 2, . . . , n. On the basis of equation (6.5), a function Rand(k) can be constructed which selects with the same probability 1/k one object out of k objects. The algorithm in pseudocode is straightforward: Algorithm 6.2. function Rand(k) { u¼u_random(); /* Generates a uniformly distributed random value in the interval 0,1 */ x ¼ Int (k*u) þ 1; /*Generates a uniformly distributed integer value x in the interval 1,. . ., k */ return x; } Function Int(k*u) returns the greatest integer which does not exceed the product k*u.
6.2.2
GENERATION OF A RANDOM SUBSET
In many applications, it is important to generate a random subset of size k out of n objects. The subset must be generated in such a way that no object in the subset appears twice and every object has an equal chance of being included in the subset. Some of the applications include: (i) selecting randomly a set of k test specimens from a batch of n specimens; (ii) selecting randomly a group of k people out of n people; (iii) selecting randomly k components for inspection, from a batch containing n components; (iv) a random assignment of n specimens to n treatments. The list can be continued.
110
Reliability and Risk Models
A random selection of k objects out of n objects can be made by making a random selection of one object out of n objects, making another random selection of one object out of the remaining n 1 objects, etc., until all k objects are selected. Let the n objects be indexed by 1, 2, . . . , n and stored in an array a[n] of size n. Calling the function Rand(n) will select with equal probability 1/n a random index r associated with an object a[r] stored in the array. In this way, a random selection of one out of the n objects is made. The remaining n 1 objects which have not been selected can be stored in the first n 1 positions of the array in the following way. The selected object a[r] and the last object a[n] are swapped. This means that the object initially stored in the nth cell of the array is now stored in the rth cell and the object from the rth cell has been moved into the nth cell. As a result, all of the objects which have not been selected are now in the first n 1 cells of the array. The process of random selection of the next object continues with selecting a random object from the first n 1 cells of the array by calling Rand(n 1) etc., until exactly k objects have been selected. The algorithm in pseudocode is as follows. Algorithm 6.3. for i ¼ n downto n-k þ 1 { x ¼ Rand(i); tmp¼a[i]; a[i]¼a[x]; a[x]¼tmp; /* swaps cells a[i] and a[x] */ } After executing the procedure, all k selected objects are stored in the last k cells of the array a[n] (from a[n k þ 1], to a[n]. If k has been specified to be equal to n, the algorithm generates a random permutation from the elements of the array, or, in other words, it scrambles the array in a random fashion.
6.2.3
INVERSE TRANSFORMATION METHOD FOR SIMULATION OF CONTINUOUS RANDOM VARIABLES
Let U be a random variable following a uniform distribution in the interval (0,1) (Figure 6.1). For any continuous distribution function F(x), if a random variable X is defined by X ¼ F1(U), where F1 denotes the inverse function of F(x), the random variable X has a cumulative distribution function F(x). Indeed, because the cumulative distribution function is monotonically increasing (Figure 6.1), the following chain of equalities holds: PðX aÞ ¼ PðF 1 ðUÞ aÞ ¼ PðU FðaÞÞ ¼ FðaÞ
ð6:6Þ
Solving Reliability and Risk Models Using a Monte Carlo Simulation
111
Probability 1
F(x)
F(a)
U
0
Random variable X
a
Figure 6.1 Inverse transformation method for generating random numbers
From the first and the last equality it follows that P(X a) ¼ F(a), which means that the random variable X has a cumulative distribution F(x).
6.2.4
SIMULATION OF A RANDOM VARIABLE FOLLOWING THE NEGATIVE EXPONENTIAL DISTRIBUTION
The cumulative distribution function of the negative exponential distribution is F(x) ¼ 1 exp (x) whose inverse is x ¼ (1/) ln (1 F). Replacing F(x) with U, which is a uniformly distributed random variable in the interval (0,1) gives x ¼ ð1=Þ lnð1 UÞ
ð6:7Þ
which follows the negative exponential distribution. A small improvement of the efficiency of the algorithm can be obtained noticing that 1 U is also a ‘uniform’ random variable in the range (0,1) and therefore x ¼ (1/) ln (1U) has the same distribution as x ¼ (1/) ln U. Finally, generating a uniformly distributed random variable ui in the interval (0,1) and substituting it in 1 xi ¼ lnðui Þ
ð6:8Þ
results in random variable xi following the negative exponential distribution. During the simulation, the uniformly distributed random values ui are obtained either from a standard built-in or from a specifically designed pseudo-random number generator.
112 6.2.5
Reliability and Risk Models
SIMULATION OF A RANDOM VARIABLE FOLLOWING THE GAMMA DISTRIBUTION
It is not possible to give a closed form expression for the inverse of the gamma cumulative distribution function. Generating a gamma random variable, however, can be done using the property that the gamma random variable G(n, 1/) can be presented as a sum of n random variables following the negative exponential distribution with parameter . Each negative exponential random variable is generated from (1/) ln (ui ), i ¼ 1, 2, . . . , n, where ui are statistically independent uniformly distributed random numbers in the interval (0,1). As a result, the gamma random variable G(n, 1/) can be generated with the sum 1 1 1 Gðn; 1=Þ ¼ lnðu1 Þ lnðu2 Þ lnðun Þ
ð6:9Þ
Equation (6.9) can be reduced to 1 Gðn; 1=Þ ¼ lnðu1 u2 . . . un Þ
ð6:10Þ
which is computationally more efficient due to the single logarithm.
6.2.6
SIMULATION OF A RANDOM VARIABLE FOLLOWING A HOMOGENEOUS POISSON PROCESS IN A FINITE INTERVAL
Random variables following a homogeneous Poisson process in a finite interval with length a can be generated in the following way. Successive, exponentially distributed random numbers xi ¼ (1/) ln (ui ) are generated according to the inverse transformation method, where ui are uniformly distributed random numbers in the interval (0,1). Subsequent realisations ti following a homogeneous Poisson process with intensity can be obtained from t1 ¼ x1
t2 ¼ t1 þ x2 ; . . . ; tn ¼ tn1 þ xn ðtn aÞ
The number of variables n, following a homogeneous Poisson process in the finite interval, equals the number of generated values ti smaller than the measure a of the interval. The nth generated value tn ¼ ð1=Þ lnðu1 Þ ð1=Þ lnðu2 Þ ð1=Þ lnðun Þ
Solving Reliability and Risk Models Using a Monte Carlo Simulation
113
can also be presented as tn ¼ ( 1/) ln (u1 u2 . . . un ). Generating uniformly distributed random numbers u1 , . . . , ui continues while ti ¼ (1/) ln (u1 u2 . . . ui ) a and stops immediately if ti > a. Because the condition (1/) ln (u1 u2 . . . ui ) a is equivalent to the condition u1 u2 . . . ui expðaÞ
ð6:11Þ
the algorithm in pseudocode for simulating a variable following a homogeneous Poisson process in a finite interval a becomes that shown in the following. Algorithm 6.4. Limit ¼ exp (a); S ¼ u_random(); k ¼ 0; While (S Limit) do {S ¼ S*u_random( ); k ¼ k þ 1;} At the end, the generated random variable following a homogeneous Poisson process remains in the variable k. Simulating a number of random failures characterised by a constant hazard rate in a finite time interval with length a can also be done by the described algorithm.
6.2.7
SIMULATION OF A DISCRETE RANDOM VARIABLE WITH A SPECIFIED DISTRIBUTION
A discrete random variable X takes on only discrete values X ¼ x1, x2, . . . , xn, with probabilities p1 ¼ f(x1), p2 ¼ f(x2) , . . . , pn ¼ f(xn) and no other value.
X P(X ¼ x)
x1 f(x1)
x2 f(x2)
... ...
xn f(xn)
where f(x) ¼ P(X ¼ x) is the probability (mass) function of the random variable: P n i¼1 f (xi ) ¼ 1. The algorithm for generating a random variable with the specified distribution consists of the following steps. Algorithm 6.5. P 1. Construct the cumulative distribution P(X xk ) F(xk ) ¼ ik f (xi ) of the random variable. 2. Generate a uniformly distributed random number r in the interval [0,1]. 3. If r F(x1), the simulated random value is x1, else if F(xk1) < r F(xk) the simulated random value is xk (Figure 6.2).
114
Reliability and Risk Models x2 0
f (x1)
f (x2)
f (xn)
• • •
1
u
Figure 6.2 Simulating a random variable with a specified discrete distribution
A binomial experiment, involving n statistically independent trials with probability of success p in each trial, can be simulated by generating n random numbers ui uniformly distributed in the interval (0,1). If the number of successes X is set to be equal to the number of trials in which ui p, the distribution of the number of successes X follows a binomial distribution with parameters n and p.
6.2.8
SELECTION OF A POINT AT RANDOM IN THREE-DIMENSIONAL SPACE REGION
In order to select a random point from a bounded three-dimensional region R (Figure 6.3) a rejection method can be used. The region R is first surmounted by a parallelepiped with sides a, b and c. A random point with coordinates au1, bu2 and cu3 is generated in the parallelepiped using three statistically independent random numbers u1, u2 and u3, uniformly distributed in the interval (0,1). If the generated point belongs to the region R, it is accepted. Otherwise, the point is rejected and a new random point is generated in the parallelepiped and checked z
(au1, bu2, cu3)
R c
y b a x
Figure 6.3 Selecting a random point in the region R
115
Solving Reliability and Risk Models Using a Monte Carlo Simulation
whether it belongs to R. The first accepted point is a point randomly selected in the region R.
6.2.9
SIMULATION OF RANDOM LOCATIONS FOLLOWING A HOMOGENEOUS POISSON PROCESS IN A FINITE DOMAIN
Random locations following a homogeneous Poisson process with a constant intensity in a finite domain (volume, area, interval) can be simulated in two steps. In the first step, using Algorithm 6.4, a number n of random variables is generated following a homogeneous Poisson process with intensity . In the second step the n variables generated are uniformly distributed in the finite domain. The method will be illustrated by an algorithm for generating random locations which follow a homogeneous Poisson process with intensity , in a cylindrical domain with area of the base S and height H (Figure 6.4). First, the number of locations k in the cylinder is generated according to Algorithm 6.4, where a ¼ SH is the volume of the cylinder. Next, k locations are generated, uniformly distributed in the volume of the cylinder. The second step can be accomplished by generating a uniformly distributed point with coordinates (x, y) on the base of the cylinder, followed by generating the z-coordinate of the location, uniformly distributed along the height H. A uniformly distributed point in the area of the base is generated by using the rejection method described in section 6.2.8: generating uniformly distributed points in the circumscribed rectangle containing the base, ignoring the points outside the area of the base and accepting the first point inside (Figure 6.4). The process of generating uniformly distributed points with coordinates (x, y, z) continues until the total number of k locations has been generated.
z
V
y
0
H (x,y) y S x
z (x,y) x
Figure 6.4
Generating uniformly distributed locations in the cylinder V
116 6.2.10
Reliability and Risk Models
SIMULATION OF A RANDOM DIRECTION IN SPACE
Suppose that a random direction needs to be selected from the origin of the coordinate system with axes 1 , 2 , 3 as shown in Figure 6.5. This problem is common in the applications and discussion related to it exists even in introductory texts on Monte Carlo simulation (see for example Sobol, 1994). Such a problem is present during a simulation of brittle fracture triggered by penny-shaped cracks. The orientation of the crack regarding the principal stresses 1 , 2 and 3 is specified by the unit normal vector n to the crack plane (Figure 6.5). A random direction in space means that the endpoint of the random direction is uniformly distributed on the surface of the unit sphere in Figure 6.6. The random direction is determined by the two angles 0 2 and 0 ’ (Figure 6.6). Let us divide the surface of the sphere, by planes perpendicular to one of the axes, into infinitesimally small surface elements ds. Because the endpoints are uniformly distributed on the surface of the sphere, the probability of selecting a particular element ds to which corresponds angle ’ is 1 ds=ð4Þ ¼ 2 sinð’Þd’=ð4Þ ¼ sinð’Þd’ 2 The latter expression defines the probability density (1/2) sin (’) characterising the angle ’. Integrating this probability density gives the cumulative distribution of the angle Fð’Þ ¼
Z
’ 0
1 1 sinðxÞdx ¼ ½1 cosð’Þ 2 2
Applying the inverse transformation method, values of the cosine of the angle ’ are generated from σ3
n° ϕ ψ
σ2
σ1 Figure 6.5 A random direction n in space defined by angles 0 ’ and 0
2
Solving Reliability and Risk Models Using a Monte Carlo Simulation
117
z
ds
ϕ 0
ψ
y
x
Figure 6.6 Unit sphere and a random direction in space
cosð’i Þ ¼ 1 2ui
ð6:12Þ
where ui are uniformly distributed numbers in the interval (0,1). Considering the axial symmetry with respect to the selected z-axis, the second angle is uniformly distributed in the interval (0, 2) and values for this angle are generated from i
¼ 2si
ð6:13Þ
where si are uniformly distributed numbers in the interval (0,1), statistically independent from the random numbers ui used for generating the values cos (’i ).
6.2.11
SIMULATION OF A RANDOM VARIABLE FOLLOWING THE THREE-PARAMETER WEIBULL DISTRIBUTION
Since the Weibull cumulative distribution function is x x0 m FðxÞ ¼ 1 exp the first step is to construct its inverse 1=m 1 x ¼ x0 þ ln 1 FðxÞ
118
Reliability and Risk Models
Next, F(x) is replaced with U, which is a uniformly distributed random variable in the interval (0,1). As a result, the expression 1=m 1 x ¼ x0 þ ln 1U is obtained. Generating uniformly distributed random values ui in the interval (0,1) and substituting them in xi ¼ x0 þ ð lnðui ÞÞ1=m
ð6:14Þ
yields random values xi following a three-parameter Weibull distribution.
6.2.12
SIMULATION OF A RANDOM VARIABLE FOLLOWING THE MAXIMUM EXTREME VALUE DISTRIBUTION
From the cumulative distribution function of the maximum extreme value distribution x x 0 FðxÞ ¼ exp exp the inverse x ¼ x0 ln [ ln F(x)] is determined. Replacing F(x) with U, which is a uniformly distributed random variable in the interval (0,1) results in x ¼ x0 ln ( ln U). Generating uniformly distributed random variables ui in the interval (0,1) and substituting them in xi ¼ x0 lnð ln ui Þ
ð6:15Þ
produces values xi following the maximum extreme value distribution.
6.2.13
SIMULATION OF A GAUSSIAN RANDOM VARIABLE
A standard normal variable can be generated easily using the central limit theorem applied to a sum X of n random variables Ui, uniformly distributed in the interval (0,1). According to the central limit theorem, with increasing n, the sum X ¼ U1 þ U2 þ þ Un approaches a normal distribution with mean EðXÞ ¼ EðU1 Þ þ þ EðUn Þ ¼ n=2 and variance VðXÞ ¼ VðU1 Þ þ þ VðUn Þ ¼ n ð1=12Þ
Solving Reliability and Risk Models Using a Monte Carlo Simulation
119
Selecting n ¼ 12 uniformly distributed random variables Ui gives a reasonably good approximation for many practical applications. Thus, the random variable X ¼ U1 þ U2 þ þ U12 6
ð6:16Þ
is approximately normally distributed with mean E(X) ¼ 12 (1/2) 6 ¼ 0 and variance V(X) ¼ 12 (1/12) ¼ 1, or, in other words, the random variable X follows the standard normal distribution (Rubinstein, 1981). Another method for generating a standard normal variable is the Box– Muller method (Box and Muller, 1958). A pair of statistically independent standard normal variables x and y are generated by generating a pair u1, u2 of statistically independent, uniformly distributed random numbers in the interval (0,1). Random variables following the standard normal distribution are obtained from pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi 2 ln u1 cosð2u2 Þ pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi y ¼ 2 ln u1 sinð2u2 Þ
x¼
ð6:17Þ ð6:18Þ
the derivation of which is given in Appendix 6.1. From the generated standard normal variable N(0, 1) with mean zero and standard deviation unity, a normally distributed random variable N(, ) with mean and standard error can be obtained by applying the linear transformation Nð; Þ ¼ Nð0; 1Þ þ
6.2.14
ð6:19Þ
SIMULATION OF A LOG-NORMAL RANDOM VARIABLE
A random variable follows a log-normal distribution if its logarithm follows a normal distribution. Suppose that the mean and the standard deviation of the logarithms of a log-normal variable X are ln and ln , correspondingly. A lognormal random variable can be generated by first generating a normally distributed random variable Y with mean ln and standard deviation ln using Y ¼ ln Nð0; 1Þ þ ln
ð6:20Þ
where N(0, 1) is a generated standard normal variable (see equation 6.19). The log-normal normal variable X is generated by exponentiating the normal random variable Y: X ¼ eY
ð6:21Þ
120 6.2.15
Reliability and Risk Models
CONDITIONAL PROBABILITY TECHNIQUE FOR BIVARIATE SAMPLING
This technique is based on presenting the joint probability density function p(x, y) as a product pðx; yÞ ¼ pðxÞpðyjxÞ
ð6:22Þ
of p(x) – the marginal distribution of X and p(y|x) – the conditional distribution of Y, given that X ¼ x. Simulating a random number with distribution p(x, y) involves two steps: (i) generating a random number x with distribution p(x) and (ii) for the generated value X ¼ x, generating a second random number y, with a conditional probability density p(y|x). The obtained pairs (x, y) have a joint distribution p(x, y). A common application of this technique is the random sampling from a bivariate normal distribution with a joint probability density distribution f ðx; yÞ ¼
1 pffiffiffiffiffiffiffiffiffiffiffiffiffi 2x y 1 2 ( " 1 x X 2 x X y Y 2 exp 2ð1 2 Þ X X Y 2 #) y Y þ Y
ð6:23Þ
where X , Y denote the means and X , Y denote the standard deviations of the random variables X and Y, respectively. The parameter is the linear correlation coefficient between X and Y, defined by ¼E
X X X
Y Y Y
ð6:24Þ
An important feature is that the bivariate normal distribution is a natural extension of the normal distribution in the two-dimensional space. If pairs (X, Y) have a bivariate normal distribution, the variables W and Z defined by W ¼ (X X )/X and Z ¼ (Y Y )/Y have a standardised bivariate normal distribution with a probability density function 2
1 1 2 w 2wz þ z f ðw; zÞ ¼ pffiffiffiffiffiffiffiffiffiffiffiffiffi exp 2ð1 2 Þ 2 1 2
ð6:25Þ
Given that X ¼ x, the conditional distribution of Y is normal, with mean Y þ pffiffiffiffiffiffiffiffiffiffiffiffiffi (Y /X )(x X ) and standard deviation Y 1 2 (Miller and Miller, 1999).
Solving Reliability and Risk Models Using a Monte Carlo Simulation
121
A procedure for sampling from the standardised bivariate normal distribution consists of generating two random numbers w and z from the standard normal distribution N(0, 1). The random variates x and y following a bivariate normal distribution with specified means X , Y , standard deviations X , Y and a correlation coefficient are obtained from x ¼ X þ X w y ¼ Y þ
6.2.16
ð6:26Þ
pffiffiffiffiffiffiffiffiffiffiffiffiffi Y ðx X Þ þ Y 1 2 z X
ð6:27Þ
VON NEUMANN’S METHOD FOR MODELLING CONTINUOUS RANDOM VARIABLES
This method is convenient in cases where the inverse function of the cumulative distribution function F(x) cannot be expressed in terms of elementary functions or in cases where the probability density function has been specified empirically (e.g. by a histogram). Suppose that the random variable is defined in the interval (a, b) and the probability density function f(x) is bounded: f(x) M (Figure 6.7). A value following the specified probability density function f(x) can be generated using the following steps:
Probability density
M
f(x)
X 0 a
x1
x0
x0 + dx
b
Figure 6.7 Rejection method for generating a continuous random variable with a specified probability density function f(x)
122
Reliability and Risk Models
1. A uniformly distributed random value x ¼ a þ (b a)u1 in the interval (a, b) is generated first, where u1 is a uniformly distributed random number in the interval (0, 1). 2. A random value y ¼ M u2 is also generated, uniformly distributed in the interval (0, M). 3. If y f(x) the random value x generated on step (1) is accepted. Otherwise the random value is rejected and the process continues with steps (1) and (2) until a generated value x is accepted. The algorithm in pseudocode can be presented as follows. Algorithm 6.6. Function_von_Neumann() { Repeat x ¼ a þ (b a)*u_random( ); y ¼ M*u_random(); until (y f(x)); return x; } Indeed, the probability that a generated value xi will belong to the interval x0, x0 þ dx is a product of the probability dx/(b a) that the random value xi will be generated in the interval x0, x0 þ dx and the probability f(x0)/M that it will be accepted. As a result, the probability that a generated value will belong to the interval x0, x0 þ dx and will be accepted becomes f(x0)dx/((b a)M). According to the total probability theorem, the probability of accepting a value is Z a
b
f ðxÞdx 1 ¼ ðb aÞM ðb aÞM
Rb because a f (x)dx ¼ 1. Finally, the conditional probability that a value will belong to the interval x0, x0 þ dx given that it has been accepted is
f ðx0 Þdx ðb aÞM
,
1 ¼ f ðx0 Þdx ðb aÞM
which means that the accepted values do follow the specified distribution f(x).
123
Solving Reliability and Risk Models Using a Monte Carlo Simulation
6.2.17
RANDOM SAMPLING FROM A MIXTURE DISTRIBUTION
Suppose that a sampling from the distribution mixture FðxÞ ¼ p1 F1 ðxÞ þ þ pM FM ðxÞ
ð6:28Þ
P is required, where pi , M i¼1 pi ¼ 1 are the shares of the separate individual distributions Fi(x) in the mixture. Sampling the distribution mixture (6.28) involves two basic steps: . .
Random selection of an individual distribution to be sampled. Random sampling from the selected distribution.
Random selection of an individual distribution can be done using Algorithm 6.5 for sampling from a discrete distribution with mass function X P(X ¼ x)
1 p1
2 p2
... ...
M pM
Random sampling from the selected distribution can be performed using for example the inverse transformation method.
6.3
6.3.1
MONTE CARLO SIMULATION ALGORITHMS FOR SOLVING RELIABILITY AND RISK MODELS AN ALGORITHM FOR SOLVING THE GENERAL RELIABILITY MODEL
According to Chapter 5, the general expression for the reliability integral is
R¼
Z Z
Z ...
f1 ðx1 Þ f2 ðx2 Þ fn ðxn Þdx1 dx2 . . . dxn
x1 ;...;xn 2S
where the integration is performed within the safe domain S. X1, X2, . . . , Xn are statistically independent controlling random variables where f1(x1), f2(x2), . . . , fn(xn) are their marginal probability densities. The Monte Carlo algorithm for performing the integration is as follows. Algorithm 6.7. x[n]: /* Global array containing the current values of the n random variables */
124
Reliability and Risk Models
procedure Generate_random_variable (j ) { /* Generates a realisation (value) of the j-th controlling random variable x[j] */ } function Limit_state( ) { /* For a particular combination of values of the random variables x[1], . . . , x[n] returns 1 or 0 depending on whether failure state is present or not */ } /* Main algorithm */ No_failure_counter ¼ 0; For i ¼ 1 to Number_of_trials do { /* Generate the i-th set of n controlling random variables */ For j ¼ 1 to n do Generate_random_variable( j ); Failure ¼ Limit_state(); /* Checks for a limit (failure) state using the current values of the random variables in the array x[n] */ If (not Failure) then No_failure_counter ¼ No_failure_counter þ 1; } Reliability_on_demand ¼ No_failure_counter / Number_of_trials; In the simulation loop controlled by variable i, a second nested loop has been defined, controlled by variable j whose purpose is generating instances of all controlling random variables. After obtaining a set of values for the random variables, the function Limit_state() is called to check whether the set of values for the random variables defines a point in the failure region. If the set of values defines a point in the safe region, the ‘no-failure’ counter is incremented. After the end of the Monte Carlo trials, reliability on demand is obtained as a ratio of the value stored in the ‘no-failure’ counter and the total number of Monte Carlo trials.
6.3.2
MONTE CARLO EVALUATION OF THE RELIABILITY ON DEMAND DURING A LOAD–STRENGTH INTERFERENCE
Main components of the load–strength interference model are: (i) a model for the strength distribution; (ii) a model for the load distribution and (iii) the load–strength interference integral. A Monte Carlo simulation approach for solving the load–strength reliability integral will be illustrated by an example related to calculating the risk of failure of a critical component. For the purposes
Solving Reliability and Risk Models Using a Monte Carlo Simulation
125
of the comparison with the numerical solution presented in section 5.4, the distributions and their parameters are the same as in Example 5.1. Accordingly, the distribution of strength is specified by the three-parameter Weibull distribution x x0 m FS ðxÞ ¼ 1 exp with parameters m ¼ 3.9, ¼ 297:3 and x0 ¼ 200 MPa and the load distribution is specified by the maximum extreme value distribution x FL ðxÞ ¼ exp exp with parameters ¼ 119 and ¼ 73:64. An algorithm in pseudocode which evaluates the reliability on demand using Monte Carlo simulation is presented below. Algorithm 6.8 Monte Carlo evaluation of the load – strength interference integral. function Weibull_rv( ) { /* Generates a Weibull-distributed random variable */} function Max_extreme_value_rv( ) { /* Generates an Extreme value random variable */} No_failure_counter ¼ 0; For i ¼ 1 to Number_of_trials do { /* Generates the i-th pair of load and strength */ Strength ¼ Weibull_rv( ); Load ¼ Max_extreme_value_rv( ); If (Strength > Load) then No_failure_counter ¼ No_failure_counter þ 1; } Reliability_on_demand ¼ No_failure_counter / Number_of_trials;. In the Monte Carlo simulation loop controlled by the variable i, instances of a random strength and a random load are generated in each trial. Their values are subsequently compared in order to check for a safe state. If a safe state is present (strength greater than load), the ‘no failure’ counter is incremented. Similar to the previous algorithm, after the end of the Monte Carlo trials, reliability on demand is obtained as a ratio of the no-failure counter value and the total number of Monte Carlo trials. The algorithms of the functions returning random strength following the Weibull distribution and random load following the maximum extreme value distribution are given in sections 6.2.11 and 6.2.12.
126
Reliability and Risk Models
For the reliability on demand, 100 000 Monte Carlo trials (Number_ of_trials¼ 100000) yielded 0.985, which coincides with the result from Example 5.1 obtained from a direct integration. In case of multiple load applications, whose number is a random variable, the algorithm related to a single load application can be extended. Suppose that the load and the strength distributions and the parameter values are according to the previous example. Suppose also that the finite time interval has a length a ¼ 100 months and the number density of the load applications is ¼ 0:5 month1. An algorithm in pseudocode, for Monte Carlo evaluation of the reliability in the specified finite time interval, can be constructed as follows. Algorithm 6.9. function Weibull_rv() { /* Generates a random variable following a Weibull distribution with specified parameters */} function Max_extreme_value_rv() { /* Generates a random variable following the Maximum Extreme value distribution with specified parameters */} function Generate_number_load_applications() {/* Generates a number of load application following a homogeneous Poisson process with density , in the finite time interval 0, a */} Failure_counter ¼ 0; For i ¼ 1 to Number_of_trials do { /* Generates a random strength */ Strength ¼ Weibull_rv( ); /* Generates the number of load applications */ Num_load_applications ¼ Generate_number_load_applications(); /* Generates the loads magnitudes and compares each load with the random strength */ For k ¼ 1 to Num_load_applications do { Load ¼ Max_extreme_value_rv(); If (Strength < Load) then {Failure_counter ¼ Failure_counter þ 1; break;} } } Reliability ¼ 1Failure_counter / Number_of_trials; A characteristic feature distinguishing this algorithm from the previous algorithm, dealing with reliability on demand, is the nested loop with control
Solving Reliability and Risk Models Using a Monte Carlo Simulation
127
variable k, accepting values from one to Num_load_applications (the number of load applications). A random strength is generated before entering the inner loop (the loop with control variable k) because strength is the same for all load applications. For each load application, a random load is generated and subsequently compared with the random strength. If strength is smaller than any of the applied loads, failure is registered by incrementing the failure counter (Failure_counter), after which the inner loop is exited immediately by the statement break. By dividing the content of the failure counter into the total number of trials, the probability of failure is obtained and subtracting it from unity gives the reliability associated with the time interval with length a ¼ 100 months. For the reliability associated with the finite time interval of 100 months, a computer program in Cþþ based on Algorithm 6.9 yielded R(t ¼ 100) ¼ 0.60.
6.4
MONTE CARLO SIMULATION OF THE LOWER TAIL OF THE STRENGTH DISTRIBUTION FOR MATERIALS CONTAINING FLAWS
In order to illustrate some of the Monte Carlo simulation techniques described earlier, we will demonstrate an algorithm for Monte Carlo simulation of fracture of a component with internal crack-like defects. As mentioned earlier, determining the probabilities from the lower tail of the strength distribution is of paramount importance for calculating the reliability on demand during load–strength interference. For materials with flaws, the lower tail of the strength distribution is affected significantly by the flaws. Many materials contain small cracks or crack-like flaws and fail prematurely because of a microcrack becoming unstable during loading. Consider a simple loading where a component has been loaded by a force F. The force induces stresses in the component and failure is caused by an unfavourable combination of a flaw location, flaw size, flaw orientation and local stress state. For any specified value F* of the loading force, the probability of fracture is calculated following the algorithm described below. Randomly oriented cracks with number density are generated in the volume of the component. Penny-shaped cracks can be assumed as a first approximation, whose size is defined solely by their radius. Before entering the Monte Carlo simulation, the distribution of the stress in the component is calculated using analytical techniques (Gere and Timoshenko, 1999) or numerical techniques (using for example finite elements). The number of cracks following a homogeneous Poisson process in the volume of the component is generated first using Algorithm 6.4. The locations of the cracks are generated by generating uniformly distributed points in the volume of the component using the method from section 6.2.8. The sizes of the cracks are generated by sampling the crack size distribution using for example the inverse
128
Reliability and Risk Models
transformation method. Each crack is randomly oriented in the space using the method from 6.2.10. Subsequently, the local stress tensor at the crack location is calculated and using fracture mechanics criteria relevant to a mixed mode fracture, it is determined whether the generated crack will be unstable (will cause failure). If the crack is unstable, the inner loop is exited immediately with a statement break, in order to avoid unnecessary checks for the rest of the cracks, because the component fails when at least one of the cracks becomes unstable. To determine the probability of fracture, the number of trials associated with fracture is divided into the total number of trials. Using this procedure, the lower tail of the strength distribution of any component with internal flaws can be built. Algorithm 6.10 Direct Monte Carlo evaluation of the probability of overstress fracture of a loaded component with internal flaws. procedure Calculate_stress_distribution () {/* Calculates the distribution of stresses in a loaded component using analytical solution or FEM solution */} procedure Calculate_principal_stresses (x, y, z) {/* Calculates the magnitude and the direction of the principal stresses at point (x, y, z) in the component */} function Generate_random_crack_size () {/* Samples the size distribution of the flaws and returns a random size of the crack at the selected location (x, y, z) */} procedure Random_orientation () {/* Generates the cosine directors of a randomly oriented pennyshaped crack with respect to the directions of the principal normal stresses, according to Algorithm 6.2.10 */} function Poisson_variable () {/* Returns a random number of cracks in the volume of the component, according to Algorithm 6.4 in Section 6.2.6. The cracks have a specified number density . procedure Generate_Random Crack_Location() {/* Generates a point with uniformly distributed coordinates in the volume of the component, according to the rejection method in Section 6.2.8 */} function Is_crack_unstable () {/* Uses mixed mode fracture criteria to check whether the crack is unstable and returns TRUE if the crack with the generated location, size and orientation initiates fracture */}
Solving Reliability and Risk Models Using a Monte Carlo Simulation
129
Failure_counter ¼ 0; Calculate_stress_distribution (); For i ¼ 1 to Number_of_trials do { M ¼ Poisson_variable( ); /* Contains the random number of cracks for the current trial For j ¼ 1 to M do { Generate_Random_Crack_Location(); /* Generates the coordinates x, y, z of a point defining a random location */ Calculate_principal_stresses (x, y, z) /* Calculates the normal principal stresses acting at the crack location x, y, z */ Generate_random_crack_size (); /* Samples the specified size distribution of the flaws and returns a random size */ Random_orientation (); /* Generates cosine directors defining a random crack orientation with respect to the principal normal stresses */ Unstable ¼ Is_crack_unstable(); /* Checks whether the crack is unstable and if so, returns TRUE (1) in the variable Unstable, otherwise it returns 0 */ If (Unstable) then {Failure_Counter ¼ Failure_Counter þ 1; break;} } } Probability_of_fracture ¼ Failure_counter / Number_of_trials; The probability of fracture can be calculated for different magnitudes of the load F, and in this way the entire lower tail of the strength distribution can be constructed. The lower tail of the strength distribution can subsequently be used to calculate the probability of early-life failure or the reliability associated with a specified time interval. Parametric studies related to how critical design parameters affect the probability of failure and the lower tail of the strength distribution can also be conducted using this procedure. Varying the design parameters and building the lower tail of the strength distribution provides a powerful tool for producing optimised designs with increased reliability. The proposed Monte Carlo simulation technique can also be used for producing robust designs, insensitive to small variations of the critical parameters. In Chapter 10 we will demonstrate a much more efficient method compared to the direct Monte Carlo simulation method described here. The method is based on a result linking the probability of fracture characterising a single random flaw to the probability of fracture characterising a population of random flaws.
130
Reliability and Risk Models
APPENDIX 6.1 pffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi Indeed, if we denote r ¼ 2 ln u1 and ¼ 2u2 , these can be regarded as polar coordinates (r, ) (Figure 6.8). The polar angle follows a uniform distribution with density 1/2 in the interval (0, 2). According to the algorithm related to generating a random variable with a negative exponential distribution (see equation 6.8), the square d ¼ r2 of the polar radius follows an exponential distribution 1/2 exp (1/2d) with parameter ¼ 1/2. Because u1 and u2 are statistically independent, the polar angle and the polar radius which are functions of u1 and u2 are also statistically independent (see Appendix B). d ¼ x2 þ y2
ð6A:1Þ
¼ arctanðy=xÞ
ð6A:2Þ
The joint distribution of d ¼ r2 and is therefore a product of the marginal density distributions of d ¼ r2 and : 1/(2) (1/2) exp (d/2) (Ross, 1997). The joint distribution f(x, y) of x and y equals the joint distribution of d and multiplied by the absolute value of the Jacobian of the transformation (DeGroot, 1989): @d jJj ¼ det @x @ @x
@d @y @ @y
¼2
Finally, for the joint distribution of x and y we obtain f ðx; yÞ ¼
1 exp½ðx2 þ y2 Þ=2 2
Y
(x,y)
r
θ X
Figure 6.8 Polar coordinates r and of point (x, y)
Solving Reliability and Risk Models Using a Monte Carlo Simulation
131
which can be factorised as 1 1 f ðx; yÞ ¼ gðxÞ gðyÞ ¼ pffiffiffiffiffiffi expðx2 =2Þ pffiffiffiffiffiffi expðy2 =2Þ 2 2 where 1 gðxÞ ¼ pffiffiffiffiffiffi expðx2 =2Þ and 2
1 gðyÞ ¼ pffiffiffiffiffiffi expðy2 =2Þ 2
are the probability density functions of two statistically independent standard normal random variables X and Y.
7 Analysis of the Properties of Inhomogeneous Media Using Monte Carlo Simulations
Material properties are often characterised by intrinsic variability which cannot be eliminated. Variability associated with properties is often attributable to the structural inhomogeneity. Many materials are inhomogeneous, for example ferrous and non-ferrous alloys, composites, ceramics and plastics. Determining probability bounds on the variation of properties due to inhomogeneity is therefore an important issue related to reliability of materials. Variability of properties associated with inhomogeneous structures is intrinsic. It is not due for example to measurement imprecision or inability to control the experiment and therefore cannot be reduced or eliminated. The influence of microstructural inhomogeneity is particularly strong for fracture properties compared to other properties (e.g. the material’s moduli). The reason is that fracture is particularly sensitive to microstructural heterogeneities associated with local zones of weak resistance to crack extension. Often, ahead of crack fronts in composite materials or in materials containing defects, the number density of the defects varies locally, which is another manifestation of the microstructural inhomogeneity. Reliability of materials is an interplay of materials science and applied statistics. The intersections defined by the keywords ‘statistics’, ‘structure’ and ‘properties’, determine key research areas (Figure 7.1). Important topics from the intersection ‘statistics and structure’ for example, are the spatial statistics of flaws and the spatial statistics of duplex structures.
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
134
Reliability and Risk Models
Structure
Statistics
Properties
Figure 7.1 The intersection of ‘statistics’, ‘structure’ and ‘properties’ defines key research areas in reliability of materials
Consider a case where the property y under consideration (e.g. yield stress, toughness, density) is solely determined by the quantity of one of the structural constituents in a sampled volume from a duplex structure. In this case, the property value y can be expressed by a functional relationship y(x) between the property value y and the quantity x of one of the structural constituents in the sampled volume. A significant predicament is that the functional relationship y(x) is usually unknown. In the next section, we will show that despite this difficulty, under certain conditions, the probabilities from the lower tail of the distribution of properties can still be determined.
7.1
ANALYSIS OF INHOMOGENEOUS MICROSTRUCTURES USING RANDOM TRANSECTS
A powerful method for investigating inhomogeneous structures is by random transects: linear, areal or volume transects. Random transects have been used in quantitative microscopy and stereology for estimating the volume fraction and surface area of various microstructural constituents (Weibel, 1980; Underwood, 1969). A line transect for example, can be defined as a segment AB of given length L ‘cast’ in a random fashion in the inhomogeneous media. A realisation of a random placement of the transect can be obtained with a uniform distribution of the orientation angle and the coordinates of the mid point M, over a microstructural image (Figure 7.2). The ratio L /L of the length of the transect L lying in one of the microstructural constituents (e.g. ) to the entire length L of the transect will be referred to as the intercept. For a three-dimensional transect, the intercept is defined by the ratio V /VT of the volume V intercepted from one of the microstructural constituents (e.g. ) to the entire volume VT of the transect (Figure 7.2). An important characteristic of duplex structures is the distribution of the intercepts. For a duplex material containing two phases characterised by
135
Analysis of the Properties of Inhomogeneous Media S L
B
β Lβ
α
γ M
VT
A
Figure 7.2 Analysis of an inhomogeneous media using random transects
different density for example, the density distribution of the 3D-sample taken from the material will mirror the distribution of the intercepts from the microstructural constituents. A Charpy V-notch test of multi-run C–Mn welds also illustrates the importance of the transect concept. The type of microstructure in which the Charpy V-notch (transect) is located has a crucial role on the distribution of the impact energy (see Figure 4.5a).
7.2
EMPIRICAL CUMULATIVE DISTRIBUTION OF THE INTERCEPTS
The random variable X referred to as the intercepted fraction or simply intercept, which accepts values x ¼ Lc/L, where index c stands for one of the existing structural constituents ( or ), is an important tool for analysing inhomogeneous media. While the expected value E(X) of the intercept X does not depend on the size of the transect (length, area, volume), the variance of the intercept is a function of the transect size. The mean of the intercepted fraction X from one of the structural constituents, for example , associated with transects of different size L is an unbiased estimate of the areal/volume fraction of the -constituent: E(X) ¼ ; þ ¼ 1. Indeed, let the transect with size L be divided into equal very small elements Lj (L1 ¼ L2 ¼ . . . ¼ L), so small that it can be safely assumed that the probability of a particular Lj sampling the -constituent is P(Lj 2 ) (the probability that L will not sample is 1 ¼ ). Thus, each small element Lj is associated with a random variable Uj indicating whether the element samples the -constituent or not. Consequently, the variables Uj have a Bernoulli distribution defined as follows: Uj accepts ‘1’ with probability and
136
Reliability and Risk Models
‘0’ with probability . Any line transect of arbitrary size L can be divided into q sufficiently small segments with lengths L, where q ¼ L/L. Then, for a random placement of the transect in the microstructure, the random variable ‘intercepted fraction X’ can be presented as X U1 L þ U2 L þ þ Uq L ¼ ð1=qÞ Uj qL j¼1 q
X¼
ð7:1Þ
According to a well-known result from the theory of probability (see Appendix B), the expected value of a sum of random variables is equal to the sum of the expected values of the random variables irrespective of whether the variables are statistically independent or not. In fact Uj in equation (7.1) are correlated random variables because for any pair Lj and Ljþ1 of adjacent small elements, if Lj samples , Ljþ1 is also likely to sample . Since the expected value of any Uj is EðUj Þ ¼ 1 þ 0 ð1 Þ ¼ for the expected value E(X) of the intercepted fraction, the expression EðXÞ ¼ ð1=qÞ
q X j¼1
EðUj Þ ¼
q ¼ q
ð7:2Þ
is obtained. Clearly, the expected value of the intercepted fraction is equal to the areal/volume fraction of the -constituent and does not depend on the length L of the transect. The cumulative distribution function of the intercepted fraction F(x, L) and the corresponding probability density function f (x, L) ¼ @F(x, L)/@x corresponding to a specified size L of the transect are important characteristics of inhomogeneous media sampled by transects. Both functions depend on the size L of the transect. Using the probability density function f(x, L), equation (7.2) can be presented as EðXÞ ¼
Z
1
xf ðx; LÞdx ¼
ð7:3Þ
0
Only in trivial cases (e.g. randomly distributed detached spheres in matrix ) can the distribution functions F(x, L) and f(x, L) be obtained analytically (Kendall and Moran, 1963). In the general case of microstructural constituents with irregular shape, the distributions of the intercepts can only be obtained by a Monte Carlo simulation. This consists of sampling images of the microstructure
Analysis of the Properties of Inhomogeneous Media
137
Figure 7.3 Inhomogeneous lamellar eutectic composed of -phase (dark zones) and -phase (white zones)
and registering the intercepted fractions. Figure 7.3 for example is a scanned image of cast microstructure (ASM, 1985a). The lamellar eutectic contains dark zones (-phase, ¼ 0:4) and white zones (-phase, ¼ 0:6). This microstructural image has been scanned as a bitmap file and read by a computer simulation procedure (Kay, 1995; Rimmer, 1993). The longer side of the microstructural section used in the simulation contains 640 length units. A random placement of the transect is defined by three random numbers: two random coordinates of the middle point M and a random angle which the transect subtends with the horizontal axis (Figure 7.2). The pixels along the line transect were scanned using the Bresenham algorithm (Hearn and Baker, 1997; Foley et al., 1996) and the number of pixels belonging to , counted. Dividing this number by the total number of pixels composing the transect was used to determine the intercept from . Empirical cumulative distributions of the intercepts from , for different lengths of the line transect: L ¼ 80, L ¼ 20 and L ¼ 8 units, are given in Figure 7.4. With increasing the size of the transect, the probability of intercepting almost entirely or decreases. With increasing transect size, the probability of intercepting fractions far from the mean areal/volume fraction decreases, while the probability of intercepting fractions close to the mean areal/volume fraction increases. In other words, for large transects, the probability density function of the intercepts from peaks at and large-size transects are associated with large values of the probability density function at . This has been illustrated in Figure 7.5.
138
Reliability and Risk Models 1.0 0.9 0.8
Probability
0.7 0.6 0.5 L=8
0.4 0.3
L = 20 L = 80
0.2 0.1
x1
0.0 0.0
0.1
x2
B
0.2 0.3 0.4 0.5 0.6 0.7 0.8 Intercepted fraction from β, x = Lβ /L
0.9
1.0
Figure 7.4 Empirical cumulative distributions of the intercepts from , for different lengths of the line transect
L4 > L3 > L2 > L1 L4
L3 L2 L1 0
ξβ
1
Intercept, Lβ /L
Figure 7.5 With increasing the size of the transect, the probability density distribution of the intercept from -constituent peaks at
139
Analysis of the Properties of Inhomogeneous Media
Suppose for example, that intercepting a critical amount x1 by the transect compromises (causes a significant decrease in) the property value. Such is the case with the toughness of a specimen cut from duplex material containing brittle particles which initiate cleavage fracture easily. The computer simulation result in Figure 7.4 shows that although the probability that a small transect will sample a large amount of is significant, small transects are associated with a smaller probability of ‘compromised toughness’ because the probability P(x x1) is larger (Figure 7.4). Next, suppose that the property value is compromised substantially only if the transect intercepts a relatively large critical amount x2 (Figure 7.4). This is for example the case where the yield strength of a specimen cut from duplex material containing hard and soft constituents is compromised if too much soft constituent has been sampled. As can be verified from Figure 7.4, the small-size transects are now associated with larger probability of intercepting large fractions of and compromised yield strength. Since the distribution of properties is significantly affected by the distribution of intercepts, the empirical cumulative distribution of the intercepts is an important fingerprint of inhomogeneous structures and contains valuable information regarding the risk of poor properties.
7.3
INTERCEPT VARIANCE
Another important characteristic of inhomogeneous media is the variance of the intercepted fraction denoted by Vc (X, L), (c 2 f, g). The variance is a function of the size of the transect and for a transect of particular size L, it is defined by the integral: Vc ðX; LÞ ¼
Z
1
2
f ðx; LÞ½x c dx ¼ 0
Z
1 0
x2 f ðx; LÞdx c2
ð7:4Þ
obtained using the well-known formula for a variance of a random variable side of equation (7.4) X: V(X) ¼ E(X2) [E(X)]2. The integral in the right-hand R1 is the expected value of the squared intercept: 0 x2 f (x, L)dx ¼ E(X 2 ). For a transect of zero size (L ¼ 0) which consists of a single point, the probability density distribution f(x, 0) of the intercept X from -phase for example, is the discrete Bernoulli distribution with parameter , i.e. the intercepted fraction is ‘1’ with probability and ‘0’, with probability 1 . The variance of the intercepted fraction X from , then becomes V ðXÞ ¼ EðX 2 Þ ½EðXÞ2 ¼ 2 ¼
ð7:5Þ
because E(X) ¼ 1 þ 0 ¼ and E(X 2 ) ¼ 12 þ 02 ¼ .
140
Reliability and Risk Models
For an infinitely large transect L and a random microstructure with no anisotropy, the transect intercepts a constant fraction x ¼ c and the variance Vc (X, L) in equation (7.4) becomes zero. The relationship between the variance of the intercepted fraction and the size L of the transect (Figure 7.6) is an important fingerprint of inhomogeneous microstructures. If, for example, a variance of the intercept smaller than a particular threshold (e.g. Vth ¼ 0.04 in Figure 7.6) causes a negligible variation in the property value, the material behaves as if quasi-homogeneous. Whether the material will behave as if quasi-homogeneous or inhomogeneous depends on the size of the transect. The intersection of the horizontal line corresponding to the variance threshold Vth with the graph of the intercept variance defines a limiting transect size Lth (Figure 7.6). Accordingly, the same media sampled with transects larger or smaller than Lth may behave as if ‘quasi-homogeneous’ or ‘inhomogeneous’. Thus, the variances of the intercepts characterising the different transect lengths (L ¼ 80, L ¼ 20 and L ¼ 8) in Figure 7.4 are 0.029, 0.073 respectively. They were calculated from P and 0.144, 2 V ¼ (1/N) N (x ) , where N is the number of trials (6000 in the simulai i¼1 tion), xi is the intercept from in the ith random placement of the transect, ¼ 0:4 is the areal/volume fraction of the -constituent which is also the mean of all intercepts xi. An important characteristic of the intercept variance is the ratio V/L (Figure 7.6) which measures the change of the intercept variance per specified transect size. The ratio is negative because the intercept variance decreases monotonically with increasing size of the transect. If the intercept 0.30 Intercept variance, Vα ξα ξβ
0.25 0.20
Inhomogeneous domain 0.15 0.10 Vth = 0.04
0.05
Quasi-homogeneous domain 0.00
0
5
Lth
10 15 20 25 30 35 40 45 50 55 60 65 70 Transect size L, units
Figure 7.6 Dependence of the intercept variance on the size of the transect (Todinov, 2002b)
141
Analysis of the Properties of Inhomogeneous Media
variance decreases quickly with increasing transect size, relatively small transect sizes are sufficient to ‘stabilise’ the intercept variance at a low level, which guarantees consistent intercept and property values. Such a variation of the intercept variance is typical for fine-grained duplex structures (Figure 7.7). Conversely, if the intercept variance decreases slowly with increasing size of the transect, large transects are necessary to stabilise the intercept variance at a low level and attain stable property values. Such a variation of the intercept variance is typical for coarse-grained duplex structures. Consequently, the graph of the intercept variance has an important application: in determining the minimum size of the sampler which stabilises the variation of the intercept (and the associated property) at low values. The intercept variance from sampling any inhomogeneous microstructure varies between the intercept variance of an ideal fine-dispersed structure (Figure 7.7, the vertical line A) and an ideal coarse-grained structure (Figure 7.7, the horizontal line B). Intercept variance curves of fine-grained structures are shifted towards the vertical line A, where very small transect sizes stabilise the intercept variance at a low level. Conversely, intercept variance curves characterising coarse-grained structures are shifted towards the horizontal line B, where relatively large transect sizes are needed to stabilise the intercept variance at a low level. With increasing size of the transect, the intercept variance decreases monotonically from to 0, because larger transects are characterised by a smaller variance of the intercepted fraction. The intercept variance can never exceed the
Intercept variance, V (x) Vmax = 0.25 ξα ξβ B Fine duplex structure
Coarse duplex structure
A 0 Transect size, L
Figure 7.7 Variation of the intercept variance with the transect size for fine and coarse duplex structures
142
Reliability and Risk Models
value and since the maximum of ¼ (1 ) is attained for ¼ 0:5, for any type of duplex structure, the intercept variance cannot exceed the absolute upper bound Vmax ¼ 0.25 (Figure 7.7). This is obtained for a transect of zero length, sampling a duplex microstructure for which 0:5 (Todinov, 2002b). Although all transect sizes yield unbiased estimates of the volume fraction of the microstructural constituents, the estimates from larger transects are characterised by smaller errors. Consequently, the common division: a ‘quasihomogeneous’ or ‘inhomogeneous’ structure is conditional. For a small size of the transect, a ‘fine-grained’ structure can be characterised by a scatter typical for a coarse-grained structure. Conversely, a coarse inhomogeneous structure, if sampled by a large transect, can be characterised by a very small scatter of properties, typical for fine-grained inhomogeneous structures. An important potential application of the concept ‘intercept variance’ is the topological optimisation of the microstructure where the distribution and the shape of the second microstructural constituent are varied until the intercept variance is minimised. In another example of a topological optimisation, a particular distribution of the second microstructural constituent may be sought which minimises the probability that a random transect of specified size will sample more than a certain fraction from the weaker constituent.
7.4
LOWER TAIL OF MATERIAL PROPERTIES, MONOTONICALLY DEPENDENT ON THE AMOUNT OF THE INTERCEPTED FRACTION
Efficient probability bounds of the property values can be obtained if the property y (e.g. density) is solely determined by the amount x of the intercepted quantity from one of the constituents. In this case, the property value y can be expressed by a functional relationship y(x). Although this functional relationship is usually unknown, it can be shown that provided that y(x) is monotonic, efficient probability bounds can be constructed regarding the property under certain conditions. The probability bounds are determined using estimates of the expected order statistics of the intercepts and estimates of the expected order statistics of the property, obtained from a relatively small number of data sets. The expected order statistics of the intercepts can for example be obtained by sampling images of the microstructure. Assume that estimates y1 < y2 < . . . < yn of n expected order statistics of the property are available from m ordered data sets, eachP consisting of n measurements/samples. Each value yr is an average yr ¼ (1/m) m j¼1 yj, r , r ¼ 1, n of the values with the same rank in the m data sets:
Analysis of the Properties of Inhomogeneous Media
143
y1;1 < y1;2 < . . . < y1;n y2;1 < y2;2 < . . . < y2;n ym;1 < ym;2 < . . . < ym;n The estimates of the expected order statistics x1 < x2 < . . . < xn of the intercepts PQ are formed in a similar fashion: each value xr is an average xr ¼ (1/Q) j¼1 xj, r , r ¼ 1, n of the values with the same rank in Q ordered sets of intercepts (Q m): x1;1 < x1;2 < . . . < x1;n x2;1 < x2;2 < . . . < x2;n xQ;1 < xQ;2 < . . . < xQ;n Each data set of intercepts consists of n random placements of the transect in the inhomogeneous media. It can be shown that if the variance of the order statistic xr of the intercepts is relatively small, the probability that the property Y will be smaller than the corresponding expected order statistics yr is approximately equal to the probability that the intercept X will be smaller than the expected order statistic xr of the intercepts, i.e. PðY yr Þ PðX xr Þ
ð7:6Þ
xr X xs Þ Pð yr Y ys Þ Pð
ð7:7Þ
and also
where r and s stand for the indices of any two order statistics with small intercept variances (Figure 7.8) (Todinov, 2002b). If the variance of the expected order statistic xr of the intercepts is large, however, relationship (7.6) is no longer valid. The expected order statistics of the intercepts can be obtained directly from Monte Carlo simulations. The first step is to ensure by a Monte Carlo simulation that the expected order statistic xr of the intercepts that has been selected is characterised by a small variance. If this is the case, relationship (7.6) is valid. Accordingly, the probability that the property will lie between two expected order statistics yr and ys whose corresponding expected intercept order statistics xr and xs are characterised by small variances, can be determined from relationship (7.7) (Figure 7.8).
144
Reliability and Risk Models Property, y y3 y2
y1 Intercept, x x1
x2
x3
Figure 7.8 Distributions of the order statistics of properties and the order statistics of intercepts for a monotonically increasing function y(x)
One of the advantages of the proposed approach is that the probability bounds of the property are determined without prior knowledge of the functional relationship between the property and the intercepts from the structural constituents. A large number of properties vary monotonically with the intercept from one of the structural constituents. The proposed model can be applied whenever the investigated property depends monotonically on the intercept from one of the structural constituents, and the expected order statistic of the intercepts is characterised by a small variance. No assumptions of a probability distribution function regarding the property are needed, which is a significant advantage compared to other methods. The method can also be applied for single-phase microstructures whose grain size varies substantially. Suppose that the investigated property depends monotonically on the number of intercepted grains W by the transect. Then, if the 1 < w 2 < . . . of the expected order statistics of the number of interestimates w cepted grains are built and also the corresponding estimates y1 < y2 < . . . of the expected order statistics of the investigated property, equations (7.6) and (7.7) will hold if the expected order statistics of the number of intercepted grains are characterised by small variances. The probability P(Y yr ) that the property will be smaller than its rth expected order statistic yr is approximately equal to the probability that the number of intercepted grains W will be smaller than its r : P(Y yr ) P(W w r ). rth expected order statistic w
8 Mechanisms of Failure Following Dasgupta and Pecht (1991), the mechanisms of failure can be divided broadly into two categories: 1. Overstress failures: (i) brittle fracture, (ii) ductile fracture, (iii) yield, (iv) buckling, etc. 2. Wear-out failures: (i) fatigue, (ii) corrosion, (iii) stress-corrosion cracking, (iii) wear, (iv) creep, etc. Overstress failures occur when load exceeds strength. If load is smaller than strength, the load has no permanent effect on the component. Conversely, wear-out failures are characterised by damage which accumulates irreversibly and does not disappear when the load is removed. Once the damage tolerance limit is reached, the component fails (Blischke and Murthy, 2000). Here are some of the most important failure mechanisms.
8.1 8.1.1
OVERSTRESS FAILURES BRITTLE FRACTURE
Brittle fracture is associated with initiation of an unstable crack by cracking or decohesion of particles. Some of these are inclusions but in other cases they may be an integral part of the microstructure. Under overstress, a high stress concentration can occur at these microflaws which results in a nucleation and sudden propagation of cracks. Cleavage fracture is the most common type of brittle fracture. It is associated with a relatively small plastic zone ahead of the crack tip and consequently, with a relatively small amount of energy needed
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
146
Reliability and Risk Models
for crack propagation. The very small amount of plastic deformation is indicated by the featureless, flat fracture surface. Due to the lack of plastic deformation, no blunting of the sharp cracks occurs and the local stress ahead of the crack tip can reach very high values which are sufficient to break apart the interatomic bonds (Ashby and Jones, 2000). As a result, the crack spreads between a pair of atomic planes yielding a flat cleavage surface. The stressintensity factor is an important measure of the magnitude of the crack-tip stress field. It depends on the geometry of the cracked component and the load configuration. For a tensile mode of loading (mode I) of a surface crack, where the crack surfaces move directly apart (Dowling, 1999), the stress intensity factor is pffiffiffiffiffiffi KI ¼ Y a
ð8:1Þ
where Y 1.1 is a calibration factor, is the tensile stress far from the crack, and a is the crack length. The critical value KIc of the stress-intensity factor that would cause fracture is the fracture toughness of the material. Fracture toughness is to the stress-intensity factor what the strength is to stress (Hertzberg, 1996). Given that a surface crack of length a is present, pffiffiffiffiffiffi in order to prevent failure, the design stress must be smaller than KIc /[Y a]. If the material has already been selected, for example because of its high strength and light weight, and the stress fixed at a high level, in order to prevent fracture, the maximum allowable crack size must be (1/)(KIc /Y)2 (Hertzberg, 1996). When the crack advances, it produces an increase of the surface area of the sides of the crack, a process which requires energy to break apart the interatomic bonds. The source of this energy is the elastic strain energy as the crack propagates. Griffith (1920) first established a criterion for the crack propagation which states that the crack will propagate when the decrease in elastic strain energy is greater than the energy required to create a new crack surface (Hertzberg, 1996; Ashby and Jones, 2000). Typically, brittle fracture occurs in a transgranular manner. In cases where the grain boundaries are weak, however (containing for example a brittle film of segregated elements), the brittle crack can also propagate in an intergranular manner. Fractographic studies suggest that cleavage in steels usually propagates from cracked inclusions (Rosenfield, 1997; McMahon and Cohen, 1965). Cleavage usually involves plastic deformation to produce dislocation pile-ups and crack initiation from a particle which has cracked during the plastic deformation. The type of particles has a strong influence on the probability of brittle fracture initiation. Due to tensile tessellation stresses for example, alumina or siliconbased inclusions are more likely to become initiators of brittle fracture or fatigue cracks, compared to sulphide inclusions of the same diameter and number (Murakami et al., 1989; Murakami and Usuki, 1989). Brooksbank and Andrews (1972) pointed out that the stresses in the matrix are considerably
Mechanisms of Failure
147
lower around duplex oxide–sulphide inclusions compared to single-phase oxide inclusions. The reason is the sulphide cover of the inclusions which provides a compensating layer during thermal contraction. Consequently, the association of sulphides with oxides reduces the probability of cleavage crack initiation. One of the criteria that must be satisfied for a cleavage to be triggered is a sufficiently large local peak of the tensile stress (Wallin et al., 1984). The volume where triggering of cleavage is possible is relatively small; it samples a small number of particles and, as pointed out by Rosenfield (1997), statistical methods are needed to describe the initiation of brittle fracture.
8.1.2
DUCTILE FRACTURE
Unlike brittle fracture, ductile fracture is accompanied by extensive plastic deformation. Ductile fracture in tension is usually preceded by a localised reduction in diameter called necking. Very ductile metals may draw down to a point before separation. Large plastic deformation is also associated with the region of the crack tip. Indeed, the crack has the effect of concentrating the local stress. At a certain distance from the crack tip, the stress reaches the yield strength of the material and plastic flow occurs which forms a plastic zone. As the yield stress of the material increases, the size of the plastic zone decreases. Consequently, cracks in soft metals have large plastic zones as opposed to cracks in hard metals or ceramics whose plastic zones are small. Ductile fracture occurs by nucleation and growth of microvoids ahead of the crack tip. These nucleate heterogeneously, at sites where compatibility of deformation is difficult. The preferred sites for void formation are inclusions or second-phase particles. In high-purity metals, voids can form at grain boundary triple points. As the microvoids link up, the crack advances by ductile tearing. A crack growth occurring by ductile tearing consumes a significant amount of energy by plastic flow, and ductile fracture is associated with a considerable amount of absorbed energy. A bigger plastic zone is associated with a larger amount of absorbed energy and plastic deformation during crack extension. The significant amount of plastic deformation during crack extension is indicated by a rough fracture surface.
8.1.3
DUCTILE-TO-BRITTLE TRANSITION REGION
Several factors contribute to a cleavage-type fracture: (i) low temperature, (ii) a triaxial state of stress and (iii) a rapid rate of loading. The combination of a low temperature and a triaxial stress state in the vicinity of a stress raiser is responsible for a large number of service failures. Since the effect of the low
148
Reliability and Risk Models
temperature and the stress raiser is increased by a high rate of loading, mechanical tests such as the Charpy V-notch impact test have been devised to determine the susceptibility of materials to cleavage fracture. Charpy specimens have a square cross-section (10 10 mm) and contain a 45 notch, 2 mm deep, with a 0.25 mm root radius. A Charpy specimen is supported as a beam in a horizontal position and loaded behind the notch by the impact of a swinging pendulum. As indicated by the experimental scatter plot in Figure 4.2, there exists a strong positive correlation between the absorbed impact energy and the percentage of ductile fracture on the fracture surface of specimens taken from C–Mn welds. A large number of metals and alloys (e.g. weld steels) have impact toughness varying over a range of temperatures known also as the ductile-to-brittle transition region (Hertzberg, 1996; ASM, 1985b). The transition region is the controlling factor in selecting a material with low tendency to brittle failure. Accordingly, materials with low transition temperature are to be preferred. With decreasing temperature, the absorbed impact energy varies in a sigmoidal fashion starting from a relatively constant large value (upper shelf), decreasing sharply in the transition region and levelling off at a relatively constant small value (lower shelf) (Figure 8.1). As a result, even a normally ductile mild steel can become brittle.
Upper shelf (ductile fracture)
Charpy impact energy (J) 140 120 100 Transition region (cleavage + ductile fracture)
80 60 40 20 0
0
100 Lower shelf (brittle fracture)
200
300
400
500
Temperature (K)
Figure 8.1 Ductile-to-brittle transition region for multi-run C–Mn welds (Todinov et al., 2000)
149
Mechanisms of Failure
Clearly, impact energy variation is due to the progressive change in the microscopic fracture mechanism from void nucleation, growth and coalescence, absorbing a large amount of energy, to cleavage fracture which absorbs a small amount of energy.
8.1.4
YIELDING
The yield strength is the stress required to produce a small specified amount of plastic deformation (Dieter, 1986). Stressing a component beyond its yield strength results in a permanent plastic deformation which, in most of the cases, constitutes failure. This is the reason why the yield strength is an important design parameter. Plastic deformation is closely associated with the shear stresses. For a triaxial stress state, von Mises theory states that yielding would occur when the equivalent stress e given by pffiffiffi h i1/2 2 ð1 2 Þ2 þ ð2 3 Þ2 þ ð3 1 Þ2 e ¼ 2
ð8:2Þ
exceeds the yield strength from a uniaxial tensile test. In equation (8.2), 1 , 2 and 3 are the principal normal stresses. The von Mises yield criterion implies that yielding is a function of all three values of the principal shear stresses and is independent of the hydrostatic component of the stress. The Treska theory states that yielding is taking place when the maximum shear stress max ¼
1 3 2
ð8:3Þ
where 1 and 3 are the largest and the smallest normal principal stresses, exceeds the shear strength associated with yielding in the uniaxial tension test. Both criteria are widely used to predict yielding of ductile materials and both of them indicate that hydrostatic stress does not affect yielding. For various stress states, the differences in the predictions from the two criteria do not exceed about 15% (Dowling, 1999).
8.2 8.2.1
WEAR-OUT FAILURES FATIGUE FAILURES
Fatigue failures are often associated with components experiencing cyclic stresses or strains which produce permanent damage. This accumulates until
150
Reliability and Risk Models
it develops into a crack which propagates and leads to failure. The process of damage and failure due to cyclic loading is called fatigue. A comprehensive discussion regarding the different factors affecting the fatigue life of components can be found in Hertzberg (1996). Usually, the fatigue life of machine components is a sum of a fatigue crack initiation life and life for fatigue crack propagation. Various probabilistic models have been devised to describe these stages (Bogdanoff and Kozin, 1985; Tryon and Cruse, 1997; Ortiz and Kiremidjian, 1988; Cox, 1989). The fatigue life of cast aluminium components and powder metallurgy alloys, for example, is strongly dependent on the initiating defects (e.g. pores, pits, cavities, inclusions, oxide films). Large pores can be regarded as ready fatigue cracks (Murakami et al., 1989; Murakami and Usuki, 1989). It has been reported (Ting and Lawrence, 1993) that in a cast aluminium alloy the dominant fatigue cracks (the cracks which caused fatigue failure) initiated from nearsurface casting pores in polished specimens or from cast-surface texture discontinuities in as-cast specimens. For fatigue cracks emanating from casting pores the nucleation life was almost non-existent (Ting and Lawrence, 1993). The crack growth rate da/dN is commonly estimated from the Paris– Erdogan power law (Hertzberg, 1996): da=dN ¼ C K m
ð8:4Þ
From equation (8.4) the fatigue life N can be estimated from the integral: N¼
Z
af
ai
da CðKÞm
ð8:5Þ
where C and m are material constants and K is the stress intensity factor range. The integration limits ai and af are the initial and final fatigue crack length. The fatigue crack growth rate increases with increasing the crack length. Most of the loading cycles are expended on the early stage of crack extension when the crack is small. During the late stages of fatigue crack propagation a relatively small number of cycles is sufficient to extend the crack until failure. This is the reason why fatigue life is so sensitive to the initial length ai of the initiating flaws. During fatigue life predictions, the distribution of the initial lengths of the fatigue cracks is commonly assumed to be the size distribution of the surface (subsurface) discontinuities and pores. It is implicitly assumed that the probability of fatigue crack initiation on a particular defect is equal to the probability of its existence in the stressed volume. This assumption, however, leads to overly conservative predictions for the fatigue life. A more refined approach
Mechanisms of Failure
151
should include an assessment of the probability with which the defects in the material initiate fatigue cracks (Todinov, 2001c). Sharp notches in components result in a high stress concentration which reduces the fatigue life and promotes early fatigue failures. Such are the sharp corners, keyways, holes, abrupt changes in cross-sections, etc. Fatigue cracks on rotating shafts often originate in badly machined fillet radii. Fillet radii may seem insignificant, but they are critical reliability elements and their manufacturing quality should always be checked (Thompson, 1999). Fatigue crack initiation is also promoted at the grooves and the microcrevices of rough surfaces. These can be removed if appropriate treatment (grinding, honing and polishing) is prescribed (Ohring, 1995). Fatigue failures can be significantly reduced if the development of a fatigue crack is delayed by introducing compressive residual stresses at the surface (see Chapter 13). Such a compressive stress causes a crack closure which substantially delays the crack initiation and decreases the rate of crack propagation. One of the reasons is that the compressive stress subtracts from the loading stress and results in a smaller effective stress. Eliminating low-strength surfaces can significantly reduce early-life failures due to rapid fatigue or wear. This can be achieved by: .
eliminating soft decarburised surface after austenitisation of steels; eliminating surface discontinuities, folds and pores; . eliminating structure with large grains at the surface; . strengthening the surface layers by surface hardening, carburising, nitriding and deposition of hard coatings (Budinski, 1996). For example, TiC, TiN and Al2O3 coatings delay substantially tool wear. Early-life failures due to rapid wear can be substantially reduced by specifying appropriate lubricants. These create interfacial incompressible films that keep the surfaces from contacting. .
8.2.2
FAILURES DUE TO CORROSION AND EROSION
A material with low corrosion or erosion resistance, selected for equipment working in aggressive environments (large environmental stresses), will promote early wear-out failures. Interfaces operating in sea water including incompatible metals, far apart in the galvanic series, can promote rapid galvanic corrosion. In many cases pitting occurs which is a particularly insidious form of corrosion. The component may be lost due to corrosion of a small amount of metal causing perforation through the thickness of the component (Budinski, 1996). Austenitic stainless steels for example, are particularly prone to pitting attack in salt water. Crevice corrosion may occur in poorly gasketed pipe flanges and under bolt heads. Similar to pitting, crevice corrosion can be very destructive because of the localised damage.
152
Reliability and Risk Models
Stress corrosion cracking (SCC) and hydrogen embrittlement (HE) collectively referred to as environment-assisted cracking (EAC) are responsible for a substantial number of field failures. Stress corrosion cracking, for example, is a spontaneous corrosion-induced cracking under static stress. Some materials which are practically inert in a particular corrosive environment become susceptible to corrosion cracking when stress is applied. The stress promoting stress corrosion cracking may not necessarily originate from external loading. It can also be due to the combined action of residual or thermal stresses and the corrosive environment. Aluminium alloys, for example, are prone to stress corrosion cracking in chloride solutions. Hydrogen embrittlement refers to the phenomenon where certain metal alloys experience a significant reduction in ductility when atomic hydrogen penetrates into the material. During welding, hydrogen can diffuse into the base plate while it is hot. Subsequently, embrittlement may occur upon cooling, by a process referred to as cold cracking in the heat-affected zone of the weld (Hertzberg, 1996). Hydrogen can also be generated from localised galvanic cells where the sacrificial coating corrodes: during pickling of steels in sulphuric acid and during electroplating. The atomic hydrogen diffuses into the metal substrate and causes embrittlement. Increasing strength tends to enhance the material’s susceptibility to hydrogen embrittlement. High-strength steels, for example, are particularly susceptible to hydrogen embrittlement. The poor design of the flow paths of fluids containing abrasive material also promotes rapid erosion and failures. A proper material selection and design can significantly minimise the effect of corrosion. Structural design features promoting rapid corrosion and erosion should be avoided (Mattson, 1989). Factors which promote failures due to rapid corrosion are, for example, the lack of crevice control (e.g. joints or gaskets that can accommodate the corrodent); creating interfaces working in aggressive environments with metals far apart in the galvanic series; lack of cathodic protection and corrosion allowance. A design based on a lower than the actual temperature may promote rapid anode wastage, decreased cathodic protection and early wear-out failure due to rapid corrosion. Often material processing during manufacturing and assembly decreases corrosion resistance. For example, the corrosion resistance of welded duplex or super duplex steels decreases significantly in the area of the heataffected zone of the weld. Designs associated with high static tensile stresses promote stress corrosion cracking. An efficient prevention technique is consulting corrosion databases in order to avoid environment–material combinations promoting rapid corrosion. Proper protective coatings, heat treatment, diffusion treatment and surface finish can substantially decrease the corrosion rate. A number of design solutions preventing corrosion are discussed in Budinski (1996).
Mechanisms of Failure
8.3
153
EARLY-LIFE FAILURES
Early-life failures occur within a very short period from the start of the design life of the installed equipment. Because they usually occur during the payback period and are also associated with substantial losses due to warranty payments, they have a strong negative impact on the financial revenue. Early-life failures also result in loss of reputation and market share. Early-life failures are usually caused by: . . . . . . .
Poor design Defects in the material from processing Defects from manufacturing Inadequate materials Poor inspection and quality control Misassembly, poor workmanship and mishandling Human errors.
Most of the early-life failures are overstress failures which occur during the infant mortality region of the bathtub curve. They are often caused by inherent defects in the system due to poor design, manufacturing and assembly. Human errors during design, manufacturing, installation and operation account for a significant number of early-life failures. Some of the causes for these errors are: (i) lack of training, and experience; (ii) time pressure and stress; (iii) overload and fatigue; (iv) unfamiliarity with the equipment, and the necessary procedures; (v) poor discipline, housekeeping and safety culture; (vi) poor communication between designers, manufacturers and installers; lack of feedback and interaction between teams and individuals; (vii) poor management of the interaction between teams working on the same project; (viii) poor specifications, documentation and procedures.
8.3.1
INFLUENCE OF THE DESIGN ON EARLY-LIFE FAILURES
Inadequate design is one of the most common reasons for early-life failures. Poor knowledge and underestimation of the dynamic environmental loads the equipment is likely to experience and the associated stress magnitudes result in designs prone to early-life failures. A common design error is the underestimation of the actual load/stress magnitude the equipment is likely to experience in service. For example, underestimating the working pressure and temperature may cause an early-life failure of a seal and a release of harmful chemicals into the environment. An early-life failure of a critical component may also be caused by unanticipated eccentric loads due to weight of additional components or by high-amplitude thermal stresses during start-up regimes. Early-life failures are also promoted by failure to account in the design for the extra loads
154
Reliability and Risk Models
during assembly. Installation loads are often the largest loads a component is ever likely to experience. Triaxial tensile loading stress states contribute to early-life failures. One of the reasons is that the triaxial tensile stress state is associated with large normal opening tensile stresses on the crack flanks, the magnitude of which is large irrespective of the crack orientation. For loading associated with one or more normal principal compressive stresses for example, only for particular orientations will the crack be unstable. Loading leading to stress tensors with three principal tensile stresses should be avoided in design where possible. The volumes where such stress tensors are present should be reduced in order to reduce the probability that a crack-like flaw will reside inside. Loading characterised by a stress tensor with one tensile and two compressive principal stresses for example is preferable to loading characterised by two tensile and one compressive principal stress. In order to improve the reliability of the products, design analysis methods such as FMEA (failure mode and effect analysis) (MIL-STD-1629A, 1977) and its extension FMECA (failure modes, effects and criticality analysis) including criticality analysis can be used (Andrews and Moss, 2002). These ensure that as many as possible potential failure modes have been identified and their effect on the system performance assessed. The objective is to identify critical areas where design modifications can reduce the consequences of failure (Thompson, 1999). Probabilistic design methods (Haugen, 1980; Christensen and Baker, 1982; Ang and Tang, 1975) based on the distributions of critical design parameters can also be used to assess the probability of unfavourable combinations of parameter values which will result in early-life failures. Designs should be robust. This means that the performance characteristics should be insensitive to variations in the manufacturing process, operating conditions and environment (Lewis, 1996). Various examples of designs insensitive to variations of the critical design parameters are discussed in Ross 1988. Operation outside the design specifications is also a major contributor to early-life failures. Early-life failures caused by inadequate operating procedures can be reduced significantly by implementing mistake proofing (Poka Yoke) devices into the systems, which eliminate the possibility of violating the correct procedures, especially during assembly.
8.3.2
INFLUENCE OF THE VARIABILITY OF CRITICAL DESIGN PARAMETERS ON EARLY-LIFE FAILURES
An important factor promoting early-life failures is the variability associated with critical design parameters (e.g. material properties and dimensions) which leads to variability associated with the strength. Material properties such as
Mechanisms of Failure
155
(i) yield stress; (ii) static fracture toughness; (iii) fatigue resistance; (iv) modulus of elasticity and elastic limit; (v) shear modulus; (vi) percentage elongation and (vii) density, are often critical design parameters. Which of the material properties are relevant depends on the failure mode. Material properties depend on the materials processing and manufacturing and are characterised by a large variability. Often, defects and unwanted inhomogeneity are the source of variability. Residual stress magnitudes are also characterised by a large variation. Strength variability caused by production variability and variability of material properties is one of the major reasons for an increased interference of the strength distribution and the load distribution which promotes overstress early-life failures. A heavy lower tail of the mechanical property distributions usually yields a heavy lower tail of the strength distribution thus promoting early-life failures. Low values of the material properties exert stronger influence on reliability than do high or intermediate values. An important way of reducing the lower tail of the material properties distribution is the high-stress burn-in. The result is a substantial decrease of the strength variability and increased reliability on demand due to a smaller interference of the strength distribution and the load distribution. Defects like shrinkage pores, sand particles and entrained oxides from casting, microcracks from heat treatment and oxide inclusions from material processing are preferred sites for early fatigue crack initiation leading to early fatigue failure. These flaws are also preferred sites for initiating fracture during an overstress loading. Segregation of impurities along the grain boundaries significantly reduces the local fracture toughness and promotes intergranular brittle fracture. Impurities like sulphide stringers for example cause a reduced corrosion resistance and anisotropy in the fracture toughness and ductility. Early-life failures caused by lamellar tearing beneath welds, longitudinal splitting of wire, increased susceptibility to pitting corrosion can all be attributed to anisotropy. Quenching and tempering which result in tensile residual stresses at the surface also promote early fatigue failures. Most of the failures occurring early in life are quality failures due to the presence of substandard items which find their way into the final products because of deficient quality assurance procedures. Production variabilities during manufacturing, not guaranteeing the specified tolerances or introducing flaws in the manufactured product, lead to early-life failures. Depending on the supplier, the same component of the same material manufactured to the same specification is usually characterised by different properties. Between suppliers, variation exists even if the variations of property values characterising the individual suppliers are small (see Chapter 3). A possible way of reducing the ‘between-suppliers variation’ is to use only the supplier producing items with the smallest variation of properties. Furthermore, due to the inherent variability of the manufacturing process, even items produced by the same manufacturer can be characterised by
156
Reliability and Risk Models
different properties. The ‘within-supplier variation’ can be reduced significantly by a better control of the manufacturing process, more precise tools, production and control equipment, specifications, instructions, inspection and quality control procedures. The manufacturing process, if not tightly controlled, can be the largest contributor to early-life failures. Because of the natural variation of critical design parameters, early-life failures are often due to unfavourable combinations of values (e.g. worst case tolerance stacks) rather than due to particular production defects. A comprehensive discussion related to the effect of the dimensional variability on reliability of the products can be found in Booker et al. (2001) and Haugen (1980). Since variability is a source of unreliability (Carter, 1997), a particularly important factor reducing significantly early-life failures is the manufacturing process control. Process control based on computerised manufacturing processes significantly reduces the variation of properties. Process control charts monitoring the variations of the output parameters, statistical quality control and statistical techniques are important tools for reducing the amount of defective components (Montgomery et al., 2001). Another important way of decreasing early-life failures is adopting the sixsigma quality philosophy (Harry and Lawson, 1992), based on production with very small number of defective items (zero defect levels). Modern electronic systems, in particular, include a large number of components. For the sake of simplicity, suppose that a complex system is composed of N identical components, arranged logically in series. If the required system reliability is Rs ¼ RN 0 , the reliability of a single component should be R0 ¼ (Rs)1/N. Clearly, with increasing the number of components N, the reliability R0 required from the separate components to guarantee the specified reliability Rs for the system approaches unity. In other words, in order to guarantee the required reliability Rs for a complex system, the number of defective components must be very small. Adopting a six-sigma process guarantees no more than two defective components out of a billion manufactured, and this is important philosophy for eliminating early-life failures in complex systems. A substantial amount of early-life failures are due to misassembly, which often introduces additional stresses not considered during design. Misalignment of components creates extra loads, susceptibility to vibrations, excessive centrifugal forces on rotating shafts, and larger stress amplitudes leading to early fatigue. Misassembly and mishandling often cause excessive yield and deformation or a breakdown of protective coatings, which promotes rapid corrosion. Furthermore, interfaces are rarely manufactured to the same standards as the components involved. As a result, interfaces are often weak links in the chain and their reliability limits the overall reliability of the assembly. Inspection and quality control techniques are important means of weeding out substandard components before they can initiate an early-life failure.
Mechanisms of Failure
157
Examples of inspection and quality control activities which help reduce earlylife failures are: .
Checking for the integrity of protective coatings and whether the corrosion protection provided by the cathodic potential is adequate. . Using non-destructive inspection techniques such as the ultrasonic inspection technique for testing components and welds for the presence of cracks and other flaws. . Inspection for water ingress in underwater installations. . Inspection for excessive elastic and plastic deformation. Finally, early-life failures can also be reduced by applying highly accelerated stress screens (HASS) which reduce the infant mortality hazard rate by removing faulty items (Hobbs, 2000).
9 Overstress Reliability Integral and Damage Factorisation Law
9.1
RELIABILITY ASSOCIATED WITH OVERSTRESS FAILURE MECHANISMS
According to the discussion in Chapter 8, overstress failures occur if load exceeds strength. If load is smaller than strength, the load has no permanent effect on the component. In this section, an integral will be presented related to reliability associated with all overstress failure mechanisms. Suppose that a random load characterised by a cumulative distribution function F(x) has been applied a number of times during a finite time interval with length t, and the times of load applications follow a homogeneous Poisson process with intensity . If the strength is described by a probability density distribution fS(x), the probability R of surviving n load applications is given by the classical load–strength interference model: R¼
Z
Smax Smin
F nL ðxÞfS ðxÞdx
ð9:1Þ
where Smin and Smax are the lower and the upper limit of strength. The probability of no failure (reliability) associated with the finite time interval with length t can be calculated from the following probabilistic argument. According to the total probability theorem, the probability of no failure is a
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
160
Reliability and Risk Models
sum of the probabilities of the following mutually exclusive and exhaustive events: the probability of no failure if no load has been applied during the time interval of length t, the probability of no failure associated with exactly one, two, three, . . . , k load applications, etc. Because the probability of k load applications during the time interval 0, t is given by the Poisson distribution f (k) ¼ (t)k exp (t)/k!, where t is the mean number of load applications in the finite time interval with length t, the probability of no failure or the reliability associated with time t is RðtÞ ¼ expðtÞ 1 þ t
Z
Smax
FL ðxÞfS ðxÞdx Smin
ðtÞ2 þ 2!
Z
Smax
Smin
! FL2 ðxÞfS ðxÞdx þ
ð9:2Þ
Equation (9.2) can be presented as Z RðtÞ ¼ expðtÞ
Smax
fS ðxÞdx½ðtFL ðxÞÞ0 þ ðtFL ðxÞÞ1 =1! Smin 2 þ ðtFL ðxÞÞ =2! þ . . .
ð9:3Þ
which simplifies to RðtÞ ¼ expðtÞ
Z
Smax
fS ðxÞdx exp½tFL ðxÞ
ð9:4Þ
Smin
Finally, RðtÞ ¼
Z
Smax
exp½tð1 FL ðxÞÞfS ðxÞdx
ð9:5Þ
Smin
Equation (9.5) is a reliability integral, associated with an overstress failure mechanism (Todinov, 2004d). The term exp [t(1 F(x))] in the overstress reliability integral (9.5) gives the probability that none of the random loads in the time interval 0, t will exceed the strength x while the term fS (x) dx gives the probability that strength will be in the interval x, x þ dx. Finally, the product exp [t(1 FL (x))] fS (x)dx gives the probability of the compound event that the strength will be in the interval x, x þ dx and none of the random loads will exceed it. When this product is integrated over all possible values x of the strength, the reliability associated with time interval 0, t is obtained. The overstress reliability integral can be
Overstress Reliability Integral and Damage Factorisation Law
161
generalised for any distribution of the load applications. Thus, if PL o (x) is the probability that none of the random loads in the time interval o,t will exceed the strength x, the reliability associated with time interval o,t is given by RðtÞ ¼
Z
Smax
PL o ðxÞ fS ðxÞ dx
Smin
The big advantage of the overstress reliability integral (9.5) is that it incorporates time, unlike the load–strength integral (9.1) which describes reliability on demand at time zero. Using Monte Carlo simulations, the overstress reliability integral (9.5) has been verified. Thus, for uniformly distributed load and strength in the interval (Smin, Smax), the overstress reliability integral (9.5) evaluates to RðtÞ ¼ ½1 expðtÞ=ðtÞ
ð9:6Þ
which for t ¼ 100 months and ¼ 0:017 months1 gives R(t) ¼ 0.48. For the same parameters t ¼ 100 months and ¼ 0:017 months1, Monte Carlo simulations of uniformly distributed load and strength in the interval Smin ¼ 20, Smax ¼ 90 for example, yield the empirical probability of R(t) ¼ 0.48. Next, a finite time interval t ¼ 100 months and a load number density ¼ 0:5 months1 were assumed. The stress was assumed to follow the maximum extreme value distribution x FL ðxÞ ¼ exp exp with parameters ¼ 119, ¼ 73:64, and the strength, the Weibull distribution fS ðxÞ ¼
m x x0 m1 x x0 m exp
with parameters x0 ¼ 200, ¼ 297:6 and m ¼ 3.9. Numerical integration of the right-hand side of equation (9.5), within integration limits Smin ¼ x0 ¼ 200, Smax ¼ 2000, yielded R(t) ¼ 0.60 for the reliability. The Monte Carlo simulation of the load–strength interference model with multiple load application based on the same parameters (see Algorithm 6.9) yielded an empirical reliability R(t) 0.60 which illustrates the validity of the overstress reliability integral (9.5). One of the advantages of the overstress reliability integral is its validity for non-normally distributed load and strength. As shown on the basis of counterexamples, in Chapter 5, for a load and strength not following a normal distribution, the standard reliability measures reliability index and loading roughness are misleading.
162 9.2
Reliability and Risk Models
DAMAGE FACTORISATION LAW
Suppose that damage due to fatigue, corrosion or any other type of deterioration is a function of time and a particular controlling factor p. In case of fatigue, for example, the controlling factor can be the stress or strain amplitude. Suppose that a particular component accumulates damage at M different intensity levels p1, . . . , pM of the controlling factor p. At each intensity level pi, the component has been exposed to damage for time ti . Suppose that ti corresponding to a constant intensity level pi of the controlling factor p denote the time for attaining a critical level of damage ac, after which the component is considered to have failed (Figure 9.1). It is also assumed that the sequence in which the various levels of the factor p are imposed does not affect the component’s life. The damage factorisation law states that if for a constant level p of the controlling factor, the rate of damage development can be factorised as a function of the current damage ‘a’ and a function of the factor level p, da=dt ¼ FðaÞGðpÞ
ð9:7Þ
the critical level of damage ac at different levels of the controlling factor will be attained when the sum t1 t2 þ þ t1 t2
ð9:8Þ
Intensity of the controlling factor ∆t1 p1
∆t2
p2 ∆tM
Time for attaining damage ac
pM
0
Figure 9.1
t1
t2
tM
Time, t
Exposure for times ti at different intensity levels pi of the controlling factor p
Overstress Reliability Integral and Damage Factorisation Law
163
becomes unity for some k: t1 t2 tk þ þ þ ¼1 t1 t2 tk
ð9:9Þ
The time tc to attain the critical level of damage ac is then equal to tc ¼ t1 þ t2 þ þ tk
ð9:10Þ
Conversely, if the time for obtaining the critical level of damage ac can be determined using the additivity rule (9.9), the factorisation (9.7) must necessarily hold. In other words, the damage factorisation law (9.7) is a necessary and sufficient condition for the additivity rule (9.9) (Todinov, 2001b). This means that if the rate of damage law cannot be factorised, the additivity rule (9.9) is not valid and should not be used. An alternative formulation of the damage factorisation law states (Todinov, 2001b) that if for a constant level p of the controlling factor, the time t for attaining a particular level of damage a can be factorised as a function of the damage and the factor level p: t ¼ RðaÞSðpÞ
ð9:11Þ
the time to reach a critical level of damage ac for different levels of the controlling factor can be determined using the additivity rule (9.9). Essentially, equation (9.9) is an additivity rule according to which the total time tc required to attain a specified level of damage ac is obtained by adding the absolute durations ti spent at each intensity level i of the factor p until the sum of the relative durations ti /ti becomes unity. The fraction of accumulated damage at a particular intensity level pi of the controlling factor p is the ratio of the time spent at level pi and the total time at level pi needed to attain the specified level ac of damage (from initial damage zero). An important application of the additivity rule is the case where damage is caused by fatigue. In this case the measure of damage is the length a of the fatigue crack. The additivity rule (9.9), also known as the Palmgren–Miner rule, has been proposed as an empirical rule in case of damage due to fatigue controlled by crack propagation (Miner, 1945). The rule states that in a fatigue test at a constant stress amplitude i , damage could be considered to accumulate linearly with the number of cycles. Accordingly, if at a stress amplitude 1 the component has n1 cycles of life, which correspond to amount of damage ac, after n1 cycles at a stress amplitude 1 , the amount of damage will be (n1 /n1 )ac . After n2 stress cycles spent at a stress amplitude 2 , characterised by a total life of n2 cycles, the amount of damage will be
164
Reliability and Risk Models
(n2 /n2 )ac , etc. Failure occurs when, at a certain stress amplitude M , the sum of partial amounts of damage attains the amount ac, i.e. when n1 n2 nM ac þ ac þ þ ac ¼ ac n1 n2 nM
ð9:12Þ
is fulfilled. As a result, the analytical expression of the Palmgren–Miner rule becomes M X
ni =ni ¼ 1
ð9:13Þ
i¼1
where ni is the number of cycles needed to attain the specified amount of damage ac at a constant stress amplitude i . The Palmgren–Miner rule is central to reliability calculations yet no comments are made whether it is compatible with the damage development laws characterising the different stages of fatigue crack growth. The necessary and sufficient condition for validity of the empirical Palmgren–Miner rule is the possibility of factorising the rate of damage as a function of the amount of accumulated damage a and the stress or strain amplitude (p): da=dn ¼ FðaÞGðpÞ
ð9:14Þ
The theoretical derivation of the Palmgren–Miner rule can be found in Todinov (2001b). A widely used fatigue crack growth model is the Paris–Erdogan power law (Paris and Erdogan, 1963): daðnÞ=dn ¼ CK m
ð9:15Þ
pffiffiffiffiffiffi where K ¼ Y a is the stress intensity factor range; C and m are material constants and Y is a parameter which can be presented as a function of the amount of damage a. Clearly, the Paris–Erdogan fatigue crack growth law can be factorised as in (9.14) and therefore it is compatible with the Palmgren– Miner rule. In cases where this factorisation is impossible, the Palmgren–Miner rule does not hold. Such is, for example, the fatigue crack growth law da=dn ¼ Ba D
ð9:16Þ
discussed in Miller (1993), which characterises physically small cracks. In equation (9.16), B and are material constants, is the applied shear strain range, a is the crack length and D is a threshold value.
10 Determining the Probability of Failure for Components Containing Flaws
10.1
BACKGROUND
A strong emphasis is increasingly placed on reliability requirements which eliminate early-life failures (e.g. in the offshore, aerospace and automotive industries). Early-life failures are often the result of poor manufacturing and inadequate design. A substantial proportion of the early-life failures are also due to variation of strength which is a complex function of material properties, design configuration and dimensions. Suppose that a component with volume V is subjected to uniaxial tension (Figure 10.1a) and in the volume V there exist N number of critical flaws which cause failure at the loading stress . Suppose also that the volume V has been divided into M small zones with volumes V (Figure 10.1a). The probability that no small volume V will contain a critical flaw is ð1 V=VÞN 1 N V=V ¼ 1 n V
Reliability and Risk Models: Setting Reliability Requirements. by M.T. Todinov Copyright 2005 John Wiley & Sons, Inc. ISBN 0-470-09488-5 (HB)
166
Reliability and Risk Models
σ (a)
σ
M
12
σ
V = M ∆V
∆V A
sσ
B
C
σ
(b)
Figure 10.1 Uniaxial tensile loading
where n ¼ N /V is the number density of the critical flaws. The probability p0 that the entire volume V will survive the loading stress with no failure, equals the probability that all small volumes V will survive the stress : p0 ¼ ð1 n VÞM ¼ expðM ln½1 n VÞ expðn VÞ
ð10:1Þ
because for V 0, ln [1 n V] n V and V ¼ M V. In order to use equation (10.1), an expression for n is required. Weibull (1951) proposed the empirical relationship m n V0 ¼ 0
ð10:2Þ
where V0, 0 and m are constants, to which experimental data related to failure of brittle material conformed well (Hull and Clyne, 1996). Making this assumption, for the probability of failure p of the stressed volume V subjected to uniaxial stress of magnitude , the Weibull distribution V m p ¼ 1 exp ð10:3Þ