As renewable energy integration accelerates, the displacement of synchronous generators by inverter-based resources (IBRs) necessitates advanced grid-forming (GFM) control strategies to maintain system stability. While techniques such as Droop control, Virtual Synchronous Generator (VSG), and Dispatchable Virtual Oscillator Control (dVOC) are well-established, their comparative performance under coordinated cyber-physical stress remains underexplored. This paper presents a comprehensive Controller Hardware-in-the-Loop (CHIL) assessment of these three GFM strategies within a networked microgrid environment. Utilizing a co-simulation framework that integrates an OPAL-RT real-time simulator with the EXata CPS network emulator, we evaluate the dynamic resilience of each controller under islanded, parallel, and fault-induced reconfiguration scenarios. Experimental results demonstrate that the VSG strategy offers superior transient performance, characterized by faster settling times and enhanced fault-ride-through capabilities compared to the Droop and dVOC strategies. Furthermore, recognizing the vulnerability of connected microgrids to cyber threats, this study investigates the impact of False Data Injection (FDI) attacks on the control layer. To address this, a model-reference resilience layer is proposed and validated on a TI C2000 DSP. The results confirm that this protection mechanism effectively detects and mitigates attacks on control references and feedback measurements, ensuring stable operation despite cyber-physical disturbances.
Cyber-physical power systems integrate sensing, communication, and control, ensuring power system resiliency and security, particularly in clustered networked microgrids. Software-Defined Networking (SDN) provides a suitable foundation by centralizing policy, enforcing traffic isolation, and adopting a deny-by-default policy in which only explicitly authorized flows are admitted. This paper proposes and experimentally validates a cyber-physical architecture that couples three DC microgrids through an SDN backbone to deliver rapid, reliable, and secure power sharing under highly dynamic conditions, including pulsed-load disturbances. The cyber layer comprises four SDN switches that establish dedicated paths for protection messages, supervisory control commands, and high-rate sensor data streams. An OpenFlow controller administers flow-rule priorities, link monitoring, and automatic failover to preserve control command paths during disturbances and communication faults. Resiliency is further assessed by subjecting the network to a deliberate denial-of-service (DoS) attack, where deny-by-default policies prevent unauthorized traffic while maintaining essential control flows. Performance is quantified through packet captures, which include end-to-end delay, jitter, and packet loss percentage, alongside synchronized electrical measurements from high-resolution instrumentation. Results show that SDN-enforced paths, combined with coordinated multi-microgrid control, maintain accurate power sharing. A validated, hardware testbed demonstration substantiates a scalable, co-designed communication-and-control framework for next-generation cyber-physical DC multi-microgrid deployments.