AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

Vibration Anomaly Monitor

Measuring a machine's vibration, computing a statistical anomaly indicator and sending it.

AdvancedIndustrialEducational design: not implemented on hardware

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

The problem

Sudden failures of a rotating machine.

Goal

Alert when the vibration pattern changes.

Components and requirements

  • Microcontroller board
  • Acceleration sensor
  • Mounting bracket
  • Optional gateway

Sensors

  • mpu6050

Microcontrollers

  • esp32

Communication protocols

  • mqtt

AI model

RMS features and frequency content with a Z-score over time windows.

System architecture

A node computes the indicator locally and sends it to a gateway.

Wiring diagram

Educational text table (check your parts' datasheets before wiring):
MPU-6050 over I2C: SDA, SCL, power and ground

Implementation steps

  1. Mount the sensor on the machine
  2. Record data in the normal state
  3. Compute window features
  4. Set the indicator threshold
  5. Send the indicator and the alert

Expected outcomes

In theory: the indicator rises when the vibration changes. (Not measured)

These are results expected in theory from the design, not experimental results that were measured.

Project tests

  • Compare the indicator between two synthetic conditions
  • Measure the false-alarm rate on normal data

Ideas for research development

  • Try Isolation Forest
  • Estimate the remaining useful life

Implementation status: Educational design: not implemented on hardware

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy