Vibration Monitor

An Industry 4.0 condition monitoring system: an ESP32 and ADXL345 accelerometer mounted on a linear axis test bed, with MATLAB FFT and RMS analysis that reports the health of the machine.

Role
Mechanical and electrical lead
When
Sep to Dec 2024
Team
Course project, team of 2

Result

Correct on all 14 physical test runs: 7 healthy and 7 with induced faults.

What I did

  • Designed the press-fit housing for the ESP32 and ADXL345 in SolidWorks and 3D printed it.
  • Sized the housing at 60 x 50 x 61 mm to fit within the 88 x 58 x 70 mm project envelope.
  • Designed a six-magnet base that mounts the monitor to the test bed without fasteners.
  • Soldered and wired the ADXL345 to the ESP32 over I2C, sampling at 1 kHz. A single USB connection to the laptop supplies power and carries the serial data.
  • Helped integrate the MATLAB analysis, which tracks machine condition three ways: the time domain signal, the FFT frequency spectrum and the RMS of each run against control limits.
  • Helped integrate the bearing fault check: the FFT spectrum is compared against the frequencies a damaged bearing produces, calculated from the bearing dimensions and the operating speed of the machine.

Key decisions

  • Compact housing.Measures 60 x 50 x 61 mm, within the 88 x 58 x 70 mm project envelope.
  • Magnetic mounting.Six neodymium magnets hold the monitor to the test bed without fasteners and allow fast repositioning.
  • Soldered connections.Soldering the accelerometer to the ESP32 reduces signal interference in the readings.

Test results

Irregular vibrations were induced in the test bed, with the monitor mounted, to trigger an unhealthy state. A run is healthy when its RMS stays between the Lower and Upper Control Limits: the baseline RMS of 0.010 g, plus or minus three standard deviations (0.001 g to 0.019 g).

Tools

SolidWorks, Arduino IDE, MATLAB