Papers
Topics
Authors
Recent
Search
2000 character limit reached

Fake Inverters: Surrogate Models & Cyber Attacks

Updated 8 July 2026
  • Fake inverters are devices that either use surrogate models to replicate proprietary inverter dynamics or have their control behavior compromised by malicious interventions.
  • Physics-informed learning approaches, like latent neural ODE models, accurately capture inverter dynamics and improve simulation metrics by over 30% for voltage and 60% for frequency errors.
  • Adversarial attacks that tamper with firmware, Volt-VAr controls, or droop settings can destabilize grids, highlighting the need for integrated detection and mitigation solutions.

“Fake inverters” denotes two distinct but increasingly connected constructs in contemporary power-systems research. In one sense, the term refers to a learned surrogate that emulates the proprietary dynamics of an inverter closely enough to support grid dynamic studies without access to original equipment manufacturer internals; in another, it refers to a smart inverter whose firmware, communicated parameters, or cyber-physical control signals have been maliciously altered so that the device no longer enforces the intended control law. Recent work places these meanings within a common technical frame: opacity of internal inverter behavior motivates surrogate modeling, while exposure of control firmware and remote parameterization motivates detection, mitigation, and system-level risk analysis (Kwon et al., 21 Jul 2025, Kuruvila et al., 2020, Saber et al., 2023, Khan et al., 2021, Prasad et al., 2024, Hui et al., 20 May 2025).

1. Dual usage and conceptual scope

In grid dynamic studies, operators increasingly need accurate inverter models for time-domain simulation, stability analysis, and controller gain tuning, yet original equipment manufacturers rarely disclose proprietary control architectures or parameter values. One line of work therefore addresses “fake” inverters as deliberately constructed surrogates: models learned from time-series data that reproduce the dynamics of proprietary inverter-based resources, especially grid-forming inverters, while embedding known physical structure (Kwon et al., 21 Jul 2025).

A different line of work uses the term for compromised devices. In microgrids and distribution systems, malicious firmware, controller modification, setpoint tampering, denial-of-service, and false-data injection can make an inverter appear operational while causing it to obey adversarial logic. This includes attacks on embedded firmware, remote manipulation of Volt-VAr curves, falsification of measurements in distributed secondary control, and time-varying tampering of primary frequency-control droop coefficients (Kuruvila et al., 2020, Saber et al., 2023, Khan et al., 2021, Prasad et al., 2024).

This suggests that the common denominator is not authenticity of hardware but authenticity of behavior. In the surrogate setting, a “fake” inverter is intentionally engineered to reproduce authentic dynamics for analysis. In the adversarial setting, a “fake” inverter is a genuine or apparently genuine device whose closed-loop behavior no longer matches the intended physics, grid code, or supervisory commands.

2. Physics-informed surrogate inverters for proprietary dynamics

The most explicit constructive treatment of fake inverters appears in the Physics-Informed Latent Neural ODE Model (PI-LNM), developed to learn an accurate surrogate directly from time-series data while embedding known physics (Kwon et al., 21 Jul 2025). Training and validation are performed on trajectories of measured or observed signals

x=[θ,ω,Ve,V,Pn,Qn],x = [\theta, \omega, V^e, V, P^n, Q^n],

where θ\theta is angle, ω\omega is frequency, VeV^e is the voltage control error, VV is internal voltage magnitude, and Pn,QnP^n, Q^n are active and reactive power delivered to the network.

The latent ODE has dimension $24$. The first four latent dimensions are tied to the physically meaningful states [θ,ω,Ve,V][\theta, \omega, V^e, V], while the remaining latent coordinates capture unmodeled or proprietary behavior, including inner control loops, limiters, and sampling or transport delays. An ODE-RNN encoder processes batches of observation sequences {xi,ti}\{x_i,t_i\}, producing a hidden summary hTh_T, and a neural network θ\theta0 maps θ\theta1 to posterior parameters of the initial latent state,

θ\theta2

A decoder θ\theta3 maps latent states back to the observation space, with the latent states obtained by integrating the latent ODE.

The central modeling choice is the separation of known physics and learned residuals. In latent form,

θ\theta4

In physical coordinates, the model uses

θ\theta5

