Documentation

# Average-Value DC-DC Converter

Average-value DC-DC converter

• Library:
• Simscape / Electrical / Semiconductors & Converters / Converters

## Description

The Average-Value DC-DC Converter block represents a controlled average-value DC-DC converter. You can program the block as a buck converter, boost converter, or buck-boost converter. The diagram shows the equivalent circuit for the block. The converter contains a controlled current source and a controlled voltage source. Use the duty cycle port to convert the electrical energy between the connected components on either side of the converter.

### Equations

The input current and output voltage are a function of the duty cycle and depend on the converter type.

Voltage and Current Equations

Converter TypeOutput Voltage, ${v}_{2}$Input Current, ${i}_{1}$
Buck${v}_{2}=DutyCycle\cdot {v}_{1}$${i}_{1}=DutyCycle\cdot {i}_{2}$
Boost${v}_{2}=\frac{{v}_{1}}{1-DutyCycle}$${i}_{1}=\frac{{i}_{2}}{1-DutyCycle}$
Buck-Boost${v}_{2}=\frac{DutyCycle\cdot {v}_{1}}{1-DutyCycle}$${i}_{1}=\frac{DutyCycle\cdot {i}_{2}}{1-DutyCycle}$

### Limitations and Assumptions

• The input voltage is positive.

• Power losses are neglected.

• All converter types use the same polarity for input and output.

## Ports

### Conserving

expand all

Electrical conserving port associated with the duty cycle.

Data Types: `double`

Electrical conserving port associated with the positive terminal of the first DC voltage.

Data Types: `double`

Electrical conserving port associated with the negative terminal of the first DC voltage.

Data Types: `double`

Electrical conserving port associated with the positive terminal of the second DC voltage.

Data Types: `double`

Electrical conserving port associated with the negative terminal of the second DC voltage.

Data Types: `double`

## Parameters

expand all

Type of converter.

## Extended Capabilities

### C/C++ Code GenerationGenerate C and C++ code using MATLAB® Coder™.

#### 10 Ways to Speed Up Power Conversion Control Design with Simulink

Download white paper