> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-converters/multilevel-multiphase-space-vector-pwm.md).

# Multilevel Multiphase Space Vector PWM

This example shows the operation of the multilevel multiphase SVPWM and two-level multiphase SVPWM.

<figure><img src="https://799605156-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdlNg8IbOdahCpFCyzxSN%2Fuploads%2Fgit-blob-5b4bf6bed1c31d1d666e54e05d2f3e7c91e5d59e%2Fmultilevel_spacevector_PWM_example.png?alt=media" alt=""><figcaption></figcaption></figure>

## Description

This example shows the operation of the Multilevel multiphase SVPWM and Two-level multiphase SVPWM. It includes a five-level five-phase inverter feeding a passive load. Detailed information about the modulation algorithm, its Simulink® implementation, and the simulated case can be found in \[1].

1. The 'Sine Wave f' and 'Fifth harmonic' blocks generate an unbalanced five-phase reference voltage with a fifth harmonic.
2. The 'Normalize' block normalize the reference voltage
3. The 'Multilevel multiphase SVPWM' performs the multilevel multiphase space-vector PWM (SVPWM) algorithm presented in \[1]. This block makes use of the block 'Two-level multiphase SVPWM', also described in \[1], that can be used alone with two-level multiphase converters. Both blocks require the specification of the number of phases and their outputs are a matrix with the switching vector sequence and a vector with the switching times.
4. The 'Sequence' block provides the time sequence of switching vectors.
5. The 'Trigger signals' generates the proper trigger signals from output levels specified in each switching vector.
6. The '5-level 5-phase cascaded full-bridge inverter' block is the ideal model of the multilevel voltage-source converter.
7. The loads are resistances with a series connected inductances. Load neutral is connected to the inverter neutral.

## Simulation

The following signals can be observed:

'Vref' is the sampled voltage reference for each phase.

'filtered Vout' is the output voltage of 'Vout' phase after been filtered with a low-pass filter.

'Vout(k)' is the switched output voltage of phase 'k'. The phase shown in the scope can be selected by means of the 'Phase selection' block.

The filtered output voltage 'filtered Vout' of the converter follows the reference voltage 'Vref'. Therefore, the modulation is working properly.

The output voltage of the inverter 'Vout' has five levels in phases b, c, and d (k=2,3,4) and three levels in phase a and e (k=1,5).

## Command

Example model name: power\_svpwm\_multiPhasesLevel

{% code lineNumbers="true" %}

```matlab
open('power_svpwm_multiPhasesLevel')
```

{% endcode %}

#### References

\[1] Oscar Lopez, Jacobo Alvarez, Jesus Doval-Gandoy and Francisco D. Freijedo "Multilevel Multiphase Space Vector PWM algorithm", IEEE® Transactions on Industrial Electronics, vol. 55, no. 5, pp. 1933-1942, May 2008, doi:10.1109/TIE.2008.918466.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/smart-power-simulation-software-sps/example-models/power-converters/multilevel-multiphase-space-vector-pwm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
