> 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/blocks-functions-tools/control-and-measurements/pulse-and-signal-generators/pulse-generator-thyristor.md).

# Pulse Generator (Thyristor)

## Description

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

The **Pulse Generator (Thyristor)** block, located in the **OPAL-RT SPS Software/Power Electronics/Power Electronics Control** library, generates two pulse trains. These control a twelve-pulse thyristor converter made of two three-phase full-wave thyristor bridges (also called Graetz bridges). In steady-state condition, each pulse train consists of six equidistant square pulses with 60 degrees shift between them.

The first set of pulses (PY) is sent to the six-pulse bridge connected to the wye (Y) secondary winding of the Y/Y/Delta converter transformer.

The second set of pulses (PD) is sent to the six-pulse bridge connected to the delta secondary winding of the converter transformer.

The PD pulses can be set to lead or lag the PY pulses by 30 electrical degrees, depending on the configuration of the delta connection of the converter transformer.

The following figure shows an example of a Pulse Generator (Thyristor) block connected to a twelve-pulse thyristor converter.

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

The Pulse Generator (Thyristor) block can be programmed to control a six-pulse thyristor converter made of one three-phase full-wave thyristor bridge.

In this configuration, the PD pulse train is not generated and the block outputs only the PY pulse train.

The pulse train, renamed P, is suitable for a Graetz bridge connected to a converter transformer, with no phase shift between primary and secondary windings.

The pulse ordering in the pulse trains corresponds to the natural order of commutation of a three-phase thyristor bridge, as shown in the following figure.

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

The table below gives the commutating voltages for the thyristors according to the transformer connection.

The transformer connection reflects the phase shift between the AC source and the thyristors.

<table><thead><tr><th>Thyristor to be ignited</th><th width="80.88885498046875">1</th><th width="80">2</th><th width="80">3</th><th width="80">4</th><th width="79.77783203125">5</th><th width="80.11090087890625">6</th></tr></thead><tbody><tr><td>Thyristor to be extinguished</td><td>5</td><td>6</td><td>1</td><td>2</td><td>3</td><td>4</td></tr><tr><td>Commutating voltage for a Y-Y connection</td><td>Vac</td><td>Vbc</td><td>Vba</td><td>Vca</td><td>Vcb</td><td>Vab</td></tr><tr><td>for a Y-D1 (lagging)</td><td>-Vc</td><td>Vb</td><td>-Va</td><td>Vc</td><td>-Vb</td><td>Va</td></tr><tr><td>for a Y-D11 (leading)</td><td>Va</td><td>-Vc</td><td>Vb</td><td>-Va</td><td>Vc</td><td>-Vb</td></tr></tbody></table>

The Pulse Generator (Thyristor) block is controlled by the alpha angle reference signal and by the synchronization signal wt. The wt signal is an angle varying between 0 and 2\*pi radians, synchronized on zero crossings of the fundamental (positive-sequence) of phase A of the primary voltage of the converter transformer. The wt signal is normally obtained from a phase locked loop (PLL) system.

The Pulse Generator (Thyristor) block generates internal wt ramps to control the pulses. The alpha delay angle is expressed in electrical degrees by which the pulse is delayed relative to angle zero of its commutating voltage. The figure shows how the PY pulse train is generated.

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

The Pulse Generator (Thyristor) block can be configured to work in double-pulsing mode. In this mode two pulses are sent to each thyristor: a first pulse when the alpha angle is reached, and then a second pulse 60 degrees later, when the next thyristor is fired. This figure shows the double pulses in a PY pulse train.

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

## Characteristics

<table data-header-hidden><thead><tr><th width="249.7777099609375"></th><th></th></tr></thead><tbody><tr><td>Sample Time</td><td>Specified in the <strong>Sample Time</strong> parameter</td></tr><tr><td>Scalar Expansion</td><td>No</td></tr><tr><td>Dimensionalized</td><td>No</td></tr><tr><td>Zero-Crossing Detection</td><td>Yes</td></tr></tbody></table>

## Ports

### Input

