Microgrid Controller

control layers · islanding · standards

Microgrid control runs on four timescales, from inverter milliseconds to day-ahead markets. The local controller must keep working when everything above it is offline.

Four microgrid control layers by timescale on a log axis from one millisecond to one day: primary control (inverter droop and protection) from milliseconds to one second; secondary control (restoring frequency and voltage, islanding and resynchronization) from one second to one minute; tertiary control (EMS dispatch and optimization) from minutes to an hour; and market functions (forecasts, bids, schedules) from an hour to a day. Primary and secondary control run on site and must survive loss of SCADA and cloud connections. FOUR CONTROL LAYERS BY TIMESCALE (LOG SCALE) Primaryinverter droop, protection Secondaryisland, resync, restore TertiaryEMS dispatch, optimization Marketforecasts, bids, schedules 1 ms 1 s 1 min 1 h 1 day Primary and secondary run on site and must survive loss of SCADA and cloud.
Controller spec
IEEE 2030.7
Controller testing
IEEE 2030.8
Protocols
IEC 61850, DNP3, Modbus
Cybersecurity
IEC 62443
Hub
Energy

Finding

The microgrid controller is the one component that must not depend on the network: it islands, balances and black-starts the site on local logic

IEEE 2030.7 defines a microgrid controller by two core functions: dispatch, which balances sources and loads, and transition, which handles planned and unplanned islanding and reconnection. EMS optimization, SCADA screens and cloud forecasting add value, but during an outage the controller, wired directly to inverters, relays and meters, has to run alone.

Controllers run on embedded devices, PLCs or industrial PCs. Leading suppliers: Schneider Electric (EcoStruxure Microgrid), Siemens (SICAM and Spectrum Power microgrid management), Hitachi Energy (e-mesh), ABB, SEL (POWERMAX), GE Vernova, Eaton, PowerSecure and Tesla (site controller with Opticaster and Autobidder). In China, NARI, NR Electric, XJ Electric and Sifang supply controllers and protection, and Huawei and Sungrow ship their own plant controllers with storage.

AI enters at the tertiary and market layers: machine-learning solar and load forecasts, battery cycling optimized for price and degradation, predictive maintenance and digital twins that model the microgrid as part of the facility. The primary and secondary layers stay deterministic. Inverter firmware is now a security issue: in 2025 US officials investigated undocumented communication devices reported in some Chinese-made inverters and batteries, which pushed utilities toward stricter device vetting.

Components

Control components

Microgrid control components
ComponentRoleRuns
Microgrid controllerReal-time dispatch, switching, islanding and black startOn site; must survive loss of upper layers
Energy management system (EMS)Optimizes energy flows and costs; may embed the controllerOn site or cloud
DERMSCoordinates many DERs across sites; mostly utility-runUtility control center
SCADAMonitoring, alarms, historyOn site, often redundant
Protection relays and interlocksIsolate faults; enable safe islandingHard-wired
Communications gatewayTranslates IEC 61850, DNP3, Modbus, SunSpecOn site
Cybersecurity layerFirewalls, segmentation, authentication, loggingEvery layer
HMIOperator screens and controlsOn site and remote

Architectures

Control architectures

Microgrid control architectures
ArchitectureHow it worksFitsWeakness
CentralizedOne master controller governs all assetsSmall commercial sitesSingle point of failure
HierarchicalMaster controller with sub-controllers by zone or asset typeCampuses, factories, utility-integrated sitesMore integration work
Distributed / agent-basedAssets coordinate peer to peerLarge, growing or military sitesHarder to verify and certify
Cloud-hybridLocal fail-safe control plus cloud forecasting and optimizationGrid-interactive sites in marketsDepends on secure connectivity for value

Standards

Standards and commissioning

Before go-live: every source visible to the EMS, islanding and reconnection tested with the utility, operators trained on the HMI, redundant secure communications, and black start rehearsed.

Microgrid control standards
StandardCovers
IEEE 1547-2018 / UL 1741 SBInterconnection and inverter grid-support functions
IEEE 2030.7 / 2030.8Microgrid controller functions and testing
IEC 61850Substation and DER communication
DNP3 (IEEE 1815), Modbus, SunSpecSCADA and device protocols
IEC 62443Industrial control system cybersecurity
NERC CIPCybersecurity for bulk electric system assets
NFPA 70BMaintenance of electrical equipment

Sources

Sources and scope

Scope
Microgrid Controllers
Sources
IEEE 2030.7 and 2030.8; IEC 61850 and 62443; vendor documentation
Updated
October 2026