主要内容

PWM Generator (DC-DC)

(To be removed) Generate pulse for PWM-controlled DC-DC converter

The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.

  • PWM Generator (DC-DC) block

Libraries:
Simscape / Electrical / Specialized Power Systems / Power Electronics / Power Electronics Control

Description

The PWM Generator (DC-DC) block outputs a pulse to fire the MOSFET, GTO, or IGBT switch of a one-quadrant converter (buck or boost). The duty cycle of the generator is specified by the input D. A value between 0 and 1 determines the percentage of the pulse period that the output is on.

Characteristics

Sample TimeSpecified in the Sample Time parameter
Continuous if Sample Time = 0
Scalar ExpansionNo
DimensionalizedNo

Ports

Input

expand all

Duty cycle of the generator. Specify a signal with a value between 0 and 1.

Output

expand all

Pulse that the generator outputs.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Switching frequency Fsw of the generator, in hertz. The switching frequency is the frequency of the internal sawtooth signal used to generate the pulse.

Sample time of the block, in seconds. Set to 0 to implement a continuous block.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2013a