Back to Projects

ENGINEERING BLOG

Integrated DC Machine Protection and Advanced Health Monitoring System

A real-time protection and health monitoring system engineered to detect abnormal electrical conditions in DC machines and trigger deterministic actions or shutdown using intelligent embedded control logic.

  • Embedded Systems
  • Control Logic
  • C++
  • Fusion 360
  • Sensor Integration
  • Firmware Engineering
Final setup, circuit integration, and embedded control system.

Problem Space

DC motors operating in real environments are exposed to overload, overvoltage, and undervoltage conditions that can lead to rapid degradation or complete failure. Conventional protection mechanisms often rely on passive components or delayed response systems.

A real-time, configurable protection system was implemented to continuously monitor electrical parameters and enforce immediate actions under unsafe conditions.

System Architecture

The system was designed as a microcontroller-driven protection unit integrating sensing, decision-making, and actuation within a closed loop:

  • Sensing Layer: Current and voltage acquisition
  • Processing Layer: Threshold evaluation and fault detection
  • Actuation Layer: Galvanically isolated load control
  • Feedback Layer: Real-time LCD telemetry with audible alert triggers

Hardware Implementation

The system integrates multiple hardware components to achieve real-time monitoring and control:

  • ATmega328P-based control unit
  • ACS712 Hall-effect current sensor (up to 30A peak detection)
  • Voltage divider network for voltage sampling
  • Galvanically isolated relay
  • 20x4 LCD display with I2C interface
  • Rotary encoder for threshold configuration
  • Piezoelectric buzzer for fault indication

The designed architecture achieves tight coupling between sensing, control, and actuation paths, while maintaining rigorous domain isolation to ensure minimal delay between detection and response without compromising logic-level integrity.

Control Logic & Firmware

Implemented in standard-compliant C++, the firmware utilizes a non-blocking event loop with hardware-abstracted threshold configurations to ensure deterministic response times.

  • Continuous analog sampling of current and voltage
  • Dynamic threshold comparison
  • Relay actuation on fault detection
  • User-configurable limits via rotary encoder
  • EEPROM-backed persistence for settings

The program is designed to handle multiple operational states in a structured manner, including calibration, runtime monitoring, and configuration modes.

Operational Flow

The system continuously samples real-time current and voltage values. These values are scaled and processed within the microcontroller. If any parameter exceeds predefined thresholds, the relay is immediately disengaged, cutting off power to the motor.

Simultaneously:

  • Fault indication is triggered via buzzer
  • Live parameters are displayed on LCD
  • User can reconfigure thresholds dynamically

Protection systems must react faster than the fault progression, not just detect it.

Key Features

  • Real-time monitoring of current and voltage
  • Configurable upper and lower thresholds
  • Immediate relay-based fault isolation
  • Live system feedback via LCD
  • User interaction through rotary encoder
  • Compact and deployable design

Validation

The system was implemented and tested under varying load conditions. It consistently detected abnormal operating ranges and executed immediate protective shutdown.

  • Accurate current sensing via ACS712 (scalable to Current Transformer (CT))
  • Stable voltage measurement through divider network
  • Reliable relay actuation under load
  • Consistent user interface behavior

Engineering Outcome

A complete protection and monitoring system was designed, implemented, and validated for DC machines applications. The solution integrates embedded firmware, real-time sensing, and hardware control into a cohesive system.

The architecture is extendable to industrial device protection systems, smart controllers, and IoT-based monitoring platforms.