where θ\theta6 are inputs or disturbances and θ\theta7 learns the unmodeled part. The embedded physics uses a representative grid-forming inverter structure with droop- or REGFM_A1-like outer-loop behavior and uncertain parameters, while the residual compensates for mismatched gains and proprietary details. In the reported case study, the embedded droop and voltage-control gains are perturbed by θ\theta8 relative to the unknown proprietary values.

The known structure can incorporate dq-frame filter dynamics,

θ\theta9

together with droop or virtual synchronous machine relations such as

ω\omega0

or

ω\omega1

and dq-frame power relationships

ω\omega2

Training uses a variational objective maximizing the evidence lower bound, optionally augmented with physics residual penalties and parameter regularization. Data generation applies sudden load changes at ω\omega3 spanning ω\omega4–ω\omega5 p.u.; trajectories are recorded for ω\omega6 seconds at ω\omega7 s. The dataset contains ω\omega8 samples, each with six trajectories. Optimization uses batch size ω\omega9, initial learning rate VeV^e0, and VeV^e1 iterations.

The reported quantitative comparison is against an RNN trained purely on data without physics guidance. Voltage RMSE decreases from VeV^e2 p.u. to VeV^e3 p.u., a VeV^e4 reduction, and frequency RMSE decreases from VeV^e5 Hz to VeV^e6 Hz, a VeV^e7 reduction. The surrogate remains robust across VeV^e8–VeV^e9 p.u. load steps despite the VV0 parameter uncertainty. Because the model retains a physics skeleton plus learned residuals, it can be dropped into a grid simulator for transient studies, disturbance response analysis, stability assessment, and gain tuning without access to OEM internals.

3. Compromised inverters as adversarial behavioral forgeries

In the adversarial literature, fake inverters arise when control behavior is altered at the firmware, parameter, or communication level. One attack class modifies firmware binaries or update images on consumer-grade smart inverter controllers, enabling controller modification, setpoint tampering, or denial-of-service. In this setting, primary and secondary control loops, protection logic, or communications handling are changed without authorization, and the device may inject unintended real or reactive power or fail to actuate control tasks (Kuruvila et al., 2020).

For droop-controlled inverters, controller and setpoint modification directly perturb the usual laws

VV1

Reducing or increasing VV2 and VV3 changes power sharing and oscillatory tendencies; biasing VV4 or VV5 induces sustained frequency or voltage deviations. The same work notes the standard approximations

VV6

which clarify how controller changes that alter VV7, VV8, or VV9 propagate into power-flow deviations (Kuruvila et al., 2020).

A second attack surface is remote parameterization of Volt-VAr control. A canonical piecewise Pn,QnP^n, Q^n0 law is defined by four breakpoints Pn,QnP^n, Q^n1, or equivalently Pn,QnP^n, Q^n2, with a deadband and negative-sloped regions. The paper on malicious Volt-VAr control parameters writes

Pn,QnP^n, Q^n3

and specifies a scaled piecewise mapping from local voltage to Pn,QnP^n, Q^n4. Attackers can narrow the deadband, steepen slopes, shift thresholds, or invert the curve, causing reactive power oscillation and undesirable voltage oscillations. In the reported demonstration on the 9-bus Canadian urban benchmark distribution system, DG1 has baseline parameters Pn,QnP^n, Q^n5, Pn,QnP^n, Q^n6, Pn,QnP^n, Q^n7, Pn,QnP^n, Q^n8 and nominal Pn,QnP^n, Q^n9 pu; at $24$0 s, shifting $24$1 and $24$2 places the operating point in a sloped region and triggers persistent reactive injection (Saber et al., 2023).

A third mechanism operates through distributed cooperative control. In a four-DG microgrid, false data injection on communication links alters neighbor information used by distributed secondary voltage and frequency controllers. The compromised feedback is modeled as

$24$3

with either a non-periodic scaling attack,

$24$4

or a periodic modulation,

$24$5

Because the distributed controller uses neighbor signals through consensus terms, a compromised node behaves as a fake agent whose falsified measurements propagate through the cooperative layer (Khan et al., 2021).

A fourth mechanism targets primary frequency control in inverter-based resources by changing droop coefficients in real time. The attacked inverter contribution becomes

$24$6

