Figure 1.
Overall architecture of the proposed forecast-guided KAN-adaptive FS-MPC framework. The forecasting layer produces an Operating Stress Index (OSI) from load and reserve-related information, the supervisory layer maps OSI into operating modes, and the fast control layer uses OSI together with electrical features to govern adaptive weights for PLL-free αβ-frame FS-MPC in the GFM BESS inverter.
Figure 1.
Overall architecture of the proposed forecast-guided KAN-adaptive FS-MPC framework. The forecasting layer produces an Operating Stress Index (OSI) from load and reserve-related information, the supervisory layer maps OSI into operating modes, and the fast control layer uses OSI together with electrical features to govern adaptive weights for PLL-free αβ-frame FS-MPC in the GFM BESS inverter.
Figure 2.
Plant model and measured signals of the PLL-free grid-forming BESS inverter in the stationary αβ frame. A two-level voltage source inverter interfaces the microgrid bus through an LC output filter. The FS-MPC enumerates the finite switching set and uses the measured capacitor/PCC voltage , inductor current , and output/load current for one-step prediction and cost evaluation.
Figure 2.
Plant model and measured signals of the PLL-free grid-forming BESS inverter in the stationary αβ frame. A two-level voltage source inverter interfaces the microgrid bus through an LC output filter. The FS-MPC enumerates the finite switching set and uses the measured capacitor/PCC voltage , inductor current , and output/load current for one-step prediction and cost evaluation.
Figure 3.
Operating Stress Index (OSI) computation and mode-triggering logic. The load forecast and the percent operating reserve (PR), either observed or forecasted, are normalized to and combined as . The resulting OSI is then mapped into three operating modes using two thresholds: Normal , Resilience , and Emergency .
Figure 3.
Operating Stress Index (OSI) computation and mode-triggering logic. The load forecast and the percent operating reserve (PR), either observed or forecasted, are normalized to and combined as . The resulting OSI is then mapped into three operating modes using two thresholds: Normal , Resilience , and Emergency .
Figure 4.
Real-time decision flow of the proposed KAN-adaptive finite-control-set MPC (FCS-MPC). At each control step (), measurements () are converted into compact features (e.g., , , and ), optionally augmented by the slow-timescale OSI. A lightweight KAN governor outputs dynamic weights and , which are used to evaluate the cost over the eight admissible switching vectors . The optimal switching action is selected by .
Figure 4.
Real-time decision flow of the proposed KAN-adaptive finite-control-set MPC (FCS-MPC). At each control step (), measurements () are converted into compact features (e.g., , , and ), optionally augmented by the slow-timescale OSI. A lightweight KAN governor outputs dynamic weights and , which are used to evaluate the cost over the eight admissible switching vectors . The optimal switching action is selected by .
Figure 5.
High-rate net-load profile synthesis for validating µs–ms converter control. Daily-resolution utility data is insufficient to excite fast converter dynamics; therefore, we synthesize a high-rate net-load profile by composing an industrial load template with PV-generation-induced net-load ramps and stochastic perturbations, followed by an event injector that imposes sag/islanding-like transients (depth/duration and weak-grid transitions). The final profile is sampled at 10–100 kHz (e.g., , 20 kHz) for HIL execution, while OSI is used only as a slow-timescale supervisory tag or event-conditioning signal.
Figure 5.
High-rate net-load profile synthesis for validating µs–ms converter control. Daily-resolution utility data is insufficient to excite fast converter dynamics; therefore, we synthesize a high-rate net-load profile by composing an industrial load template with PV-generation-induced net-load ramps and stochastic perturbations, followed by an event injector that imposes sag/islanding-like transients (depth/duration and weak-grid transitions). The final profile is sampled at 10–100 kHz (e.g., , 20 kHz) for HIL execution, while OSI is used only as a slow-timescale supervisory tag or event-conditioning signal.
Figure 6.
Hardware-in-the-loop (HIL) validation platform and control-step timing summary. The real-time simulator emulates the inverter–filter–microgrid plant and exchanges analog measurements with the DSP controller through the I/O interface, while the controller returns PWM/gate commands to the simulator. The measured execution time on the target DSP consists of 6.2 μs for KAN inference and 14.5 μs for the FS-MPC evaluation loop, yielding a total worst-case control-step time of 20.7 μs. This remains below the sampling period μs and leaves a 58.6% timing margin.
Figure 6.
Hardware-in-the-loop (HIL) validation platform and control-step timing summary. The real-time simulator emulates the inverter–filter–microgrid plant and exchanges analog measurements with the DSP controller through the I/O interface, while the controller returns PWM/gate commands to the simulator. The measured execution time on the target DSP consists of 6.2 μs for KAN inference and 14.5 μs for the FS-MPC evaluation loop, yielding a total worst-case control-step time of 20.7 μs. This remains below the sampling period μs and leaves a 58.6% timing margin.
Figure 7.
Severe voltage-sag transient response and resilience metrics. (a) PCC voltage (p.u.) under a representative severe sag for static-weight FS-MPC and the proposed forecast-guided KAN-adaptive FS-MPC. The tolerance band is highlighted to define the worst-case deviation and recovery time (time to re-enter and remain within the band for ms after sag clearance). (b) Output current (p.u.) under the same event, illustrating current peaking behavior and settling during disturbance and recovery.
Figure 7.
Severe voltage-sag transient response and resilience metrics. (a) PCC voltage (p.u.) under a representative severe sag for static-weight FS-MPC and the proposed forecast-guided KAN-adaptive FS-MPC. The tolerance band is highlighted to define the worst-case deviation and recovery time (time to re-enter and remain within the band for ms after sag clearance). (b) Output current (p.u.) under the same event, illustrating current peaking behavior and settling during disturbance and recovery.
Figure 8.
Interpretable KAN edge-spline mappings for online weight governance. Representative learned spline functions show how (a) sag depth modulates the voltage-tracking weight , (b) the Operating Stress Index (OSI) modulates , and (c) the voltage-error-slope feature modulates the switching-effort weight . The plotted output bounds follow the certified intervals , , consistent with (14). The markers and denote representative feature-threshold locations used to illustrate where the learned spline enters its high-gain transition region.
Figure 8.
Interpretable KAN edge-spline mappings for online weight governance. Representative learned spline functions show how (a) sag depth modulates the voltage-tracking weight , (b) the Operating Stress Index (OSI) modulates , and (c) the voltage-error-slope feature modulates the switching-effort weight . The plotted output bounds follow the certified intervals , , consistent with (14). The markers and denote representative feature-threshold locations used to illustrate where the learned spline enters its high-gain transition region.
Table 1.
System and control parameters.
Table 1.
System and control parameters.
| Parameter |
Symbol |
Value |
Unit |
| DC-link voltage |
|
750 |
V |
| Filter inductance |
|
2.5 |
mH |
| Filter capacitance |
|
20.0 |
F |
| Equivalent resistance |
|
0.1 |
|
| Nominal PCC voltage (rms) |
|
380 |
V |
| Rated power |
|
10 |
kVA |
| Current limit |
|
30 |
A |
| Sampling time |
|
50 |
s |
Table 2.
Finite control set for a two-level inverter and corresponding stationary alpha-beta voltage vectors.
Table 2.
Finite control set for a two-level inverter and corresponding stationary alpha-beta voltage vectors.
| Index |
, , ) |
Vector type |
|
|
Notes |
| 0 |
(0,0,0) |
zero |
0 |
0 |
Freewheeling |
| 1 |
(1,0,0) |
active |
|
0 |
Active state |
| 2 |
(1,1,0) |
active |
|
|
Active state |
| 3 |
(0,1,0) |
active |
|
|
Active state |
| 4 |
(0,1,1) |
active |
|
0 |
Active state |
| 5 |
(0,0,1) |
active |
|
|
Active state |
| 6 |
(1,0,1) |
active |
|
|
Active state |
| 7 |
(1,1,1) |
zero |
0 |
0 |
Freewheeling |
Table 3.
OSI definition parameters and resilience-mode policy.
Table 3.
OSI definition parameters and resilience-mode policy.
| Item |
Symbol |
Definition |
Setting |
Update rate |
Notes |
| Load stress weight |
|
Weight for |
0.60 |
per forecast (1h) |
Emphasizes demand spikes |
| Reserve stress weight |
|
Weight for |
0.40 |
per forecast (1h) |
Reflects generation headroom |
| Normal/Resilience threshold |
|
OSI threshold |
0.60 |
per forecast (1h) |
Represents 60th percentile |
| Resilience/Emergency threshold |
|
OSI threshold |
0.85 |
per forecast (1h) |
Represents 85th percentile |
Table 4.
Online features used by the KAN weight governor and their physical interpretations.
Table 4.
Online features used by the KAN weight governor and their physical interpretations.
| Feature |
Symbol |
Definition (example) |
Update rate |
Physical meaning |
| Operating Stress Index |
OSI(t) |
From load forecast + reserve margin |
minutes–hours |
Forecasted vulnerability / regime context |
| Voltage error magnitude |
|
|
per |
Voltage regulation urgency |
| Voltage error slope |
|
|
per |
Transient aggressiveness indicator |
| Load current variation |
|
|
per |
Load shock / ramp severity |
| Sag depth |
|
/. (or αβ equivalent) |
per |
Fault severity cue |
Table 5.
Disturbance scenarios used in the main resilience evaluation.
Table 5.
Disturbance scenarios used in the main resilience evaluation.
| Scenario |
Event type |
Sag depth |
Duration |
Load step / ramp |
PV condition |
Notes |
| S1 |
Severe symmetrical sag |
50% |
10 cycles (166 ms) |
Nominal continuous |
Full MPPT |
Standard LVRT test |
| S2 |
Extreme asymmetrical fault |
70% (Phase A) |
5 cycles (83 ms) |
Nominal continuous |
Full MPPT |
High unbalance stress |
| S3 |
Islanding transition |
100% (grid loss) |
Continuous |
Step 0.5 to 1.0 p.u. |
Drops 50% (cloud) |
Worst-case compound event |
Table 6.
Compared controllers and key design differences.
Table 6.
Compared controllers and key design differences.
| Method |
Weights |
Uses OSI |
Model type |
Interpretability |
Notes |
| B1 Static FS-MPC |
fixed , |
No |
Deterministic |
High |
offline tuned |
| B2 MLP-adaptive |
learned |
Optional |
MLP black-box |
Low |
same features |
| B3 Proposed KAN |
KAN learned + OSI |
Yes |
KAN spline-on-edges |
Medium-High |
bounded, rate-limited |
Table 7.
Summary of evaluation metrics and measurement protocol.
Table 7.
Summary of evaluation metrics and measurement protocol.
| Metric |
Symbol |
Definition |
Unit |
Purpose |
| Worst-case deviation |
|
max over event window |
p.u. |
Tail severity |
| Recovery time |
|
time to re-enter tolerance band |
ms |
Restoration speed |
| Degradation area |
|
integral exceedance above tolerance band |
p.u.-ms |
Cumulative impact |
| Switching effort |
|
average switching frequency |
kHz |
Efficiency/thermal stress |
| Peak current |
|
max output/inductor current |
A |
Protection |
Table 8.
Main results across severe-sag and regime-shift scenarios.
Table 8.
Main results across severe-sag and regime-shift scenarios.
| Scenario |
Method |
Emax
|
Trec
|
Adeg
|
THD |
Ipk
|
Nsw
|
Notes |
| S1 (50% Sag) |
B1: Static FS-MPC |
0.45 |
35 |
8.5 |
5.2 |
45.2 |
12.5 |
|
| S1 (50% Sag) |
B2: MLP-adaptive |
0.28 |
18 |
3.2 |
4.1 |
38.5 |
11.2 |
|
| S1 (50% Sag) |
B3: Proposed KAN |
0.16 |
8 |
1.1 |
2.9 |
32.1 |
10.5 |
Best |
| S2 (70% Asym) |
B1: Static FS-MPC |
0.62 |
52 |
14.8 |
6.8 |
51.0 |
12.5 |
|
| S2 (70% Asym) |
B2: MLP-adaptive |
0.41 |
25 |
6.5 |
5.0 |
42.4 |
11.8 |
|
| S2 (70% Asym) |
B3: Proposed KAN |
0.25 |
12 |
2.4 |
3.4 |
35.6 |
10.8 |
Best |
| S3 (Islanding) |
B1: Static FS-MPC |
0.85 |
>100 |
25.0 |
8.5 |
55.3 |
12.5 |
|
| S3 (Islanding) |
B2: MLP-adaptive |
0.55 |
45 |
12.4 |
6.2 |
48.1 |
12.0 |
|
| S3 (Islanding) |
B3: Proposed KAN |
0.30 |
18 |
4.2 |
3.8 |
38.5 |
11.0 |
Best |
Table 9.
Ablation study: OSI guidance and governor type under Scenario S3 (Islanding Transition).
Table 9.
Ablation study: OSI guidance and governor type under Scenario S3 (Islanding Transition).
| Variant |
Uses OSI |
Governor |
|
|
|
|
| B3a KAN-adaptive (no OSI) |
No |
KAN |
0.42 |
28 |
8.5 |
11.5 |
| B2 MLP-adaptive |
Yes |
MLP |
0.55 |
45 |
12.4 |
12.0 |
| B3b (Proposed) |
Yes |
KAN |
0.30 |
18 |
4.2 |
11.0 |
Table 10.
Real-time feasibility: execution time and timing margin.
Table 10.
Real-time feasibility: execution time and timing margin.
| Platform |
KAN params |
KAN time |
FS-MPC eval time |
Total step time |
|
Margin |
| TI TMS320F28379D (200 MHz) |
~240 |
6.2 μs |
14.5 μs |
20.7 μs |
50.0 μs |
58.6% |