Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Fix it before it breaks, but not too early
Replacing a part too late means an unplanned breakdown, which is expensive: the machine stops, repairs are rushed and other parts may be damaged. Replacing it too early throws away useful life. Measuring the part’s condition lets you replace it only when it is really worn. Predictive maintenance is about finding the cheapest point between these extremes.
Airlines, railways and wind farms use condition monitoring so that most replacements happen during planned stops, not after failures.
- 1. Replacing a part too early…
- 2. An unplanned failure is usually…
- 3. Condition-based maintenance replaces parts…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Corrective (run-to-failure): replace only after failure; cost rate c_f / E[L].
- Age-based (time-based): replace at age T or at failure, whichever comes first. Worth it only if the failure rate increases with age (Weibull shape above 1).
- Condition-based (CBM): inspect every Δ and replace when the degradation exceeds a threshold ξ; ξ sits below the failure level by a safety margin.
- Predictive / RUL-based: replace when the predicted RUL distribution says failure before the next opportunity is too likely.
- Renewal-reward theorem: for a policy that renews the unit, the long-run cost per unit time is E[cost per cycle] / E[cycle length].
- Ingredients: preventive cost c_p, failure cost c_f (including downtime and secondary damage), inspection cost c_i, and the P–F interval (time from detectable degradation to failure).
- 1. The renewal-reward cost rate is…
- 2. Age replacement pays off only if the failure rate…
- 3. The P–F interval is…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.The best replacement age
Exercise 1.
- Weibull lives with shape 3 and scale 100; preventive cost 1, failure cost 10.
- The age-replacement cost rate from the renewal-reward formula, minimised over the age T, and checked by simulating 20,000 cycles.
- The same for shape 1 (constant failure rate).
Practice.
- Estimate the true cost of a failure, including downtime, safety and secondary damage; the policy depends mostly on the ratio c_f/c_p.
- Check that failures are age-related before scheduling age-based replacement.
- Set the inspection interval from the P–F interval: inspections must be frequent enough to catch degradation before failure, but each costs money.
- Optimise thresholds on historical or simulated data, and validate on held-out units.
- Tools: reliability (Python), simulation in NumPy, maintenance modules in asset-management systems.
import numpy as np
def age_cost_rate(T, R, t, cp, cf):
# R(t) on a grid t from 0 to T
mean_cycle = np.trapezoid(R, t)
return (cp * R[-1] + cf * (1 - R[-1])) / mean_cycle- 1. The policy depends mostly on…
- 2. Inspections should be spaced relative to…
- 3. Before age-based replacement, check that failures are…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Renewal-reward. Each replacement starts a new, independent cycle. By the law of large numbers, after many cycles the total cost divided by the total time converges to E[C]/E[τ], where C is the cost and τ the length of one cycle. For age replacement, C = c_p if the unit survives to T and c_f otherwise, and E[τ] = ∫₀ᵀ R(t) dt.
When age replacement helps. With a constant failure rate (shape 1), a used unit is as good as a new one, so replacing it early only shortens the cycle without lowering the risk; the cost rate falls as T grows. With an increasing failure rate (shape 3), old units are riskier, and replacing them before they fail is cheaper on average. In Exercise 1 the best age was 39, about 44% of the mean life, giving a cost rate of 0.0395 against 0.112 for running to failure.
Why condition beats age. Units wear at different rates. A fixed age is a compromise: too early for slow units and too late for fast ones. A wear threshold adapts to each unit, replacing fast-wearing units early and slow ones late, and wastes little life. Its limits are inspection cost and the risk of failing between inspections.
- 1. Renewal-reward follows from…
- 2. With a constant failure rate, the best age is…
- 3. Condition-based maintenance adapts to…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.For units with gamma-process wear and unit-to-unit variation, how do run-to-failure, the best age policy and the best condition-based policy compare as the failure cost grows, and how does the inspection interval affect condition-based maintenance?
History.
- R. E. Barlow and L. C. Hunter (1960) and R. E. Barlow and F. Proschan (1965) formalised age and block replacement.
- F. S. Nowlan and H. F. Heap (1978) introduced reliability-centred maintenance and the P–F interval at United Airlines.
- A. Grall, C. Bérenguer and L. Dieulle (2002) optimised condition-based maintenance with gamma-process deterioration; A. K. S. Jardine, D. Lin and D. Banjevic (2006) reviewed CBM.
Exercise 2.
- Wear as in the degradation-modelling topic: gamma process, unit scale 0.25 × LogNormal(0, 0.3), failure at 10 (mean life about 84).
- Preventive cost 1, failure cost 2, 5, 10 or 20, inspection cost 0.02.
- Best age and best wear threshold (inspections every 5) chosen on 300 training units; long-run cost rates on 2000 test units.
- Oracle: replace each unit just before it fails, at the preventive cost, with no inspections.
Seed 0, cost per time unit:
| failure cost | run to failure | age-based (best age) | condition-based (threshold) | oracle |
|---|---|---|---|---|
| 2 | 0.0238 | 0.0211 (80) | 0.0180 (8.75) | 0.0119 |
| 5 | 0.0595 | 0.0270 (44) | 0.0188 (8.25) | 0.0119 |
| 10 | 0.1191 | 0.0317 (40) | 0.0194 (7.75) | 0.0119 |
| 20 | 0.2382 | 0.0384 (38) | 0.0202 (7.25) | 0.0119 |
- Condition-based maintenance was cheapest at every failure cost, and its advantage grew with the failure cost: at 20 it cost about half of the age policy and a twelfth of running to failure.
- As failures became more expensive the best threshold fell (8.75 to 7.25) and the share of units that still failed dropped from 5.7% to 0.1%.
- The gap to the oracle (0.0119) comes from inspection costs and from replacing before the last bit of life.
- Inspection interval (failure cost 10): every 1 step 0.0342, every 5 0.0194, every 10 0.0196, every 20 0.0223, every 40 0.0271; longer intervals needed lower thresholds.
- Seeds 1 and 2 gave the same ordering at every failure cost; at failure cost 10, condition-based cost 0.0202 and 0.0194, age-based 0.0309 and 0.0306.
Predictive maintenance in practice
- Opportunistic maintenance: combine replacements of several parts at one planned stop to share downtime costs.
- Fleet constraints: limited crews, spare parts and maintenance windows turn the problem into scheduling and optimisation.
- Data-driven policies: RUL predictions with uncertainty feed decision rules or reinforcement learning, which appears later in the course.
- Economics: the value of monitoring is the cost saved relative to the best policy without it, minus the cost of sensors and data.
References
- R. E. Barlow and F. Proschan (1965). Mathematical Theory of Reliability. Wiley.
- F. S. Nowlan and H. F. Heap (1978). Reliability-Centered Maintenance. United Airlines / US Department of Defense.
- A. Grall, C. Bérenguer and L. Dieulle (2002). “A condition-based maintenance policy for stochastically deteriorating systems.” Reliability Engineering and System Safety.
- A. K. S. Jardine, D. Lin and D. Banjevic (2006). “A review on machinery diagnostics and prognostics implementing condition-based maintenance.” Mechanical Systems and Signal Processing.
- S. M. Ross (1996). Stochastic Processes, 2nd edition. Wiley (renewal-reward theorem).