A power converter can behave like a stabilizing neighbor at one frequency and like a source of trouble at another. That matters as electricity systems replace some large spinning generators with power electronics: the grid’s fast electrical interactions become more consequential, while the old mechanical inertia that helped buffer change becomes less dominant.

De Luca and Jane-Soneira propose a way to tune converter controllers for passivity—the quality of not producing more energy than a system receives—over a specific frequency range. Their central move is to make the worst-case passivity margin across that range an optimization target, and to calculate how the margin changes when controller settings change. In principle, that turns a problem often addressed by engineering intuition and parameter sweeps into one that can be steered by gradients.

The qualification is important. The paper text supplied here describes the mathematical framework and says it is tested on a grid-following converter and a multi-converter microgrid, but it cuts off before the case-study results. We can explain what the method does and why it could matter; we cannot claim how much it improves a design, how quickly it converges, or whether it outperforms existing tuning approaches. The excerpt also contains no numerical result tables or plotted data, so there are no responsible charts to reproduce.

The Science

A synchronous generator is a rotating machine. Its physical inertia resists sudden changes in speed, and therefore helps moderate some disturbances in a power system. A converter, by contrast, uses electronics and control software to connect sources such as solar panels, batteries, and wind turbines to the grid. It can respond quickly, but its behavior depends substantially on the control loops that govern it.

This creates a stability challenge that is not simply about whether the whole grid is stable in a model. A modern grid contains equipment owned and operated by many parties. Building and maintaining a single, detailed model of every component may be impractical, and some information may be private. Passivity offers a compositional alternative: if connected subsystems satisfy appropriate energy-related conditions, engineers can reason about the stability of their interconnection without having to inspect every detail of the entire system.

In everyday terms, passivity is a constraint on energy exchange. A passive component does not deliver more energy than it has stored or received. For electrical equipment, the relevant input and output may be current and voltage, depending on whether engineers describe the asset through an impedance or admittance model. Passivity is not a guarantee that every aspect of a real grid is harmless; it is a useful, mathematically structured condition that can support stability analysis when subsystems are connected.

The key word in this paper is “frequency.” Electrical systems contain oscillations at different rates. A converter may have acceptable behavior across most of the spectrum but problematic behavior in a narrower band where it interacts with a grid resonance or another control loop. Requiring passivity at every frequency can be too strong: the authors note that voltage-source converters can exhibit negative-conductance behavior in certain ranges, making full-spectrum passivity unattainable. A practical controller requirement can instead target a frequency band identified as important to the system.

The authors describe passivity margins using indices. A positive index indicates excess passivity at a particular port; a negative one indicates a shortage. The index makes the property more informative than a yes-or-no label. It can express not only whether the system meets a passivity condition, but how much margin it has, measured at the worst point in the frequency interval of interest.

The mathematical obstacle is that a requirement over a frequency band is, on its face, an infinite collection of constraints: the passivity inequality must hold at every frequency in a continuum. The generalized Kalman–Yakubovich–Popov lemma, usually shortened to generalized KYP, provides a way to replace that infinite test with a finite matrix inequality. A semidefinite program (SDP) can then evaluate the best passivity index for fixed controller settings. An SDP is a convex optimization problem whose constraints require certain matrices to be positive or negative semidefinite—a matrix analogue of requiring a scalar to be nonnegative.

The important distinction is between evaluating a controller and tuning it. For fixed controller parameters, the passivity-index calculation is an SDP, which is convex. But if the controller settings themselves are decision variables, they interact nonlinearly with the matrix inequalities. The combined tuning task is therefore non-convex: it may have local optima, and finding the best possible solution is not generally guaranteed by a single calculation.

To guide that search, the authors use the Envelope Theorem. In this setting, it provides a formula for how the optimal value of the SDP changes as its data—and thus the controller parameters—change. The formula uses an optimal primal–dual solution: the main variables that satisfy the SDP and the corresponding multipliers that describe which constraints are active. This is a way to obtain a sensitivity, or gradient, without repeatedly perturbing each parameter and rerunning the solver just to estimate a derivative.

The proposed approach is designed to accommodate any differentiable controller parameterization: the system matrices can depend on the tunable parameters in nonlinear ways, as long as those dependencies are continuously differentiable. The paper also says its bilevel algorithm preserves closed-loop stability at every iterate. “Bilevel” here means that one optimization problem—the SDP that evaluates passivity—is nested inside an outer search over controller settings.

What They Found

The excerpt establishes three methodological contributions. First, the authors formulate passivity optimization over a chosen frequency range as an SDP using the generalized KYP lemma. Second, they derive analytical sensitivities of the SDP’s optimal value with respect to controller parameters. Third, they combine these ingredients in an outer tuning algorithm and describe validation on two systems of increasing complexity.

