> 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/ehs/3.7/model-in-schematic-editor/library-blocks-reference/switches-with-interpolation-blocks/half-bridge-converter.md).

# Half Bridge Converter

## Description

<figure><img src="https://521571437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo99Izmvvw5eHT4ldzI4g%2Fuploads%2Fgit-blob-4fee8cfb5072596174a3d2e7139728507ee19aa1%2FSE_halfbridge.png?alt=media" alt="" width="197"><figcaption></figcaption></figure>

The **Half Bridge Converter** block models a single-phase half-bridge converter, a fundamental two-level switching cell used in power electronic converters. It consists of two complementary IGBTs connected in series between the positive and negative terminals of a DC source, with the midpoint serving as the output terminal.

## Parameters

### In eHS circuit

<figure><img src="https://521571437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo99Izmvvw5eHT4ldzI4g%2Fuploads%2Fgit-blob-1d6f3e88af00659b85a5f0cc878e4ffab0a0020c%2FSE_halfbridgeparam.png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter                                             | Description                                                                                                                                                                                | Sets feature | I/O & Monitoring                                                                |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ------------------------------------------------------------------------------- |
| **Internal on resistance (R**<sub>**on**</sub>**)**   | The diode internal on resistance, in ohms (Ω).                                                                                                                                             | Yes          | N/A                                                                             |
| **Internal off Resistance (R**<sub>**off**</sub>**)** | The diode internal off resistance, in ohms (Ω).                                                                                                                                            | Yes          | N/A                                                                             |
| **Blocking method (B**<sub>**m**</sub>**)**           | Refer to [Select & Tune the Blocking Method](https://www.opal-rt.com/docs/ehs/3.7/model-in-schematic-editor/optimize-the-ehs-circuit/select-and-tune-the-blocking-method.md) for guidance. | No           | N/A                                                                             |
| **Gate control signal (g**<sub>**1**</sub>**)**       | The signal to control on/off state of the first switch.                                                                                                                                    | No           | <p>From <code>space.vars.cpu\_model\_veristand</code><br>From Digital Input</p> |
| **Gate control signal (g**<sub>**2**</sub>**)**       | The signal to control on/off state of the second switch.                                                                                                                                   | No           | <p>From <code>space.vars.cpu\_model\_veristand</code><br>From Digital Input</p> |
| **Prediction (Pred)**                                 | *Available only when Blocking Method is set to Quasi-Supra.*                                                                                                                               | Yes          | N/A                                                                             |
| **Relaxation (Relax)**                                | *Available only when Blocking Method is set to Quasi-Supra.*                                                                                                                               | Yes          | N/A                                                                             |
| **Capacitance (Cb)**                                  | <p><em>Available only when Blocking Method is set to Snubber capacitance.</em><br>Blocking capacitance value.</p>                                                                          | Yes          | N/A                                                                             |

### In HSCS circuit

<figure><img src="https://521571437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo99Izmvvw5eHT4ldzI4g%2Fuploads%2Fgit-blob-d9a92f84d9e88c92ad197182b47fcde7fbd3ea99%2Fse-half-bride-converter-.png?alt=media" alt=""><figcaption></figcaption></figure>

| Parameter                                             | Description                                             | Sets feature | I/O & Monitoring                                                                                   |
| ----------------------------------------------------- | ------------------------------------------------------- | ------------ | -------------------------------------------------------------------------------------------------- |
| **Internal on resistance (R**<sub>**on**</sub>**)**   | The diode internal on resistance, in ohms (Ω).          | Yes          | N/A                                                                                                |
| **Internal off Resistance (R**<sub>**off**</sub>**)** | The diode internal off resistance, in ohms (Ω).         | Yes          | N/A                                                                                                |
| **Gate control signal (g**<sub>**1**</sub>**)**       | The signal to control on/off state of the upper switch. | No           | <p>From <code class="expression">space.vars.cpu\_model\_veristand</code><br>From Digital Input</p> |
| **Gate control signal (g**<sub>**2**</sub>**)**       | The signal to control on/off state of the lower switch. | No           | <p>From <code class="expression">space.vars.cpu\_model\_veristand</code><br>From Digital Input</p> |

## Conserving ports

| Port   | Description   |
| ------ | ------------- |
| **p1** | Positive port |
| **n1** | Negative port |
| **p2** | AC port       |

## Limitations

Switches with interpolation use special modeling techniques to enable very small simulation timesteps. However, this comes at a cost — trade-offs must be made, including limitations such as:

* Short-circuit conditions cannot be simulated. When the switches are in a configuration that would result in a short circuit, the results become unpredictable and do not reflect real behavior. To simulate such conditions, the use of [**single switches**](https://www.opal-rt.com/docs/ehs/3.7/model-in-schematic-editor/library-blocks-reference/switches-blocks.md) is recommended.


---

# 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/ehs/3.7/model-in-schematic-editor/library-blocks-reference/switches-with-interpolation-blocks/half-bridge-converter.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.
