Time-Series Intelligence and Predictive MaintenanceIntroduction and ContextMechatronic systems generate streams of measurements throughout their operation. Motors produce vibration and temperature signals; hydraulic systems provide pressure and flow measurements; robots report joint torque and position; production machines record cycle time, current, acoustic emissions and controller states. These measurements are not merely collections of independent observations. Their order in time contains information about operating condition, degradation and impending failure. Time-series intelligence is the use of statistical, physical and machine-learning methods to interpret temporally ordered data. In predictive maintenance, it supports four related tasks: - Forecasting: estimating future sensor values or operating conditions.
- Anomaly detection: identifying observations or patterns that differ from normal behaviour.
- Fault diagnosis: determining the likely source or type of abnormality.
- Prognostics: estimating future degradation and remaining useful life (RUL).
These outputs become valuable only when connected to maintenance decisions. A prediction that a bearing may fail within 50 operating hours must be translated into an inspection, spare-parts order, production schedule or controlled shutdown. Thus, predictive maintenance is an engineering decision system, not simply a classification model. Learning ObjectivesAfter studying this chapter, a student should be able to: - distinguish time-series forecasting, anomaly detection, diagnosis and prognostics;
- prepare and validate temporal sensor data from mechatronic equipment;
- explain autoregressive, state-space and machine-learning approaches;
- calculate and interpret common forecasting and anomaly-detection measures;
- estimate and evaluate remaining useful life;
- connect model outputs to reliability and condition-based maintenance decisions;
- identify limitations, safety concerns and governance requirements in industrial AI systems.
1. Temporal Structure in Mechatronic DataA time series is an ordered sequence of measurements, often written as xt, where t denotes a sampling instant. A multivariate sensor record is represented by \mathbf{x}t = [x1,t, x2,t, ..., xp,t]T, where p is the number of measured variables. Temporal data differ from ordinary tabular data in several ways. Measurements may be autocorrelated, affected by operating regimes, sampled irregularly, contaminated by noise and influenced by control actions. A temperature increase may be normal during high load but abnormal during idle operation. Consequently, a model must often use operating context such as speed, load, ambient temperature, product type and control mode. Important components of a sensor time series include: - Level: the typical value around which measurements vary.
- Trend: persistent increase or decrease, often associated with degradation.
- Seasonality or cyclicity: repeated variation linked to cycle, shift, speed or process period.
- Autocorrelation: dependence between a value and earlier values.
- Noise: random or unmodelled variation.
- Regime: a distinct operating condition with its own statistical behaviour.
- Change point: a time at which the statistical properties of the process change.
A useful conceptual decomposition is xt = mt + st + rt where mt is the level or trend, st is a recurring component and rt is the residual. This additive form assumes that the effects combine additively. If variation grows in proportion to the level, a multiplicative or transformed model may be more appropriate. Sampling, Synchronisation and Data QualitySampling frequency must capture the physical phenomenon of interest. Slow thermal degradation may be monitored every minute, whereas bearing vibration may require kilohertz sampling. According to the sampling principle, frequencies above half the sampling frequency cannot be represented reliably and may appear as lower-frequency components through aliasing. Anti-aliasing filtering is therefore required before downsampling. Practical preprocessing includes: - timestamp validation and clock synchronisation;
- removal or marking of impossible values;
- treatment of missing intervals;
- sensor calibration and unit conversion;
- filtering of electrical or measurement noise;
- segmentation into operating cycles or windows;
- alignment of sensor, controller and maintenance records.
Interpolation should not conceal important missingness. For example, filling a communication failure during a fault with a smooth curve could remove the very evidence needed for diagnosis. Missingness indicators and data-quality flags should often be retained as model inputs. 2. From Signals to Health IndicatorsRaw sensor values are not always the best representation of equipment health. A feature is a measurable property extracted from a signal or window. Time-domain features include mean, variance, root-mean-square (RMS), peak value, crest factor and kurtosis. For samples x1, x2, ..., xn, \bar{x} = (1/n) ∑i=1n xi and the sample standard deviation is s = √[(1/(n−1)) ∑i=1n(xi − \bar{x})²] The divisor n−1 provides an unbiased estimate of population variance under independent, identically distributed sampling. It is not automatically appropriate when observations are strongly autocorrelated. RMS is xRMS = √[(1/n)∑i=1nxi²] and has the same units as x. For a vibration signal, RMS reflects overall energy, while kurtosis can respond to impulsive events. Frequency-domain features may be obtained using a discrete Fourier transform, although spectral interpretation must account for speed changes and windowing. A health indicator (HI) is a feature or learned representation intended to vary systematically with degradation. An effective HI should be, as far as possible: - monotonic with degradation;
- robust to normal load and speed variation;
- sensitive to early damage;
- repeatable across machines;
- interpretable enough to support maintenance decisions.
Physics-based features, such as bearing defect frequencies or motor slip, can improve generalisation because they encode engineering knowledge. Data-driven representations can complement them when failure mechanisms are complex or incompletely understood. 3. Forecasting Temporal BehaviourForecasting estimates future values from past observations and available explanatory variables. A basic autoregressive model of order p is xt = c + φ1xt−1 + φ2xt−2 + ... + φpxt−p + εt where c is an intercept, φi are coefficients and εt is a zero-mean disturbance. The model assumes that the current value depends linearly on previous values and that the residual process is sufficiently stable. For a stationary autoregressive process, coefficient conditions must prevent explosive behaviour; in practice, residual diagnostics and validation are essential. A moving-average model represents the current value using previous disturbances, while an ARIMA model combines autoregression, differencing and moving average terms. Differencing replaces xt with ∆xt = xt − xt−1 to remove certain nonstationary trends. These models are useful when data are relatively regular and their statistical structure is stable. State-space models express an unobserved condition, or state, and a measurement process: \mathbf{z}t+1 = f(\mathbf{z}t, \mathbf{u}t) + \mathbf{w}t \mathbf{y}t = h(\mathbf{z}t) + \mathbf{v}t Here, \mathbf{z}t is the latent state, \mathbf{u}t represents inputs such as load, \mathbf{y}t is the sensor vector, and \mathbf{w}t and \mathbf{v}t are process and measurement noise. Linear-Gaussian special cases can be estimated using Kalman filtering. Nonlinear or non-Gaussian cases may require extended, unscented or particle filters, with corresponding assumptions and computational costs. Modern alternatives include recurrent neural networks, temporal convolutional networks and transformer-based models. Their strength is the ability to learn nonlinear relationships from large datasets. Their weaknesses include data requirements, sensitivity to distribution shift and limited interpretability. A complex neural model is not automatically superior to a transparent model with appropriate physical inputs. Forecast EvaluationForecasts should be evaluated using time-ordered validation rather than random shuffling. Random splitting can place future information in the training set and produce overly optimistic results. Suitable measures include mean absolute error: MAE = (1/N)∑i=1N|yi − \hat{y}i| and root mean square error: RMSE = √[(1/N)∑i=1N(yi − \hat{y}i)²] where yi is the observed value, \hat{y}i is the forecast and N is the number of test cases. MAE has the units of the measured variable. RMSE penalises large errors more strongly. Percentage errors become unstable when actual values are near zero, so they should not be used indiscriminately. 4. Anomaly DetectionAn anomaly is an observation or sequence inconsistent with an accepted model of normal operation. Three categories are useful: - Point anomaly: one unusual observation.
- Contextual anomaly: a value normal in one context but abnormal in another.
- Collective anomaly: a sequence whose joint pattern is unusual even if individual values appear reasonable.
A simple standardized residual is zt = (xt − μ0)/σ0 where μ0 and σ0 are baseline mean and standard deviation under a defined normal operating condition. A threshold such as |zt| > 3 is only a heuristic; it is not universally valid, especially with non-Gaussian, autocorrelated or regime-dependent data. For multivariate measurements, the Mahalanobis distance is Dt² = (\mathbf{x}t − \boldsymbol{μ})T\boldsymbol{Σ}−1(\mathbf{x}t − \boldsymbol{μ}) where \boldsymbol{μ} is the baseline mean vector and \boldsymbol{Σ} is the covariance matrix. The covariance matrix must be estimated reliably and be invertible; regularisation may be required when variables are highly correlated or the sample is small. Autoencoders and other representation models learn to reconstruct normal data. A high reconstruction error can indicate abnormality, but it can also result from an unseen normal operating regime. Therefore, anomaly detection requires regime awareness, alarm persistence logic and human review. A practical alarm system should manage: - detection threshold;
- minimum duration or repeated excursions;
- alarm severity;
- sensor confidence;
- suppression during known transitions;
- escalation and acknowledgement;
- evaluation of false-alarm and missed-detection costs.
5. Fault DiagnosisAnomaly detection answers “Is behaviour unusual?” Diagnosis asks “What is the likely cause?” Fault diagnosis may use labelled fault data, physical models, expert rules or a hybrid approach. A diagnostic pipeline commonly includes: - detect and validate an abnormal condition;
- isolate affected subsystems or sensors;
- extract discriminating temporal and spectral features;
- compare evidence with fault hypotheses;
- produce fault probabilities or ranked causes;
- recommend inspection or corrective action.
A classifier can estimate P(Fk\mid\mathbf{x}), the probability of fault class Fk given observations. Probabilities should be calibrated where they will influence safety or maintenance decisions. A high classification accuracy on balanced laboratory data may not translate to a low false-alarm rate in a plant where faults are rare. Fault isolation must distinguish sensor faults from equipment faults. Redundant sensing, analytical redundancy and consistency checks are useful. For example, disagreement between commanded motor torque and estimated torque may indicate a sensor, drive or mechanical transmission problem; additional evidence is required before assigning a root cause. 6. Prognostics and Remaining Useful LifePrognostics estimates future degradation and the time until a defined failure threshold. Remaining useful life is not simply the time until a machine stops; it must be defined operationally. A bearing may be considered failed when vibration exceeds a safety limit, when accuracy falls outside specification or when the probability of completing the next production cycle becomes unacceptable. Let Tf be the future failure time and t the current time. Then RULt = Tf − t This expression assumes a clearly defined failure criterion and a meaningful time scale. In practice, Tf is uncertain, so the output should be a distribution, interval or set of quantiles rather than a single number. A degradation model may represent a health indicator as ht = h0 + βt + ηt where h0 is the initial health level, β is a degradation rate and ηt represents process variation. If failure occurs at threshold hF, a simple deterministic estimate is \widehat{RUL}t = (hF − \hat{h}t)/\hat{β} provided \hat{β} > 0, the health scale increases toward failure and the degradation is approximately linear. This is a special-case model, not a universal law. Variable loads, repairs, nonlinear wear and changing environments can invalidate it. RUL evaluation should consider both accuracy and decision usefulness. Common measures include absolute RUL error and an asymmetric scoring function that penalises late predictions more heavily than early predictions when late maintenance creates greater risk. Prediction intervals should also be assessed for calibration: a nominal 90% interval should contain the true outcome approximately 90% of the time over comparable cases. 7. Reliability and Maintenance DecisionsReliability is the probability that an item performs its required function for a specified time under stated conditions. If a constant failure rate λ is assumed, the exponential reliability model is R(t) = e−λt where t is time and λ has units of inverse time. The constant-rate assumption is restrictive and does not describe infant mortality or wear-out behaviour well. For a Weibull lifetime distribution, R(t) = e−(t/η)^β where η is a scale parameter and β is a shape parameter. When β > 1, the hazard generally increases with age, which is consistent with wear-out; β = 1 gives the exponential special case. Condition-based maintenance uses observed condition rather than elapsed calendar time alone. A maintenance action should be selected by comparing expected consequences. A simplified decision rule is: Choose maintenance if E[Cfailure | data] > Cpreventive + Cdowntime where the terms represent expected failure-related cost, preventive-maintenance cost and associated downtime cost. This is a conceptual inequality; actual decisions may include spare-parts lead time, safety constraints, production commitments and technician availability. The maintenance policy should specify: - the condition indicator and threshold;
- inspection frequency;
- confidence or risk limit;
- action time and responsible role;
- fallback action when data are unavailable;
- post-maintenance verification;
- feedback for model improvement.
8. End-to-End Implementation ArchitectureA dependable implementation separates the data, analytical and operational layers: - Sensing: calibrated sensors, controller tags and maintenance records.
- Data engineering: time synchronisation, quality checks, storage and traceability.
- Feature and state estimation: signal processing, contextual variables and health indicators.
- Analytics: forecasting, anomaly detection, diagnosis and RUL models.
- Decision support: risk ranking, work orders, inspection plans and escalation.
- Feedback: confirmed faults, maintenance outcomes and model monitoring.
Training and test data must be split by time, asset or failure episode as appropriate. Leakage occurs when information unavailable at prediction time enters the training features, for example a post-failure maintenance code or a future sensor aggregate. Evaluation should include unseen assets and operating regimes where deployment requires generalisation. Model monitoring should track data drift, sensor drift, alert rates, false positives, missed events, calibration and maintenance outcomes. A model should be retrained or reviewed when the machine design, control software, product mix or sensor configuration changes. 9. Illustrative Case: Predictive Maintenance for a Conveyor DriveBackgroundConsider an illustrative packaging plant with conveyor drives containing an induction motor, gearbox and rolling-element bearings. The plant records motor current at 1 Hz, bearing temperature at 1 Hz and vibration features every 10 minutes. Maintenance records identify bearing replacements but contain uncertain failure dates. ProblemCalendar-based replacement is expensive because many bearings are replaced while still serviceable. However, an unexpected seizure stops the packaging line and can damage products. The objective is to detect degradation early and schedule replacement during planned changeovers. AnalysisEngineers first separate data into operating regimes using conveyor speed, motor current and production state. Temperature is normalised against ambient temperature and load. Vibration RMS and kurtosis are calculated over fixed windows. A baseline model is fitted using confirmed healthy periods. Anomaly scores are generated from residuals between observed and predicted temperature and vibration. A persistent increase in vibration RMS, accompanied by rising temperature under comparable load, is treated as stronger evidence than either signal alone. A diagnostic rule distinguishes likely bearing degradation from belt misalignment by combining vibration frequency features, current imbalance and maintenance history. The model is evaluated by asset-level time splits so that data from the same bearing episode do not appear in both training and testing. Approach and solutionThe plant uses a hybrid system. A state-space filter estimates slowly changing thermal condition, while a gradient-boosted classifier ranks fault hypotheses from engineered features. A degradation model projects the health indicator toward a defined replacement threshold. Instead of displaying only an RUL point estimate, the system displays an interval and confidence level. An alert is issued when the probability of crossing the replacement threshold within the next planned production window exceeds the plant-approved risk limit. The maintenance planner checks spare-part availability and schedules inspection. If inspection confirms damage, the outcome is recorded; if not, the event is labelled as a false alarm and investigated. OutcomeThe important outcome is not merely improved prediction error. The plant reduces emergency stoppages while controlling unnecessary replacements. The model also exposes poor sensor mounting on one drive, demonstrating that data-quality management is part of predictive maintenance. Learning points- Operating context is essential for interpreting sensor values.
- Multiple corroborating signals are more reliable than a single threshold.
- RUL is uncertain and must be connected to a decision window.
- Asset-level validation avoids inflated performance claims.
- Maintenance feedback is necessary for continual improvement.
10. Limitations, Safety and GovernancePredictive maintenance models face limited failure examples, changing operating conditions, censored lifetimes and inconsistent maintenance labels. A machine that has not yet failed does not necessarily provide a complete lifetime observation. This is a form of censoring and can bias naive RUL training. False alarms consume technician time and can cause alarm fatigue. Missed detections can create safety hazards, environmental releases or major production losses. Safety-critical protection must therefore not depend solely on an experimental AI model. Independent hard limits, interlocks and established inspection procedures should remain available. Governance requirements include traceable data lineage, access control, cybersecurity, versioned models, documented assumptions and human accountability. Industrial systems may be vulnerable to sensor spoofing, manipulated maintenance records or denial-of-service attacks. Models should be tested against out-of-distribution conditions and adversarially abnormal inputs where appropriate. Ethically, operators should understand how alerts affect their work and should not be blamed for model errors outside their control. Privacy may arise if machine data are linked to individual worker actions or productivity. A responsible system distinguishes equipment condition from unjustified surveillance of personnel. 11. Contemporary Developments and Best PracticesCurrent research increasingly combines physics-informed learning, digital twins, self-supervised representation learning and uncertainty quantification. Physics-informed approaches constrain models using balances, dynamics or known failure mechanisms. Digital twins combine simulation and live data but remain limited by model fidelity and parameter uncertainty. Self-supervised methods exploit large quantities of unlabelled normal data, while transfer learning can adapt models between similar assets. Best practices are: - define failure and maintenance objectives before selecting an algorithm;
- measure and document sensor quality and operating context;
- establish a trustworthy healthy baseline;
- preserve temporal order during validation;
- compare against simple engineering baselines;
- report uncertainty and calibration, not only average accuracy;
- evaluate cost, safety and workflow impact;
- maintain independent protective systems;
- monitor deployed performance and data drift;
- close the loop using verified maintenance outcomes.
Chapter SummaryTime-series intelligence treats mechatronic measurements as ordered, contextual and evolving observations. Forecasting estimates future values; anomaly detection identifies departures from normal operation; diagnosis ranks possible causes; and prognostics estimates degradation and remaining useful life. Reliable results depend on appropriate sampling, synchronisation, feature construction, regime handling and leakage-free validation. Autoregressive, state-space, statistical and machine-learning models provide complementary tools. Health indicators should be sensitive to degradation while remaining robust to load and speed. RUL must be defined against an operational failure criterion and represented with uncertainty. Reliability models and maintenance economics convert predictions into inspection, repair and replacement decisions. Finally, safety, cybersecurity, data governance and human oversight are essential because predictive maintenance operates in physical systems where model errors have real consequences. Key TermsTime series: Ordered observations indexed by time. Autocorrelation: Dependence between observations separated by a time lag. Operating regime: A distinct condition such as a particular speed, load or production mode. Health indicator: A feature or representation intended to track equipment condition. Forecasting: Estimating future measurements or states. Residual: Difference between an observed value and a model prediction. Anomaly: Behaviour inconsistent with an accepted normal model. Point anomaly: An individual unusual observation. Collective anomaly: An unusual temporal pattern considered as a sequence. Fault diagnosis: Identification of the likely cause of abnormal behaviour. Prognostics: Prediction of future degradation or failure behaviour. Remaining useful life: Expected time until a defined failure criterion is reached. Condition-based maintenance: Maintenance planned using observed equipment condition. Reliability: Probability of performing a required function for a specified time. Hazard rate: Instantaneous failure tendency conditional on survival to a given time. Data leakage: Use of information during training that would not be available at prediction time. Censoring: Incomplete lifetime information because failure has not been observed. Calibration: Agreement between predicted probabilities or intervals and observed frequencies. Concept drift: Change over time in the relationship between inputs and outcomes. Digital twin: A computational representation updated using data from a physical asset. Review QuestionsShort Answer Questions- Why must operating regime be considered when interpreting a temperature or vibration measurement?
- Distinguish a point anomaly from a collective anomaly.
- What is the purpose of a health indicator?
- Why is random train-test splitting unsuitable for many time-series problems?
- Define remaining useful life in relation to a failure criterion.
Long Answer Questions- Explain the stages required to convert raw mechatronic sensor data into a predictive-maintenance decision.
- Compare autoregressive, state-space and neural time-series models, including their assumptions and limitations.
- Explain how anomaly detection and fault diagnosis differ and how they can be combined.
- Discuss the role of uncertainty in RUL estimation and maintenance planning.
- Explain how reliability theory and maintenance cost influence the use of AI predictions.
Analytical / Application Questions- A motor temperature is high during heavy loading but normal during idle operation. Design a context-aware anomaly-detection strategy and identify the data required.
- A bearing health indicator is currently 72 units, the replacement threshold is 100 units, and its estimated degradation rate is 0.8 units per operating hour. Using the linear special-case model, estimate the RUL and state two reasons why the estimate may be unreliable.
- A deployed model produces many alarms after a controller software upgrade, although confirmed equipment faults have not increased. Analyse possible causes and propose a validation and governance response.
Multiple Choice Questions with AnswersQuestion 1Which task estimates the likely time until a defined equipment failure threshold is reached? A. Forecasting B. Anomaly detection C. Prognostics D. Sensor calibration Correct Answer: C. Prognostics Question 2In the expression RMSE = √[(1/N)∑(yi − \hat{y}i)²], which error is penalised more strongly than in MAE? A. Small errors only B. Large errors C. Missing timestamps D. Unit conversion errors Correct Answer: B. Large errors Question 3Why is operating context important in predictive maintenance? A. It eliminates the need for sensors B. The same measurement may be normal in one regime and abnormal in another C. It guarantees perfect RUL estimates D. It makes all models linear Correct Answer: B. The same measurement may be normal in one regime and abnormal in another Question 4What does a collective anomaly describe? A. A single missing timestamp B. A permanently calibrated sensor C. A sequence whose combined pattern is unusual D. A normal value during a known regime Correct Answer: C. A sequence whose combined pattern is unusual Question 5For the reliability model R(t)=e−λt, what assumption is central? A. The failure rate is constant B. The machine never fails C. The sensor noise is zero D. The lifetime is always deterministic Correct Answer: A. The failure rate is constant Question 6A health indicator is 72 units, its threshold is 100 units, and its degradation rate is 0.8 units per hour. Under a linear degradation assumption, the estimated RUL is: A. 22 hours B. 28 hours C. 35 hours D. 80 hours Correct Answer: C. 35 hours Question 7Which practice helps prevent temporal data leakage? A. Randomly mixing all observations before splitting B. Using future maintenance codes as training features C. Using time-ordered or asset-level validation D. Removing all timestamps Correct Answer: C. Using time-ordered or asset-level validation Question 8What is the main purpose of fault diagnosis after anomaly detection? A. To identify the likely cause of abnormal behaviour B. To increase the sampling frequency automatically C. To replace all preventive maintenance D. To guarantee that an anomaly is a sensor failure Correct Answer: A. To identify the likely cause of abnormal behaviour Question 9What does calibration of a probabilistic prediction mean? A. Predicted probabilities agree with observed frequencies B. All predictions are exactly correct C. The sensor has zero bias D. The model uses only physical equations Correct Answer: A. Predicted probabilities agree with observed frequencies Question 10Why should an AI predictive-maintenance model not normally replace independent safety interlocks? A. AI models cannot process time-series data B. Model errors and unseen conditions can create safety risks C. Interlocks are useful only for office equipment D. Predictive maintenance requires no safety controls Correct Answer: B. Model errors and unseen conditions can create safety risks
|