Microgrid Control System Design
Key Takeaway
Microgrid control systems coordinate distributed energy resources including generators, solar PV, battery storage, and utility interconnections to operate as a self-contained power system. Advanced microgrid controllers manage seamless transitions between grid-connected and islanded operation while optimizing energy costs and maintaining power quality.
What Is a Microgrid?
A microgrid is a localized electrical power system that can operate independently from the main utility grid (islanded mode) or connected to it (grid-tied mode). Microgrids integrate multiple distributed energy resources (DERs) such as diesel or natural gas generators, solar photovoltaic arrays, battery energy storage systems (BESS), wind turbines, and combined heat and power (CHP) systems with local electrical loads and a point of common coupling (PCC) to the utility grid.
Microgrids are deployed for critical facilities requiring high reliability (military bases, hospitals, data centers), remote communities without reliable grid access, university campuses seeking energy independence, and industrial sites pursuing sustainability goals and energy cost reduction. NFM Consulting designs microgrid control systems that maximize the value of distributed energy resources while maintaining the power quality and reliability that critical loads demand.
Microgrid Control Architecture
Hierarchical Control Levels
Microgrid control follows a hierarchical structure defined by IEEE 2030.7:
- Primary control (device level): Local controllers on each DER manage voltage and frequency regulation using droop control or virtual synchronous machine algorithms. Response time: milliseconds.
- Secondary control (microgrid level): The microgrid controller coordinates all DERs, restores voltage and frequency to nominal values after disturbances, and manages power sharing. Response time: seconds.
- Tertiary control (optimization level): Energy management system (EMS) performs economic dispatch, demand forecasting, renewable energy forecasting, and optimal scheduling of DERs. Response time: minutes to hours.
Microgrid Controller Functions
The central microgrid controller (such as Schneider Electric EcoStruxure, Spirae Wave, Siemens SICAM, or Schweitzer SEL-3530 RTAC) performs:
- Seamless transition between grid-connected and islanded operating modes
- Black start sequencing to restore power after a complete shutdown
- Automatic DER dispatch based on load requirements and generation availability
- Frequency and voltage regulation in islanded mode
- Anti-islanding protection compliance with IEEE 1547 and utility interconnection requirements
- Renewable energy curtailment when generation exceeds load plus storage capacity
Grid-Connected Operation
In grid-connected mode, the utility grid acts as an infinite bus that sets voltage and frequency. The microgrid controller optimizes DER dispatch for economic benefit, including:
- Peak shaving: Discharging battery storage or starting generators during peak demand periods to reduce utility demand charges
- Energy arbitrage: Charging batteries during low-cost off-peak hours and discharging during high-cost on-peak hours
- Solar self-consumption: Maximizing on-site use of solar generation and minimizing grid export
- Demand response participation: Responding to utility demand response signals by reducing grid import or exporting power from on-site resources
Islanded Operation
When the utility grid is lost (planned or unplanned), the microgrid must transition to islanded operation. This is the most challenging operating mode because the microgrid controller must maintain voltage and frequency stability without the utility grid as a reference. Key requirements include:
- Islanding detection: The controller detects utility loss within 2 seconds (per IEEE 1547) and opens the PCC breaker to isolate the microgrid
- Frequency regulation: One or more DERs must operate in isochronous mode to set the system frequency. Battery inverters or generators typically serve as the grid-forming source.
- Load-generation balance: The controller must instantly balance generation with load, potentially shedding non-critical loads if generation capacity is insufficient
- Renewable integration: Solar PV and wind generators must transition from grid-following to grid-supporting modes, potentially curtailing output to maintain stability
Resynchronization and Reconnection
When utility power is restored, the microgrid must resynchronize before reconnecting. The microgrid controller adjusts the frequency and voltage of the islanded system to match the utility grid, then closes the PCC breaker at the precise moment when voltage magnitude, frequency, and phase angle are aligned. This process is similar to generator synchronization but involves the entire microgrid system as a single entity. After reconnection, the controller transitions DERs back to grid-following mode and resumes economic optimization.
Energy Storage Integration
Battery energy storage systems are the keystone of modern microgrids. In grid-connected mode, BESS provides peak shaving, energy arbitrage, and power quality support. In islanded mode, BESS provides grid-forming capability (setting voltage and frequency), spinning reserve, and transient stability support. The microgrid controller manages BESS state-of-charge to ensure sufficient energy is available for islanding events while maximizing economic value during normal operation.
Design Considerations
NFM Consulting addresses critical design factors in every microgrid project: protection coordination that works in both grid-connected and islanded modes (fault currents are significantly lower in islanded mode), communication network redundancy to ensure controller reliability, cybersecurity for internet-connected controllers, compliance with utility interconnection agreements, and right-sizing of generation and storage assets through detailed load analysis and simulation. Our engineers use power systems modeling software to simulate microgrid performance under hundreds of operating scenarios before finalizing the control design.
Frequently Asked Questions
A microgrid control system coordinates multiple distributed energy resources (generators, solar, batteries, wind) to operate as a self-contained power system. It manages seamless transitions between grid-connected and islanded modes, dispatches generation resources, maintains voltage and frequency stability, and optimizes energy costs. The controller follows a hierarchical architecture with device-level, microgrid-level, and optimization-level control layers.
When utility power is lost, the microgrid controller detects the outage within 2 seconds (per IEEE 1547), opens the point of common coupling breaker to isolate the microgrid, and transitions one or more DERs to grid-forming mode to establish voltage and frequency. Non-critical loads may be shed if generation capacity is insufficient. Battery inverters or generators typically serve as the grid-forming source.
Battery energy storage provides grid-forming capability in islanded mode (setting voltage and frequency), fast transient response for load changes, spinning reserve, and renewable energy smoothing. In grid-connected mode, batteries enable peak shaving, energy arbitrage, and demand response participation. The microgrid controller manages battery state-of-charge to balance economic optimization with islanding readiness.