instead of the nominal proportional droop law. In the RL-based study, the adversary can tamper with only one inverter per time step and chooses $24$7, thereby reversing droop, removing stabilizing action, or applying a non-nominal positive droop at selected times (Prasad et al., 2024).

4. Dynamical mechanisms and grid-level consequences

The local dynamical consequence of a fake inverter depends on the control surface being manipulated. For Volt-VAr attacks, the relevant mechanism is the coupling between feeder voltage and inverter reactive power. Around an operating voltage $24$8, the paper linearizes the interaction as

$24$9

so that

[θ,ω,Ve,V][\theta, \omega, V^e, V]0

with local stability requiring [θ,ω,Ve,V][\theta, \omega, V^e, V]1. Malicious parameter choices that make [θ,ω,Ve,V][\theta, \omega, V^e, V]2 large or shift [θ,ω,Ve,V][\theta, \omega, V^e, V]3 into a steep segment can violate this condition and produce sustained or growing oscillations (Saber et al., 2023).

At the wide-area level, coordinated attacks on distributed PV inverters act primarily through frequency. The Australian assessment models the aggregate rate of change of frequency as

[θ,ω,Ve,V][\theta, \omega, V^e, V]4

with [θ,ω,Ve,V][\theta, \omega, V^e, V]5 Hz, and models reserve ramping as

[θ,ω,Ve,V][\theta, \omega, V^e, V]6

The central observation is that midday distributed PV output reduces synchronous plant dispatch, so both contingency reserves and system inertia are low exactly when distributed PV output is high (Hui et al., 20 May 2025).

The reported vulnerable regime is quantitatively specific. Distributed PV can reach approximately [θ,ω,Ve,V][\theta, \omega, V^e, V]7 of load at noon. In representative windows, ESS Raise is approximately [θ,ω,Ve,V][\theta, \omega, V^e, V]8 GW while DPV is approximately [θ,ω,Ve,V][\theta, \omega, V^e, V]9–{xi,ti}\{x_i,t_i\}0 GW. A coordinated DPV loss of approximately {xi,ti}\{x_i,t_i\}1 GW, corresponding to approximately {xi,ti}\{x_i,t_i\}2–{xi,ti}\{x_i,t_i\}3 of DPV and approximately {xi,ti}\{x_i,t_i\}4–{xi,ti}\{x_i,t_i\}5 of total load at the moment, is enough to drive frequency to the UFLS threshold in approximately {xi,ti}\{x_i,t_i\}6–{xi,ti}\{x_i,t_i\}7 seconds, depending on inertia. Conversely, a DPV hike of approximately {xi,ti}\{x_i,t_i\}8 GW, approximately {xi,ti}\{x_i,t_i\}9–hTh_T0 of DPV, can reach OFGS in approximately hTh_T1–hTh_T2 seconds under low-inertia scenarios. The paper therefore concludes that significant impact is only observed under careful planning and orchestration, but that a relatively low share of active DPV can be impactful when timed to coincide with low ESS-to-DPV ratios and low RoCoF control (Hui et al., 20 May 2025).

The RL-based primary-frequency-control study complements this by showing that timing and target selection matter even under a one-target-per-step constraint. Enumerating all time-invariant attacks over a 5 s horizon yields a best cumulative reward of hTh_T3 by perturbing G7 with hTh_T4. Three PPO runs on the time-varying action space produce hTh_T5, hTh_T6, and hTh_T7, with the strongest policy primarily targeting G6 and switching intermittently to G7 and G3. This indicates that time-varying schedules aligned with natural oscillations can be more damaging than a constant manipulation (Prasad et al., 2024).

5. Detection, verification, and mitigation architectures

Detection and mitigation approaches differ according to whether the objective is runtime attestation, parameter screening, or resilient closed-loop control. For firmware attacks, one approach instruments inverter controllers with custom design-for-security hardware performance counters. These HPCs periodically measure the order of various instruction types executed by the firmware, and machine-learning classifiers detect deviations from benign instruction-order profiles. The work reports that firmware modifications are successfully identified by custom-built HPCs utilizing various machine learning-based classifiers, and positions this as a complement to secure boot, runtime attestation, network intrusion detection, and power-signal anomaly detection (Kuruvila et al., 2020).

