主要内容

Non-Isolated DC-DC Converter Controller Design Workflow

R2026b

This project walks through the end-to-end workflow for designing, validating, and deploying a voltage controller for a non-isolated DC-DC converter, starting from a set of converter parameters and ending with a controller that is validated in simulation, robust across the operating envelope, and deployable to a Texas Instruments(R) C2000(TM) F28379D LaunchPad(TM) paired with the BOOSTXL-BUCKCONV power stage.

The workflow is arranged in four stages: model components and closed-loop simulation, online frequency response estimation (FRE), stability and sensitivity analysis, and hardware FRE. These stages share a common set of parameters and gains that flow through subsystem references and MAT-file data stores, so a single edit in the plant or controller definition propagates automatically into every downstream stage.

Non-Isolated DC-DC Converter Control Design Steps

This example series shows how to design, validate, and deploy a voltage controller for a non-isolated DC-DC converter across desktop simulation, frequency response estimation, stability analysis, and hardware FRE. Each stage is a separate live script, accessible from a project shortcut on the MATLAB(R) toolstrip. Use the shortcuts in order. Later stages consume artifacts produced by earlier stages, so run them sequentially the first time through.

The example series consists of these steps:

  • Get Started with Non-isolated DC-DC Converter Workflow

  • On-line FRE (Simulation) Workflow

  • Stability Margins and Sensitivity Analysis

  • HW FRE Workflow for Buck Converter

Open the Non-Isolated DC-DC Converter Project

The BuckBoostExample.prj project file contains the reference application, which consists of the Simscape(TM) Electrical(TM) plant subsystem references for the Buck, Boost, and Buck-Boost topologies, the voltage controller subsystem reference, the ctrlData.mat gains data store, all supporting utilities, and the toolstrip project shortcuts that open the live script for each stage of this workflow. Open the project file by running this code.

prj = openProject("buckboostworkflow");

Open the BuckVoltageControlSim.slx Simulink(R) model.

open_system("BuckVoltageControlSim");

The BuckVoltageControlSim.slx model is the entry point for the closed-loop desktop simulation and contains the following top-level components, which you can customize in accordance with your design:

  • Converter plant. Subsystem reference that models the power stage of the Buck, Boost, or Buck-Boost converter topology using Simscape Electrical. The active topology and operating parameters are set through the getNonIsoDCDCConvParam function.

  • Voltage controller. Subsystem reference at ~\ModelComponents\Controller\NonIsoConvVoltageController.slx that implements the voltage control loop. Supports proportional-integral (PI) and Type-2 compensators, selectable through the GainsSelector mask parameter.

  • Controller gains data store. ctrlData.mat in ~\Data\ stores the default gains produced by the analytical design and any custom gains tuned by hand or refined through FRE, so every downstream stage reads from the same file.

  • Project shortcuts. Toolstrip buttons that open the live script for each stage of the workflow, along with supporting shortcuts for parameterization and post-processing.

For the first stage of the workflow, which configures the converter parameters and controller gains and runs the closed-loop simulation, see the Non-Isolated DC-DC Converter Workflow example.

To learn more about each step in the workflow, open the corresponding stage script in the MATLAB Editor.

edit("GettingStarted.m");
edit("BuckOnlineFRE.m");
edit("BuckSensitivityAnalysis.m");
edit("BuckC2000FREWorkflow.m");