Peak Current Controller
Purpose
Implement peak current mode control.
Library
PLECS Extras / Modulators
Description
This block implements current mode control in a switching converter. At the
beginning of each switching cycle, the output is set. When the
input exceeds
the
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 greater than zero
and less than the maximum duty cycle.
-
Maximum duty cycle
- This defines the maximum permissible duty cycle of the
switch output. If
, 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,
, reduces
during each switching cycle as follows:
, where
is
the time elapsed from the start of the switching cycle and
is the switching
period. Slope compensation can be omitted by setting
to 0.