Introduction | Motivation for OEW-PMSM Drives
The electrification of transport depends on drive systems that use the available energy efficiently, tolerate faults, and can be built around practical energy storage. Open-end winding permanent magnet synchronous machines (OEW-PMSMs) address these needs. Fed by two inverters, they allow two isolated DC sources with different characteristics, such as a high-energy-density fuel cell and a high-power-density battery, to be connected through the machine itself rather than through an additional DC/DC converter, which removes a source of losses. The dual-inverter structure also raises voltage utilization: the phase voltage can reach the full DC-source voltage instead of the two-thirds available to a star-connected machine. This widens the speed range, or alternatively allows a lower DC-link voltage, which reduces switching stress and loss and permits power electronic devices with lower voltage ratings. In addition, the larger set of available voltage vectors can lower current and torque ripple, reduce inverter losses and electromagnetic interference, and allow continued, if degraded, operation after an inverter or DC-source fault, which matters in electric traction, military, and aerospace applications.
These benefits are only realized if the machine is controlled well, and this is where modulation techniques become central. The same feature that gives the OEW configuration its flexibility, the many more achievable voltage vectors, also makes the modulator considerably more complex than the SVPWM used for standard three-phase drives. The choice of modulation strategy directly determines current ripple, torque ripple, and switching losses, and therefore whether the potential advantages materialize or are offset by the drawbacks of the topology: higher total switching losses from using two inverters, higher cost, and greater space requirements. Developing and testing modulation techniques for OEW-PMSMs is therefore essential for making dual-power electric vehicles competitive with conventional single-inverter solutions, and it is the focus of this work.
Challenges | Why Modulation Is Important and Hard to Evaluate
Modulation sits between the control algorithm and the power stage, so its quality directly shapes drive operation. A poorly designed or implemented modulator can cause high current and torque ripple, excessive switching losses, and electromagnetic interference, and in the worst case it can trigger overcurrent protection or damage the inverters. In OEW-PMSM drives this risk is greater, since the number of realizable voltage vectors is much larger and the same reference can be synthesized in many ways. Judging effectiveness requires insight into the particularities of the implementation: how the code is organized and executed, which voltage vectors are actually realized, and what the real switching waveforms look like when measured. Many tests are also necessary, across different speeds, loads, modulation indices, and DC-source voltage ratios, and in comparison with alternative techniques. Repeating such a series of tests on a physical high-power drive is slow, expensive, and potentially hazardous.
Controller hardware-in-the-loop (C-HIL) was adopted as the development and testing platform in this work because it addresses these challenges. The real controller runs the real modulation code against a real-time simulation of the inverters, the machine, and the DC sources, so the algorithm is tested as in the final system without high-power hardware. It also provides direct access to realized voltage vectors, switch states, and code execution timing, and it allows the many required tests to be run quickly and repeatedly.
Solution | Unified Space Vector PWM technique example
Among other modulation schemes developed and tested for the OEW-PMSM, the Unified Space Vector Pulse-Width Modulation (USVPWM) technique was examined. This technique was developed specifically for dual-inverter OEW machines, where a reduced total switching frequency is achieved.
The modulation technique was examined on a power stage consisting of a PMSM driven by two inverters connected to separate (and generally independent) DC voltage sources, as shown in Figure 1.

In the depicted setup, the first inverter generates vector and the second inverter generates vector , and the resulting vector is simply:
As the name suggests, the USVPWM is based on the standard space-vector modulation. Hence, reference voltage vectors and can be expressed as a time-weighted combination of the adjacent non-zero ( and and and ) and zero () fundamental voltage vectors within a single switching period , as in (2).
where are time periods during which the corresponding vectors are supposed to be applied and it has to be that . These times are calculated using (3) for the odd-numbered sectors and using (4) for the even-numbered sectors of the space-vector hexagon ( is the sector of the hexagon at the addressed instance).
Next, it is necessary to determine which parts of the and should be assigned to . This is done by assessing the position of the desired vector not just within the hexagon, i.e., its sector, but also within the sector itself, as illustrated in Figure 2.

The details of this procedure can be found in the original paper [1] and in the master’s thesis of one of the authors of this text [2].
The testing environment consisted of Typhoon HIL’s HIL404 emulator, Infineon’s AURIX TC375 microcontroller, an interface board connecting the emulator and the microcontroller, and a PC on which Typhoon HIL Control Center and the software tools for microcontroller programming were installed. The AURIX TC375 was programmed using code generation tools for MATLAB developed specifically for Infineon’s microcontrollers.
Figure 3 shows the setup (excluding the PC).

The power stage, defined in the Schematic editor, is shown in Figure 4.

Finally, the control code for the microcontroller was generated from the model shown in Figure 5. The model generated the overall control code for the OEW-PMSM drive (including current and speed control), not just the code implementing the modulator.

Figure 6 depicts the current of the inductive-resistive load when the USVPWM and standard SVPWM techniques are deployed. The reduction of the current ripple is evident, which is another advantage of the USVPWM technique.

Figure 7 depicts the mechanical speed and the phase a and b currents of the PMSM drive. Both the mechanical speed and the currents are controlled, with USVPWM implemented as the modulator.

Figure 8 offers zoomed-in views of these responses. The responses could be improved, but the main functionalities are achieved.

HIL Benefits | Quick Setup and Repeatable Tests
As of version 2025.1, the Three-Phase Permanent Magnet Synchronous Machine (Open Winding) component is readily available in the Schematic Editor of Typhoon HIL Control Center. Hence, the power stage can be defined literally in a matter of minutes. Moreover, the examples that Infineon offers for the code generation procedure significantly facilitate code creation. Basically, once the functionalities are tested in the model-in-the-loop environment, the C-HIL tests can be run on the same day. The tests can then be repeated for various operating points, enabling fast and comprehensive examination of modulator features, on top of the other advantages the C-HIL environment offers.
References
[1] M. Chen and D. Sun, “A Unified Space Vector Pulse Width Modulation for Dual Two-level Inverter System,” in IEEE Transactions on Power Electronics, vol. 32, no. 2, pp. 889-893, Feb. 2017, doi: 10.1109/TPEL.2016.2585223.
[2] Marko Alagić, “Reliability-Centric Investigation Of Open-End Winding Permanent Magnet Synchronous Motor Drive Systems For Dual-Power Electric Vehicles”, Master’s thesis, 2025.