Peak Current Controller

Purpose

Implement peak current mode control

Library

Control / Modulators

Description

../../_images/peakcurrentcontroller.svg

This block implements current mode control in a switching converter. At the beginning of each switching cycle, the output is set. When the \(I_{\mathrm{L}}\) input exceeds the \(I_{\mathrm{ref}}\) input, the output is reset.

Parameters

Switching frequency

The switching frequency of the output signal.

Minimum duty cycle

This sets the minimum time the output remains on for at the beginning of each switching period. This value must be non-negative and less than the maximum duty cycle.

Maximum duty cycle

This defines the maximum permissible duty cycle of the switch output. If \(I_{\mathrm{L}} < I_{\mathrm{ref}}\), the output will turn off if the duty cycle exceeds this maximum value. The maximum duty cycle must be less than \(100\,\%\).

Slope compensation

Slope compensation can be applied to ensure stability when the output duty cycle exceeds \(50\,\%\). Entering a parameter, \(I_{\mathrm{slope}}\), reduces \(I_{\mathrm{ref}}\) during each switching cycle as follows: \(I_{\mathrm{ref}}' = I_{\mathrm{ref}} - I_{\mathrm{slope}} t/T_{\mathrm{s}}\), where \(t\) is the time elapsed from the start of the switching cycle and \(T_{\mathrm{s}}\) is the switching period. Slope compensation can be omitted by setting \(I_{\mathrm{slope}}\) to 0.