> 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/cuk-converter.md).

# Cuk Converter

This example shows the operation of a non-isolated Cuk converter.

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

## Description

The non-isolated Cuk converter is a DC/DC power converter that, like a buck-boost converter, can produce an output voltage (Vout) magnitude that is either greater or less than the input voltage (Vin) magnitude. However, it is an inverter converter, so the output voltage is of opposite polarity with respect to the input voltage. In the Cuk converter topology, the capacitor C1 acts as the primary means of storing and transferring energy from the input to the output. The advantage of this converter is that both the input current (IL1) and the current feeding the output stage (IL2) are reasonably ripple-free (unlike the buck-boost converter where both these currents are highly discontinuous). Assuming a constant voltage across C1, the theoretical transfer function of the Cuk converter is:

$$
V\_{out}/V\_{in}= -D/(1-D)
$$

where *D* is the duty cycle.

In this example, the converter is feeding a 50-W load from a 12 V source and the PWM frequency is set to 50 kHz.

## Simulation

Run the simulation and observe waveforms on Scope. Verify that the mean value of the load voltage (Vout) is very close to the theoretical value of: Vout = -0.294/ (1 - 0.294) \* 12 = -5 V.

## Command

Example model name: power\_CukConverter

{% code lineNumbers="true" %}

```matlab
open('power_CukConverter')
```

{% endcode %}

## Reference

Ned Mohan, Tore M. Undeland, Power Electronics: Converters, Applications, and Design, John Wiley & Sons.


---

# 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/cuk-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.
