> 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/power-converters/synchronized-12-pulse-generator.md).

# Synchronized 12-Pulse Generator

## Description

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

The **Synchronized 12-Pulse Generator** block, located in the **OPAL-RT SPS Software/Power Converters** library, Implements synchronized pulse generator to fire thyristors of twelve-pulse converter.

{% hint style="info" %}
The Pulse & Signal Generators section of the Control and Measurements library contains the Pulse Generator (Thyristor, 12-Pulse) block. This is an improved version of the Synchronized 12-Pulse Generator block. The new block features a mechanism that eliminates duplicate continuous and discrete versions of the same block by basing the block configuration on the simulation mode. If your legacy models contain the Synchronized 12-Pulse Generator block, they will continue to work. However, for best performance, use the Pulse Generator (Thyristor, 12-Pulse) block in your new models.
{% endhint %}

The Synchronized 12-Pulse Generator block generates two vectors of six pulses synchronized on the twelve thyristor commutation voltages. The first set of pulses, denoted 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, denoted PD, is sent to the six-pulse bridge connected to the delta secondary winding of the converter transformer.

The synchronization voltages provided to the generator are the three phase-to-ground voltages Va, Vb, Vc measured on the primary side (Y) of the Y/Y/Delta converter transformer. The PY pulses are generated alpha degrees after the zero crossing of the phase-to-phase voltages generated from the synchronization voltages. The PD pulses can be set to lead or lag the PY pulses by 30 degrees.

The following figure shows the synchronization and internal phase-to-phase voltages plus the first three pulses of the PY and PD output vectors. In this example the PY pulses are generated 20 degrees (alpha angle) after the zero crossing of the phase-to-phase voltages and the PD pulses lag the PY pulses by 30 degrees.

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

The ordering of the pulses in the two outputs of the block corresponds to the natural order of commutation of a three-phase thyristor bridge. When you connect the Synchronized 12-Pulse Generator block outputs to the pulse inputs of the Universal Bridge blocks (with the thyristor device), the pulses are sent to the thyristors in the following way:

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

## Parameters

<table data-header-hidden><thead><tr><th width="216">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Delta winding connection</strong></td><td>If set to D1 (lagging), the PD pulses lag the PY pulses by 30 degrees. If set to D11 (leading), the PD pulses lead the PY pulses by 30 degrees.</td></tr><tr><td><strong>Frequency of synchronization voltages</strong></td><td>The frequency, in hertz, of the synchronization voltages. It usually corresponds to the frequency of the network.</td></tr><tr><td><strong>Pulse width</strong></td><td>The width of the pulses, in degrees.</td></tr><tr><td><strong>Double pulsing</strong></td><td>If selected, the generator sends to each thyristor a first pulse when the alpha angle is reached, and then a second pulse 60 degrees later when the next thyristor in the sequence is fired. The double pulsing is applied separately on the two vectors of pulses.</td></tr></tbody></table>

## Inputs and Outputs

<table data-header-hidden><thead><tr><th width="219.99993896484375">Port</th><th>Description</th></tr></thead><tbody><tr><td><strong>alpha_deg</strong></td><td>Input 1 is the alpha firing signal, in degrees. This input can be connected to a Constant block, or it can be connected to a controller system to control the pulses of the generator.</td></tr><tr><td><strong>A, B, C</strong></td><td>Inputs 2, 3, and 4 are the phase-to-ground synchronization voltages Va, Vb, and Vc. The synchronization voltages should be measured at the primary side of the converter transformer.</td></tr><tr><td><strong>Freq</strong></td><td>Available only with the discrete version of the Synchronized 6-Pulse Generator block. This input should be connected to a Constant block containing the fundamental frequency, in hertz, or to a PLL tracking the frequency of the system.</td></tr><tr><td><strong>block</strong></td><td>Input 5 allows you to block the operation of the generator. The pulses are disabled when the applied signal is greater than zero.</td></tr><tr><td><strong>PY</strong></td><td>Output 1 contains the six-pulse signals to be sent to the six-pulse thyristor converter connected to the Y secondary winding of the converter transformer.</td></tr><tr><td><strong>PD</strong></td><td>Output 2 contains the six-pulse signals to be sent to the six-pulse thyristor converter connected to the Delta (D) secondary winding of the converter transformer.</td></tr></tbody></table>

## Examples

In the power\_twelvepulses example a Pulse Generator (Thyristor) block (the improved version of the Synchronized 12-Pulse Generator block) is used to fire the thyristors of a twelve-pulse thyristor bridge built with two six-pulse bridges. The bridge is fed by a three-winding three-phase transformer (500 kV / 200 kV / 200 kV). The Y-connected secondary feeds the first six-pulse bridge. The Delta secondary feeds the second bridge. The transformer is assumed to be ideal (no leakage reactances, no resistance). The expected DC voltage obtained for alpha = 0 is

$$
V\_{dc}
\= 2\frac{3\sqrt{2}}{\pi} 200 \text{KV}
\= 540 \text{kV}.
$$

The two bridge rectifiers are connected in series and a 300 km DC line is connected to the rectifier.

A first simulation is performed with an alpha angle of 0 degrees. Open the Constant block connected at input 1 of the Pulse Generator (Thyristor, 12-Pulse) block and set its value to 0. Start the simulation. The voltages of the thyristors of the D Thyristor Converter block are displayed in the next figure.

Compare the DC voltage generated by the Generator (Thyristor, 12–Pulse) block with the DC voltage you obtained with the Generator (Thyristor, 6–Pulse) block. Notice that the ripple in the DC voltage waveform is lower. The rectifier voltage contains the harmonics 12\*k (k = 1,2,…).


---

# 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/power-converters/synchronized-12-pulse-generator.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.
