Back to guides
3
7 min

Sensor Data Analysis

Pattern Recognition in Time-Series Engineering Data

Reading the Machine's Pulse

Every machine has a heartbeat. A healthy motor hums at a steady frequency. A healthy bearing produces a smooth, low-amplitude vibration signature. A healthy pump maintains consistent pressure and flow. When something changes — even slightly — the data tells the story long before a human can hear, feel, or see the problem.

The challenge is not collecting data. Modern sensors generate thousands of readings per second. The challenge is making sense of it all. A single vibration sensor sampling at 10 kHz produces 864 million data points per day. No engineer can review that manually. This is where AI becomes essential — not as a replacement for engineering knowledge, but as a tireless analyst that never blinks, never takes a break, and never misses a trend.

This chapter teaches you to think about sensor data the way AI does — recognizing patterns, understanding baselines, and identifying the signatures of common failure modes. You will not write code, but you will learn to interpret what the AI tells you and validate its conclusions with your engineering experience.

Types of Sensor Data in Engineering

Vibration Data

Vibration is the single most informative measurement for rotating equipment. It reveals problems in bearings, gears, shafts, couplings, and structural components — often weeks or months before failure.

What vibration sensors measure:

  • Amplitude — how much the machine is shaking (measured in mm/s velocity or g acceleration)
  • Frequency — how fast it is shaking (measured in Hz or CPM — cycles per minute)
  • Direction — radial (perpendicular to shaft), axial (along shaft), or tangential
  • Key insight: Different faults produce vibration at different frequencies. A shaft imbalance vibrates at 1x running speed. Misalignment shows at 2x. A bearing defect produces vibration at very specific frequencies determined by bearing geometry. AI models learn these frequency signatures and match them to known fault patterns.

    Normal vibration levels (ISO 10816 guidelines):

    Machine ClassGoodAcceptableAlertDanger
    Small motors (<15 kW)<0.71 mm/s0.71-1.81.8-4.5>4.5
    Medium motors (15-75 kW)<1.12 mm/s1.12-2.82.8-7.1>7.1
    Large motors (>75 kW)<1.8 mm/s1.8-4.54.5-11.2>11.2

    Open data/vibration-data.csv in the code panel. This file contains 60 days of daily vibration readings from a 45 kW motor driving a centrifugal pump. Look at the overall trend — the first 40 days show stable readings around 1.5 mm/s (acceptable zone). From Day 41, you will see a gradual upward trend reaching 3.8 mm/s by Day 58. The AI flagged this on Day 45. The bearing was replaced on Day 55. Without AI, this motor would have failed catastrophically around Day 65-70.

    Temperature Data

    Temperature is the second most common monitoring parameter. It is simpler to measure than vibration but often provides later warning — by the time temperature rises significantly, damage may already be occurring.

    What temperature reveals:

  • Bearing overheating — lubrication failure, excessive load, or contamination
  • Electrical faults — loose connections, phase imbalance, winding insulation breakdown
  • Process issues — cooling system failure, blockages, heat exchanger fouling
  • Friction — misalignment generating heat at coupling or seal points
  • Normal temperature ranges (general guidelines):

  • Motor winding: 60-80 degrees C (Class B insulation allows up to 130 degrees C)
  • Bearing housing: ambient + 30-40 degrees C (e.g., 65-75 degrees C in Indian summer)
  • Hydraulic oil: 40-60 degrees C optimal, above 80 degrees C causes rapid degradation
  • Indian context: Ambient temperature in Indian factories can reach 45-50 degrees C in summer (especially in non-air-conditioned plants in Rajasthan, Gujarat, Vidarbha). This means temperature thresholds must be seasonally adjusted. An AI model trained on annual data automatically accounts for this — a fixed threshold would generate false alarms every summer.

    Open data/temperature-logs.csv to see 90 days of hourly temperature readings from a transformer at an industrial substation. Notice the daily cycle (lower at night, higher during peak load hours) and the seasonal trend. Around Day 72, you will see the night-time baseline start rising — the cooling fans were partially blocked by dust accumulation. The AI detected this deviation from the learned pattern three days before the high-temperature alarm would have triggered.

    Pressure Data

    Critical for hydraulic systems, pneumatic circuits, pumps, and process piping.

    What pressure patterns reveal:

  • Seal wear — gradual pressure loss over days/weeks
  • Pump degradation — decreasing discharge pressure at same speed
  • Valve problems — pressure spikes or hunting (oscillation)
  • Blockages — increasing differential pressure across filters or heat exchangers
  • Leaks — pressure decay during hold tests
  • Current Data (Motor Current Signature Analysis)

    Every motor draws current proportional to its mechanical load. Changes in current patterns reveal both electrical and mechanical problems without needing to install vibration sensors.

    What current analysis reveals:

  • Broken rotor bars — sidebands around line frequency
  • Eccentricity — load variations per revolution
  • Mechanical load changes — pump cavitation, belt slipping, gear mesh problems
  • Power quality — voltage imbalance, harmonics affecting motor health
  • What Normal Looks Like vs Anomaly

    Establishing a Baseline

    Before AI can detect anomalies, it must learn what "normal" looks like. This is not a single number — it is a pattern that varies by:

  • Time of day — machines run hotter during peak production hours
  • Load condition — vibration increases with higher throughput
  • Season — ambient temperature affects all thermal measurements
  • Operating mode — startup, steady-state, and shutdown each have different signatures
  • Product type — a rolling mill vibrates differently when processing thin sheet vs thick plate
  • AI models typically need 2-4 weeks of "healthy" data to establish a reliable baseline. During this learning period, the engineer must confirm the machine is actually healthy — otherwise the AI learns an already-degraded state as "normal."

    Types of Anomalies

    Trend anomaly — a gradual, consistent change in one direction. Example: vibration increasing by 0.05 mm/s per day. This indicates progressive degradation (bearing wear, imbalance worsening).

    Step change — a sudden jump to a new level that stays there. Example: temperature jumps from 65 to 78 degrees C overnight. This indicates a discrete event (loss of one cooling fan, sudden load increase, lubrication change).

    Spike anomaly — brief, sharp deviations that return to normal. Example: pressure spikes lasting 2-3 seconds every few hours. This indicates intermittent issues (valve sticking, cavitation, foreign objects in flow).

    Pattern change — the overall shape of the data changes even if absolute values look acceptable. Example: vibration spectrum shifts its dominant frequency from 1x to 2x running speed. This indicates a change in fault mechanism (from imbalance to misalignment).

    Vibration Analysis Basics

    Imbalance

    The most common fault in rotating machinery. An uneven mass distribution causes the shaft to vibrate at exactly 1x running speed (e.g., a motor at 1480 RPM shows dominant vibration at 24.7 Hz). The amplitude is proportional to the severity. Fix: balance the rotor.

    Misalignment

    The second most common fault. Angular or parallel offset between coupled machines causes vibration at 2x running speed (sometimes 3x). Also produces high axial vibration. Fix: realign using laser alignment tools.

    Bearing Wear

    As bearings degrade, they produce vibration at very specific frequencies determined by bearing geometry (inner race, outer race, ball/roller, cage frequencies). Early wear shows as subtle high-frequency noise. Advanced wear shows as clear peaks at bearing defect frequencies. Fix: replace bearing before catastrophic failure.

    Looseness

    Mechanical looseness (loose bolts, cracked frame, worn fits) produces vibration at many harmonics of running speed (1x, 2x, 3x, 4x, etc.) and often sub-harmonics (0.5x). The spectrum looks "messy" with many peaks. Fix: tighten, replace worn components, or re-machine fits.

    How AI Spots Patterns Humans Miss

    A skilled vibration analyst can review perhaps 20-30 machines per day, spending 10-15 minutes per machine examining spectra and trends. An AI system monitors all machines continuously and can detect:

  • Multi-variable correlations — vibration increases only when ambient temperature exceeds 38 degrees C AND motor load exceeds 80%. A human reviewing vibration alone would miss this conditional pattern.
  • Slow trends — a 0.01 mm/s daily increase over 90 days. Too slow for weekly human review to notice, but clearly trending toward failure.
  • Cross-machine patterns — three motors on the same supply bus all show current fluctuations at the same time, indicating a power quality issue rather than individual machine problems.
  • Seasonal baselines — what looks like an anomaly in winter might be normal in summer. AI adjusts automatically.
  • Key Takeaways

  • Vibration is the richest source of machine health data — a single sensor can detect imbalance, misalignment, bearing wear, looseness, and gear faults through frequency analysis.
  • Temperature provides confirmation and catches electrical/thermal faults — but often provides later warning than vibration for mechanical issues.
  • Baselines are not fixed numbers — they are patterns. AI learns the normal pattern including time-of-day, load, and seasonal variation. This dramatically reduces false alarms compared to fixed thresholds.
  • AI does not replace engineering knowledge — it extends your reach. You still need to validate AI alerts, diagnose root cause, and decide on corrective action. But AI ensures nothing slips through the cracks across hundreds of measurement points.
  • Start by understanding your machines' normal signatures. Before any AI system can help, you need 2-4 weeks of baseline data from healthy machines. That means starting the sensors now, even before the AI is fully deployed.
  • This is chapter 3 of AI for Engineers.

    Get the full hands-on course — free during early access. Build the complete system. Your projects become your portfolio.

    View course details