> 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/courseware/electric-courseware/power-electronics/three-phase-three-level-neutral-point-clamped-converter/exercises.md).

# Exercises

## Design Aspects <a href="#id-4.1.-design-aspects" id="id-4.1.-design-aspects"></a>

This first set of exercises deals with the design aspects.\
The first two exercises cover the sizing of the two capacitors at the input of the inverter, and the three delta-connected capacitors at the output of the inverter.\
The third one is dedicated to the control of the switches and the PWM generation.

### Computation of the bridge capacitors <a href="#id-4.1.1.-computation-of-the-bridge-capacitors" id="id-4.1.1.-computation-of-the-bridge-capacitors"></a>

This exercise refers to the two capacitors $$C\_1$$ and $$C\_2$$ located at the input of the inverter bridge. For more details, see[ **Figure 3**](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#id-2.1.-converter-topology).

The voltage across the two capacitors is fixed to $$U$$, in other words:

$$
u\_{c1} + u\_{c2} = U \\\[8pt]
$$

which leads to:

$$
i\_{c1} + i\_{c2} = 0 \\\[8pt]
$$

That means that the charging current of  $$C\_1$$ equals the discharging current of $$C\_2$$, and vice versa.

Starting from this reasoning, consider the combination where $$V\_{AO} = V\_{BO} = \frac{U}{2} \quad \text{and} \quad V\_{CO} = -\frac{U}{2} \\\[8pt]$$, and do the following:

* Express $$i\_{C1}$$ and $$i\_{C2}$$ as functions of the source current
* Compute the instantaneous values of $$u\_{C1}$$ and $$u\_{C2}$$ as functions of $$U$$ and the instantaneous load currents given as: $$i\_A = I\sqrt{2}\sin(\omega t - \varphi), ;$$$$i\_B = I\sqrt{2}\sin(\omega t - \varphi - 2\pi/3)$$ and $$i\_C = I\sqrt{2}\sin(\omega t - \varphi + 2\pi/3)$$
* Show that there should be a minimal value of $$C\_1$$ and $$C\_2$$ in order to ensure a minimum of fluctuation in the voltages $$u\_{C1}$$ and $$u\_{C2}$$
* Compute that value.

### Computation of the filter capacitors <a href="#id-4.1.2.-computation-of-the-filter-capacitors" id="id-4.1.2.-computation-of-the-filter-capacitors"></a>

This exercise refers to the three capacitors mounted in delta configuration and composing the C-Filter. See [Figure 7](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#id-2.4.-load-and-filter-in-inverter-mode) for more details.

The values of the load resistances and inductances as well as the filter inductances are summarized in [the converter parameters and nameplate ratings table](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#id-2.6.-converter-parameters-and-nameplate).\
The point of this exercise is to compute the value of the filter capacitance, for that do the following:

* Compute the transfer function of the LC filter
* Compute the cut-off frequency of the filter
* Compute the value of the filter capacitance that ensures a cut-off frequency of 600 Hz.

### Voltage levels and associated switches control <a href="#inlineextension-4.1.3.-voltage-levels-and-associated-switches-control" id="inlineextension-4.1.3.-voltage-levels-and-associated-switches-control"></a>

This exercise refers to the material introduced in [the control of the switches & PWM generation section](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#inlineextension-2.2.-control-of-the-switches-and-pwm-generation), namely, the control of the switches and the PWM generation.

See [Figure 3](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#id-2.1.-converter-topology) for the topology of the whole inverter, [Figure 4](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#inlineextension-2.2.-control-of-the-switches-and-pwm-generation) for the topology of one arm and [Figure 5](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#inlineextension-2.2.-control-of-the-switches-and-pwm-generation) for the control of the four switches, which is based on the intersection between the reference signal and the two carriers.

Since this exercise is intended to help the student understand and design the PWM generator, he is asked to do the following:

* Determine the control status (On/Off) of the twelve switches and fill out Table 8 below.
* Design the circuit, based on (i) relational operator and (ii) logical operators that produces the switches control of [Figure 5](https://www.opal-rt.com/pages/2XVD8GH8gvw0WV8r2Rbf#inlineextension-2.2.-control-of-the-switches-and-pwm-generation).

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FQheaLg5x4nAK8DcONCaz%2Fcdn.webp?alt=media&amp;token=1c7ee5ce-7050-462e-a348-44c0b0c3dc42" alt=""><figcaption><p>Voltage Outputs and Associated Control Switches</p></figcaption></figure>

## Inverter mode <a href="#inlineextension-4.2.-inverter-mode" id="inlineextension-4.2.-inverter-mode"></a>

### Changing DC voltage source <a href="#id-4.2.1.-changing-dc-voltage-source" id="id-4.2.1.-changing-dc-voltage-source"></a>

This exercise is intended to change the value of the DC Voltage source and observe its impact on the levels and waveforms, essentially, the inverter voltages.

* For that, keep all the parameters unchanged except for the slider: **Vdc (V)**

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FitIYzhJiJ6XZQW7DdSUB%2Fcdn.webp?alt=media&amp;token=38f2d509-f8c3-4ae1-9619-7826293044a6" alt=""><figcaption><p><strong>Figure 13:</strong> Changing DC Voltage Source</p></figcaption></figure>

* Apply the changes, as shown in the first column of Table 9 below, observe the waveforms and fill out the rest:

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FN2HGbiBIeLgO1SGPUWYR%2Fcdn.webp?alt=media&amp;token=6a7b8d69-9ddb-467f-a7f8-be21ce4dc064" alt=""><figcaption><p>Output voltage levels</p></figcaption></figure>

* Verify that the voltage value of Display<sub>4</sub> follows *Vdc/2\*Reference Amplitude\*sqrt (3/2)* for each *Vdc* value in Table 9 above.

### Changing AC-source frequency - Synchronization On/Off <a href="#id-4.2.2.-changing-ac-source-frequency-synchronization-on-off" id="id-4.2.2.-changing-ac-source-frequency-synchronization-on-off"></a>

This exercise is intended to highlight the pulsations phenomenon obtained during the loss of synchronization between the AC-source and the inverter output, a phenomenon like the loss of synchronization between a power grid and a synchronous generator.

* Change the slider **Frequency (Hz)** and observe the pulsations in the inverter currents as shown in Figure 14 below.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FMKZ0hlV0sY3PJvGEgrDh%2Fcdn.webp?alt=media&amp;token=0678cfcd-8758-4186-9e32-f7ad958861c7" alt=""><figcaption><p><strong>Figure 14:</strong> Changing AC-source Frequency</p></figcaption></figure>

* Click the **SYNCHRONIZE** button that forces the PWM reference frequency to stick to the BEMF frequency and observe the waveforms of Figure 15 below:

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FCzF39nmGik7f4kZqAkyz%2Fcdn.webp?alt=media&amp;token=7e7c7c88-23c2-49b4-a0f8-02c311ac2ac5" alt=""><figcaption><p><strong>Figure 15:</strong> Synchronize Button Activated</p></figcaption></figure>

### Changing AC-source phase shift <a href="#id-4.2.3.-changing-ac-source-phase-shift" id="id-4.2.3.-changing-ac-source-phase-shift"></a>

This exercise is intended to show the impact of changing the phase shift of the AC Source with respect to the reference signal.\
Using the slider **PhaseShift (Deg)** do the following:

* Choose positive values, thus rendering the load more inductive, and observe the waveforms of the voltages and currents as shown in Figure 16 below.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2Fpoiq6R4vKf8D0W8UFPis%2Fcdn.webp?alt=media&amp;token=e2805240-6d2e-4ceb-b40a-856abd3e0d2a" alt=""><figcaption><p><strong>Figure 16:</strong> Changing AC-source Phase Shift; Load More Inductive</p></figcaption></figure>

* Repeat the exercise with negative values (capacitive load) as shown in Figure 17 below.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2F6Xir0cYsztCrTpXGOwhr%2Fcdn.webp?alt=media&amp;token=8797b9f7-641c-49ff-a5ec-c33490064a3e" alt=""><figcaption><p><strong>Figure 17:</strong> Changing AC-source Phase Shift; Load More Capacitive</p></figcaption></figure>

## LC filter activated <a href="#inlineextension-4.3.-lc-filter-activated" id="inlineextension-4.3.-lc-filter-activated"></a>

### Changing PWM frequency <a href="#id-4.3.1.-changing-pwm-frequency" id="id-4.3.1.-changing-pwm-frequency"></a>

This exercise is intended to change the PWM frequency and observe its impact on the waveforms and the power flow.\
For that, keep all the parameters unchanged except for the slider: **PWM Frequency (Hz)**.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FxBsSammDSvSWfJ1YOpPy%2Fcdn.webp?alt=media&amp;token=fb073f9f-1c9a-4c54-964d-b35b38da39e4" alt=""><figcaption><p><strong>Figure 18:</strong> Changing PWM Frequency</p></figcaption></figure>

* Apply the PWM frequency values of the first column of Table 10 below, observe the waveforms, read the displays, and fill out below:

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FZ6pXhPQAgMBq6OwV9UNY%2Fcdn.webp?alt=media&amp;token=8d3b360e-e06c-42da-a574-7c05959ad886" alt=""><figcaption><p>Changing PWM Frequency with LC Filter ON</p></figcaption></figure>

* Disable the **LC Filter** button and repeat the same exercise.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2F4QuyFyc4PzxsDiPzRpUf%2Fcdn.webp?alt=media&amp;token=1f70f396-9040-4ed1-81d1-a447557022cc" alt=""><figcaption><p>Changing PWM Frequency with LC Filter OFF</p></figcaption></figure>

* How does the change of PWM Frequency impact the THD of load and inverter currents?\ <i class="fa-lightbulb-on">:lightbulb-on:</i> Please observe the values of Display<sub>6</sub> and Display<sub>7</sub>.

### Changing AC-source amplitude <a href="#id-4.3.2.-changing-ac-source-amplitude" id="id-4.3.2.-changing-ac-source-amplitude"></a>

This exercise is intended to show the impact of changing the amplitude of the AC Source and to observe the source current and the power flow.\
Using the slider **Amplitude (V)**, do the following:

* Increase the value of the amplitude to 75 V and observe the waveforms and the power flow.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2F3veHmaY10MRDt4spNVwi%2F950c46f1-8256-4e7e-a70b-9cf057728519.png?alt=media&amp;token=5b6e8afa-72d5-4b4b-85a3-72193fa4c275" alt=""><figcaption><p><strong>Figure 19:</strong> Changing AC-source Amplitude to 75 V</p></figcaption></figure>

* Increase the value to 82 V and redo the same observations.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FQIYlk29cYoK4j06CuPZ7%2Fdeb933a3-a3e4-4acb-80f0-5be2279f5f82.png?alt=media&amp;token=f900ffdc-c128-461a-8aad-d4f60d3a7bd8" alt=""><figcaption><p><strong>Figure 20:</strong> Changing AC-source Amplitude to 82 V</p></figcaption></figure>

* Determine the amplitude at which the power flow vanishes.

### Changing AC-source phase shift <a href="#id-4.3.3.-changing-ac-source-phase-shift" id="id-4.3.3.-changing-ac-source-phase-shift"></a>

This exercise is a repetition of 4.2.3 except that the **LC filter is ON**. Repeat the same steps as before.

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FCOvopqhaPOiZmzJR5jaw%2Fbd670146-fcd2-43e7-ba0d-f6cc1ca6f949.png?alt=media&amp;token=beac1472-9ed2-4bef-afc3-a5a7de2184fb" alt=""><figcaption><p><strong>Figure 21:</strong> Changing AC-source Phase Shift; Load More Inductive</p></figcaption></figure>

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2F5SpxDrMSnGmJp3E7kk0b%2F476d7ae9-804b-47df-bcc9-cfd2198a84da.png?alt=media&amp;token=d8383557-1eea-488c-a1f0-f4552e2910c5" alt=""><figcaption><p><strong>Figure 22:</strong> Changing AC-source Phase Shift; Load More Capacitive</p></figcaption></figure>

## Rectifier mode <a href="#id-4.4.-rectifier-mode" id="id-4.4.-rectifier-mode"></a>

As previously mentioned, in Rectifier Mode, when the **PWM\_Disable** button is activated (i) the DC source is disconnected, (ii) the PWM generation is disabled and (iii) the first set of control parameters is disabled.

* Click the **Connect Filter** button, observe the waveforms and read the displays

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FoyyMgdWh66RkHVZOsLig%2F400e8652-c53f-4259-ba87-4dd095160a07.png?alt=media&amp;token=a8a15ae7-249c-47bf-b18a-3cf75ca998f8" alt=""><figcaption><p><strong>Figure 23:</strong> Rectifier Mode; LC Filter ON</p></figcaption></figure>

* Click the **APPLY\_RECT\_LOAD** button, observe the waveforms and read the displays

<figure><img src="https://4054096626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYbyVjpgEQX9nfCkpYoFP%2Fuploads%2FzR0vthSPG70yrmC7lsnB%2Fd0881cf3-6215-41ba-87e4-e899b414ed00.png?alt=media&amp;token=7594abaa-f3bc-4798-8e16-316fd51fed75" alt=""><figcaption><p><strong>Figure 24:</strong> Rectifier Mode; LC Filter ON &#x26; DC Load Connected</p></figcaption></figure>

* Check that the current and voltage at the DC side are coherent with the value of the DC resistance.


---

# 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/courseware/electric-courseware/power-electronics/three-phase-three-level-neutral-point-clamped-converter/exercises.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.
