Power Electronics & Digital Control
Taking converter dynamics into real-time firmware and laboratory validation, illustrated by a bidirectional multilevel prototype.
- Power conversion
- Digital control
- Embedded firmware
- Experimental validation
Overview
Power-converter control is where an electrical model becomes software that has to work with real voltage, current and stored energy. This theme brings together my experience in modeling, digital regulation, embedded firmware and experimental validation.
A concrete example is the ASTRO / ASTRO-HD work at SUPSI-ISEA. The documented prototype was a bidirectional, grid-connected flying-capacitor converter with a seven-level GaN power stage. It transferred energy between an approximately ±400 V DC link and a single-phase AC grid, operating as both an inverter and an active rectifier.
The work combines modelling, implementation and laboratory validation from 2020–2021.
My contribution
I developed simulations, converter control and embedded firmware, and participated with the team in commissioning and laboratory testing. My contribution connected electrical dynamics, switching models, current regulation, operating sequences and diagnostics.
The prototype and its measured performance were collaborative team results.
Challenge
A converter must do more than generate a useful waveform. It has to synchronize with the grid, follow a current reference, respect available voltage, manage capacitor energy and move between start-up, operation and shutdown without treating those transitions as afterthoughts.
Approach
Start from the electrical dynamics
An equivalent RL branch gives the current-control problem a clear physical basis:
Discrete-time feedback with integral action addressed current tracking. Model-based feedforward supplied the voltage associated with the requested trajectory, while voltage limiting and anti-windup handled actuator saturation. A digital phase-locked loop generated the grid-synchronized reference.

Use multilevel modulation deliberately
Six phase-shifted carriers drove the seven-level leg. The control study investigated capacitor-voltage balancing and selected natural balancing for the configuration studied, together with its filter requirements. Switching models were used to examine behavior that an averaged plant model alone would not expose.

Embedded implementation
The firmware connected ADC acquisition to sampled control execution, PWM generation, communication and diagnostics. Its operating processes coordinated DC-link and flying-capacitor precharge, readiness, grid connection, current transfer, return to zero current and disconnection.
This is the transferable skill: translating a control design into software whose timing and state transitions remain connected to the electrical system. Commissioning then requires staged checks, instrumentation and investigation of practical effects such as relay timing, wiring and current-sensor interference.
Laboratory results
The March 2021 characterization used direct grid connection through an EMI filter, a 224 µH output inductor and a 1.5 kHz current-loop bandwidth. The following values are the reported inverter-mode measurements for the documented 2 kW nominal prototype.
Archived prototype measurements · Inverter mode · March 2021
- Efficiency at nominal setpoint
- 97.32%
2 kW setpoint · 2043 W measured AC output
- Highest of five reported points
- 98.26%
600 W setpoint · 30% nominal load
View all five measured operating points
DC link ±400 V · 224 µH output inductor · 1.5 kHz current loop
| Setpoint | AC output | Reported efficiency | Current THD | Displacement factor |
|---|---|---|---|---|
| 200 W | 209 W | 97.30% | 15.20% | 0.986 |
| 600 W | 607 W | 98.26% | 7.74% | 0.996 |
| 1000 W | 1010 W | 98.15% | 5.15% | 0.998 |
| 1500 W | 1524 W | 97.85% | 3.90% | 0.999 |
| 2000 W | 2043 W | 97.32% | 3.18% | 0.999 |
Source: team prototype characterization, revision 0.4, inverter table, p. 2. Efficiency values follow the reported power-analyzer column, not a recalculation from rounded power values. Displacement factor is not the complete true power factor.
At the nominal setpoint, grid-current THD was 3.18% and the reported displacement factor was 0.999. At the 200 W setpoint, THD rose to 15.20%: the useful engineering story is not just the best efficiency number, but how behavior changes with operating point.

Measurement context
The results refer to the seven-level, 2 kW prototype in inverter mode. Later five-level development and rectifier-efficiency comparisons are outside this measurement set. These are historical prototype results, rather than product-certification data.
Engineering takeaways
- Model to implementation: connect the plant equations, controller structure and sampled firmware.
- Energy-aware sequencing: treat initialization, precharge, limits and shutdown as part of system behavior.
- Validation across operating points: interpret efficiency, harmonic content and phase alignment together.
- Team-based commissioning: use simulation to guide tests, then investigate what measurements reveal about the physical system.