Electrical distribution networks supplying dynamic and nonlinear equipment face persistent operating challenges stemming from poor power factor, which degrades overall system efficiency, induces voltage instability, and accelerates energy dissipation. When inductive machinery such as compressors, industrial motors, blenders, and drills run on alternating current circuits, their magnetic coils draw lagging reactive currents that shift the phase angle between voltage and current waveforms. This reactive draw expands apparent power demands without performing usable work, forcing utilities and end users to absorb increased transmission line losses, thermal degradation of distribution infrastructure, and punitive reactive power billing penalties. Conventional automatic power factor correction installations frequently struggle to resolve these problems in dynamic environments because they depend on static capacitor installations or coarse binary switching arrangements. Such legacy units exhibit sluggish response times and cannot adjust their compensation capacitance quickly enough to track volatile operational shifts. To solve these performance limitations, a research team led by Charity Mokom Nkinyam developed and experimentally validated an automated, Internet of Things enabled compensation platform designed to deliver responsive, continuous reactive power correction across fluctuating load conditions.
The engineering team designed their automated system architecture around an Espressif ESP32 microcontroller, pairing the central controller with a PZEM-004T dedicated sensory interface to conduct continuous electrical telemetry. In alternating current circuits, real or active power measured in watts represents the electrical energy directly converted into useful mechanical or thermal work, whereas apparent power measured in volt-amperes expresses the product of root-mean-square voltage and root-mean-square current. The lagging reactive power, quantified in volt-amperes reactive, represents energy temporarily exchanged between inductive magnetic fields and capacitive electrical fields. The operational objective of power factor correction is to supply this necessary reactive component locally via parallel capacitor installations, canceling inductive lag at the load terminal and driving the ratio of active power to apparent power toward unity. To achieve this objective without expensive or overly complex commercial metering apparatus, the experimental prototype integrates an alternating current power flow circuit, an isolated relay module, a real-time clock, a liquid crystal display, a feedback buzzer, and an onboard four-by-four matrix keypad that allows operators to configure specific target thresholds.
System monitoring and compensation execution operate through a closed-loop algorithmic cycle that continuously tracks supply parameters while isolating sensitive microelectronics from secondary line fluctuations. Connected directly to an alternating current supply running at 220 to 230 volts, the sensory unit captures real-time data points for line voltage, line current, active power, line frequency, and instantaneous power factor. To prevent electrical noise, erratic transients, and brief load spikes from initiating spurious switching actions, the ESP32 samples voltage and current every two seconds and averages three consecutive measurements before executing subsequent mathematical evaluations. When the calculated power factor falls below the operator-defined reference threshold, the internal algorithm computes the precise displacement angles and determines the exact compensating reactive power required using established power triangle equations. Because continuous theoretical values cannot be perfectly matched by off-the-shelf components, the system maps the mathematical requirement to the closest achievable physical capacitance across a bank of discrete capacitors rated at two, five, ten, and twenty microfarads.
The hardware arrangement relies on an adaptive stacked-weight switching configuration, permitting the relay module to selectively combine the four discrete capacitors into cumulative steps extending from 2 to 37 microfarads. Electromechanical relays execute the chosen switching configuration with a deliberate 100-millisecond transition delay and operate within a designated plus-or-minus 0.05 power factor dead-band. Furthermore, the firmware enforces a one-second stabilization delay following each relay actuation, a design choice engineered to prevent destructive rapid oscillatory cycling, suppress relay contact arcing, and extend the physical operational lifespan of mechanical contactors. Protective optical isolation barriers incorporated into the multi-channel relay module shield the low-voltage microcontroller logic lines from line voltage backflows and transient inductive voltage surges occurring during switching sequences. Once the corrective capacitance enters the secondary circuit in parallel with connected equipment, the sensing hardware immediately re-measures line values to confirm that the revised power factor successfully settles within the intended operational target band without generating overcompensation.
Telemetric data logging and remote system oversight are handled through an integrated Internet of Things architecture that links the ESP32 controller directly to the ThingSpeak cloud analytics platform. Using standard wireless connectivity and mobile network pathways, the device securely transmits recorded values of voltage, current, active power, reactive power, frequency, and corrected power factor over HTTP at one-minute update intervals. This continuous cloud synchronization provides operational transparency through graphical dashboards that display voltage stability curves, current profiles, power consumption trends, and reactive power compensation trajectories. During practical communication testing, the cloud data transmission link maintained a latency of under 10 seconds between local measurement capture and online database logging, ensuring responsive monitoring capabilities for distributed utility or facility managers. Over extended multi-day operational trials, the cloud-connected hardware platform demonstrated an operational uptime exceeding 98 percent, verifying that budget-conscious embedded electronics can sustain reliable automated telemetry without requiring human supervision or suffering communication collapse.
Experimental evaluation of the functional prototype was performed across three distinct operating conditions using an array of domestic and workshop appliances to replicate dynamic consumer and industrial loads. Testing commenced with purely resistive loads using an 800-watt water boiler and lighting circuits, where current and voltage waveforms remain naturally in phase. In this baseline resistive state, the sensory instrumentation detected that the load power factor was already above the 0.95 target threshold, prompting the algorithm to keep all capacitor relays open and verify that the system avoids superfluous compensation. Subsequent testing evaluated purely inductive and dynamic behaviors using a 600-watt variable hair dryer motor, which introduced an immediate lagging phase displacement. The microcontroller quickly registered this drop, computed the required reactive offset, and energized the appropriate capacitor stages to restore power factor. Finally, complex mixed-load scenarios combined the 600-watt hair dryer with a 400-watt blender, a 350-watt electric drill, and a 60-watt fan motor to assess adaptive switching performance under compound, heavily inductive demands.
Across the spectrum of experimental trials, the automated correction system raised measured power factors from depressed baselines as low as 0.64 up to a corrected value of 0.99. This notable phase realignment reduced reactive current demands, lowering line current levels by 18 to 31 percent and generating an overall boost in system efficiency ranging from 17 to 34 percent. During systematic incremental load switching, observed deviations in measured power factor and operating current remained below 2.5 percent, demonstrating robust repeatability across changing inductive states. To validate the accuracy of the physical device, researchers developed a parallel theoretical simulation model in MATLAB, replicating single-phase equivalent resistance-inductance circuits under steady-state 230-volt, 50-hertz sinusoidal excitation. Comparing average experimental measurements across ten dynamic load combinations against simulated outputs produced a Pearson correlation coefficient exceeding 0.97, specifically achieving r equals 0.973668. Error metrics confirmed close alignment, yielding a mean absolute error of 2.2708, a root mean square error of 3.1617, and a mean absolute percentage error of 14.02, with an evaluated standard error of 0.01964 providing a 97.36 percent monitoring accuracy within a 3.85 percent margin of error at a 95 percent confidence interval.
An economic expenditure analysis was conducted to establish the commercial viability and financial payback characteristics of the prototype for domestic and small-scale commercial environments in Nigeria. Total design and component construction costs were estimated at 60,000 Nigerian Naira based on local prevailing market rates for the microcontroller, sensors, relays, display, enclosure, and discrete capacitors. Typical installation labor introduces an initial expense of approximately 10,000 Naira, while recurring maintenance, primarily addressing minor component inspection and periodic capacitor replacements, is projected at 10,000 Naira annually. Assuming a conservative equipment operational lifespan of five years, total lifetime expenditure reaches approximately 120,000 Naira. When correcting a low baseline power factor of 0.60 to a stable 0.95, calculated utility billing savings average 44.21 Naira per kilovolt-ampere-hour, enabling the system to reach capital break-even in approximately 2,714 operating hours. For milder initial distortions starting from a baseline power factor of 0.70, hourly savings average 27.07 Naira per kilovolt-ampere-hour, producing a capital payback period of roughly 4,433 operating hours before generating net financial returns.
The authors contextualized their empirical findings against prior automatic correction implementations documented across power engineering literature. Earlier approaches, such as the single-phase system developed by Ali and colleagues that utilized triac switches, successfully modulated capacitor circuits but lacked integrated real-time Internet of Things telemetry and exhibited greater compensation latency. Conventional binary switching designs investigated by Younis and Pannah relied on rigid step sizes that often struggled to avoid overcompensation under rapid load fluctuations. Conversely, the dynamic four-stage capacitor arrangement deployed here provided superior granular tracking across fluctuating inductive loads. The 31 percent current reduction observed during compound motor testing closely matches the 30.6 percent current mitigation achieved by Gomaa and co-workers using industrial programmable logic controllers. Furthermore, the remote data accessibility achieved via ThingSpeak mirrors benefits reported in Raspberry Pi architectures evaluated by Madhiarasan, confirming that modular microcontrollers can deliver comparable supervisory control and data logging benefits at a fraction of industrial hardware expenditure.
Despite its proven operational advantages, the authors documented several technical limitations that restrict the immediate deployment of the current prototype in heavy industrial environments. The hardware was fabricated and tested exclusively on a single-phase alternating current system, meaning that application to large-scale three-phase industrial facilities requires substantial structural redesign and three-phase monitoring integration. Additionally, while the four-capacitor bank offers flexible combinations between 2 and 37 microfarads, the finite number of discrete switching states inherently limits perfect reactive compensation under severe, non-linear load swings. Operational dependability also remains tethered to consistent internet connectivity, which can falter in remote rural regions unless supplemented by low-power wide-area networks or satellite data uplinks. Environmental factors such as dust accumulation and ambient humidity may also necessitate sensor recalibration or hardware replacement every four to six years. Future development will focus on scaling the platform to three-phase networks, expanding capacitor switching gradations, and embedding machine learning algorithms to enable predictive reactive power dispatch based on automated load forecasting.
Subject of Research: Microcontroller-driven automatic power factor correction and cloud monitoring for dynamic electrical loads
Article Title: Development of a novel IoT-based monitoring and automatic power factor correction system for dynamic load
Article References: Nkinyam, C. M., Clausel, T. T. B., Anyanwu, C., Eke, M., Borel, T. K., Yungho, E. B., Aziz, A., & Abam, F. (2026). Development of a novel IoT-based monitoring and automatic power factor correction system for dynamic load. Journal of Electrical Systems and Information Technology, 13(1), Article 65. https://doi.org/10.1186/s43067-026-00371-9
Image Credits: AI Generated
DOI: 10.1186/s43067-026-00371-9
Keywords: power factor correction, dynamic loads, ESP32 microcontroller, PZEM-004T sensor, ThingSpeak cloud, capacitor banks, reactive power compensation, energy efficiency, smart grid monitoring, electrical distribution, MATLAB simulation, Pearson correlation, industrial inductive loads, relay switching control, load monitoring, power quality management, Nigerian energy cost analysis
Cite Scienmag News
Henry Jenkins. (November 21, 2026). Smart Adaptive Capacitor System Boosts Dynamic Load Power Factor to Near Unity. Scienmag. https://scienmag.com/smart-adaptive-capacitor-system-boosts-dynamic-load-power-factor-to-near-unity/
Henry Jenkins. "Smart Adaptive Capacitor System Boosts Dynamic Load Power Factor to Near Unity." Scienmag, 21 November 2026, https://scienmag.com/smart-adaptive-capacitor-system-boosts-dynamic-load-power-factor-to-near-unity/. Accessed 6 December 2026.
Henry Jenkins. "Smart Adaptive Capacitor System Boosts Dynamic Load Power Factor to Near Unity." Scienmag. November 21, 2026. https://scienmag.com/smart-adaptive-capacitor-system-boosts-dynamic-load-power-factor-to-near-unity/








