Asynchronous profiling connection circuit featuring the ESP32 development board and direct-drive logic-level switching line.
Live telemetry preview capturing analytical calculations, ideal curves, and component health scaling modules.
An automated, hardware-software integrated testing system designed to characterize the health and dynamic behaviors of capacitors and supercapacitors. By performing an active discharge test controlled via an ESP32 microcontroller, the system captures high-resolution real-time voltage and current curves. The accompanying dashboard utilizes TensorFlow.js to compute structural deviations from ideal models, providing a precise State of Health (SoH) estimation directly at the edge.
-
Active Discharge Testing: Programmatic control of an N-Channel Logic-Level MOSFET (
IRLZ44N) to execute fast, clean discharge cycles. -
High-Resolution Real-Time Telemetry: Real-time acquisition of voltage, current, and power consumption metrics using an
INA219sensor via an optimized 400 kHz$I^2C$ bus speed (Wire.setClock(400000)). -
Mathematical Curve Integration: Capacitance is computed locally on the microcontroller through numerical trapezoidal integration (
$Q = \int I , dt$ ) between defined$80% \rightarrow 40%$ voltage thresholds. - TensorFlow.js Edge AI Diagnostics: Computes the Mean Squared Error (MSE) between the actual physics-based discharge curve and an ideal calculated RC model, instantly uncovering internal degradation factors like elevated ESR or dielectric leakage.
- Dynamic Visual Dashboard: Built-in Web Serial API connection interface, real-time numeric readouts, interactive multi-dataset graphs via Chart.js, and automated health scoring animations.
Unlike standard low-capacity capacitors that exhibit near-perfect exponential decay curves described by
The hardware computes initial Equivalent Series Resistance drops right as load connection stabilizes:
Because constant resistance cannot be assumed under active load profiling, charge (
TensorFlow.js processes the recorded timeline tensors to isolate component age and structural fatigue via a custom loss analysis:
The hardware pipeline utilizes an efficient minimalist component layout optimized for breadboard structural integrity:
- MCU: ESP32 Development Board (handles microsecond task timing loops, asynchronous UART telemetry, and gate switching).
-
Sensor: INA219 Zero-Drift Digital Current/Power Monitor (monitors up to
$32\text{V}$ and$2\text{A}$ domains natively via$I^2C$ ). - Switching Element: IRLZ44 Logic-Level N-Channel MOSFET (allows direct drive logic from ESP32 pins without a dedicated driver).
-
Power/Bus Configuration: Dual-line
$I^2C$ connection tracking alongside structural active load configurations across target test capacitor nodes.
├── analizator.cpp # ESP32 Arduino Core firmware (sampling engine & telemetry loops)
├── index.html # HTML5/CSS3 Dashboard featuring Chart.js & TensorFlow.js engines
└── README.md # Documentation- Open
analizator.cppin the Arduino IDE or PlatformIO. - Ensure you have installed the Adafruit INA219 library dependencies.
- Connect your ESP32 to your workstation via USB.
- Verify the target pinouts (
GATE_PIN 25and native$I^2C$ mapping). - Flash the sketch to your board at a standard
$115200\text{ bps}$ upload speed.
- Open the
index.htmlfile natively within any modern web browser supporting the Web Serial API (e.g., Google Chrome or Microsoft Edge). - Click the
🔌 Conectează ESP32button in the dashboard header. - Select the matching operational COM port from your system's device prompts.
- Make sure your target supercapacitor is charged, and trigger a cycle using
🚀 PORNEȘTE TEST DESCĂRCARE.
This work was developed for SCSS (Sesiunea de Comunicări Științifice Studențești) 2026, incorporating AI‑based tools to support the prototyping process.


