Hands-On Predictive Maintenance Kit for Manufacturing Education: An Accessible Experiential Learning Approach
Supporting materials for paper published in the 2026 ASEE Annual Conference & Exposition, Manufacturing Division, Paper #52851.
Ibrahim El Khatib1, Marcelo Montemayor Cavazos2, Manuel IvΓ‘n Vea DurΓ‘n2, Russel Bradley1, Erick RamΓrez-Cedillo2, Brian W. Anthony1
1 Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, United States;
2 TecnolΓ³gico de Monterrey, School of Engineering and Sciences, Ave. Eugenio Garza Sada 2501 Sur, Col: TecnolΓ³gico, Monterrey, N.L., MΓ©xico, 64700;
The FrED PAL (Predictive Analysis and Learning) kit is a low-cost educational predictive maintenance platform that leverages:
- Audio Signal Processing for real-time machinery health monitoring
- Machine Learning Models for fault classification and prediction
- Interactive Jupyter Notebooks for data collection and analysis
- Real-time Monitoring Interface with continuous updates and alerts
- Real-time Audio Monitoring - Continuous machinery health assessment
- Multi-class Fault Detection - Identifies various equipment conditions (Good, Chipped Tooth, etc.)
- Confidence-based Alerting - Configurable thresholds for predictive alerts
- Data Logging & Export - Automatic CSV logging with machine identification
- Interactive UI - Professional industrial-style monitoring interface
- Enhanced Live Inspector - Real-time graphs updating every 2 seconds
- Machine ID Management - Multi-machine monitoring capabilities
- Background Processing - Non-blocking continuous operation
- Automatic Data Backup - Configurable auto-save intervals
- Comprehensive Metrics - Performance tracking and analytics
- Multi-format Support - WAV, MP3, and other audio formats
- Real-time Processing - Low-latency audio analysis
- Feature Engineering - Advanced signal processing techniques
- Noise Reduction - Filtering and preprocessing capabilities
- Classification Models - Support for various ML algorithms
- Confidence Scoring - Probability-based predictions
- Model Persistence - Save and load trained models
- Batch Processing - Handle multiple audio files efficiently
- Jupyter Integration - Interactive notebook environment
- Real-time Visualization - Live updating charts and graphs
- Professional Design - Industrial-style monitoring interface
- Export Capabilities - CSV data export with metadata
graph TD
A[Audio Input] --> B[Feature Extraction]
B --> C[ML Model]
C --> D[Prediction]
D --> E[Confidence Score]
E --> F{Threshold Check}
F -->|Above| G[Normal Operation]
F -->|Below| H[Alert Generated]
G --> I[CSV Logging]
H --> I
I --> J[Real-time Dashboard]
The FrED PAL (Predictive Analysis and Learning) kit is an affordable, open-source hardware solution designed to bring advanced predictive maintenance capabilities to educational institutions and small-scale operations. The kit combines essential components for real-time machinery health monitoring through audio signal analysis. Each component has been carefully selected to balance cost-effectiveness with reliability and performance. The total kit cost is approximately $25.48 (as of November 2025), making it an accessible solution for implementing predictive maintenance systems without significant capital investment.
| Element | Description | Quantity | Cost x Unit (USD) | Total (USD) |
|---|---|---|---|---|
| 1 | 0.787 in piezoelectric sensor | 1 | $0.53 | $1.07 |
| 2 | AD828 board module | 1 | $2.50 | $2.50 |
| 3 | TRRS board module | 1 | $2.56 | $2.56 |
| 4 | Jumpers | 1 | $0.08 | $0.23 |
| 5 | 57.26 grs of Sparkle PLA | 57.26 | $0.02 | $1.43 |
| 6 | M3-4mm heat insert | 2 | $0.10 | $0.20 |
| 7 | TRS to USB-C adapter | 1 | $14.99 | $14.99 |
| 8 | TRS cable | 1 | $2.50 | $2.50 |
| Total: | $25.48 |
- Piezoelectric Sensor: Captures vibration and acoustic signals from machinery, converting mechanical motion into electrical signals for analysis
- AD828 Board Module: High-speed operational amplifier module for signal conditioning and amplification
- TRRS Board Module: Handles audio signal routing and interface compatibility
- Jumpers: Electrical connectors for flexible circuit configuration
- Sparkle PLA Filament: 3D-printed enclosure material to match FrED colors
- M3-4mm Heat Inserts: Hardware fasteners for durable assembly
- TRS to USB-C Adapter: Bridges the analog audio interface with modern USB-C digital systems
- TRS Cable: Standard audio connection cable for signal transmission
- Folder:
cad/3D printable design for enclosures, mounts, and gears used in the FrED PAL kit. - 3D model for FrED PAL Kit:
Sensor Housing Base.stl,Sensor Housing Clip.stl, andSensor Housing Lid.stl - 3D model for faulty FrED gears:
Gear - Chipped Tooth.stl,Gear - Good.stl,Gear - Offset Center.stl, andGear - Vertical Wear.stl - Parts are 3D printable with any commercial 3d printers such as Bambulab, Prusa, etc.
- Use 0.4mm nozzle and PLA for FrED PAL Kit parts
- Use 0.25mm nozzle and PETG for faulty FrED gears
The diagram below illustrates the complete hardware configuration including the piezoelectric sensors, AD828 amplifier module, TRRS interface board, and USB-C connectivity. Refer to this schematic during assembly to ensure correct component placement and connections.
Before the workshop session, ensure you have:
- π Anaconda Distribution - Download from anaconda.com
- π Jupyter Notebook - Included with Anaconda installation
- π€ FrED PAL Kit - Predictive Maintenance hardware kit
- οΏ½οΈ Compatible Operating System - Windows, macOS, or Linux
The FrED PAL kit assembly process is straightforward and requires minimal technical expertise. Begin by carefully assembling all the components according to the hardware schematic provided below. The sensor module should be securely mounted on the gearbox lid or target equipment surface to ensure optimal vibration capture. Once the mechanical assembly is complete, connect the power supply to the FrED PCB, providing the required 5V power and ground connections to all active components.
Next, establish the signal pathway by connecting the TRS cable from the TRRS module to your computer's audio interface through the TRS to USB-C adapter. This connection allows the analog signals captured by the piezoelectric sensors to be transmitted to your computer for real-time processing and analysis. Ensure all connections are secure and properly aligned before powering on the system.
π Getting Started:
- Launch Anaconda Navigator or use command line
- Start Jupyter Notebook from Anaconda Navigator or run
jupyter notebook - Navigate to the repository folder in Jupyter's file browser
- Open the data recorder notebook:
Data_Recording.ipynb
π Workshop Notebooks:
Data_Recording.ipynb- Record and collect machinery audio samples locallyData_Analytics_Workshop.ipynb- Complete signals processing and machine learning pipeline for model training.Model_Deployment.ipynb- Use the best-performing model for a live model deployment prediction.
-
PdM Workshop Slide Deck.pdf- Slide deck used in the Predictive Maintenance Workshop -
Preparation- Contains import functions and preprocessing utilities for data handling and signal processing. This folder includes modules for loading audio files, feature extraction, and data preparation before model training. -
data/audio- Storage location for all audio files collected during data recording and preprocessing. Contains sample audio data for training and testing the predictive maintenance models. -
trained_models- Storage location for machine learning models. Contains our best-performing trained model used for real-time predictions and deployment in the Model_Deployment.ipynb notebook.
Microphone Permission Denied (macOS)
# Grant microphone access in System Preferences
System Preferences β Security & Privacy β Privacy β MicrophoneModule Import Errors
# Ensure you're in the project directory
cd FrED-Predictive-Maintenance
pip install -r requirements.txtAudio Device Not Found
# List available devices
from Preparation.Import.audio_recorder import list_audio_devices
devices = list_audio_devices()
print('\n'.join(devices))- CPU: Multi-core processor recommended for real-time processing
- RAM: 4GB minimum, 8GB recommended
- Storage: 1GB for base installation, additional space for audio data
- Audio: Compatible microphone or audio input device
- Use appropriate buffer sizes for your system
- Configure auto-save intervals based on storage capacity
- Monitor CPU usage during continuous operation
- Adjust confidence thresholds based on model performance
This project is licensed under the MIT License - see the LICENSE file for details.
