DCDC Voltage Controller
R2026bLibraries:
Power Converter Control with Motor Control Blockset /
Control /
DC-DC Non-Isolated
Description
Add-On Required: This feature requires the Power Converter Control with Motor Control Blockset add-on.
The DCDC Voltage Controller block implements a discrete-time
closed-loop voltage regulator for a DC-DC non-isolated converters. The block supports
both PI controller and Type 2 compensator. The CtrlType field of the
CtrlParams input bus determines the controller type at runtime,
so you choose the controller type in the connected DCDC Controller
Parameters block rather than in this block.
The block computes the voltage error as the difference between the reference voltage at VRef and the measured feedback voltage at VFb. It applies the discrete controller to the error and adds the feedforward signal at FF to the controller output before applying the output saturation limits. To improve transient response to predictable disturbances such as changes in input voltage, use the feedforward input. For a buck converter, a common feedforward signal is the ratio of input voltage to output voltage.
The block supports bumpless transfer through the Rst and DutyInit ports. When Rst is nonzero, the block sets the integrator state to the value at DutyInit and preloads the integrator state so the output resumes from that duty cycle when you release the reset. Use these ports to initialize the controller to a known duty cycle at startup or after a fault condition to avoid large transient steps in the duty cycle command.
To use this block, connect the CtrlParams output of a DCDC Controller Parameters block that is configured for the same converter topology and operating point. Connect a voltage reference signal to VRef and the measured converter output voltage to VFb. Connect the Duty output to the duty cycle input of a PWM generation block in your converter model.
Examples
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2026b

