Safely control electric motor systems by suppressing undesirable harmonics
Electric Drive Systems
Electric drives systems convert electrical energy into mechanical motion, or harvest electrical energy from motion.
These systems are one of the main keys to the renewable energy transition.
Electric drives are found in the wheels of electric vehicles, wind turbines, and milling machines.
Possible control objectives in the motor include speed, angle, magnetic flux, and torque. Failure to properly control the motor could cause heating in the motor, low power quality, undesirable harmonics, and possibly mechanical breakage.
A common component in electrical drive systems is an inverter. An inverter is a power electronic device that converts between DC and AC power. The inverter is controlled by toggling electrical or electromechanical switches. The voltage output on the AC side can therefore take on a finite number of levels.
A circuit diagram of a 3-level inverter. Right: The ABB ACS5000 DC medium voltage drive.
The task of inverter control is to choose a switching sequence such that the motor current/flux/angle trajectory closely tracks a desired trajectory. As an example, a sinusoidal current reference must be tracked using a nonsmooth and finite-level switched voltage input. Exactly following this reference will yield a smooth and predictable rotational motion.
Methods to choose switching sequences include comparator-based modulation (e.g. carrier, space vector), optimal pulse patterns, and selective harmonics elimination.
Raising the switching frequency yields better fidelity to a reference sinusoidal current (k: number of allowed pulses per period).
Choosing a specific pulse pattern occurs as part of a nested control loop, whose components could involve trajectory generation and model predictive control.
Optimal Pulse Patterns
Optimal Pulse Patterns solve an optimization problem to choose switching angles and levels.
Constraints imposed on this optimization problem include harmonics specifications, power losses, bounded number of switches, and symmetry considerations. The optimization problem is highly nonconvex, featuring binary switching and nonlinear harmonics constraints. This research provides lower-bounds on the Total Demand Distortion obtained by any pulse pattern that is feasible for the constraints. A lower Total Demand Distortion is associated with closer fidelity to the desired sinusoidal reference, and increased efficiency because less energy is lost to wasted heat in undesired harmonics. Existing patterns (upper bounds) can then be checked against the computed lower-bounds to gauge for optimality.
We model the Optimal Pulse Pattern problem as a path-planning optimal control problem in a hybrid system (continuous and discrete dynamics).
the continuous dynamics are the electrical dynamics of the circuit elements (e.g. motor resistance and inductance, grid-side filters).
The discrete jumps are the toggling of switches, in which the output voltage level in the inverter changes. The control problem is to choose a periodic path in a transition graph (levels), and the times to execute these jumps (switching angles).
Left: A pulse pattern with 4 switching angles. Center: A transition graph, with the black path highlighting the voltage sequence used. Right: an occupancy table storing the time spent in each mode.
We lower-bound the optimal control cost of the hybrid system optimal control problem by using existing convex relaxation methods in control theory (value functions/moment-sum-of-squares). By increasing the computational requirements (larger and larger semidefinite programs), tighter and tighter lower-bounds to the true minimal Total Demand Distortion are obtained.
The below figure plots a pattern with 24 pulses/period, quarter-wave symmetry, and a voltage sine fundamental harmonic of 0.8. The TDD of the synthesized pattern is 2.65%, and has a suboptimality at most 2.2799 × 10 -4 above the minimal TDD pattern.
Top: voltage reference (black) and synthesized pattern (blue). Middle: the current in the resistive-inductive motor with R/L ratio 0.5, red dots highlight the switching angles. Bottom: difference between the reference load current and the motor load current as driven by the pattern.
A pattern can be approximately recovered from the semidefinite program solutions if the matrices satisfy low-rank properties. The numerically recovered pattern may be infeasible for the harmonics constraints, and can then be fed into a local optimizer to generate a feasible pulse pattern.
Relevant Publications:
Conference Articles
CDC
Optimal Pulse Patterns through a Hybrid Optimal Control Perspective
Optimal pulse patterns (OPPs) are a modulation method in which the switching angles and levels of a switching signal are computed via an offline optimization procedure to minimize a performance metric, typically the harmonic distortions of the load current. Additional constraints can be incorporated into the optimization problem to achieve secondary objectives, such as the limitation of specific harmonics or the reduction of power converter losses. The resulting optimization problem, however, is highly nonconvex, featuring a trigonometric objective function and constraints as well as both real- and integer-valued optimization variables. This work casts the task of OPP synthesis for a multilevel converter as an optimal control problem of a hybrid system. This problem is in turn lifted into a convex but infinite-dimensional conic program of occupation measures using established methods in convex relaxations of optimal control. Lower bounds on the minimum achievable harmonic distortion are acquired by solving a sequence of semidefinite programs via the moment-sum-of-squares hierarchy, where each semidefinite program scales in a jointly linear manner with the numbers of permitted switching transitions and converter voltage levels.
Preprints
Bounding the Minimal Current Harmonic Distortion in Optimal Modulation of Single-Phase Power Converters
Optimal pulse patterns (OPPs) are a modulation technique in which a switching signal is computed offline through an optimization process that accounts for selected performance criteria, such as current harmonic distortion. The optimization determines both the switching angles (i.e., switching times) and the pattern structure (i.e., the sequence of voltage levels). This optimization task is a challenging mixed-integer nonconvex problem, involving integer-valued voltage levels and trigono metric nonlinearities in both the objective and the constraints. We address this challenge by reinterpreting OPP design as a periodic mode-selecting optimal control problem of a hybrid system, where selecting angles and levels corresponds to choosing jump times in a transition graph. This time-domain formulation enables the direct use of convex-relaxation techniques from optimal control, producing a hierarchy of semidefinite programs that lower-bound the minimal achievable harmonic distortion and scale subquadratically with the number of converter levels and switching angles. Numerical results demonstrate the effectiveness of the proposed approachs.
@preprint{miller2025boundingminimalcurrentharmonic,title={{Bounding the Minimal Current Harmonic Distortion in Optimal Modulation of Single-Phase Power Converters}},author={Miller, Jared and Karamanakos, Petros and Geyer, Tobias},year={2025},arxiv={2512.08201},archiveprefix={arXiv},bibtex_show={true},selected={true},slides={opp_fau_erlangen.pdf},tag={pe},primaryclass={eess.SY},url={https://arxiv.org/abs/2512.08201},code={https://github.com/jarmill/opp_pop},poster={OPP_Poster__CLOCK.pdf}}
Network-Independent Incremental Passivity Conditions for Grid-Forming Inverter Control
Grid-forming inverters control the power transfer between the AC and DC sides of an electrical grid while maintaining the frequency and voltage of the AC side. This paper focuses on ensuring large-signal stability of an electrical grid with inverter-interfaced renewable sources.
We prove that the Hybrid-Angle Control (HAC) scheme for grid-forming inverters can exhibit incremental passivity properties between current and voltage at both the AC and DC ports. This incremental passivity can be certified through decentralized conditions.
Inverters operating under HAC can, therefore, be connected to other passive elements (e.g. transmission lines) with an immediate guarantee of global transient stability regardless of the network topology or parameters. Passivity of Hybrid Angle Control is also preserved under small-signal (linearized) analyses, in contrast to conventional proportional droop laws that are passivity-short at low frequencies. Passivity and interconnected-stability properties are demonstrated through an example case study.
@preprint{miller2025networkindependentincrementalpassivityconditions,title={Network-Independent Incremental Passivity Conditions for Grid-Forming Inverter Control},author={Miller, Jared and Desai, Maitraya Avadhut and He, Xiuqiang and Smith, Roy S. and Hug, Gabriela},year={2025},tag={pe},eprint={2506.14469},archiveprefix={arXiv},primaryclass={eess.SY},bibtex_show={true},code={https://doi.org/10.3929/ethz-b-000705638},url={https://arxiv.org/abs/2506.14469},arxiv={2506.14469}}