Buck Converter

Purpose

Buck converter with filter inductance, optimized for Real-Time Simulations on the RT Box.

Library

Electrical / Nanostep

Description

../../_images/nanostep_buck.svg

This component implements a buck converter including the filter inductor.

Both sides of the converter have current source behavior. The high-voltage side must be connected directly to a capacitor or a voltage source.

The component offers two configurations:

Nanostep / Switched

The power semiconductors are modelled as ideal switches controlled by instantaneous logical gate signals. A switch is turned on when the corresponding gate signal is true.

In Nanostep / Switched configuration, C code generated from this component is suitable for real-time simulations on the RT Box, where it is executed on a Nanostep solver. In this case, connect the gate inputs to PWM Capture blocks from the RT Box component library.

Sub-cycle average

Each gate input is controlled by a floating-point number with values between \(0\) and \(1\), representing the relative on-time of the corresponding semiconductor over one simulation step, as described in Sub-cycle Averaging.

In Sub-cycle average configuration, C code generated from this component is suitable for real-time simulations on the RT Box, where it is executed on the CPU or FlexArray solver. In this case, connect the gate inputs to PWM Capture blocks from the RT Box component library.

Note

This component has a Nanostep solver weight of \(1\), indicating that it occupies \(\frac{1}{3}\) of a Nanostep solver for Real-time Simulations on the RT Box.

Note

DC voltage clamping through diodes is not permitted. Therefore, ensure that DC voltages across diodes are not negative.

Parameters

Configuration

Selects the component configuration. See the descriptions of Nanostep / Switched and Sub-cycle average above.

Switch model (CPU code generation)

If the Configuration is set to Sub-cycle average, this parameter selects the switch model when CPU code is generated.

Semiconductor symbol

Use this setting to choose between IGBT and MOSFET for the symbol of the active semiconductor switches. This setting only affects the schematic representation and does not change the electrical behavior of the component.

Inductance

A non-zero scalar specifying the inductance \(\mathrm{L}\), in henries \((\mathrm{H})\).

Winding resistance

A scalar specifying the winding resistance \(\mathrm{R_L}\), in ohms \((\Omega)\).

Nanostep Probe Signals

See Fig. 262 for the probe signal positions.

Inductor current

The current through the inductor \(\mathrm{L}\), in amperes \((\mathrm{A})\), defined positive in the direction of the arrow.

DC link current

The current at the high-voltage side converter terminals, in amperes \((\mathrm{A})\), defined positive in the direction of the arrow.

Gate signal

The gate signal applied to the active semiconductor switch.

../../_images/nanostep_buck_probe_signals.svg

Fig. 262 Probes for the Buck Converter


↳ Added in PLECS 4.9.