Dynamic state estimation of hybrid systems: Inverters that switch between grid-following and grid-forming control schemes

Bukunmi G. Odunlami, Marcos Netto · 2025

Read Dynamic state estimation of hybrid systems: Inverters that switch between grid-following and grid-forming control schemes by Bukunmi G. Odunlami, Marcos Netto (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2511-13872.txt.

Introduction

Bukunmi G. Odunlami and Marcos Netto model power inverters that can switch between two control modes. Modern inverters either follow the grid or help form it, and switching between those roles mid-operation makes their behavior hard to track. The authors describe such devices as hybrid automata, with switch rules tied to voltage and frequency.

Reset rules keep phase, frequency, and droop settings consistent each time the mode flips. They then place the model inside an extended Kalman filter, a standard tool for estimating hidden states from noisy data. Tests show stable, well-behaved motion and better estimates near switching moments than smooth continuous models give.

Catalog record

CREATORBukunmi G. Odunlami, Marcos Netto
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE29 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2511-13872

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Dynamic state estimation of hybrid systems: Inverters that switch between grid-following and grid-forming control schemes Bukunmi G. Odunlami, Marcos Netto Abstract This paper develops a hybrid system modeling framework for inverters that switch between grid-following and grid-forming control schemes. In particular, such inverters are modeled as hybrid automata with guard conditions on voltage and frequency, and reset maps that maintain consistent phase, frequency, and droop references during mode transitions. The hybrid model is embedded within an extended Kalman filter to assess estimation performance under explicit mode switching. Results show that the proposed framework ensures stable, well-behaved dynamics and improves state estimation, especially near switching instants, compared with smooth continuous models. I Introduction Hybrid dynamics —emerging from systems that exhibit both continuous and discrete behaviors are ubiquitous in power grids. Examples include dynamics involving switching events triggered by on-load tap changers, protection relays, and load shedding schemes [ 9 , 17 ] . Still, continuous-time ordinary differential-algebraic models are widely used to analyze the dynamic performance of power grids [ 16 ] . Generators are modeled by differential equations whose structure and parameters remain constant over time, and the network interconnecting them is represented by algebraic equations. Hence, switching events such as those mentioned earlier are conveniently represented by adjusting admittance values in the algebraic equations. Analyses are then separated into pre-fault, fault-on, and post-fault network conditions. However, the dynamics of inverter-based resources (IBRs) can introduce structural changes to the differential equations describing generators [ 15 ] . For example, the overcurrent limiter mechanism, when activated, modifies the inverter’s control scheme. Once engaged, the current-control loop saturates, and the terminal voltage follows an alternative regulation path [ 4 ] . Another example is switching reactive power control modes based on grid operating conditions, commonly used by utility-scale photovoltaic plants [ 12 ] . Indeed, the rise of IBRs exacerbates hybrid dynamics and prompts questions about the parsimony of continuous-time models that approximate switching by interpolating between control laws, enforcing artificial smoothness on fundamentally discontinuous dynamics [ 1 ] . This mismatch can lead to misleading conclusions about the system dynamics and stability [ 8 ] . As IBR control schemes rapidly evolve, these challenges are becoming increasingly critical. First-generation IBRs draw power into the grid at a unity power factor and seldom provide grid services, such as voltage regulation [ 5 ] . These IBRs, known as grid-following inverters (GFLs), synchronize with the grid via a phase lock loop (PLL). GFLs are reliable and commonly employed, but they require a minimum system strength e.g., a weighted short-circuit ratio of at least 1.5 [ 2 ] for the PLL to synchronize and maintain synchronism with the grid; otherwise, GFLs can compromise system stability. Conversely, grid-forming inverters (GFMs) synchronize with the grid using droop control and can help regulate voltage and frequency. GFMs are now becoming a reality [ 3 ] ; they can provide grid services, thereby offering essential support during faults and even black-start conditions. Although GFLs and GFMs share structural similarities and can even be considered duals, they excel under different grid conditions [ 11 ] . GFLs function well when the system is strong, but may lose synchronism otherwise. On the other hand, GFMs can enhance stability when the system is weak, but may cause unwanted oscillations when the system is strong [ 20 ] . Indeed, regulatory agencies [ 14 ] recognize this trade-off and require IBRs to remain connected to provide support during faults. It is possible to combine the complementary characteristics of GFLs and GFMs into a single control system [ 7 ] , or to switch between control modes depending on the system’s operating conditions. For example, [ 6 ] describes a switching method that manages the different outer control loops of GFLs and GFMs and ensures control setpoints are adjusted to maintain consistent operating points during transitions. This paper develops a hybrid system formulation for such inverters that switch between GFL and GFM control schemes. We show that explicitly representing hybrid dynamics is both feasible and of paramount importance for dynamic state estimation, particularly in a decentralized setting [ 18 ] . To assess the analytical and estimation implications of this comprehensive modeling approach, the hybrid system is embedded within an extended Kalman filter (EKF) [ 13 ] that propagates uncertainty through each mode transition using the saltation matrix [ 10 ] . This paper is the first to propose a hybrid system formulation for dynamic state estimation and proceeds as follows. Section II briefly introduces the continuous-time model of GFLs and GFMs. Section III develops the hybrid system formulation and derives an EKF-based, dynamic state estimator for hybrid systems. Section IV presents numerical results, and Section V concludes the paper. II Preliminaries The modeling in this section follows the continuous-time approach commonly used in the literature [ 19 ] . Consider an inverter that switches between GFL and GFM control modes (Fig. 1 ) depending on grid operating conditions. We start by noting that the modeling of the filter and the inner loop is the same for GFLs and GFMs, as given by: \mathbf{f}_{\mathrm{common}}\!:\!\begin{cases}\begin{cases}\dot{\gamma}_{d}=k_{i}^{c}\,(i_{d}^{\mathrm{ref}}-i_{d})\\ \dot{\gamma}_{q}=k_{i}^{c}\,(i_{q}^{\mathrm{ref}}-i_{q})\\ v_{d}=k_{p}^{c}\,(i_{d}^{\mathrm{ref}}-i_{d})+\gamma_{d}+\omega\,\ell_{f}\,i_{q}\\ v_{q}=k_{p}^{c}\,(i_{q}^{\mathrm{ref}}-i_{q})+\gamma_{q}-\omega\,\ell_{f}\,i_{d}\end{cases}\text{\shortstack{Inner\\ loop}}\\ \begin{cases}\left({\ell_{g}}/{\omega_{b}}\right)\dot{i}_{d}=v_{d}^{\mathrm{filt}}-v_{d}^{\mathrm{grid}}-r_{g}\,i_{d}+\omega\,\ell_{g}\,i_{q}\\ \left({\ell_{g}}/{\omega_{b}}\right)\dot{i}_{q}=v_{q}^{\mathrm{filt}}-v_{q}^{\mathrm{grid}}-r_{g}\,i_{q}-\omega\,\ell_{g}\,i_{d}\end{cases}\text{Filter}\end{cases} (1) where \vartheta_{d} ( \vartheta_{q} ) indicates the direct (quadrature) component of a variable \vartheta ; i_{d}^{\mathrm{ref}} and i_{q}^{\mathrm{ref}} are setpoints from outer controllers; k_{p}^{c} ( k_{i}^{c} ) is the proportional (integral) gain of a PI controller in the inner loop; \omega_{b} is the base frequency; and the instantaneous frequency \omega equals \dot{\theta} ( \dot{\theta}^{\mathrm{pll}} ) when the inverter operates as GFM (GFL). The other variables are explicit in Fig. 1 . When the inverter operates as a GFL, a synchronous reference frame PLL estimates the grid angle, \theta^{\mathrm{pll}} , and frequency, \omega=\dot{\theta}^{\mathrm{pll}} , thereby defining the dq frame. Using synchronized quantities, instantaneous real and reactive power (p,q) are low-pass filtered to (p_{m},q_{m}) and compared with setpoints (p^{\mathrm{ref}},q^{\mathrm{ref}}) to generate current commands (i_{d}^{\mathrm{ref}},i_{q}^{\mathrm{ref}}) . Formally, \mathbf{f}_{\mathrm{gfl}}:\begin{cases}\mathbf{f}_{\mathrm{common}}\\ \begin{cases}\dot{\eta}^{\mathrm{pll}}=k_{i}^{\mathrm{pll}}\,v_{q}^{\mathrm{filt}}(\theta^{\mathrm{pll}})\\ \dot{\theta}^{\mathrm{pll}}=\omega=\omega_{0}+k_{p}^{\mathrm{pll}}\,v_{q}^{\mathrm{filt}}(\theta^{\mathrm{pll}})+\eta^{\mathrm{pll}}\end{cases}\text{PLL}\\ \begin{cases}\dot{\sigma}_{p}=p^{\mathrm{ref}}-p_{m}\\ \dot{\sigma}_{q}=q^{\mathrm{ref}}-q_{m}\\ i_{d}^{\mathrm{ref}}=k_{p}^{p}\,(q^{\mathrm{ref}}-q_{m})+k_{i}^{p}\,\sigma_{q}\\ i_{q}^{\mathrm{ref}}=k_{p}^{q}\,(p^{\mathrm{ref}}-p_{m})+k_{i}^{q}\,\sigma_{p}\end{cases}\text{\shortstack{Outer\\ loop}}\\ \end{cases} (2) where k_{p}^{\mathrm{pll}} and k_{p}^{p} ( k_{i}^{\mathrm{pll}} and k_{i}^{p} ) are the proportional (integral) gains of a PI controller in the PLL and outer loop, respectively. The state vector \mathbf{x}_{\mathrm{gfl}}=[\,\gamma_{d}\;\gamma_{q}\;i_{d}\;i_{q}\;\eta^{\mathrm{pll}}\;\theta^{\mathrm{pll}}\;\sigma_{p}\;\sigma_{q}\,]^{\top} , and the input vector \mathbf{u}_{\mathrm{gfl}}=[\,p^{\mathrm{ref}}\;q^{\mathrm{ref}}\,]^{\top} . When the inverter operates as a GFM, droop control eliminates the need for explicit synchronization, such as with a PLL, because it provides an inherent synchronization mechanism. It computes \omega and v^{\mathrm{ref}} from (p_{m},q_{m}) and defines the reference angle \theta . The voltage control loop regulates v^{\mathrm{ref}} to yield current commands (i_{d}^{\mathrm{ref}},i_{q}^{\mathrm{ref}}) . Formally, \mathbf{f}_{\mathrm{gfm}}:\begin{cases}\mathbf{f}_{\mathrm{common}}\\ \begin{cases}\dot{\theta}=\omega=\omega_{0}-m_{p}\,(p_{m}-p_{0})\\ v^{\mathrm{ref}}=v_{0}-n_{q}\,(q_{m}-q_{0})\end{cases}\text{\shortstack{Droop\\ control}}\\ \begin{cases}\dot{\xi}_{d}=k_{i}^{v}\,(v^{\mathrm{ref}}-v_{d})\\ \dot{\xi}_{q}=k_{i}^{v}\,(0-v_{q})\\ i_{d}^{\mathrm{ref}}=k_{p}^{v}\,(v^{\mathrm{ref}}-v_{d})+\xi_{d}\\ i_{q}^{\mathrm{ref}}=k_{p}^{v}\,(0-v_{q})+\xi_{q}\end{cases}\text{\shortstack{Voltage\\ control}}\\ \end{cases} (3) where k_{p}^{v} ( k_{i}^{v} ) denotes the proportional (integral) gain of the PI controller in the voltage control loop, and m_{p} and n_{p} are droop control coefficients. The state vector \mathbf{x}_{\mathrm{gfm}}=[\,\gamma_{d}\;\gamma_{q}\;i_{d}\;i_{q}\;\theta\;\xi_{d} \xi_{q}\,]^{\top} , and the input vector \mathbf{u}_{\mathrm{gfm}}=[\,p^{\mathrm{ref}}\;q^{\mathrm{ref}}\,]^{\top} . Note that ( 2 ) and ( 3 ) are different in structure, and \mathrm{dim}(\mathbf{x}_{\mathrm{gfl}})\neq\mathrm{dim}(\mathbf{x}_{\mathrm{gfm}}) . Fig. 1 : Inverter switching between GFL and GFM controls. Next, using ( 1 )–( 3 ), we develop a hybrid dynamical system formulation for the inverter in Fig. 1 . III Hybrid system and dynamic state estimation Let a hybrid automaton \mathcal{H}\coloneq\langle\mathrm{Q},\mathrm{X},\mathrm{F},\mathrm{Init},\mathrm{Inv},\mathrm{G},\mathrm{R}\rangle . The set \mathrm{Q} contains the inverter’s discrete modes

Read the complete text