Abstract
The growing integration of renewable energy in both islanded and interconnected microgrids has rendered Cyber-physical stability and resilience a vital area of research. Conventional controllers, including PID and linear state-feedback, are susceptible to network-induced delays, denial-of-service (DoS) attacks, and false data injection, resulting in diminished reactive power support and the risk of voltage collapse. This paper proposes an Observer-Aided Robust Control Framework that integrates an Event-Triggered Sliding Mode Controller (ET-SMC) with improved anomaly detection to address these challenges. An Extended Kalman Filter (EKF) and Sliding Mode Observer (SMO) are formulated to estimate hidden state variables and identify malicious data alterations with high sensitivity, facilitating dependable control decisions in the presence of Cyber-attacks. The performance of anti-windup PID and baseline SMC is evaluated against ET-SMC with observer augmentation, demonstrating that the proposed strategy offers enhanced robustness, quicker transient response, and diminished chattering. A stability-guaranteed Event-triggered communication protocol is developed through Lyapunov analysis to reduce bandwidth consumption while maintaining voltage and reactive power regulation. The proposed framework is validated on a real-time OPAL-RT hardware-in-the-loop (HIL) microgrid testbed, demonstrating its effectiveness in scenarios involving renewable intermittency, communication noise, and coordinated Cyber-attacks. Comparative results demonstrate that ROC-based detection performance and time-domain simulations underscore the advantages of observer-aided ET-SMC in ensuring resilient, low-bandwidth, and real-time Cyber-physical control for next-generation power grids.
Data availability
The datasets generated and/or analyzed during the current study are not publicly available due to some restriction but are available from the corresponding author on reasonable request.
Abbreviations
- (A, B, C):
-
Continuous-time system matrices (state, input, output)
- \(\alpha,\beta\) :
-
Positive design scalars
- CPS:
-
Cyber-physical systems
- CPPS:
-
Critical cyber-physical systems
- (d(t)):
-
Unknown disturbance or attack signal
- \(\hat{d}\) :
-
Reconstructed disturbance estimate
- \(\delta\) :
-
Bounded disturbance level
- DG:
-
Distributed generation
- DDoS:
-
Distributed denial-of-service attack
- DoS:
-
Denial-of-service attack
- DRAs:
-
Data replay attacks
- EKF:
-
Extended Kalman filter
- ETSMC:
-
Event-triggered sliding mode control
- FACTS:
-
Flexible AC transmission system
- FDI:
-
False data injection
- FDIA:
-
False data injection attack
- FPGA:
-
Field-Programmable gate array
- (F):
-
Set of faulty or attacked communication channels
- HIL:
-
Hardware-in-the-loop
- HMIs:
-
Human–machine interfaces
- ICS:
-
Industrial control systems
- \({I}_{d},{I}_{q}\) :
-
d–q axis currents
- IG:
-
Induction generator
- ISE:
-
Integral squared error
- (J):
-
Lyapunov function or cost function
- (K):
-
EKF Kalman gain
- \({K}_{s}\) :
-
Sliding mode control gain (discontinuous component)
- (L, R):
-
Inductance and resistance
- \({L}_{SMO}\) :
-
Sliding mode observer (SMO) injection/gain matrix
- \({\lambda}_{min}\) :
-
Minimum eigenvalue of a matrix
- (P):
-
EKF error-covariance matrix
- (P, Q):
-
EKF process and measurement covariance matrices
- RES:
-
Renewable energy system
- \({\Gamma}\) :
-
Event-trigger threshold parameter
- \(\Delta = y\left( {t_{k} - y\left( t \right)} \right)\) :
-
Triggering error
- \(\hat{x}\) :
-
State estimate (observer/EKF/SMO)
- \(\tilde{x} = x - \hat{x}\) :
-
State estimation error
- (x):
-
System state vector
- (y):
-
Measurement/output vector
- (u):
-
Control input vector
- \({u}_{eq}\) :
-
Equivalent (continuous) control component of SMC
- \(\omega\) :
-
Grid angular frequency
- \(\sigma\) :
-
Sliding variable(often = s\(\left(x,t\right))\)
- (s(x,t)):
-
Sliding surface function
- SG:
-
Synchronous generator
- SMC:
-
Sliding mode control
- SMO:
-
Sliding mode observer
- STATCOM:
-
Static synchronous compensator
- SVC:
-
Static VAR compensator
- \({T}_{s}\) :
-
Minimum inter-event time (to prevent Zeno behavior)
- TSA:
-
Time synchronization attack
- \({t}_{k}\) :
-
k-th triggering instant
- SCADA:
-
Supervisory control and data acquisition
- \({u}_{sw}\) :
-
Switching (discontinuous) control part
- \(\left\| * \right\|\) :
-
Euclidean or induced matrix norm
- USB:
-
Universal serial bus
- \({V}_{d},{V}_{q}\) :
-
d–q axis voltages
- \(\eta\) :
-
Boundary layer or saturation thickness
- (0):
-
Zero vector or zero matrix
References
Mahmood, H., Michaelson, D. & Jiang, J. Reactive power sharing in islanded microgrids using adaptive voltage droop control. IEEE Trans. Smart Grid 6(6), 3052–3060. https://doi.org/10.1109/tsg.2015.2399232 (2015).
Li, J., Yang, D., Su, Q. & Shen, X. Reliable control of cyber-physical systems under state attack: An adaptive integral sliding‐mode control approach. IET Control Theory Appl. 18(1), 27–39. https://doi.org/10.1049/cth2.12537 (2023).
Mohanty, A. et al. Enhanced stability and optimization of SMES-based deregulated power systems using the repulsive firefly algorithm. Phys. C Supercond. Appl. 632, 1354692. https://doi.org/10.1016/j.physc.2025.1354692 (2025).
Satapathy, A. S. et al. Hyper spherical search (HSS) algorithm based optimization and real-time stability study of tidal energy conversion system. IEEE Access 12, 34452–34466. https://doi.org/10.1109/access.2024.3372570 (2024).
Zhang, H., Wang, Z. & Zhang, J. Secure load frequency control of cyber-physical power systems under cyber attacks and delays. IEEE Internet Things J.. https://doi.org/10.1109/jiot.2025.3588844 (2025).
Dissanayake, A. M. & Ekneligoda, N. C. Game theoretic transient control of parallel connected inverters in islanded microgrids. In 2018 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT) 1–5 (IEEE, 2018). https://doi.org/10.1109/isgt.2018.8403348.
Qi, X., Zhu, L., Li, X. & Gong, R. Observer-based event-triggered sliding mode security control for nonlinear cyber-physical systems under DoS attacks. IEEE Trans. Autom. Sci. Eng. 21(4), 7480–7493. https://doi.org/10.1109/tase.2023.3343752 (2024).
Jiang, B., Niu, F., Wu, Z. & Qiu, J. Robust adaptive sliding mode security control of markov jump cyber-physical systems with stochastic injection attacks through event-triggered-based observer approach. IEEE Trans. Syst. Man. Cybern Syst. 55(5), 3679–3692. https://doi.org/10.1109/tsmc.2025.3547020 (2025).
Saeedi, M., Zarei, J., Saif, M., Shanahan, D. & Montazeri, A. Resilient event-triggered terminal sliding mode control design for a robot manipulator. IEEE Trans. Autom. Sci. Eng. 22, 570–581. https://doi.org/10.1109/tase.2023.3297119 (2025).
Abianeh, A. J., Mardani, M. M., Ferdowsi, F., Gottumukkala, R. & Dragicevic, T. Cyber-resilient sliding-mode consensus secondary control scheme for islanded AC microgrids. IEEE Trans. Power Electron. 37(5), 6074–6089. https://doi.org/10.1109/tpel.2021.3125985 (2022).
Dawoud, S. M., Lin, X. & Okba, M. I. Hybrid renewable microgrid optimization techniques: A review. Renew. Sustain. Energy Rev. 82, 2039–2052. https://doi.org/10.1016/j.rser.2017.08.007 (2018).
Zare, M., Atrianfar, H., Khorsandi, A. & Askarian-Abyaneh, H. Distributed event-triggered secondary control of islanded microgrids incorporating battery energy storage systems. In 28th International Electrical Power Distribution Conference (EPDC) 1–7 (IEEE, 2024). https://doi.org/10.1109/epdc62178.2024.10571744.
Yang, T., Li, H., Liu, Y. & Wang, H. Distributed resilient control with local correction for microgrids against cyberattacks on communication links. IEEE Trans. Power Syst.. https://doi.org/10.1109/tpwrs.2024.3507106 (2024).
Jamali, M., Sadabadi, M. S., Davari, M., Sahoo, S. & Blaabjerg, F. Resilient cooperative secondary control of islanded AC microgrids utilizing inverter-based resources against state-dependent false data injection attacks. IEEE Trans. Ind. Electron. 71, 4719–4730. https://doi.org/10.1109/tie.2023.3281698 (2024).
Negahdar, H., Karimi, A., Khayat, Y. & Golestan, S. Reinforcement learning-based event-triggered secondary control of DC microgrids. Energy Rep. 11, 2818–2831. https://doi.org/10.1016/j.egyr.2024.02.033 (2024).
Mohanty, S. et al. Soft computing techniques in solar PV energy systems. In Soft Computing in Renewable Energy Technologies 32–64 (CRC Press, 024). https://doi.org/10.1201/9781003462460-2.
Guo, G., Tan, H., Feng, Y. & Wang, Y. Event-triggered super-twisting fixed-time consensus control for networked nonlinear multi-agent systems with disturbance. IEEE Trans. Autom. Sci. Eng. 22, 11920–11932. https://doi.org/10.1109/tase.2025.3540503 (2025).
Liu, L., Wang, Y., Zhang, Z. & Zuo, Z. Event-triggered distributed sliding mode control for DC microgrids with imperfect sources. IEEE Trans. Ind. Inf. 21(1), 435–444. https://doi.org/10.1109/tii.2024.3452686 (2025).
Qi, W., Li, R., Shi, P. & Zong, G. Observer-based SMC for discrete interval type-2 fuzzy Semi-Markov jump models. IEEE Trans. Fuzzy Syst. 33(6), 1913–1925. https://doi.org/10.1109/tfuzz.2025.3545895 (2025).
Forystek, M. et al. Exploring the effects of load altering attacks on load frequency control through Python and RTDS. In 2025 IEEE Kiel PowerTech 1–6 (IEEE, 2025). https://doi.org/10.1109/powertech59965.2025.11180685.
Dimitropoulos, V., Syrmakesis, A. D. & Hatziargyriou, N. D. DRL2FC: An attack-resilient load frequency control based on deep reinforcement learning. In 2025 IEEE Kiel PowerTech 1–6 (IEEE, 2025). https://doi.org/10.1109/powertech59965.2025.11180409.
Syrmakesis, A. D., Alhelou, H. H. & Hatziargyriou, N. D. Novel SMO-based detection and isolation of false data injection attacks against frequency control systems. IEEE Trans. Power Syst. 39(1), 1434–1446. https://doi.org/10.1109/tpwrs.2023.3242015 (2024).
Syrmakesis, A. D., Alcaraz, C. & Hatziargyriou, N. D. Classifying resilience approaches for protecting smart grids against cyber threats. Int. J. Inf. Secur. 21(5), 1189–1210. https://doi.org/10.1007/s10207-022-00594-7 (2022).
Syrmakesis, A. D., Alhelou, H. H. & Hatziargyriou, N. D. A novel cyberattack-resilient frequency control method for interconnected power systems using SMO-based attack estimation. IEEE Trans. Power Syst. 39(4), 5672–5686. https://doi.org/10.1109/tpwrs.2023.3340744 (2024).
Syrmakesis, A. D. & Hatziargyriou, N. D. Cyber resilience methods for smart grids against false data injection attacks: categorization, review and future directions. Front. Smart Grids. https://doi.org/10.3389/frsgr.2024.1397380 (2024).
Syrmakesis, A. D., Alcaraz, C. & Hatziargyriou, N. D. DAR-LFC: A data-driven attack recovery mechanism for load frequency control. Int. J. Crit. Infrastruct. Prot. 45, 100678. https://doi.org/10.1016/j.ijcip.2024.100678 (2024).
Xia, H. et al. Distributed control method for economic dispatch in islanded microgrids with renewable energy sources. IEEE Access 6, 21802–21811. https://doi.org/10.1109/access.2018.2827366 (2018).
Yang, J. Reconfiguration of distribution network into islanded microgrids considering development of distributed energy resources. In 2nd IET Renewable Power Generation Conference (RPG 2013). Institution of Engineering and Technology. https://doi.org/10.1049/cp.2013.1750 (2013).
Liu, F., Wu, L., Liu, Q. & Sidorov, D. Dynamic-memory event-triggered secure control for cyber-physical power systems under hybrid attacks. IEEE Trans. Netw. Sci. Eng. 12(5), 3850–3863. https://doi.org/10.1109/tnse.2025.3566040 (2025).
Mishra, D. K. et al. Resilient control based frequency regulation scheme of isolated microgrids considering cyber attack and parameter uncertainties. Appl. Energy 306, 118054. https://doi.org/10.1016/j.apenergy.2021.118054 (2022).
Lu, K. D. & Wu, Z. G. Resilient event-triggered load frequency control for cyber-physical power systems under DoS attacks. IEEE Trans. Power Syst. 38(6), 5302–5313. https://doi.org/10.1109/tpwrs.2022.3229667 (2023).
Riaz, S., Li, B., Qi, R. & Zhang, C. An adaptive predefined time sliding mode control for uncertain nonlinear cyber-physical servo system under cyber attacks. Sci. Rep.. https://doi.org/10.1038/s41598-024-57775-8 (2024).
Liu, X., Bai, D., Qiao, S., Xiao, G. & Ge, S. S. Resilient and event-triggered sliding mode load frequency control for multi‐area power systems under hybrid cyber attacks. IET Control Theory Appl. 16(17), 1739–1750. https://doi.org/10.1049/cth2.12340 (2022).
Guo, W., Liu, F., Wang, Y., Sidorov, D. & Wu, J. Adaptive event-triggered sliding mode load frequency control for cyber-physical power systems under false data injection attacks. IEEE Trans. Ind. Inf. 21, 4, 2947–2956. https://doi.org/10.1109/tii.2024.3514185 (2025).
Yang, X., Long, Y., Li, T., Yang, H. & Liang, H. Adaptive event-triggered secure control for attacked cyber–physical systems based on resilient observer. IEEE Trans. Syst. Man. Cybern. Syst. 55(2), 936–947. https://doi.org/10.1109/tsmc.2024.3491841 (2025).
Esmaili, M. & Masouminejad, S. Voltage stability-constrained energy management in industrial microgrids with renewable energy sources. In 2017 IEEE Electrical Power and Energy Conference (EPEC) 1–6 (IEEE, 2017). https://doi.org/10.1109/epec.2017.8286151.
Ma, L. & Xu, G. Distributed resilient voltage and reactive power control for islanded microgrids under false data injection attacks. Energies 13(15), 3828. https://doi.org/10.3390/en13153828 (2020).
Mohanty, A., Viswavandya, M., Ray, P. K., Mohanty, S. & Mohanty, P. P. Linear matrix inequality approach in stability improvement through reactive power control in hybrid distributed generation system. IET Smart Grid 2(3), 355–363. https://doi.org/10.1049/iet-stg.2018.0034 (2019).
Karad, S. G. et al. Optimal Design of fractional order vector controller using hardware-in-loop (HIL) and opal RT for wind energy system. IEEE Access 12, 35033–35047. https://doi.org/10.1109/access.2024.3357504 (2024).
Magdi S. Mahmoud and Yuanqing Xia. Resilient design under cyber attacks. In Cloud Control Systems 307–337 (Elsevier, 2020). https://doi.org/10.1016/b978-0-12-818701-2.00018-4.
Acknowledgements
This work was supported by Universiti Tenaga Nasional (UNITEN) through BOLD Refresh Publication Fund (J510050002-IC-6 BOLDREFRESH2025-Centre of Excellence) for providing all out-laboratory support. The authors also express their appreciation to the Deanship of research and graduate studies at King Khalid university, Saudi Arabia for funding this work through large research project under Grant no: RGP 2/327/46.
Funding
This work was supported by Universiti Tenaga Nasional (UNITEN) through BOLD Refresh Publication Fund (J510050002-IC-6 BOLDREFRESH2025-Centre of Excellence) for providing all out-laboratory support.
Author information
Authors and Affiliations
Contributions
AM; AR: Research Concept & Design, AS; SM: Interpretation of data, RKR; JKB: Manuscript preparation, HH; PM: Design and Analysis, AM; HLA: Reviewing and Editing. All authors reviewed the manuscript. All authors were involved in editing the final manuscript. The author(s) read and approved the final manuscript.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Mohanty, A., Ramasamy, A., satpathy, A. et al. Observer aided robust control for cyber physical power grids with event triggered sliding mode controller. Sci Rep (2026). https://doi.org/10.1038/s41598-026-44084-5
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-44084-5