> 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/current-controlled-thyristor-rectifier.md).

# Current Controlled Thyristor Rectifier

This example shows the operation of a current-controlled thyristor rectifier.

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

## Description

A DC motor represented by a simplified RL-E model is fed from an inductive three-phase source through a six-pulse thyristor bridge. A pulse generator synchronized on the source voltages provides the trigger pulses for the six thyristors.

The converter output current is controlled by a PI current regulator built with Simulink® blocks. A step signal is applied to the reference input to test the dynamic response of the current regulator.

In order to allow further signal processing, signals displayed on the Scope block are stored in a variable named ScopeData1 (in structure with time format).

## Simulation

Start the simulation and observe current and voltage waveforms on the Scope block.

When simulation is completed, open the powergui and select **FFT Analysis** to display the 0 - 2000 Hz frequency spectrum of signals saved in the ScopeData1 structure. The FFT will be performed on a 2-cycle window starting at t = 0.08 - 2/60 (last 2 cycles of recording). Input labeled Ia should be already selected. Click on Display and observe the frequency spectrum of the last two cycles of Ia. Harmonic currents (6n+/-1) are displayed in % of the fundamental component.

The value of the fundamental current (magnitude = 27.48 A peak) and the Total Harmonic Distortion (THD) are also displayed. Harmonics in the 0 - 2000 Hz range contribute to 29% in THD. If you specify a 0-4000 Hz frequency range, notice that contributions of harmonics above 2000 Hz are negligible in the current THD.

Now select the input labeled Vd and display its spectrum. The DC voltage contains harmonics (6n) and its DC component is 145.4 V.

## Command

Example model name: power\_RegulatedThyristorRectifier

{% code lineNumbers="true" %}

```matlab
open('power_RegulatedThyristorRectifier')
```

{% endcode %}


---

# 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/current-controlled-thyristor-rectifier.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.
