Submitted:
27 July 2025
Posted:
29 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Motivation: Challenges of Grid Stability with Intermittent Renewables
1.2. Synchronization Needs in Inverter-Dominated Grids
1.3. AI's Role in Adaptive, Real-Time Synchronization
1.4. Paper Contributions and Organization
2. Background and Literature Review
2.1. Conventional Grid Synchronization Methods
2.2. Challenges in Weak Grids and Low Inertia Systems
2.3. Recent Advances Using AI/ML in Power Electronics Control
2.4. Gaps in Current Approaches
3. System Model and Problem Formulation
3.1. Description of Renewable-Integrated Grid
3.2. Grid Voltage Waveform Modeling Under Disturbances
-
Frequency deviations due to load-generation imbalanceVoltage sags/swells resulting from faults or large inverter switchingHarmonic distortion from nonlinear loads or poorly tuned convertersPhase jumps during reconnection or transient recovery
3.3. Synchronization Parameters
- Phase Angle (ϕ): Aligns the inverter output with grid voltage to ensure unity power factor.
- Grid Frequency (f): Ensures compatibility with grid standards (e.g., 60 Hz in the U.S.).
- Rate of Change of Frequency (ROCOF): Useful for islanding detection, fault identification, and control coordination.
3.4. Problem Statement: Real-Time Adaptive Synchronization Under Volatility
- Accurately estimate phase and frequency in noisy and distorted waveforms,
- Respond to abrupt changes in grid state (e.g., islanding, fault clearance),
- Maintain synchronization stability during low-inertia operation,
- Learn and adapt its behavior based on real-time grid conditions.
4. AI Control Loop Architecture
4.1. AI-Based Adaptive PLLs
- Neural Network-Aided PLL: Trained neural networks (e.g., feedforward or recurrent) process raw grid voltage inputs to extract phase angle and frequency estimates, particularly under harmonics, noise, or voltage sags. The neural estimator replaces or assists the conventional Phase Detector (PD) and Low Pass Filter (LPF) units in standard PLLs.
- Fuzzy Logic-Enhanced PLL: Fuzzy logic systems dynamically adjust PLL control gains based on observed grid conditions, improving stability and responsiveness during transients. This approach is particularly effective in mitigating oscillations and phase overshoot when reconnecting to weak grids.
4.2. Reinforcement Learning-Based Phase and Frequency Control
- State Space: Phase error, frequency deviation, ROCOF, and inverter voltage output
- Actions: Adjust control signals to the voltage source inverter (e.g., reference phase shift, voltage amplitude)
- Reward Function: Penalizes large phase/frequency errors and incentivizes smooth convergence
4.3. Edge AI for Low-Latency Response
4.4. Control Feedback Structure and Block Diagram
- Input Stage: Measures grid voltage, current, and harmonic content
- Feature Extraction: Real-time signal pre-processing and filtering
-
AI-Based Synchronizer:
- o
- Neural/Fuzzy Enhanced PLL for phase detection
- o
- RL Controller for adaptive reference signal tuning
- Inverter Interface: Applies synchronization adjustments via PWM signal control
- Error Evaluation: Computes phase/frequency deviation and updates learning agents
5. Simulation Environment and Test Scenarios
5.1. Simulation Platform and Tools
- Platform: MATLAB R2023b with Simscape Electrical Toolbox
- Solver: Variable-step ode23tb for stiff systems
- Time step: 50 µs (software); 10 µs (real-time on OPAL-RT)
- Target Hardware (optional): OP4510 Real-Time Simulator with FPGA-based I/O
5.2. Test System Configuration
- Solar PV systems integrated at buses 3, 6, and 9 with inverter control
- Wind generation integrated at buses 2 and 7 using DFIG models
- Inverter capacity ranging from 1 MW to 5 MW with real-time variability
- Loads with residential and commercial demand profiles (time-varying)
5.3. Intermittency and Disturbance Injection
- Solar Ramp Event: Sudden 40% drop in PV output within 5 seconds, simulating cloud cover
- Frequency Fluctuation: Imposed ±1.5 Hz deviation from nominal 60 Hz to emulate imbalance
- Voltage Sag: 25% amplitude drop on phase A for 200 ms to test PLL robustness
- Switching Harmonics: 3rd and 5th harmonics introduced on inverter terminals
5.4. Benchmark Comparison
- Standard SRF-PLL with PI control
- Fuzzy-augmented PLL (without AI learning)
- Neural-enhanced PLL (offline-trained only)
6. Results and Performance Analysis
6.1. Time-to-Synchronize Under Dynamic Conditions
6.2. Frequency Deviation and ROCOF Stability
6.3. Harmonic Rejection and Power Factor Improvement
6.4. Convergence Behavior of RL Agent
6.5. Summary of Metrics
| Metric | SRF-PLL | Fuzzy PLL | Proposed AI |
|---|---|---|---|
| Avg. Sync Time | 103 ms | 75 ms | 38 ms |
| Avg. THD | 4.8% | 3.2% | 2.3% |
| Peak Frequency Error | ±0.27 Hz | ±0.18 Hz | ±0.11 Hz |
| Power Factor Stability | 0.965–0.990 | 0.980–0.994 | 0.995–0.998 |
7. Discussion
7.1. Benefits and Trade-Offs
- Improved Accuracy: As evidenced by the simulation results, the AI-enhanced control loop achieved higher precision in phase and frequency tracking compared to traditional methods. Phase angle error was reduced by over 60% in scenarios involving grid disturbances.
- Low Latency: Real-time adaptability of the reinforcement learning (RL) component enables sub-cycle synchronization, enhancing dynamic response in rapidly changing grid conditions.
- Robustness Against Nonlinearity: The use of neural networks allows the controller to generalize across nonlinear behaviors, such as harmonic injection and voltage sags, where conventional Phase-Locked Loops (PLLs) tend to fail.
- Increased Complexity: Training, validating, and deploying neural or RL-based controllers require more system overhead, particularly in designing the reward function, state-action space, and training epochs.
- Resource Constraints at the Edge: Implementing such models in edge inverters or real-time digital signal processors (DSPs) may require hardware accelerators or lightweight AI models.
7.2. Scalability and Real-World Integration
- Cybersecurity: AI systems that rely on real-time data exchange and cloud/edge coordination are susceptible to cyber threats if not secured.
- Hardware-Software Co-Design: Effective implementation calls for a co-optimization of AI model size, real-time requirements, and power electronics firmware.
- Interoperability: Legacy infrastructure may lack support for AI-enhanced synchronization systems, necessitating retrofitting and protocol standardization.
7.3. Suitability for DERMS and Grid-Forming Inverters
- Enhanced peer-to-peer synchronization among inverters
- Enabling fast frequency response during grid contingencies
- Seamless transition between grid-following and grid-forming modes
8. Conclusion and Future Work
Future Directions
- Hardware-in-the-Loop (HIL) Validation: Integrating the AI synchronization framework into OPAL-RT or Typhoon HIL platforms for real-time performance benchmarking with physical inverter hardware and DSP controllers.
- Cybersecurity for AI Controllers: Investigating the vulnerability landscape of AI-based control systems in power networks and developing resilient architectures that incorporate adversarial training, anomaly detection, and secure communication protocols.
- Smart Grid Standardization and Interoperability: Collaborating with utilities and grid operators to align the proposed architecture with evolving IEEE standards (e.g., IEEE 1547, IEEE 2030.7) for inverter-grid interaction, ensuring compatibility and scalability.
- Commercialization via SynGrid Technologies: As part of ongoing translational efforts, the AI-based grid synchronization framework will be integrated into SynGrid Technologies’ platform for resilient power electronics and smart grid optimization. This venture aims to deploy adaptive synchronization modules into real-world inverter systems—supporting municipal microgrids, renewable aggregators, and energy-critical infrastructure in the U.S.
References
- R. Nellikkath et al., “Physics Informed Neural Networks for Phase Locked Loop Transient Stability Assessment,” arXiv preprint arXiv:2303.12116, Mar. 2023. [CrossRef]
- M. Eskandari, A. V. Savkin, and J. E. Fletcher, “A Deep Reinforcement Learning-Based Intelligent Grid-Forming Inverter for Inertia Synthesis by Impedance Emulation,” IEEE Trans. Power Syst. Lett., vol. 8, no. 2, pp. 1–5, Feb. 2023. [CrossRef]
- “Next-Generation Smart Inverters: Bridging AI, Cybersecurity, and...,” MDPI, 2025.
- R. El Helou, D. Kalathil, and L. Xie, “Fully Decentralized Reinforcement Learning-based Control of Photovoltaics in Distribution Grids for Joint Provision of Real and Reactive Power,” arXiv, Aug. 2020. [CrossRef]
- “Machine Learning Supervisory Control of Grid-Forming Inverters in Microgrids,” MDPI, 2023.
- “Synchronous Instabilities in Inverter-Connected Systems,” Energy Reports, Jun. 2024.
- “Deep Reinforcement Learning for Optimizing Inverter Control: Fixed and Adaptive Gain Tuning Strategies for Power System Stability,” arXiv preprint arXiv:2411.01451, Nov. 2024.
- “Grid Synchronization using Machine Learning,” ResearchGate, 2022.
- “Impact of PLL and non-PLL vector current control techniques on grid-connected inverters,” Elsevier, 2024.
- “Robust PLL-Based Grid Synchronization and Frequency Monitoring,” Energies, vol. 16, no. 19, Art. 6856, Oct. 2023.
- “Droop control strategy for microgrid inverters — A deep reinforcement approach,” Energy Reports, Mar. 2024.
- “Artificial Intelligence Applications for Grid-Connected Solar Inverters,” IJCTCM, 2025.
- “A Review of Neural Network Based Machine Learning Approaches for Rotor Angle Stability Control,” arXiv preprint arXiv:1701.01214, Jan. 2017.
- T. S. Babu, S. K. Sahoo, and S. J. Padmanaban, “A comprehensive review of hybrid energy storage systems...” IEEE Open J. Ind. Appl., vol. 8, pp. 1–25, 2020.
- A. G. Khalil Abadi et al., “A model predictive control strategy for performance improvement of hybrid energy storage systems in DC microgrids,” IEEE Access, vol. 10, pp. 25400–25421, 2022.
- V. T. Nguyen and J. W. Shim, “Virtual capacity of hybrid energy storage systems using adaptive state-of-charge range control,” IEEE Access, vol. 8, pp. 126951–126964, 2020.
- F. Ni et al., “Enhancing resilience of DC microgrids with model predictive control-based hybrid energy storage system,” Int. J. Electr. Power Energy Syst., vol. 128, 2021. [CrossRef]
- Q. Xu et al., “Review on advanced control technologies for bidirectional DC/DC converters in DC microgrids,” IEEE J. Emerg. Sel. Topics Power Electron., vol. 9, no. 2, 2021. [CrossRef]
- J. Hu et al., “Model predictive control of microgrids—An overview,” Renew. Sustain. Energy Rev., vol. 136, 2021.
- X. Castellanos-Paez et al., “Edge computing: Use cases and benefits for electrical grids,” IEEE Smart Grid Webinar, 2023.
- M. Metke and R. Ekl, “Security technology for smart grid networks,” IEEE Trans. Smart Grid, vol. 1, no. 1, 2010.
- Q. Zhou, A. Abbasi, and H. Farhangi, “A communication architecture for next-generation grid applications using SCADA and public safety radio,” in IEEE PES ISGT, 2014.
- K. Samarakoon, J. Ekanayake, and N. Jenkins, “Investigation of response times for emergency demand response via SCADA communication,” IEEE Trans. Ind. Electron., vol. 61, no. 11, pp. 5981–5988, 2014.
- D. P. Pezaros et al., “Fallback and redundancy schemes for control communications in cyber-physical energy systems,” IEEE Syst. J., vol. 14, no. 3, 2020.
- B. Li, Y. Sun, and Y. Xu, “A low-latency, high-reliability communication architecture for SCADA fallback in smart grid,” IEEE Access, vol. 7, pp. 130115–130126, 2019.
- J. R. Rosales, D. Elizondo, and E. Stewart, “Communications for emergency response in smart grids: A survey,” IEEE Commun. Surveys Tuts., vol. 22, no. 1, 2020.
- T. Dragičević et al., “DC microgrids—Part II: A review of power architectures,” IEEE Trans. Power Electron., vol. 31, no. 5, 2016.
- S. K. Khaitan and J. D. McCalley, “Design techniques and applications of cyber–physical systems: A survey,” IEEE Syst. J., vol. 9, no. 2, 2015. [CrossRef]
- F. Pagani and D. R. Infield, “Impact of network redundancy on power system reliability using wireless backup,” IEEE Trans. Smart Grid, vol. 6, no. 1, 2015.
- X. Zhang, B. Wang, D. Gamage, and A. Ukil, “Model predictive and iterative learning control based hybrid control method for hybrid energy storage system,” IEEE Trans. Sustain. Energy, vol. 12, no. 4, 2021. [CrossRef]
- R. Rasheed et al., “Deep Reinforcement Learning Approach to Estimate the Energy-Mix in Modern Power Systems,” Energy Inform., 2024.
- “Next generation power inverter for grid resilience: Technology review,” Elsevier Energy, 2024.
- “Improving frequency stability in grid-forming inverters with Adaptive MPC,” PMCID PMC12075574, 2024.
- Y. Kurukuru et al., “A review on artificial intelligence applications for grid-connected solar photovoltaic systems,” Energies, vol. 14, no. 15, 2021.
- M. M. R. Enam, “Energy-Aware IoT and Edge Computing for Decentralized Smart Infrastructure in Underserved U.S. Communities,” Preprints, vol. 202506.2128, Jun. 2025. [Online]. [CrossRef]
- S. A. Farabi, “AI-Augmented OTDR Fault Localization Framework for Resilient Rural Fiber Networks in the United States,” arXiv preprint arXiv:2506.03041, Jun. 2025. [Online]. Available: https://arxiv.org/abs/2506.03041.
- S. A. Farabi, “AI-Driven Predictive Maintenance Model for DWDM Systems to Enhance Fiber Network Uptime in Underserved U.S. Regions,” Preprints, Jun. 2025. [Online]. [CrossRef]
- S. A. Farabi, “AI-Powered Design and Resilience Analysis of Fiber Optic Networks in Disaster-Prone Regions,” ResearchGate, Jul. 2025. [Online]. [CrossRef]
- M. N. Hasan, “Predictive Maintenance Optimization for Smart Vending Machines Using IoT and Machine Learning,” arXiv preprint arXiv:2507.02934, Jun. 2025. [CrossRef]
- M. N. Hasan, “Intelligent Inventory Control and Refill Scheduling for Distributed Vending Networks,” ResearchGate, Jul. 2025. [Online]. [CrossRef]
- M. N. Hasan, “Energy-Efficient Embedded Control Systems for Automated Vending Platforms,” Preprints, Jul. 2025. [Online]. [CrossRef]
- S. R. Sunny, “Lifecycle Analysis of Rocket Components Using Digital Twins and Multiphysics Simulation,” ResearchGate, Jul. 2025. [Online]. [CrossRef]
- S. R. Sunny, “AI-Driven Defect Prediction for Aerospace Composites Using Industry 4.0 Technologies,” Zenodo Preprint, Jul. 2025. [Online]. [CrossRef]
- M. H. Mithun et al., “Microplastics in Aquatic Ecosystems: Sources, Impacts, and Challenges for Biodiversity, Food Security, and Human Health – A Meta Analysis,” J. Angiotherapy, vol. 8, no. 11, pp. 1–12, 2024.
- F. B. Shaikat, R. Islam, A. T. Happy, and S. A. Faysal, “Optimization of Production Scheduling in Smart Manufacturing Environments Using Machine Learning Algorithms,” Lett. High Energy Phys., vol. 2025, 2025. [Online]. Available: https://lhep.
- R. Islam et al., “Integration of Industrial Internet of Things (IIoT) with MIS: A Framework for Smart Factory Automation,” J. Inf. Syst. Eng. Manage., vol. 10, 2025. [CrossRef]
- A. T. Happy et al., “Enhancing Pharmacological Access and Health Outcomes in Rural Communities through Renewable Energy Integration: Implications for Chronic Inflammatory Disease Management,” Integrative Biomedical Research, vol. 8, no. 12, pp. 1–12, 2024. [CrossRef]
- F. B. Shaikat, “AI-Powered Hybrid Scheduling Algorithms for Lean Production in Small U.S. Factories,” ResearchGate, 2025. [Online]. [CrossRef]
- F. B. Shaikat, “Energy-Aware Scheduling in Smart Factories Using Reinforcement Learning,” ResearchGate, 2025. [Online]. [CrossRef]
- F. B. Shaikat, “Secure IIoT Data Pipeline Architecture for Real-Time Analytics in Industry 4.0 Platforms,” ResearchGate, 2025. [Online]. [CrossRef]
- F. B. Shaikat, “Upskilling the American Industrial Workforce: Modular AI Toolkits for Smart Factory Roles,” ResearchGate, 2025. [Online]. [CrossRef]
- M. F. B. Shaikat, “Pilot Deployment of an AI-Driven Production Intelligence Platform in a Textile Assembly Line,” TechRxiv, Jul. 2025. [Online].




| Disturbance | SRF-PLL | Fuzzy PLL | NN-PLL | Proposed AI (NN + RL) |
|---|---|---|---|---|
| Nominal Grid | 62 ms | 48 ms | 41 ms | 28 ms |
| Voltage Sag (25%) | 115 ms | 84 ms | 72 ms | 42 ms |
| Frequency Drift ±1.5 Hz | 134 ms | 95 ms | 79 ms | 45 ms |
| Harmonic Injection (3rd) | 98 ms | 72 ms | 55 ms | 38 ms |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).