<table data-header-hidden><thead><tr><th width="250.111083984375"></th><th></th></tr></thead><tbody><tr><td><strong>alpha</strong> — Alpha delay angle<br>Scalar</td><td><p>Alpha delay angle signal, in degrees.</p><p>You can connect this input to a Constant block or to a controller system to control the pulses of the generator.</p></td></tr><tr><td><strong>wt</strong> — Angle synchronized on zero crossings of fundamental<br>Scalar in the range [0, 2*pi]]</td><td><p>Angle, in radians, varying between 0 and 2*pi, synchronized on zero crossings of the fundamental (positive-sequence) of phase A of the primary voltage of the converter transformer.</p><p>The wt signal is normally obtained from a phase locked loop (PLL) system.</p></td></tr><tr><td><strong>Block</strong> — Generator operation flag<br>1 | 0</td><td>When you set this input to true (Boolean 1), the pulses are disabled and the operation of the generator is blocked.</td></tr></tbody></table>

### Output

<table data-header-hidden><thead><tr><th width="250.00006103515625"></th><th></th></tr></thead><tbody><tr><td><strong>P</strong> — Output for Y secondary winding of converter<br>Scalar | vector</td><td><p>Outputs the six-pulse signals to be sent to the six-pulse thyristor converter connected to the Y secondary winding of the converter transformer.</p><p>The output is named PY when the <strong>Generator type</strong> parameter is set to 12-pulse. Dependencies To enable this parameter, set the <strong>Generator type</strong> parameter to 6-pulse.</p></td></tr><tr><td><strong>PY</strong> — Output for Y secondary winding of converter<br>Scalar | vector</td><td>Outputs the six-pulse signals to be sent to the six-pulse thyristor converter connected to the Y secondary winding of the converter transformer. The output is named P when the <strong>Generator type</strong> parameter is set to 12-pulse. Dependencies To enable this parameter, set the <strong>Generator type</strong> parameter to 12-pulse.</td></tr><tr><td><strong>PD</strong> — Output for delta secondary winding of converter<br>Scalar | vector</td><td><p>Outputs the six-pulse signals to be sent to the six-pulse thyristor converter connected to the Delta (D) secondary winding of the converter transformer.</p><p>Dependencies To enable this parameter, set the <strong>Generator type</strong> parameter to 12-pulse.</p></td></tr></tbody></table>

## Parameters

<table data-header-hidden><thead><tr><th width="250.22222900390625"></th><th></th></tr></thead><tbody><tr><td><strong>Generator type</strong> — Type of thyristor converter to control<br>6-pulse (default) | 12-pulse</td><td>Type of thyristor converter to control. When you set this parameter to 6-pulse, the PD pulse train output is not generated, and the PY output is renamed to P.</td></tr><tr><td><strong>Delta winding connection</strong> — Type of delta secondary winding connection of converter transformer<br>D1(lagging) (default) | D11(leading)</td><td><p>Type of delta secondary winding connection of the converter transformer.</p><p>When you set this parameter to D1(lagging), the PD pulses lag the PY pulses by 30 degrees.</p><p>When you set this parameter to D11(leading), the PD pulses lead the PY pulses by 30 degrees.</p></td></tr><tr><td><strong>Pulse width (deg)</strong> — Width of pulses<br>60 (default) | scalar</td><td>Width of the pulses, in degrees.</td></tr><tr><td><strong>Double pulsing</strong> — Double pulsing option<br>off (default) | on</td><td>Whether the Pulse Generator (Thyristor) block implements the double-pulsing technique.</td></tr><tr><td><strong>Sample time</strong> — Block sample time<br>0 (default) | nonnegative scalar</td><td>Sample time of the block, in seconds. Set to 0 to implement a continuous block.</td></tr></tbody></table>

## Examples

The power\_PulseGenerator example shows various uses of the pulse generator.

The model sample time is parameterized with the variable Ts (default value Ts = 50e-6). To simulate continuous mode, specify Ts = 0 in the MATLAB® Command Window.


---

# 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/blocks-functions-tools/control-and-measurements/pulse-and-signal-generators/pulse-generator-thyristor.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.