Those are substantive contributions to the formulation of the problem, but they are not the same as evidence of a measured performance gain. The supplied material does not show the controller values before and after optimization, the passivity margins achieved, computation times, comparison baselines, or any robustness tests. It also cuts off during the mathematical treatment of the mid-frequency case, before the later algorithm and validation sections. No numerical result can be quoted from what is available.

That missing detail matters because “maximize the passivity index” does not by itself tell us what a grid operator would experience. A larger margin might mean the converter is less likely to interact badly with equipment within the selected band. But the value of the method depends on questions the excerpt does not answer: how much margin it finds, how sensitive the result is to model error, how its runtime scales with system size, and whether its tuning remains satisfactory when the real grid differs from the model.

The two stated case studies are promising choices for testing breadth. A single grid-following converter is a focused setting; a multi-converter microgrid introduces interactions among several controlled devices. Yet without their numerical outcomes, these examples indicate the intended scope of validation, not its success.

could usefully show the converter model and its control loops, while

could show the multi-converter microgrid setup; neither figure is included in the text provided, so these are references to the figures a complete account would need, not claims about their contents.

The excerpt does report a broader motivation: grid requirements are increasingly expressed in terms of passivity over specified frequency ranges. It points to recommendations and requirements from European system operators and standards bodies, and to a Finnish grid-code requirement for grid-forming battery storage in two ranges. It also describes a 2024 German harmonic-instability event associated with non-passive converter behavior. These examples explain why frequency-selective passivity is a practical design concern. They do not, on their own, validate this particular optimization algorithm.

Why This Changes Things

The appeal of passivity is that it lets engineers reason locally about a network assembled from many components. If a converter’s behavior satisfies a suitable energy condition, that can make the stability analysis of its connection to other systems more tractable. This matters in a grid where a utility, a renewable-energy developer, a battery operator, and a manufacturer may each know only part of the full system.

Frequency-specific tuning makes that principle more operational. A blanket requirement for passivity at all frequencies may be unrealistic for converters. But focusing on the range where a system is vulnerable gives engineers a more targeted objective: improve the behavior that matters for a particular grid connection, rather than trying to optimize an unattainable ideal across the entire spectrum.

The paper’s differentiable-optimization approach addresses a practical bottleneck. Controller parameters can have surprising effects: one gain may improve a margin in one band while making it worse in another, and multiple parameters can interact. A manual sweep means trying many combinations, often without a clear direction. A gradient from the optimization problem can instead estimate which small parameter changes are likely to improve the chosen margin.

This is not an automatic proof that an optimized converter will make a whole grid stable. Passivity is a compositional tool with assumptions, and real grids also involve nonlinear operation, changing operating conditions, measurement uncertainty, and equipment not captured in a particular model. Nor does a local gradient promise a globally best controller. The outer problem is non-convex, so results may depend on initialization and constraints. Those are reasons to treat optimization as a design aid and not as a replacement for validation, testing, and engineering judgment.

Still, the method could help translate a policy requirement—be passive in this frequency range—into a reproducible controller-design workflow. This is especially relevant as connection rules increasingly specify behavior over bands rather than prescribing a particular device architecture. A common quantitative objective could help manufacturers and grid operators discuss margins with greater precision, while allowing controller designs to differ.

A useful chart for the complete paper would compare the passivity index before and after tuning over the tested frequency band. The provided excerpt contains no values or frequency-response data, so plotting such a comparison here would mean inventing results. Likewise, a chart of parameter convergence or runtime might illuminate how practical the algorithm is, but neither is reported in the supplied text.

What’s Next

The first next step is straightforward: examine the complete case-study results. To judge the method fairly, readers need the achieved passivity margins, the frequency bands used, the starting and final controller parameters, the computation cost, and a comparison with manual tuning or other optimization methods. They also need to know whether the claimed stability-preserving property applies across every tested iteration under the assumptions used in the model.

A second question is robustness. The system matrices used in controller design are approximations, and converter behavior can shift with operating point, grid strength, component tolerances, and delays. A controller optimized for one exact model may not preserve its margin when those conditions change. Future work could pair passivity shaping with uncertainty-aware constraints or test the resulting controllers across families of models and operating states.

A third is scale. A multi-converter microgrid is a meaningful step beyond a single device, but the broader grid can contain far more states, controllers, and interactions. The SDP and its derivative calculations will need to remain numerically manageable as those models grow. Equally important, the outer non-convex search needs dependable ways to handle constraints on controller gains and to avoid solutions that are mathematically attractive but operationally unsuitable.

Finally, passivity is one property in a larger stability picture. Grid operators may care about multiple frequency bands, several ports, low gain as well as passivity, and performance during disturbances. Extending the method to such combined objectives could make it more useful—but also more complex. The paper lays out a potentially valuable bridge between a frequency-domain stability criterion and practical controller tuning. Whether it becomes a dependable tool for the energy transition will depend on the evidence beyond the excerpt: not just an elegant gradient, but repeatable improvements under the messy conditions of real grids.