For malicious Volt-VAr updates, detection is performed at the point of receipt using only local inverter measurements. The feature set includes the new VVC parameters hTh_T8, magnitudes of three-phase voltages and currents, dq-frame quantities hTh_T9, and an oscillation proxy

θ\theta00

with θ\theta01 and θ\theta02. A compact MLP is trained offline with forward pass

θ\theta03

and binary cross-entropy plus θ\theta04 regularization. The best-performing model uses three layers with θ\theta05, θ\theta06, and θ\theta07 neuron, with θ\theta08. On the held-out θ\theta09 test set, the reported metrics are accuracy θ\theta10, precision θ\theta11, recall θ\theta12, and F1-score θ\theta13, with false positive rate approximately θ\theta14 and false negative rate approximately θ\theta15 (Saber et al., 2023).

Mitigation can also be integrated directly into the secondary controller rather than separated into detection and fallback. In the cooperative microgrid study, the baseline distributed secondary controller uses

θ\theta16

and

θ\theta17

The proposed mitigation replaces the PI-based distributed secondary voltage controller with a single-hidden-layer feedforward neural network with input size θ\theta18, hidden layer θ\theta19 neurons with tansig activation, and output layer θ\theta20 neuron with purelin activation. Trained offline on normal and attack scenarios sampled at θ\theta21 ms, the ANN generates resilient voltage references that preserve nominal operation under both non-periodic and periodic false-data injection initiated at θ\theta22 s (Khan et al., 2021).

The defensive implications are layered rather than singular. Secure defaults, authenticated updates, secure boot, and rate-limited parameter changes reduce exposure; runtime attestation and HPC-based monitoring target firmware execution; local-learning schemes verify candidate control curves; and resilient controllers maintain operation when communication-layer measurements are falsified. This suggests that fake-inverter defense is structurally a defense-in-depth problem rather than a single-classification problem.

6. Limits, assumptions, and research directions

The surrogate-model literature emphasizes that fidelity depends on informative excitation, observability, and regularization. The PI-LNM case study assumes training data generated by sudden load changes spanning θ\theta23–θ\theta24 p.u., recorded for θ\theta25 seconds at θ\theta26 s; poorly excited or noisy data may reduce accuracy, weakly observable internal dynamics make residual learning harder, and larger discrepancies than the demonstrated θ\theta27 parameter mismatch may require stronger residual capacity or parameter-estimation loops. The same framework is described as naturally extensible to grid-following inverters, different filter topologies, multiple OEM units, protections, and multi-inverter interaction (Kwon et al., 21 Jul 2025).

The security literature imposes its own assumptions. HPC-based detection requires access to instruction-order information and relatively stable benign instruction-order signatures; legitimate firmware updates can change those signatures and trigger false positives, and portability across MCU, DSP, and SoC architectures requires retraining (Kuruvila et al., 2020). The Volt-VAr detector is demonstrated on a 9-bus urban feeder with four distributed generators, and extension to different topologies, higher PV penetrations, other control modes such as Volt-Watt and frequency-watt, and one-class or hybrid rule/ML detection is presented as future work (Saber et al., 2023). The ANN-based secondary-control paper is mitigation-by-design rather than explicit detection, provides no formal Lyapunov or passivity-based stability proof, and does not model communication delays, packet losses, or noise (Khan et al., 2021). The RL attack-discovery study includes no explicit detector in the loop, uses relatively simple discrete actions, and notes a rough reward landscape with substantial variance across PPO runs (Prasad et al., 2024). The Australian system-level assessment notes uncertainty in load-inertia estimation, operational difficulty of covertly coordinating thousands of devices, and limited data transparency outside the Australian context, even though the broader lesson is the misalignment of contingency capacity and inertia with distributed-PV output (Hui et al., 20 May 2025).

Taken together, these limitations indicate that fake inverters are not a unitary object but a research boundary spanning system identification, cyber-physical security, embedded monitoring, local control verification, and market-aware stability analysis. A plausible implication is that future work will increasingly couple these layers: physics-informed surrogates for hidden controls, device-level behavioral attestation, local screening of remotely communicated settings, resilient secondary control, and system-level reserve design that explicitly accounts for adversarially manipulated inverter fleets.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Fake Inverters.