Command Palette

Search for a command to run...

Energy Systems & AI•04.2026 — Present

LLM-Integrated Hybrid Power Monitor & Source Switch

Low-cost hybrid energy management system combining microcontroller data acquisition, automated solar-priority source switching, and an on-premises local LLM for natural-language diagnostics.

Domain
Energy Systems & AI
Timeline
04.2026 — Ongoing
Focus
Intelligent Software
Verification
Bench Validated

Technologies & Methodologies

  • Arduino
  • IoT
  • Local LLM
  • Power Systems
  • Energy Monitoring
  • C++
  • Python
  • Automatic Source Switching
  • Diagnostics

Problem & Motivation

Small-scale solar and battery hybrid installations frequently experience poor energy utilization due to inefficient manual source changeover and opaque inverter telemetry. Most commercial monitoring tools simply present dense tabular numbers that non-specialist users struggle to translate into actionable maintenance or energy conservation actions.

Role & Engineering Contributions

System Designer and Developer. Designed the dual-source electrical sensing circuitry, programmed the microcontroller source-switching algorithm, and developed the Python pipeline for local LLM telemetry ingestion and diagnostic generation.

System Architecture & Methodology

An Arduino sensing module samples voltage and current from both solar photovoltaic and AC grid supplies. An automated relay switching circuit executes source changeovers, prioritizing solar generation whenever insolation and battery voltage satisfy defined thresholds. Serial telemetry is streamed into a local computing node where a lightweight on-device LLM processes sliding-window time-series data to detect abnormal consumption patterns and generate clear diagnostic explanations.

Implementation Details

Formulated a hysteresis-based switching algorithm in embedded C++ to eliminate rapid relay cycling during transient cloud cover. Built a Python telemetry service that converts electrical metrics into structured context prompts. Guided the local language model to identify load imbalances, calculate estimated solar savings, and flag abnormal voltage sags without requiring external internet access or proprietary cloud APIs.

Verified Results & Outcomes

Verified seamless automatic source transfer with minimal load disturbance. Confirmed that local LLM diagnostics accurately flagged simulated voltage anomalies and generated actionable, human-readable operational summaries.

Command Palette

Search for a command to run...