> 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/courseware/electric-courseware/power-electronics/dc-to-dc-converters/buck-converter.md).

# Buck Converter

The **buck-boost converter** is a widely used non-isolated DC-DC converter that provides both **step-up and step-down voltage conversion**. Its output voltage is inverted with respect to the input and can be either greater or smaller in magnitude than the input voltage. This flexibility makes the buck-boost topology a popular choice for a wide range of power supply applications.

By combining the characteristics of buck and boost converters, the buck-boost converter can operate with an output voltage magnitude above or below the input voltage, depending on the duty cycle. Unlike traditional buck or boost topologies, however, the output voltage has the **opposite polarity** of the input voltage.

Due to its switching operation, the **input current is discontinuous**, pulsing from zero to the inductor current I<sub>L</sub> during each switching cycle. The **output current is also pulsating**, since the output diode conducts only during part of the cycle. During the non-conducting interval, the output capacitor supplies the load current using the energy stored during the previous conduction period, helping to maintain a stable output voltage.

Buck-boost converters are particularly well suited for applications with a variable input voltage, where the input may rise above or fall below the desired output voltage during operation


---

# 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/courseware/electric-courseware/power-electronics/dc-to-dc-converters/buck-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.
